Network Problem
Our Ubuntu 10.10 LAN server just developed a problem.
I have tried the following and its not working.
I tried the following with TWO different network Cards (replaced the Micronix with a RTL8139B). Because I suspected the NIC could have developed a problem. I got the same results in the both cases.
sim@zambesi-
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:1138 errors:0 dropped:0 overruns:0 frame:0
TX packets:1138 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:120628 (120.6 KB) TX bytes:120628 (120.6 KB)
virbr0 Link encap:Ethernet HWaddr 0e:19:b7:54:7c:9d
inet addr:192.168.122.1 Bcast:192.
inet6 addr: fe80::c19:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:51 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:9529 (9.5 KB)
sim@zambesi-
SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth1: ERROR while getting interface flags: No such device
Failed to bring up eth1.
sim@zambesi-
[sudo] password for sim:
*-network:0 UNCLAIMED
description: Ethernet controller
product: MX987x5
vendor: Macronix, Inc. [MXIC]
physical id: b
bus info: pci@0000:00:0b.0
version: 25
width: 32 bits
clock: 33MHz
resources: ioport:
*-network:1 UNCLAIMED
description: Ethernet controller
product: RTL-8139/
vendor: Realtek Semiconductor Co., Ltd.
physical id: c
bus info: pci@0000:00:0c.0
version: 10
width: 32 bits
clock: 33MHz
resources: ioport:
sim@zambesi-
00:0b.0 Ethernet controller: TEC Corporation Device 0531 (rev 25)
00:0c.0 Ethernet controller: Coreco Inc Device 8139 (rev 10)
Please someone assist.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- marcobra (Marco Braida)
- Solved:
- 2007-11-21
- Last query:
- 2007-11-21
- Last reply:
- 2007-11-21
Please open a Terminal from the menu Applications-
sudo lspci | grep -i eth
sudo lshw -C network
sudo ifconfig -a
sudo lsmod | grep 8139
give your user password when requested, you don't see nothing when you type it, then press enter.
Copy and paste the result here
Thank you
| Ramakrishna (ramakrishna-kaki) said : | #2 |
ramakrishna@
[sudo] password for ramakrishna:
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/
ramakrishna@
*-network:0
description: Ethernet interface
product: RTL-8139/
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 10
serial: 00:e0:4c:e9:da:a6
size: 100MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=
*-network:1
description: Ethernet interface
product: RTL-8139/
vendor: Realtek Semiconductor Co., Ltd.
physical id: 5
bus info: pci@0000:01:05.0
logical name: eth1
version: 10
serial: 00:0f:ea:94:10:30
size: 10MB/s
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=
ramakrishna@
eth0
Link encap:Ethernet HWaddr 00:E0:4C:E9:DA:A6
inet6 addr: fe80::2e0:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:7133 (6.9 KB)
Interrupt:18 Base address:0xa000
eth1
Link encap:Ethernet HWaddr 00:0F:EA:94:10:30
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:20 Base address:0xc000
eth0:avah Link encap:Ethernet HWaddr 00:E0:4C:E9:DA:A6
inet addr:169.254.10.218 Bcast:169.
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:18 Base address:0xa000
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:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:776 (776.0 b) TX bytes:776 (776.0 b)
ramakrishna@
8139too 27776 0
8139cp 25088 0
mii 6528 2 8139too,8139cp
| Ramakrishna (ramakrishna-kaki) said : | #3 |
Thanks for your immediate Response
I think you hardware may have only a configuration issue
What kind of network or external device are you trying to connect...?
1) - a local area network
2) - a ethernet modem/router
Thank you.
| Ramakrishna (ramakrishna-kaki) said : | #5 |
Iam using Local Area Network only and the connected speed is 10Mb .
When iam using Windows XP i will configure link speed to 10Mb Half duplex then only net used to work.
| Ramakrishna (ramakrishna-kaki) said : | #6 |
Dear marcobra,
Firstly iam thankful for your interest in solving this problem. Iam very happy to know this is only a congfiguration issue. I thought of this is some major problem and i was so depressed even. I will be very thankful to you if you can solve my problem as soon as possible.
Thanking you.
Please boot this pc in Windows and from the windows menu:
start->run
type cmd press enter
Then type:
ipconfig
press enter
try to read your windows assigned ip number.
Please copy and paste it here.
Thank you
| Ramakrishna (ramakrishna-kaki) said : | #8 |
Dear Marcobra,
I booted my pc as you said. Here is the data which i got it by running ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
IP Address : 172.23.1.93
Subnet Mask : 255.255.255.0
Default Gateway : 172.23.1.254
Thanking you
Please first try to configure your network as DHCP client
Open menu System-
and try first to configure your eth0 and eth1 as dhcp
and restart your network layer, open a Terminal from the menu
Applications-
sudo /etc/init.
give your user password when requested, you don't see nothing when you type it, then press enter.
Try to use your network
-------
If upper instructions don't make your network work
-------
Please configure your nics first eth0 and then eth1 like the Windows configuration
Open menu System-
Select -> Static ip address and specify
IP Address : 172.23.1.93
Subnet Mask : 255.255.255.0
Default Gateway : 172.23.1.254
for the dns use opendns server or your
DNS: 208.67.222.222 and 208.67.220.220
Restart your network: open a Terminal from the menu Applications-
sudo /etc/init.
give your user password when requested, you don't see nothing when you type it, then press enter.
Try to use your network
Hope this help
Dear Marcobra,
After Configuring the network to DHCP and restarting the results i got the below message
ramakrishna@
* Reconfiguring network interfaces...
There is already a pid file /var/run/
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://
Listening on LPF/eth0/
Sending on LPF/eth0/
Sending on Socket/fallback
RTNETLINK answers: No such process
There is already a pid file /var/run/
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://
Listening on LPF/eth1/
Sending on LPF/eth1/
Sending on Socket/fallback
There is already a pid file /var/run/
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://
Listening on LPF/eth0/
Sending on LPF/eth0/
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 No
DHCPOFFERS received. No working leases in persistent database - sleeping. [ OK ]
The Same thing for eth1
after configuring to static ip and restarting the network the message i got is
ramakrishna@
* Reconfiguring network interfaces... [ OK ]
In either case my net is not working.
Thanking you
Try to get the ip address of some different devices connected to your network...
Please ping that ip address from your ubuntu pc open a terminal and type:
ping 172.23.1.NNN
or try to ping your gateway
ping 172.23.1.254
Please give us some feedback
Thank you
Dear Mar cobra,
Thanks for your reply,
I have discussed this problem with one of my friend and he suggested me to do this
su root
password
mii-tool -F 10baseT-HD
sudo /etc/init.
mii-tool -R
After these number of commands my net starts working and i was delightful.
But he told me do this every time I boot in to ubuntu.
is there any permanent solution by which it can work with out entering any more commands after i boot because this system will be used by my parents who are not familiar with this OS.
looking forward for your reply soon.
Thank You
Try to open your /etc/rc.local
sudo gedit /etc/rc.local
and add your desired row into that file:
mii-tool -F 10baseT-HD
sudo /etc/init.
mii-tool -R
Please be sure, don't touch, at the end of file, the "exit 0" instruction
Hope this Help
Thanks marcobra, that solved my question.

