My Internet connection is not working since I restarted my laptop (which is very old). Here's what I've tried:
sudo -sthen tried
* Deconfiguring network interfaces... Root@carlos-laptop: ~#
network-manager start/running, process 621
restart networkinggives me:
restart: unknown instance:
I successfully restarted network-manager.
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".
ifup eth0and got
ignoring unknown interface eth0=eth0
interface eth0 not configured
Then I configured
Specifically, I deleted
loopback loand inserted
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.comand got
ping: unknown host www.google.com.
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-0
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.
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
sudo dhclient eth0, got:
no DHCPOFFERS received
Restarted 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.