My Internet connection is not working since I restarted my laptop (which is very old). Here's what I've tried:
Ran
sudo -sthen tried/etc/init.d/networking stop:* Deconfiguring network interfaces... Root@carlos-laptop: ~#Ran
status networking:Networking stop/waitingRan
status network-manager:network-manager start/running, process 621Running
restart networkinggives 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 eth0and gotignoring unknown interface eth0=eth0ifdown eth0gave:interface eth0 not configuredThen I configured
/etc/network/interfacesin nano.Specifically, I deleted
loopback loand 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 reservedListening 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.comand gotping: unknown host www.google.com.Ran
dpkg --configure -awhich 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-0Tried
restart networkingagain:There is already a pid file /var/run/dgclient.eth0.pid with pid 1811 killed old client process, removed PID fileInternet 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/sTried 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 eth0Did
sudo dhclient eth0, got:no DHCPOFFERS receivedRestarted again, opened
/etc/network/interfaces. It was empty.NetworkingManager.confis 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.