sivam wrote:
> Thanks for the response. But my kernel output messages will be
> suppressed, so is there in any file the DHCP server IP will be
> recorded. I have a scenario where i want to download a file thro' tftp
> automatically when i press a key...my TFTP server and DHCP server are
> one and the same. So if i could identify my DHCP server IP i could read
> that and will give that as argument to my TFTP client to download.
> Any Suggestions.
As I mentioned, ifconfig will tell you. You can also see what your dhcp
client provides. For example in SuSE 9.1, you'll find a file, such as
/var/lib/dhcpcd/dhcpcd-eth0.info, which contains the assigned address.
--
(This space intentionally left blank)
|