[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My Debian box can't connect Internet



Dear Stephen,

It's very odd that you can't change this file as root. The only thing I
know of that would cause this is if the immutable flag is set. The way
to find out is with the lsattr command:

bob@sonic:/etc> lsattr resolv.conf
s-------c-------- resolv.conf

As you don't see an "i" that means the immutable flag is not set, so no
problem.

Changing the immutable flag is done with the chattr command.

I have heard it said that crackers do mess with the immutable flag, but
it seems odd that your box would be cracked if you can't even get
online.

By the way, my /etc/resolv.conf has nothing in it, but it works. When I
connect with the command "pon dsl-provider" a temporary address is
provided. I can see that address with the plog command. The only
annoyance I've had with pppoe is that I have to be root to issue the
pon/poff dsl-provider commands - there must be a way around that, but I
haven't found it yet. You could try running pppoeconf again and set your
system so it does NOT connect to the Internet on bootup, and use the
pon/poff dsl-provider command (it would be easier than reinstalling).

Good luck,
Robert


On Mon, 15 Dec 2003 12:24:19 +0800
Stephen Liu <satimis@icare.com.hk> wrote:

> Hi Paul,
> 
> Thanks for your advice.
> 
> On Mon, 2003-12-15 at 04:13, Paul Johnson wrote:
> 
> > On Sun, Dec 14, 2003 at 11:54:22PM +0800, Stephen Liu wrote:
> > > # cat /etc/resolv.conf 
> > > search domain.com\000 
> > > nameserver 192.168.2.1 
> > 
> > Ah ha!  You might try adding a nameserver on the outside or make
> > sure that nameserver is able to get a connection to the outside
> > world.
> 
> That is the original 'resolv.conf' file.  I have not touched it and
> also I was not allowed to alter this file even as ROOT.  This was very
> strange to me.  The said file can be opened with a Text editor, 'nano'
> or 'kedit', and editing also allowed.  'Saving changes' to the file
> was not allowed.  You can save the file but it only retains its
> original content.
> 
> If no solution found then I think I have to make another clean
> installation of Debian 3.0 again.  I will use net-installation.  I am
> connecting to broadband of 3MB bandwidth.  If it is not installing
> from source code, like Gentoo 1.4, the download time won't be long and
> I can have the maybe uptodate packages.
> 
> B.R.
> Stephen
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 



Reply to: