Getting started with Edison: Static IP Address

Steps:

  • Edit the /etc/wpa_supplicant/wpa_cli-actions.sh file:
      • Go to line 48 which has a udhcpc command and comment this line out
    if [ "$CMD" = "CONNECTED" ]; then
        kill_daemon udhcpc /var/run/udhcpc-$IFNAME.pid
    #   udhcpc -i $IFNAME -p /var/run/udhcpc-$IFNAME.pid -S
        ifconfig $IFNAME 192.168.200.200 netmask 255.255.255.0
    fi
      • Add two new lines to manually set the IP and the gateway
    if [ "$CMD" = "CONNECTED" ]; then
        kill_daemon udhcpc /var/run/udhcpc-$IFNAME.pid
    #   udhcpc -i $IFNAME -p /var/run/udhcpc-$IFNAME.pid -S
        ifconfig $IFNAME 192.168.200.200 netmask 255.255.255.0
        route add default gw 192.168.200.1
    fi

Links:

https://communities.intel.com/message/262958

Comments are closed.