I am currently trying to make the DHCP allotted IP for my YUN to be Static,
since its really a pain to pin-down the arduino when i am trying to access it through a customized android app via the Router!
I have tried going to the Yun's Administration panel from the GUI, under the setting,"Network-> Interfaces -> LAN, and under the protocol option...i chose the "Static" option from the default DHCP.
and provided the details also. Nothing seems to work.
So is there any way i can make a Static IP for Yun on a given Network?
bonny_yun:
::::SNIP::::
So is there any way i can make a Static IP for Yun on a given Network?
@bonny_yun,
if you want a Static IP for your Yun while you connect to your home network using DHCP, the your router (or home AP) has that setting. Login to your router and make that change there.
jessemonroy650: @bonny_yun,
if you want a Static IP for your Yun while you connect to your home network using DHCP, the your router (or home AP) has that setting. Login to your router and make that change there.
Jesse
thanks Jesse, for your reply!
I am really glad that you helped me out with my problem!
And to let you know, I have successfully managed to get the I.P. static! All thanks to you!
For others, I might include the steps i used to achieve it!
Steps:-
Goto the main page of your Router.(mine is a NETGEAR Router)
Check for "LAN Settings".
There is a section called "Address Reservation".
Click to add a new device.
Inside that there will be two options:- "I.P. Assign" and "MAC Address" of the device.
Just assign the I.P. you want your YUN to have, and pop the MAC Address of the YUN, respectively.
Save changes. And Restart!
And now you will have a constant fixed IP for your YUN.
You can also select a static IP address using the LUCI control panel. It is fairly easy to do. Log into the YUN using its name (i.e. arduino.local) or its current IP address. It is suggested that you use the ethernet connection because when the IP address is changed, then a wifi connection maybe dropped.
Once you are logged into LUCI page, select the configure button. On the next web page, select the "advance configuration button". This will bring up the web page with all the configuration options, first being the status. Select the network tab. This will show the interfaces, the two interfaces, LAN and WAN. After the status report, there is a series of action buttons. Select the edit button for the interface that you want to change. This will bring up the common configuration page. One selects in the protocol box, a static address using the pull down menu. Then one has to fill out the other boxes with the IP address to be used, IPV4 mask (255.255.255.0), the gateway address (your router base address) and use Custom DNS servers(your router base address).
It is fairly easy to do. The hard part is making sure you have the correct information for your router.