looper Posted April 2, 2018 Share Posted April 2, 2018 Hello, I am trying to connect an Android Phone in order to my NanoPi Air in order to be able to have access via IP (ssh, webserver...). I set a bridge to share different BT connections: brctl addbr pan0 brctl setfd pan0 0 brctl stp pan0 off ifconfig pan0 192.168.42.1 netmask 255.255.255.0 ip link set up dev pan0 I register auth agent: bt-agent -c NoInputNoOutput I register network NAP agent: bt-network -s nap pan0 I am able to connect but when I try to enable "Internet access" into my Android phone it fails. I can see in syslog log: Apr 2 16:26:28 localhost bluetoothd[2960]: bnep: Can't add bnep0 to the bridge pan0: Invalid argument(22) Apr 2 16:26:28 localhost bluetoothd[2960]: BNEP server cannot be added Apr 2 16:26:29 localhost NetworkManager[449]: <info> [1522686389.0133] devices added (path: /sys/devices/platform/uart.3/tty/ttyS3/hci0/hci0:12/net/bnep0, iface: bnep0) Apr 2 16:26:29 localhost NetworkManager[449]: <info> [1522686389.0136] device added (path: /sys/devices/platform/uart.3/tty/ttyS3/hci0/hci0:12/net/bnep0, iface: bnep0): no ifupdown configuration found. Apr 2 16:26:29 localhost NetworkManager[449]: <info> [1522686389.0371] devices removed (path: /sys/devices/platform/uart.3/tty/ttyS3/hci0/hci0:12/net/bnep0, iface: bnep0) It seems to fail when NanoPi tries to add bnep0 to pan0 bridge but I don't know why. Any idea? Regards Link to comment Share on other sites More sharing options...
Recommended Posts