I've just installed my first linux installation on a donated computer that I plan to network and use it as a shared storage drive for all of our pictures and videos.
We have a DSL modem with both wired and wireless being available to this computer. At this point, wireless is not an option for us to use (no antenna on the wifi card and we're not going to put money into this machine) but it was working out of the box when brought into really close range to the router.
We have ran an ethernet cable from the router to the machine. Unity informs us that the wired connection is disconnected.. it's not!
After probing around on the internet I tried the following
cat /etc/network/interfaces
The following was returned (from memory):
auth lo
iface lo inet loopback
So, I added an eth0 portion to that file and saved it using pico. It then looked like:
auth lo
iface lo inet loopback
auth eth0
iface eth0 inet dhcp
And ran the following commands:
sudo ifdown eth0
Which just returned the command prompt, and then:
sudo ifup eth0
Which just hangs. Then after rebooting it boots with network configuration disabled and I changed the /etc/network/interfaces file back to what it was.
Can someone help me get my wired connection working, or help me help you guys by providing you with more relevant information?
Thanks!
-Scott
sudo update-grub
. You may need to do this. – horIzoN Mar 10 '13 at 09:47sudo udpate-grub
as you said. It completed. I then tried the ifdown command which reports eth0 is not configured. ifup still hangs. – Scott Mar 10 '13 at 10:02sudo update-grub
, reboot. – horIzoN Mar 10 '13 at 10:13sudo ifup eth0
complete and it did, returning me to the command prompt. I then didsudo update-grub
and it completed. I then rebooted, and was informed that ubuntu was starting without full networking. There is now no network icon in unity. I performedsudo ifup eth0
and response wasifup: eth0 already configured
. I checked the internet connection by browsing to a web page in firefox and it is not connected. – Scott Mar 10 '13 at 10:19unity --reset
. – horIzoN Mar 10 '13 at 10:22unity --reset
and the network icon is back on there - and there's a change! Woot! Instead of the icon saying "Wired Network Disconnected" it now says "Wired Network device not managed". Well, how do I manage it? :D – Scott Mar 10 '13 at 10:28smbmount
. – horIzoN Mar 10 '13 at 11:00sudo lshw -C network
andifconfig
commands. From what you describe, it looks like the hardware might not be properly detected, which is unusual for an ethernet card. When connecting on other computers, do you have to provide credentials like username and password? Some DSL providers may require that. – mikewhatever Mar 10 '13 at 11:40