Forum Discussion
- AAjit25 years ago
New Contributor
1. Why the udhcpc can return IP address even though at that time, only laptop and the board are connected to the router?
A. This is because a local IP address is created, not a network one and you can still connect and send files to this address.
2. Should I set up a static IP address for my laptop as well? If that is so, how can I do that?
A. I had a similar problem and I set up a static IP although not through boot. So in the terminal/command shell of the HPS (root), I used ifconfig to show me the ethernet connection which was eth0.
ifconfig eth0 down
ifconfig eth0 198.xx.xxx.xx (whatever IP you want to use)
reconfirm using "ifconfig" command, if the ip address is not there try "ifconfig eth0 up"
This should set up your static IP address, however note that you have to redo this upon restart, if you don't want to do that best to declare this in boot which is a more complicated process.
I realise that this is a really late, but putting it out there for those that stumble upon this