There is software at freshmeat (among others) that will is just for such
a thing.... it will ping to figure out where (among your choices) you
are and configure everything properly...
made for the laptop/different net problem...
At 11:32 AM 2/15/2000 -0800, you wrote:
>I am running SuSE 6.3 on my laptop (dual-boot w/ win98, which is a new
>experience for me!!! :/ ), and connect via 10baseT both at home and at
>school. I have successfully connected in linux at both locations, and
>both use UOnet, but there are different routers at each, and I am given
>different IP addresses depending on where I connect...
>
>Oddly enough(?? is it ??), UOnet leases me the same dynamic IP at each
>location, so long as I sever the connection within 21 days (easy to do,
>since the laptop is mobile!)... Well I recently had problems connecting
>with either at home, until I was tipped off to run (in Win98) winipcfg,
>which allows the manual release and renewing of IP.
>Now I hate to ask here in this way, I really do, but
>how do I attain this functionality in linux?
>I hesitate to funk with /etc/dhcp.config since I have terrible luck with
>manual config and have repeatedly found that I should be taking the "easy"
>(ie click-click) route with SuSE. I have the correct DNS entries and
>domain name entered into YaST, and they don't need to change for either of
>my locations. But the bootp/dhcp just doesn't work at home; it seems to
>be remembering only my ip-lease from the at-school router )=
>
>Is there some simple tool I can keep on my desktop that will let me
>release and renew easily?? This would also help me in hot-plugging and
>unplugging the ether cable, without rebooting... currently my kernel gets
>the goods at boot time.
>
>I've run ifconfig, but am not clear on whether doing "ifconfig eth0
>up/down" really releases and renews, it doesn't seem to really scan for
>new but simply puts back up what it had before.
>
>Thanks for your help!!
>
> ben
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> in lake'ch, my kin... 4 Ix
>=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> psst! visit the EUGLUG homepage at http://eugene-linux.cyber-dyne.com