Boat Drinks  

Go Back   Boat Drinks > General > Computer and Consoles

Reply
 
Thread Tools Display Modes
Old 06-04-2007, 19:38   #1
Stan_Lite
Stan, Stan the FLASHER MAN!
 
Stan_Lite's Avatar
 
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
Default 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...
Stan_Lite is offline   Reply With Quote
Old 06-04-2007, 21:02   #2
Dr. Z
I'm going for a scuttle...
 
Dr. Z's Avatar
 
Join Date: Jul 2006
Posts: 2,021
Default

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
does it show what you think is the right card?

What does ifconfig say?
__________________
Dr. Z is offline   Reply With Quote
Old 06-04-2007, 21:48   #3
Stan_Lite
Stan, Stan the FLASHER MAN!
 
Stan_Lite's Avatar
 
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
Default

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:~$
Looks like it can see it fine but won't connect - any ideas?

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...
Stan_Lite is offline   Reply With Quote
Old 06-04-2007, 21:59   #4
Richard Slater
Long Island Iced Tea
 
Join Date: Sep 2006
Location: Brighton, UK
Posts: 285
Default

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?
Richard Slater is offline   Reply With Quote
Old 06-04-2007, 22:00   #5
Dr. Z
I'm going for a scuttle...
 
Dr. Z's Avatar
 
Join Date: Jul 2006
Posts: 2,021
Default

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
__________________
Dr. Z is offline   Reply With Quote
Old 06-04-2007, 22:01   #6
Dr. Z
I'm going for a scuttle...
 
Dr. Z's Avatar
 
Join Date: Jul 2006
Posts: 2,021
Default

Quote:
Originally Posted by Richard Slater View Post
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?
Ubuntu comes as default with dhclient3 but I perhaps stupidly assumed it would have looked for an IP when it brought the interfaces up on boot...

try:

dhclient3 eth0
__________________
Dr. Z is offline   Reply With Quote
Old 06-04-2007, 22:48   #7
Stan_Lite
Stan, Stan the FLASHER MAN!
 
Stan_Lite's Avatar
 
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
Default

Quote:
Originally Posted by DRZ View Post
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
Yeh, cable is in eth0.

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...
Stan_Lite is offline   Reply With Quote
Old 06-04-2007, 22:54   #8
Stan_Lite
Stan, Stan the FLASHER MAN!
 
Stan_Lite's Avatar
 
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
Default

Quote:
Originally Posted by DRZ View Post
try:

dhclient3 eth0
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#
Not looking too promising to my untutored eye

Stan
__________________

Just because I have a short attention span doesn't mean I...
Stan_Lite is offline   Reply With Quote
Old 06-04-2007, 23:05   #9
Dr. Z
I'm going for a scuttle...
 
Dr. Z's Avatar
 
Join Date: Jul 2006
Posts: 2,021
Default

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.
__________________
Dr. Z is offline   Reply With Quote
Old 07-04-2007, 13:49   #10
Stan_Lite
Stan, Stan the FLASHER MAN!
 
Stan_Lite's Avatar
 
Join Date: Jul 2006
Location: In bed with your sister
Posts: 5,483
Default

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...
Stan_Lite is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:15.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.