[Leaplist] Still can't get online
Richard F. Ostrow Jr.
rich at warfaresdl.com
Wed Oct 8 11:36:34 EDT 2008
<quote who="William H. Ferguson">
> My Main Desktop Computer has suddenly ceased to be able to get online.
>
> So, now, I'm using a second computer whose e-mail program and ability to
> get online is OK.
>
> A friend suggested I try these commands as root on my Main Desktop
> Computer:
> cd /etc
> cd init.d/
>
> "root at localhost init.d]# ./network restart "
>
> Here's the response:
> "Shutting down loopback interface: [ OK ]
> Bringing up loopback interface: [ OK ]
> Bringing up interface eth0:
> Determining IP information for eth0...cp: cannot remove
> `/etc/resolv.conf.predhclient.eth0': Permission denied
> done. "
This suggests several possibilities to me...
First, some background.
/etc/resolv.conf
Used to point to your name server... without which, you may well believe
you're off-line, when in fact you're fully on-line without the ability to
resolve a name into an IP address.
Now... your DHCP client for some odd reason has a file there
(/etc/resolv.conf.predhclient.eth0) that it doesn't have permission to
remove... even as root. That's where I'd start. Try logging in in
single-user mode and removing that file... maybe you crashed and there's
some weird file locking issue going on.
For an emergency, temporary work-around, try modifying resolv.conf to
point at your DNS server (maybe your router, maybe your modem, maybe your
firewall... I can't say, it's your network). This would only work, though,
if the rest of the setup worked properly.
Tools to keep handy:
ifconfig
ping
route
/etc/init.d/network (your system network script, apparently)
Pull up the man page on each of these (not the script, though).
Also, look in /etc/conf.d/network (or similar).
--
Life without passion is death in disguise
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Leaplist
mailing list