StaticBBB

Static IP for Beaglebone Black

Download .zip Download .tar.gz View on GitHub

staticBBB:

+ staticBBB is a bash script for setting static local IP to Beaglebone
Black.
+ It sets DNS server IPs to GoogleDNS(8.8.8.8) and Yandex Secure 
Dns(77.88.8.88)
+ It writes stages to some output file.
+ It checks online status at the end of script. If you are not online it
prints warning to screen.

USAGE:

./staticBBB [-i ] [-m ] [-g ] [-o ]

i: ip address
m: netmask
g: gateway
o: output file

Also you can use it with default parameters. This parameters are:
    - Default IP:             192.168.2.41 
    - Default Netmask:        255.255.255.0 
    - Default Gateway:        192.168.2.1
    - Default output file:    staticBBB.out

NOTES:

+ Your new static ip and gateway must be in the same address space, like
192.168.2.xxx
+ Your gateway must be the default gateway for communicating with other
hosts in the different networks.
+ You can find your default gateway address with "netstat -nr" or
"route -n" command.
+ You can see sample output text in output.yigityuce file.