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 > On May 3, 2018, at 11:17 AM, evilwulfie <[email protected]> wrote: > > its all done using conman > not using /etc/network/interfaces file > > >> On 5/3/2018 5:11 AM, [email protected] wrote: >> 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 >> >> >> -- >> 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 [email protected]. >> 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. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/88abc5e2-dd9e-34b5-29c4-8f960b3eb040%40gmail.com. > For more options, visit https://groups.google.com/d/optout. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/8DF007BA-CC14-401B-B387-627552E14538%40gmail.com. For more options, visit https://groups.google.com/d/optout.
