Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] /etc/host setup



On Mon, Jan 20, 2003 at 04:55:49PM +1100, Jim Breen wrote:
> >> From: David Eduardo Gomez Noguera <davidgn@example.com>
> >> 
> >> If I remember well, the ppp-HOWTO had a few lines to add to some file so
> >> that it automagically adds an entry to /etc/host on connection with your
> >> assigned IP, and removes it when disconnected.
> 
> There isn't really an equivalent for ethernet (I'm on a cable modem). I

Not quite equivalent, but if you are using dhcpcd,
/etc/dhcpc/dhcpcd-<interface>.exe gets executed each time
<interface> gets a new address.


-- 
Jim Tittsler                                         GPG: 0x01159DB6
Kanto Computer Calendar  http://www.OnJapan.net/calendar/
It's all in a day's work for... Bicycle Repair Man!


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links