Hello All,
I can connect my PC to BBG with the eth cable or with usb cable. By default I have a connection with usb. To have a connection with eth cable I changed the /etc/network/interfaces file as follows:
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 dhcp
Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE
auto eth0
iface eth0 inet static
address 192.168.7.10
netmask 255.255.255.0
gateway 192.168.7.1iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.0
gateway 192.168.7.1
##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP address for that service:
#sudo connmanctl config --ipv4 manual <ip_addr> --nameservers <dns_server>
##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
My PC has IP 192.168.7.1
Including the lines begining with > I have eth cable connection to PC but I donât have usb connection. To have usb connection I need to remove all lines starting with >.
It seams that somehow the eth cable connection has priority over the usb.
Is there a way of having both connections ( one at a time ) widthout having to alter the interfaces file ?
Thanks