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.

Nano Pi Neo Air - Wifi module changed/ moved

Featured Replies

In the 3.4 Kernel I could call:
 

rmmod dhd
modprobe dhd op_mode=2

To set the wifi module to Access Point mode. But with the latest Kernel 4.14(?) neither of these modules exist.

Does anyone know what the equivalent of this code would be for 4.14, or some other way to enable AP mode?

 

6 hours ago, Mavvas said:

To set the wifi module to Access Point mode. But with the latest Kernel 4.14(?) neither of these modules exist.

Does anyone know what the equivalent of this code would be for 4.14, or some other way to enable AP mode?


You don't need to specify the mode in a modern kernel. It knows how to switch out of the box. A module for wireless is brcmfmac and it is enabled by default. Try to use armbian-config way of setting AP.

 

  • Author
9 hours ago, Igor said:


You don't need to specify the mode in a modern kernel. It knows how to switch out of the box. A module for wireless is brcmfmac and it is enabled by default. Try to use armbian-config way of setting AP.

 

Thanks for the suggestion, I'll look into it in a bit, but I need it to be done through script. Would the following work?

 

rmmod brcmfmac
modprobe brcmfmac op_mode=2

 

Also I'm using the nanopi-neo-air_eflasher_4.14.img if it helps.

  • Author
6 hours ago, Igor said:


No idea. We only provide support for Armbian builds.

 


No. Read what I wrote once again.

My bad, I didn't realize that wasn't an armbian build. I just figured since it was on the wiki it was armbian. If I switch to the mainline debian build available at armbian can I do the following:

flash a custom image onto the eMMC

set/get gpio values via script (I'm assuming you can but I'll ask just in case) via script

switch to and from AP mode via script

 

If so, consider me switched, but can I get a write up of how to do all of those?

Armbian images are in (much) better shape than board makers. The answer is yes to all.

 

4 hours ago, Mavvas said:

If so, consider me switched, but can I get a write up of how to do all of those?


General things: https://docs.armbian.com/User-Guide_Getting-Started/

Gpio: http://linux-sunxi.org/GPIO

Flasher: https://github.com/zador-blood-stained/fel-mass-storage

 

AP/STA switching will be more tricky - only the most important tip: adapters are used by Network Manager by default - if you want to use hostapd you need to mask that adaptor in its config.  You can see how we do this: https://github.com/armbian/config/blob/dev/debian-config-jobs#L315-L323 ... use our config to make a working hostapd config, then a script to switch between.

 

If you can't manage to work out with those tips, ask for help in comunity section or hire someone. 

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.