Solution to my own problem (hacked together) use if looks good
to
Travis Loyd
lelandg at usa.net
Fri Jan 22 11:11:00 GMT 1999
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> >so you can specify to watch eth0 or eth1 for the correct IP or if it
> >should be part of dhcpcd.
>
> Samba shouldn't touch the /etc/hosts file. Period. Not its domain. dhcpcd
> operates at that layer--Samba is an application, whereas dhcpcd is a network
> level reconfigurator.
It would seem that watching for a specified device such as eth0 would be
the better solution. There is the case where I might want to specify the
local machine as its IP Masq 192.168.1.1 instead of the new DHCP IP for
the real network in the /etc/hosts file.
I suppose I should be updating the interfaces line in my smb.conf in that
case each time the IP changes.
> Did you already submit your code to the dhcpcd crew? It seems quite useful.
I have submitted it.
Travis Loyd
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQA/AwUBNqhOvU3C03vEPGn4EQLRNQCgn3UTO7lENQihp2WHfl1mK5ET2asAoNxm
MHKbR5gsMMP4U0V6aPQx0R3P
=SEVR
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list