Re: [Voyage-linux] vogage-lenny dhcp & ntpdate?

2008-10-13 Thread Kim-man 'Punky' TSE

Hi Frank,

See /CHANGELOG.  It mentioned that dhclient is replaced by pump. 

See /etc/network/if-up.d/ntpdate.  It seems ntpdate would run when an 
interface is up.


Regards,
Punky

Frank Parker wrote:

When voyage-lenny boots with the /etc/network/interfaces config
below...  how does it obtain the DHCP lease for eth0?  I can't find
dhclient on the disk anywhere.  Ultimately, I am trying to get ntpdate
to run every time the eth0 lease is obtained or renewed.  I don't need
a full ntpd install.

---[snip /etc/network/interfaces ]---
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
---[/snip]---

The eth0 interface is getting a DHCP lease as it should, but how?

Also, since this file exists shouldn't ntpdate be running after each DHCP event?
/etc/dhcp3/dhclient-exit-hooks.d/ntpdate

-parker

___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux
  



--
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
 - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
 - Network Engineering, Development Platform and Consultation
 
	



___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux


[Voyage-linux] vogage-lenny dhcp & ntpdate?

2008-10-13 Thread Frank Parker
When voyage-lenny boots with the /etc/network/interfaces config
below...  how does it obtain the DHCP lease for eth0?  I can't find
dhclient on the disk anywhere.  Ultimately, I am trying to get ntpdate
to run every time the eth0 lease is obtained or renewed.  I don't need
a full ntpd install.

---[snip /etc/network/interfaces ]---
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
---[/snip]---

The eth0 interface is getting a DHCP lease as it should, but how?

Also, since this file exists shouldn't ntpdate be running after each DHCP event?
/etc/dhcp3/dhclient-exit-hooks.d/ntpdate

-parker

___
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux