7 Replies Latest reply on Oct 4, 2016 12:49 PM by Intel Corporation

    Intel Edison Routing Table Resetting Automatically

    ankurgupta2212

      Hi all. I've been using Intel Edison for some time for a project. I've setup the wifi to upload some data. Recently, I've been trying to work with a 3G dongle. The dongle is a Huawei dongle that connects to the Edison via USB.

       

      I use WVDial and PPP to connect the dongle to the internet.I manually change the "/etc/resolv.conf" file to contain the following content:

       

      nameserver 8.8.8.8

      nameserver 8.8.4.4

       

       

      I also manually change the routing table to this:

       

       

      default via 10.64.64.64 dev ppp0

      10.64.64.64 dev ppp0 src 10.194.197.111

      192.168.0.0/24 dev wlan0 src 192.168.0.164

      192.168.2.0/24 dev usb0 src 192.168.2.15

       

      The dongle works and I can connect to the internet. However, when I leave the dongle connected overnight, I notice that the routing table and the "/etc/resolv.conf" file reset automatically to this:

       

      nameserver 203.116.0.36

      nameserver 203.116.1.78

       

       

      default via 192.168.0.1 dev wlan0

      10.64.64.64 dev ppp0 src 10.194.197.111

      192.168.0.0/24 dev wlan0 src 192.168.0.164

      192.168.2.0/24 dev usb0 src 192.168.2.15

       

      This means that the dongle connection is lost and the Edison is now using the Wifi to connect to the internet.

       

      I'm not able to understand this behaviour. Why is the routing table being reset automatically without any human intervention? Is it some setting inside Edison?