Wireless working!

392 views
Skip to first unread message

Mark Roodrigo Goonzales

unread,
Nov 20, 2017, 9:32:49 AM11/20/17
to Alt-F
Thank you João!

After upgrading to 1.0 I just had to try wireless, maybe my journey can help others..

  1. Make sure kernel-modules and kernel-modules-armv5/v7 are installed and updated
  2. Install wireless-tools wpa-supplicant 
  3. plug it in and try ifconfig wlan0 up
  4. check dmesg for errors, see below
  5. create /etc/wpa_supplicant.conf, see below for example
  6. run wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf
  7. request IP at wlan0: udhcpc -R -b -p /var/run/udhcpc.wlan0.pid -i wlan0 -r 192.168.0.89 -x hostname NAS


possible errors:

If dmesg just shows 
usb 1-1: new high-speed USB device number 3 using orion-ehci
as last line, there is no module for your wifi in this kernel.. find one, compile it, load it? Or try a different usb, I had success with rt2870 and RTL8187 based ones..


A lot of chips expect a piece of binary firmware which is not included or available as a package, I got the following from dmesg:

usbcore: registered new interface driver rt2800usb
ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
rt2800usb 1-1:1.0: Direct firmware load for rt2870.bin failed with error -2
ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
for me getting http://ftp.us.debian.org/debian/pool/non-free/f/firmware-nonfree/firmware-ralink_0.43_all.deb, extracting rt2870.bin to /lib/firmware/ did solve the issue, just use this as inspiration what to search for..


example wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
update_config=1

network={
        ssid="YourNetwork"
        psk="YourPSK"
        #or use wpa_cli to generate the hash, see https://wiki.archlinux.org/index.php/WPA_supplicant
}

João Cardoso

unread,
Nov 20, 2017, 2:13:28 PM11/20/17
to Alt-F
Great! I made my tests with a RTL8187B.

Do you own any adapter with ap capabilities? I don't, and that would be helpful for me, to extend my wireless network using the wired nas as an access point.

Mark Roodrigo Goonzales

unread,
Nov 21, 2017, 4:20:32 AM11/21/17
to Alt-F
I do, but iw is not available (the other older iwconfig based tools are broken symlinks btw) and I'm travelling/relocating thus won't find much time for this

Damien Letendart

unread,
Feb 20, 2018, 6:51:33 AM2/20/18
to Alt-F
Bonjour,
tuto en français svp et complet???

Le lundi 20 novembre 2017 15:32:49 UTC+1, Mark Roodrigo Goonzales a écrit :
Merci João!

Après la mise à niveau vers la version 1.0, j'ai dû essayer sans fil, peut-être que mon voyage peut aider les autres ..

  1. Assurez-vous que kernel-modules et  kernel-modules-armv5 / v7 sont installés et mis à jour
  2. Installer les outils sans fil wpa-supplicant 
  3. branchez-le et essayez ifconfig wlan0
  4. vérifier dmesg pour les erreurs, voir ci-dessous
  5. crée / etc / wpa_supplicant. conf , voir ci-dessous par exemple  
  6. Exécutez  wpa_supplicant -B -iwlan0 -c / etc / wpa_supplicant.conf
  7. demande IP à wlan0: udhcpc -R -b -p /var/run/udhcpc.wlan0.pid -i wlan0 -r 192.168.0.89 -x nom d'hôte NAS


erreurs possibles:

Si dmesg montre juste 
USB 1-1: nouveau périphérique USB haut débit numéro 3 utilisant orion-ehci
comme dernière ligne, il n'y a pas de module pour votre wifi dans ce noyau .. en trouver un, le compiler, le charger? Ou essayez un autre USB, j'ai eu du succès avec RTL870 et RTL8187.


Beaucoup de puces attendent un morceau de firmware binaire qui n'est pas inclus ou disponible en tant que paquet, j'ai obtenu ce qui suit de dmesg:

usbcore: nouveau pilote d'interface enregistré rt2800usb
ieee80211 phy0: rt2x00lib_request_firmware: Info - Chargement du fichier du firmware 'rt2870.bin'
rt2800usb 1-1: 1.0: La charge du firmware direct pour rt2870.bin a échoué avec l'erreur -2
ieee80211 phy0: rt2x00lib_request_firmware: Erreur - Échec de demande un firmware
pour moi obtenir http://ftp.us.debian.org/ debian / pool / non-free / f / firmware-nonfree / firmware- ralink_0.43_all.deb , l'extraction de  rt2870.bin à / lib / firmware / a résolu le question, il suffit d'utiliser cela comme source d'inspiration pour rechercher ..


exemple wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
update_config = 1

réseau = {
        ssid = "YourNetwork"
        psk="YourPSK"
        #ou utilisez wpa_cli pour générer le hachage, voir  https: //wiki.archlinux. org / index.php / WPA_supplicant
}

Hell Fish

unread,
Jun 4, 2021, 10:27:18 AM6/4/21
to Alt-F
I got access to my box and compiled a few modules, for DNS323/CH3SNAS and compatible with Alt-F 1.0 kernel 4.4.86

8188eu.ko -> plenty of cheap 11n realtek dongles


88XXau.ko -> newer realtek 11ac, probably wasted on a device that old and slow


loading via insmod works fine, tested for a day each

88XXau.ko
8188eu.ko
Reply all
Reply to author
Forward
0 new messages