no internet connect through router

Asked by johncamel

I am new to Linux. I just installed Ubuntu 7.10. I can't get a wired internet connection.The internet connection works just fine when I start up with WIN XP.
I tried to access the router by entering its ip in firefox. It did not connect. Pinging also failed. My ethernet card is sis900. Please help me to sovle this problem. I ran lshw and ifconfig in terminal. Here is the info i got. I hope this would help. Thank you.

bbl@bendestop:~$ ifconfig
eth1 Link encap:Ethernet HWaddr 00:11:5B:3F:B1:68
          inet6 addr: fe80::211:5bff:fe3f:b168/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:12 dropped:0 overruns:0 frame:24
          TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:10499 (10.2 KB)
          Interrupt:20 Base address:0xe800

eth1:avah Link encap:Ethernet HWaddr 00:11:5B:3F:B1:68
          inet addr:169.254.6.81 Bcast:169.254.255.255 Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          Interrupt:20 Base address:0xe800

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:182 (182.0 b) TX bytes:182 (182.0 b)

bbl@bendestop:~$ lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS964 [MuTIOL Media IO] (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
01:00.0 VGA compatible controller: nVidia Corporation NV40 [GeForce 6800 GS] (rev a1)
bbl@bendestop:~$ lshw -class network
WARNING: you should run this program as super-user.
  *-network
       description: Ethernet interface
       product: SiS900 PCI Fast Ethernet
       vendor: Silicon Integrated Systems [SiS]
       physical id: 4
       bus info: pci@0000:00:04.0
       logical name: eth1
       version: 91
       serial: 00:11:5b:3f:b1:68
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=sis900 driverversion=v1.08.10 Apr. 2 2006 latency=32 maxlatency=11 mingnt=52 module=sis900 multicast=yes

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Solved by:
johncamel
Solved:
Last query:
Last reply:
Revision history for this message
Jim Hutchinson (jphutch) said :
#1

Not sure it will help, but you could try just restarting networking.

sudo /etc/init.d/networking restart

That should force it to try and grab an ip. If that doesn't work, there may be problems with driver support for the nic.

Revision history for this message
johncamel (johncamel) said :
#2

I tried this. It did not work.Here is the info:

bbl@bendestop:~$ sudo /etc/init.d/networking restart
[sudo] password for bbl:
 * Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth1.pid with pid 5143
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:11:5b:3f:b1:68
Sending on LPF/eth1/00:11:5b:3f:b1:68
Sending on Socket/fallback
There is already a pid file /var/run/dhclient.eth1.pid with pid 134519120
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/00:11:5b:3f:b1:68
Sending on LPF/eth1/00:11:5b:3f:b1:68
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping

I downloaded the driver for sis900 from the manufacturer. But I have not idea how to install it.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Please edit the file /boot/grub/menu.lst and add apm=off and acpi=noirq to the default kernel parameter

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo gedit /boot/grub/menu.lst

give your user password when requested, you don't see nothing when you type it, then press enter.

Search the row

# defoptions=........ your options

and add the "apm=off and acpi=noirq" parameter

# defoptions=........ your options apm=off acpi=noirq

save and exit

then type:

sudo update-grub

Reboot your pc, then try to shutdown

Hope this help

Revision history for this message
johncamel (johncamel) said :
#4

It didn't work out either. I am gonna try a different network card, and see how it works out.

Revision history for this message
johncamel (johncamel) said :
#5

can somebody tell me how to install driver, please?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Please try to disable ipv6 go to Applications->Accessories->Terminal and type

sudo gedit /etc/modprobe.d/aliases

give your user password when requested, you don't see nothing when you type it, then press enter.

Search and change the ipv6 row as below:
alias net-pf-10 off # ipv6
then add this row:
alias ipv6 off

To force not load ipv6 kernel module:

sudo gedit /etc/modprobe.d/blacklist

add this row:
blacklist ipv6

Reboot your pc.

HTH

Revision history for this message
johncamel (johncamel) said :
#7

This did not work out. In Network Tools, it shows three network device: loopback interface(lo),eth1,eth1:avahi. I can only configure eth1. When I press configure button for eth1:avahi, it says the interface does not exit. When I configure network setting to DHCP, eth1 becomes unavailable. When I configure network setting to static, eth1 becomes available again with only link speed unavailable.

Revision history for this message
naufal (musp-student) said :
#8

hello,
type in terminal:
sudo pon dsl-provider
hope this help..

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#9

Please tell us the brand and model of your router

Thank you.

Revision history for this message
johncamel (johncamel) said :
#10

I installed a new pci ethernet card. It works just fine. Thank you all ,folk! I am really appreciate your help.