Re: [SLUG] DHCP question

From: Josh Tiner (josh.tiner@worldwidephp.com)
Date: Mon Feb 18 2002 - 12:27:12 EST


Ron:

Whacking dhcpd like that isn't a healthy practice, I don't think it can
do any serious harm - but it's not the proper way to bring interfaces up
and down. Here's a quick n' dirty... In a nutshell, as root...

ifdown <ifacename> <-- take an interface down

ifup <ifacename> <-- put an interface up

ifconfig <-- handy dandy check to see what interfaces are configged and
what the IP addr is of each.

...where ifacename is the interface your are working with (in most cases
eth0, eth1, or ppp0 for dialups).

To test your connection after you have successfully yanked an IP from
time warner - just ping an internet address. :)

Good luck!

-Josh Tiner
josh.tiner@worldwidephp.com

On Mon, 2002-02-18 at 07:17, Ronald KA4INM Youvan wrote:
> Hi all:
> I have a DHCP question (@tampabay.rr.com - via eth0) that might
> apply to any network connection. (I don't know)
>
> Twice now after a cold boot I tried to get my E-mail and it
> was operating at sub-light speed, something was seriously wrong.
> I killed dhcpd (my way to disconnect), my script file displays
> "route" before and after, getting the before information took
> about 30 seconds, rather than under 2 which is `normal.
> When I ran "net-up" everything was perfectly normal, both times.
>
> Does any connection test/s come to mind (for this) that I can
> put in my boot up procedures to send me an alarm, being a HAM
> these are sent through the speakers in Morse code, so there's
> no chance I will miss it/them.
> and
> Is this the best way to kill the connection via eth0?
>
> It would also be nice to be able to quickly test if there
> is a connection or not, in case my weak mind runs my net-up
> script when it is already running. (my attempts have failed)
>
> 73 (= Best Regards) de: Ron ka4inm@tampabay.rr.com
> 100% LINUX, 100% of the time. SENT Time and Date are UTC
> Visit my HAM Web SITE at: http://www.qsl.net/ka4inm



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:19:10 EDT