My Internet connection is not working since I restarted my laptop (which is very old). Here's what I've tried:
Ran
sudo -s
then tried/etc/init.d/networking stop
:* Deconfiguring network interfaces... Root@carlos-laptop: ~#
Ran
status networking
:Networking stop/waiting
Ran
status network-manager
:network-manager start/running, process 621
Running
restart networking
gives me:restart: unknown instance:
I successfully restarted network-manager.
Ran
/etc/init.d/networking start
.It says I should instead use the service(8) utility and "since the script you are attempting to invoke has been converted to an upstart job, you may also use the service(8)... ...networking stop/waiting".
Tried
ifup eth0
and gotignoring unknown interface eth0=eth0
ifdown eth0
gave:interface eth0 not configured
Then I configured
/etc/network/interfaces
in nano.Specifically, I deleted
loopback lo
and insertedeth0
.Then I ran
/etc/init.d/networking restart
. (By this point i thought it would work, but i was wrong.) I got:*reconfiguring network interfaces... Internet Systems Consortium DHCP Client V3.1.3 Copyright...bla all rights reserved
Listening on LPF/eth0/00:90:f5:4d:f8:ed Sending on --as above-- Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4;6;7;14;19;11 No DHCPOFFERS recevied. No working leases in persistent database - sleeping.
I tried to
ping www.google.com
and gotping: unknown host www.google.com
.Ran
dpkg --configure -a
which gave:Setting up libsdl-ttf2.0-0 (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: libsdl-ttf2.0-0
Tried
restart networking
again:There is already a pid file /var/run/dgclient.eth0.pid with pid 1811 killed old client process, removed PID file
Internet Systems ...
Got the same answer- no DHCPOFFERS received.Started Firefox, went to Google:
-XML Parsing Error: not well-formed Location: jar:file///usr/lib/firefox/omni.ja!/chrome/toolkit/content/global/etError.xhtml Line number 23, Column 51: <link rel="stylesheet" href="chrome://global/s
Tried to restart the laptop, and got nothing again.
Ran
route -n
:Destination 169.254.0.0 Gateway 0.0.0.0 Genmask 255.255.0.0 Flags metric ref U 0 0 Use Iface 0 eth0
Did
sudo dhclient eth0
, got:no DHCPOFFERS received
Restarted again, opened
/etc/network/interfaces
. It was empty.NetworkingManager.conf
is also empty.
I don't know what to do. I am so frustrated right now and have been writing this for an hour on my friend's iPhone. So if you can, help me, thank you.