digitalsuper8

  • Content Count

    9
  • Joined

  • Last visited

Everything posted by digitalsuper8

  1. Where should I start in the code? Any suggestions on which file to look in? I started in wiringPi.c and I see that I probably have to tweak the function getBoardType(). But where can I find that function? your help is appreciated.
  2. I believe it has to do with the Armbian Kernel where there may be no model name specified? Like H3 or something? The file /proc/cpuinfo, which is a virtual file and I believe its contents are determined by what is in the kernel, doesn't give any model name and gpio is looking for a model name. So gpio readall fails: $ gpio -v readall gives: gpio version: 2.20 Copyright (c) 2012-2014 Gordon Henderson This is free software with ABSOLUTELY NO WARRANTY. For details type: gpio -warranty Your NanoPi has an unknown model type. Please report this to
  3. So here's a more detailed explanation for getting the Nanopi Neo Air to act as wifi accesspoint after boot. I used the FergusL scripts for inspiration and for understanding the contents of the various conf files needed. So after disabling hostapd and dnsmasq I wrote the following bash script, in the directory /usr/local/bin/. It's called neoaccesspoint. sudo nano /usr/local/bin/neoaccesspoint #!/bin/bash PATH="$PATH:/usr/bin/" case "$1" in start) # Assumption: NetworkManager systemd service is stopped and disabled # Assumption: dnsmasq is disabled from
  4. All, I downloaded and built WiringNP according to the FriendlyARM instructions. Running 'gpio read all' gives me an error saying piBoardRev: Unable to determine board revision from /proc/cpuinfo for the rest the Neo Air Armbian runs fine. any ideas what's wrong?
  5. I will do a step by step later as you requested. I did my comment from top of mind. on the command you give you may just need to sudo it? sudo /bin/systemctl disable dnsmasq
  6. I have a NanoPi Neo Air now working as wifi accesspoint, showing SSID and allowing me to connect. My first trials with the apmode.sh (thanks FergusL) gave me the same problem that most of you had: There was an SSID being broadcast but I simply couldn't connect. In my case I believe the problem was doing: rmmod dhd modprobe dhd op_mode=2 Because this brought down the wlan0 module and I found out that thereafter the wlan0 doesn't have an IP address anymore. This causes problems for dnsmasq and leads to dnsmasq not issueing ip-addresses to devices that connect to hostapd. So hostapd accep
  7. Wow, I had so much trouble in getting the SSID to show when Nanopi Air Neo uses hostapd, I tried everything. The apmode.sh script solved it!