HowToConfigureStaticIP - norikuro/Armadillo-IoT GitHub Wiki

How to configure static IP

1. log in Armadillo IoT (default user/pass:root/root)

2. configure /etc/config/interfaces

vi /etc/config/interfaces

e.g.

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)          
                                                                            
auto lo eth0                                                                    
iface lo inet loopback                                                          
iface eth0 inet static                                                          
    address 192.168.1.11                                                           
    netmask 255.255.255.0                                                           
    network 192.168.1.0                                                             
    broadcast 192.168.1.255                                                         
    gateway 192.168.1.1                                                           
iface umts0 inet dhcp                                                           
    pre-up 3g-connect                                                       
    post-up 3g-monitor start                                                
    pre-down 3g-monitor stop                                                
    post-down 3g-disconnect         

3. flash interfaces to ROM.

flatfsd -s