[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Networking question -- UPDATE
Cool! Thanks a bunch.
>> Okay... putting: 18.104.22.168 bruneworld.com
>> in my /etc/hosts file has fixed ALL of my problems.
>> Now my only problem is figuring out how to update the hosts file
>> automatically when my IP changes. 8-(
> OLD_IP=`echo $OLD_IP | sed -e 's/\./\\./g'`
> sed -e 's/$OLD_IP/$NEW_IP/' </etc/hosts
> Um, what did you say your *only* problem was? :=)
To unsubscribe, send email to firstname.lastname@example.org with
"unsubscribe silug-discuss" in the body.