Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
turned my computer off 2 days ago and when I turned it on the next day it would not connect to the internet.
hooked up an old computer and it connects just fine...
when I connect the modem to the computer, I get a green light and a flashing light where the cable plugs into the computer
networking icon tries to connect 4 or 5 times then gives up.
powered down check connections etc
managed to 'connect' once but firefox and email would come back 'server not found'
ifconfig lo says:
linkencap:local loopback
is loopback the problem?
sorry cannot copy ifconfig response
not sure but believe there were a few security updates downloaded before the computer was shut off.
any issues with ubuntu breaking internet connection settings?
using ubuntu 11.10
ran rkhunter and found 85 warnings
not sure how to fix them but would like an internet connection first...
Click here to see the post LQ members have rated as the most helpful post in this thread.
Without the output of ifconfig, it's hard to know where to start.
If you can't copy it, you could try piping it to file and then posting the contents of the file. Try this command as user: /sbin/ifconfig > ifconfig.txt
I can't test it in Ubuntu, but it works in Debian.
Also, what are the contents of /etc/network/interfaces?
so I found a usb drive and copied the info from my linux machine to this old vinders machine...forgot to save the file with .txt extension but finally got it
you don't have an IP address on eth0, you should check if the cable is connected and if speed negotiation is possible.
Code:
sudo ethtool eth0
This should point you to where the problem lies. If it is negotiated and seems to work you might be interested in setting up a static ip, update/upgrade packages and see if your dhcp client will work again.
I have discovered I can get the wired network to 'connect' by unplugging the power cord to the modem and when I plug it back in it connects but still get server not found when I open firefox or thunderbird.
after a few minutes the wired 'connection' drops and it cycles thru but wont reestablish a connection...
could it be a hardware issue with my linux machine?
somehow I have wired internet again.
do not ask me how I did it.
last thing I did was open up Network Tools and tried to change Network Device from loopback interface (lo) to ethernet interface (eth0)
when I closed network tools and reopened it, loopback was back again, but then I powered down and back up and network icon showed normal.
(still shows loopback)
if no more issues I will show this as solved (by voodoo) in a day or so.
Network device: lo
Hardware address: Loopback
Multicast: Disabled
MTU: 16436
Link speed: not available
State: Active
Transmitted packets: 1395
Transmission errors: 0
Received packets: 1395
Reception errors: 0
Collisions: 0
and here is listing from ethtool eth0 and ifconfig:
Settings for eth0:
Supported ports: [ MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 1
Transceiver: external
Auto-negotiation: on
Supports Wake-on: g
Wake-on: g
Link detected: yes
:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1a:92:0c:bd:56
inet addr:24.67.184.201 Bcast:24.67.187.255 Mask:255.255.252.0
inet6 addr: fe80::21a:92ff:fe0c:bd56/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52582 errors:0 dropped:0 overruns:0 frame:0
TX packets:19917 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36783136 (36.7 MB) TX bytes:3713493 (3.7 MB)
Interrupt:23 Base address:0xa000
frankbell, checking out that link you posted for network/interfaces...
it seems different than what I have, I only have 2 lines in that file(see my previous post).
I opened up my home folder and drilled down to etc/ then network/ and clicked on interfaces.
things are working so wont try to fix it...
will try to educate myself from that link though.
thanks for your input
it's not because you have a static ip, it's because debian actually uses that file, ubuntu seems to work with the network manager where it stores all of it's network data.
My Wubi box is wired, so I've never bothered with network manager--it just connects. I just checked and there is a process called "Network Manager" in the list.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.