On Thursday 19 February 2004 08:12 pm, Tudor Vinereanu wrote:
->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

Not here. I've got broadband (cable-modem) at around 275k average and its 
pretty fast.

Are you sure that you don't have a hostname conflict somewhere? I've seen that 
slow systems way down.

->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

I would suppose that it would depend on -how- its brought down. How are you 
doing it? I usually use (as root/su):

ifdown eth0
service network stop

or 

service network restart

"ifup" and "ifdown" in /etc/sysconfig/network-scripts here are links into 
/sbin/ifdown and /sbin/ifup, so I'm assuming that they are run when I issue 
any of the above commands.

-- 

                                                                       /\
                                                                 Dark< >Lord
                                                                       \/    


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

Reply via email to