20
5
I'm having trouble getting my Ubuntu 10.04 machine (Sony Vaio VGN-SR490) to connect to the Internet by way of an Ethernet cable connected directly to my router.
I'm able to connect to the Internet using this same cable using a Windows machine, so there's something wrong with the way Linux is configured.
How do I got about figuring out what the problem is and solving it?
Here are my network settings on Linux:
$ ifconfig
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
vmnet1 Link encap:Ethernet HWaddr 00:50:56:c0:00:01
inet addr:192.168.79.1 Bcast:192.168.79.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
vmnet8 Link encap:Ethernet HWaddr 00:50:56:c0:00:08
inet addr:192.168.192.1 Bcast:192.168.192.255 Mask:255.255.255.0
inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Here are my network settings on Windows (Vista):
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : [removed by me].
Link-local IPv6 Address . . . . . : [removed by me]
IPv4 Address. . . . . . . . . . . : 192.168.1.103
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
I censored my IP address from these results. If that information is needed, just let me know.
Here is the content of /etc/network/interfaces
:
auto lo
iface lo inet loopback
After adding auto eth0
, here are the latest results:
$ sudo ifup eth0
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.
Here are the results of running a modprobe:
$ sudo modprobe msk
FATAL: Module msk not found.
$ dmesg | grep eth
I removed Linux from my computer and installed Windows XP, at the request of some of the people commenting on this question. I installed an ran a program to find out details about the network card. Here is that information:
Network
You are not connected to the internet
Computer Name
NetBIOS Name JOE-LAPTOP
DNS Name joe-laptop
Domain Name joe-laptop
Remote Desktop
Console
State Active
Domain joe-laptop
RDP-Tcp
State Listen
WinInet Info
An internal error occurred.
Wi-Fi Info
Wi-Fi not enabled
WinHTTPInfo
WinHTTPSessionProxyType No proxy
Session Proxy
Session Proxy Bypass
Connect Retries 5
Connect Timeout 60000
HTTP Version HTTP 1.1
Max Connects Per 1.0 Servers INFINITE
Max Connects Per Servers INFINITE
Max HTTP automatic redirects 10
Max HTTP status continue 10
Send Timeout 30000
IEProxy Auto Detect No
IEProxy Auto Config
IEProxy
IEProxy Bypass
Default Proxy Config Access Type No proxy
Default Config Proxy
Default Config Proxy Bypass
Adapters List
Network Shares
No network shares
It looks like the network adapters list is empty. I will now install both Windows XP and Ubuntu Linux dual-boot. I'm still not able to access the internet, even through Windows. I'm wonder if this could be a hardware problem with the computer or a problem with the router itself. Other computers can connect to this same router, and work fine. (That's how I'm posting this after all!)
Thanks for sticking with me. I tried to shorten your post a bit so we can see things clearer (You can also delete a few comments if you like). The error you're having seems to be very common with Ubuntu and VMware. Are you actually running Ubuntu itself as a virtual machine? Or is Ubuntu installed on the computer? Web search for SIOCSIFADDR: No such device brings up a bit, but it seems to be related to Ubuntu as a virtual machine. – slhck – 2011-08-27T21:51:00.480
Would you post the results of dmesg | grep eth and also see whether any network interfaces are listed using lspci – Linker3000 – 2011-08-27T21:52:02.327
@slhck No, Ubuntu is not running as a virtual machine. I have installed Ubuntu as the operating system on my computer. VMware is installed, but is not currently running. Interestingly, I just booted my computer from a Ubuntu LiveCD, and am experiencing the exact same problem, even after following your instructions on the LiveCD. I'm starting to strongly suspect it's a hardware problem. – Kathryn Hallett – 2011-08-27T22:01:20.190
1@Linker3000 The results of running dmesg | grep eth were empty, and I don't see any network interfaces listed using lspci – Kathryn Hallett – 2011-08-27T22:07:18.937
Can you post mke/model of machine or if it's a DIY the motherboard make and model OR if you can boot Windows see what network interface is listed in device manager – Linker3000 – 2011-08-27T22:10:13.333
@ Linker3000 Windows is installed on another computer, so I don't think that would be relevant. However, it would be interesting to install windows on the problem computer to see if Windows would be successful at getting it to work – Kathryn Hallett – 2011-08-27T22:11:47.657
@ Linker3000 It's a Sony Vaio VGN-SR490 – Kathryn Hallett – 2011-08-27T22:13:24.707
Hmm - it might be that Sony model's network interface is not supported by L:inux. Unfortunately I have to go now but I will check back later - might be worth doing some Web searching on the model number + "linux" – Linker3000 – 2011-08-27T22:17:53.010
Sony Support for that laptop seems to suggest that it is a Marvell Ethernet Controller of some sort used on that laptop, and a bit of googling seems to suggest that the "msk" module may be able to work with Marvell devices. Could you try the command sudo modprobe msk and then repeat the dmesg | grep eth and post the results again please? – Mokubai – 2011-08-27T22:52:55.033
@Mokubai I have posted the results from running those two commands as updates to my question. It doesn't look like module msk was found, and the results from dmesg | grep eth were empty. – Kathryn Hallett – 2011-08-27T23:31:37.727
Welcome to Super User! The community has marked this question for having too much comments. Please add additional information to your question, the comment thread is not a place for discussion. Consider removing comments as you put them in the question, so that people have a clear overview rather than having to follow the details of a conversation. Thank you, and good luck solving your problem... @Linker3000, could you also remove irrelevant comments afterwards? – Tamara Wijsman – 2011-08-27T23:52:37.553
Could you also provide more details? What network card? What driver version? – Tamara Wijsman – 2011-08-28T00:02:16.577
@Tom Wijsman I'm new to Linux. How does one obtain that information under Linux? Or does it involve cracking open the computer and looking at the network card? My computer is a laptop (Sony Vaio VGN-SR490) and opening it is a challenge, but I'll do it if I have to. Thanks! – Kathryn Hallett – 2011-08-28T00:58:02.300
@KathrynHallett: I'm not an expert in Linux for that matter, can you check the Device Manager in Windows Vista? It seems like you still need to install the driver for the network card. – Tamara Wijsman – 2011-08-28T00:59:56.137
@Tom Wijsman It says it's a "1394 Net Adapter #2" – Kathryn Hallett – 2011-08-28T02:39:27.550
@Kathryn: Are you sure? What does Speccy say for network adapter?
– Tamara Wijsman – 2011-08-28T02:41:43.9271394
is Firewire and I doubt if you are running Ethernet over Firewire...@Tom Wijsman The output from Speccy has now been added to the original question. – Kathryn Hallett – 2011-08-28T02:55:01.997
@Kathryn: Does the Device Manager show unknown devices? In the
Details
tab when double clicking that device you can check it'sHardware ID
, it's something likePCI\VEN_8086&DEV_4232
(If you don't know how to open it: Click Start, click Control Panel, click Performance and Maintenance, and then click System. On the Hardware tab, click Device Manager.) – Tamara Wijsman – 2011-08-28T03:54:11.020