Thanks Martin and Dave for your help.
I've still not got it working but I've got some more information, maybe
you can make sense of it.
I've edited the ifup script on the logger and echo'd out the return code
from the dhcpcd. It's 0 on success and 14 when it fails. I've searched
the dhcpcd source from off the net but can't find an error code 14
anywhere (maybe in a system include file?).
I've connected a linux box with a bridged network between various
combinations of the linux data logger, the unWired modem, the linux dhcp
server and my linux desktop. Captured packets as follows;
Link Data Logger --> unWired modem (Failure)
13:23:05 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 00:01:c0:00:f9:8e, length: 548
13:23:06 IP 220.101.10.1.bootps > 220.101.12.219.bootpc: BOOTP/DHCP,
Reply, length: 300
--
Link Data Logger --> Linux DHCP server (Success)
13:43:55 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 00:01:c0:00:f9:8e, length: 548
13:43:55 IP 192.168.45.14.bootps > 192.168.45.216.bootpc: BOOTP/DHCP,
Reply, length: 300
--
Linux desktop --> unWired modem (Success)
13:31:57 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 00:01:c0:00:f9:e7, length: 300
13:31:58 IP 220.101.10.1.bootps > 220.101.12.86.bootpc: BOOTP/DHCP,
Reply, length: 300
--
Linux desktop --> Linux DHCP server (Success)
13:31:57 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 00:01:c0:00:f9:e7, length: 300
13:31:58 IP 192.168.45.14.bootps > 192.168.45.214.bootpc: BOOTP/DHCP,
Reply, length: 300
The only obvious difference I can see is that the data logger request is
548 in length vs 300 for the Linux desktop, but it still works with the
Linux DHCP server but not the unwired one. The unwired device still
responded with a BOOTP/DHCP Reply. Why the logger didn't take it I don't
know.
Otherwise I'm pretty much out of options :-(
Thanks for any help / ideas.
Pete.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html