You need to configure connman, not /etc/network/interfaces:

https://groups.google.com/forum/#!topic/beagleboard/yfNwIk_dWlg

On 10/6/2016 11:02 PM, [email protected] wrote:
Hi, Have you solve the problem? I have the same problem as you, could you please
advise?





On Monday, July 18, 2016 at 9:52:08 PM UTC+8, [email protected] wrote:

    I downloaded the newest image
    (bone-debian-8.4-lxqt-4gb-armhf-2016-05-13-4gb) and I am now trying to
    configure the eth0 to be able to use the BBB on our network.
    I can connect to it over USB link.
    I changed the /etc/network/interfaces file to the content shown below, but
    after reboot the BBB gets address 169.254.129.50 (an address assigned after
    failed DHCP assignment attempt?)
    After some searching, I have the impression that this is because the usb0
    link uses dhcp, and the BBB is also using this on eth0, although I tell it
    to use 'static' in the interfaces file.
    If I restart the eth0 link using 'ifdown eth0' and 'ifup eth0' then it does
    get the right ip address, and I can ssh to it over the eth0 interface. But
    this is not really a good solution, and I have the impression that some
    other network settings, (dns, ...) are still misconfigured.

    I tried deleting the usb0 link from /etc/interfaces, and disabling the
    /opt/scripts/boot/autoconfigure_usb0.sh script, but that didn't help either.
    Is there any way I can force it to use a static IP address on eth0?

    Thanks for any help

    Bart


    root@beaglebone:/etc/network# cat interfaces
    # 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

    # The primary network interface
    auto eth0
    iface eth0 inet static
         dns-nameservers 8.8.8.8 8.8.4.4
         address 30.0.0.39
         netmask 255.0.0.0
         network 30.0.0.0
         gateway 30.0.0.1
    # Example to keep MAC address between reboots
    #hwaddress ether DE:AD:BE:EF:CA:FE

    # The secondary network interface
    #auto eth1
    #iface eth1 inet dhcp

    # WiFi use: -> connmanctl

    # 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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/601f2ca4-d3f3-4700-9ac7-d7c591cf5a8a%40googlegroups.com
<https://groups.google.com/d/msgid/beagleboard/601f2ca4-d3f3-4700-9ac7-d7c591cf5a8a%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.


--
Charles Steinkuehler
[email protected]

--
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/3c9681e6-5e33-0f01-9763-2263b7d0cb5e%40steinkuehler.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to