06-04-2007, 19:38 | #1 |
Stan, Stan the FLASHER MAN!
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
|
HELP!! Network problems in Ubuntu
As the title suggests, I'm having a little bother with an Ubuntu 6.10 (64 bit) install.
I've installed it on 5 of my Folding rigs with little problem but the latest build won't connect to the network. All of the others automagically connected with no problems but this new one sees the device (i.e. it shows eth0 and eth1 in the networking window) but won't connect. I've tried automatically and manually connecting but to no avail. I'm wondering if it's my hardware - it's quite a new motherboard (Asus P5N32-E SLi nForce 680) and I wondered if it was too new to be recognised by Ubuntu. Anyone know what I can try? (There are Linux drivers on the drivers disc but none for Ubuntu). Stan
__________________
Just because I have a short attention span doesn't mean I... |
06-04-2007, 21:02 | #2 |
I'm going for a scuttle...
Join Date: Jul 2006
Posts: 2,021
|
when you say wont connect, is your switch showing a link light or is it a different problem?
If you type Code:
lspci | grep Eth What does ifconfig say? |
06-04-2007, 21:48 | #3 |
Stan, Stan the FLASHER MAN!
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
|
It's the onboard lan on the motherboard that's the problem.
I tried what you asked and got the following: Code:
bigstan@Quimby:~$ lspci | grep Eth 00:11.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2) 00:12.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2) bigstan@Quimby:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:1A:92:66:11:D5 inet6 addr: fe80::21a:92ff:fe66:11d5/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:54 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:58 Base address:0xa000 eth1 Link encap:Ethernet HWaddr 00:1A:92:66:1D:72 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:66 Base address:0xc000 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:1803 errors:0 dropped:0 overruns:0 frame:0 TX packets:1803 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:91241 (89.1 KiB) TX bytes:91241 (89.1 KiB) bigstan@Quimby:~$ I've had a look around and the only method of installing new ethernet drivers involves compiling a kernel. I would have a go at this, following the instructions but it involves quite a bit of downloading which will make things difficult to say the least without a working internet connection. I'm a complete Linux noob btw Stan
__________________
Just because I have a short attention span doesn't mean I... |
06-04-2007, 21:59 | #4 |
Long Island Iced Tea
Join Date: Sep 2006
Location: Brighton, UK
Posts: 285
|
Stupid question... do you have a DHCP Client installed will be called something like "dhcpcd". My Ubuntu box went down, so can't be of much more use I am afraid?
|
06-04-2007, 22:00 | #5 |
I'm going for a scuttle...
Join Date: Jul 2006
Posts: 2,021
|
So there is no link light on the mobo/switch?
If there isnt then right now I cant think of what it could be (but I could be missing something obvious!) Have you tried adding an IP? ip addr add <a free IP address on your subnet>/subnet mask dev eth0 so on my lan if I wasnt using DHCP I would type: ip addr add 192.168.2.49/24 dev eth0 and then to see your internet connection: ip route add default via <ip of your router> dev eth0 and then finally add your DNS server IP to /etc/resolv.conf That should get things going IF you have a link - if you dont (which you should because the links are up according to ifconfig) then there must be some other problem. I am assuming that you have the network cable plugged into eth0 here by the way |
06-04-2007, 22:01 | #6 | |
I'm going for a scuttle...
Join Date: Jul 2006
Posts: 2,021
|
Quote:
try: dhclient3 eth0 |
|
06-04-2007, 22:48 | #7 | |
Stan, Stan the FLASHER MAN!
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
|
Quote:
I tried the above. No problems with first command but when I input the second command I get the reply: "RTNETLINK: answers: Network is unreachable" Really appreciating your help so far guys Stan
__________________
Just because I have a short attention span doesn't mean I... |
|
06-04-2007, 22:54 | #8 |
Stan, Stan the FLASHER MAN!
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
|
Tried that and got:
Code:
root@Quimby:/home/bigstan# dhclient3 eth0 Internet Systems Consortium DHCP Client V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/eth0/00:1a:92:66:11:d5 Sending on LPF/eth0/00:1a:92:66:11:d5 Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 No DHCPOFFERS received. No working leases in persistent database - sleeping. root@Quimby:/home/bigstan# Stan
__________________
Just because I have a short attention span doesn't mean I... |
06-04-2007, 23:05 | #9 |
I'm going for a scuttle...
Join Date: Jul 2006
Posts: 2,021
|
All that 2nd part means is that it cant get an IP address from DHCP - not a problem if its not running?
Its a bit odd that you cant see the rest of your lan really. |
07-04-2007, 13:49 | #10 |
Stan, Stan the FLASHER MAN!
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
|
Update.
I decided to try another distro to see if it was only Ubuntu that had a problem so I downloaded and installed Suse 10.2. Installed ok but exactly the same problem I'll try Windows on it when I get back (off to Aberdeen tonight as my parents are down for the weekend). I will be installing Vista on this rig when it's up to full spec (gonna be my uber gaming rig - Q6600, PC8000 RAM, dual 8800GTX in SLi, striped Raptors etc). At the moment, it's a sort of bodged setup with some of the bits mixed with bits and pieces lying around, the rest of the bits will be ordered and the final build constructed after my next trip away. I wanted to get it Folding since I had enough bits to get it running but I'd prefer not to have to install Vista until it's all together. Stan
__________________
Just because I have a short attention span doesn't mean I... |