Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Android phone - Nanopi Air Bluetooth connection

Featured Replies

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.