Hi Ronald,

Thanks for the reply!

> My /etc/resolv.conf looks like this:
> 
> nameserver 192.168.0.1 (which points to my hardware router)

Yes, that's what I have too (well, a different IP address, but still the
router's). Do you experience any delays when you surf the Web, for
instance (when you visit an URL for the first time in the session,
afterwards I think it gets cached)? Because if you don't, then my 
problem lies elsewhere...

Before Mandrake, I used LFS with the same hardware, and I had my ISP's
DNS servers in /etc/resolv.conf. Everything was fast, no delays.

> and I believe that the script you are looking for is here:
> (and if this is not it, it should be in this area!)
> 
> /etc/sysconfig/network-scripts/ifcfg-eth0
> 
> and here, it looks like this:
> 
> DEVICE=eth0
> BOOTPROTO=dhcp
> NETMASK=255.255.255.0
> ONBOOT=yes
> MII_NOT_SUPPORTED=no
> NEEDHOSTNAME=yes

I have the same file too, it looks like this:

DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
NEEDHOSTNAME=no

The last 2 lines are different, but I believe they don't matter in this
matter.

As far as I can make, this file is sourced by other scripts that take
parameters out of it (shell variables).

I've been playing a bit with the scripts in /etc/sysconfig/network-scripts,
I was nearly certain that if I create a file "ifdown-eth", it would be
executed when the Ethernet interface is brought down. It turned out not
to be the case.

So I wonder: is /etc/sysconfig/network-scripts/if-down executed when an
interface is brought down? To me it looks like it's not, but I could be
wrong...

Any ideas?

Thanks,
Tudor


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to