Ok, stupid question time. :-) I'm trying to do the correct, longterm solution for the following problem. When I ssh into my board (running dropbear-0.49), if I don't have the client's ip address and hostname in /etc/hosts (on the board), it'll take over a minute to log in. Presumably hung on gethostbyname() or similar.
Adding the name and ip to /etc/hosts is fine while I'm putzing around, but once I deploy it, I can't guarantee what network (crossover cable?) it'll be on, or what the client ip or hostname will be. I'm using udhcpc to bring the device up and I've used /usr/share/udhcpc/default.script to dynamically write the /etc/resolv.conf file based on input from the network's dhcp server. But nothing I've tried works. Has anyone encountered this? What's the proper fix? thx, Jason. -- [email protected] mailing list
