BBB Industrial, set static IP

38 views
Skip to first unread message

mbl...@pegasussolutions.es

unread,
May 3, 2018, 10:29:58 AM5/3/18
to BeagleBoard
Hello, 

I'm using the Debian 9.3 2018-01-28 4GB SD LXQT image. I need to configure a static IP, I have modified the /etc/network/interfices file. But when I reboot the system, the IP hasn't changed. 

Can you help me?

Here is the file:




# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# Static IP 
auto eth0
iface eth0 inet static
        address 172.16.0.189
        netmask 255.255.255.0
        gateway 172.16.0.254
        broadcast 172.16.0.255
        dns-nameservers 8.8.8.8

# The primary network interface
#auto eth0
#iface eth0 inet dhcp
# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP addr$
#sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> -$

##connman: WiFi
#
#connmanctl
#connmanctl> tether wifi off
#connmanctl> enable wifi
#connmanctl> scan wifi
#connmanctl> services
#connmanctl> agent on
#connmanctl> connect wifi_*_managed_psk
#connmanctl> quit

# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
#iface usb0 inet static
#    address 192.168.7.2
#    netmask 255.255.255.252
#    network 192.168.7.0
#    gateway 192.168.7.1


evilwulfie

unread,
May 3, 2018, 11:17:21 AM5/3/18
to beagl...@googlegroups.com
its all done using conman
not using /etc/network/interfaces file
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f68c4e5f-627d-4b7b-8bd4-2c8bb991fcee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Elliot Swain

unread,
May 3, 2018, 1:20:51 PM5/3/18
to beagl...@googlegroups.com
I just set a static up with my BBBW.  It's done using connmanctl. There is a good tutorial on github. I posted the link in the thread when. I asked the same question. 

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages