Hi guys, I'm facing a problem with wlan0. Basically I can't make it work anymore. I used to connect to my wlan in the past week (https://beagleboard.org/discuss?place=topic%2Fbeagleboard%2Fz7_EdRpFL1M%2Fdiscussion) but I made changes/reflash and I can't figure why It's not working now.
It's easier to list what I've done. Current config: Image: Debian 8.6 2016-11-06 4GB SD SeeedStudio IoT <https://debian.beagleboard.org/images/bone-debian-8.6-seeed-iot-armhf-2016-11-06-4gb.img.xz> (bone-debian-8.6-seeed-iot-armhf-2016-11-06-4gb.img) Kernel: Linux beaglebone 4.4.30-ti-r64 #1 SMP Fri Nov 4 21:23:33 UTC 2016 armv7l GNU/Linux - Flash it in a sd card sudo dd if=/media/gorgo/Windows/bone-debian-8.6-iot-armhf-2016-12-09-4gb.img of=/dev/mmcblk0 bs=4M sudo sync - Insert into the board and it boots. - ifconfig eth0 Link encap:Ethernet HWaddr 00:50:b6:17:b2:cb inet addr:192.168.1.245 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::250:b6ff:fe17:b2cb/64 Scope:Link UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1 RX packets:56 errors:0 dropped:0 overruns:0 frame:0 TX packets:119 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6827 (6.6 KiB) TX bytes:24771 (24.1 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:160 errors:0 dropped:0 overruns:0 frame:0 TX packets:160 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:12960 (12.6 KiB) TX bytes:12960 (12.6 KiB) usb0 Link encap:Ethernet HWaddr 88:c2:55:80:f2:5d inet addr:192.168.7.2 Bcast:192.168.7.255 Mask:255.255.255.0 inet6 addr: fe80::8ac2:55ff:fe80:f25d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:53 errors:0 dropped:0 overruns:0 frame:0 TX packets:48 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7650 (7.4 KiB) TX bytes:12775 (12.4 KiB) Dmesg: http://pastebin.com/U7FLMmGH No wlan0 or softAp0. So I tried to hold USER btn on boot. - Try to boot the board holding USER Button for 4/5 seconds. Boot: http://pastebin.com/fX0hwstd - I edited /boot/uEnv.txt uncommenting and reboot dtb=am335x-bonegreen-overlay.dtb Boot: http://pastebin.com/5e67fApn Still no wlan0 or SoftAp0. Dmesg: http://pastebin.com/RUgKNnN1 Journactl: http://pastebin.com/F5mCDewp *The journal is full of:* Feb 22 14:43:04 beaglebone wifidog_server[1081]: [3][Wed Feb 22 14:43:04 2017][1089](util.c:218) get_iface_mac ioctl(SIOCGIFHWADDR): No such device Feb 22 14:43:04 beaglebone wifidog_server[1081]: [3][Wed Feb 22 14:43:04 2017][1089](gateway.c:388) Could not get MAC address information of SoftAp0, exiting... Feb 22 14:43:04 beaglebone wifidog_pre[1077]: command failed: No such file or directory (-2) Feb 22 14:43:05 beaglebone systemd[1]: wifidog-pre-startup.service: Main process exited, code=exited, status=254/n/a Feb 22 14:43:05 beaglebone systemd[1]: wifidog-pre-startup.service: Unit entered failed state. Feb 22 14:43:05 beaglebone systemd[1]: wifidog-pre-startup.service: Failed with result 'exit-code'. Feb 22 14:43:05 beaglebone systemd[1]: wifidog-gateway.service: Main process exited, code=exited, status=1/FAILURE Feb 22 14:43:05 beaglebone systemd[1]: wifidog-gateway.service: Unit entered failed state. Feb 22 14:43:05 beaglebone systemd[1]: wifidog-gateway.service: Failed with result 'exit-code'. - Apt-get update and upgrade. It has upgraded bb-wl18xx-firmware, c9-core, PRU and other lots of pckgs. Reboot - No wlan0 or SoftAp0. Neither with iwconfig. wifidog-gateway.service errors still present in joruanctl root@beaglebone:~# ifconfig wlan0 up wlan0: ERROR while getting interface flags: No such device root@beaglebone:~# ifup wlan0 Unknown interface wlan0 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Test with a IoT night-build: Image: bone-debian-8.7-iot-armhf-2017-02-19-4gb.img Kernel: - Flash it in a sd card sudo dd if=/media/gorgo/Windows/bone-debian-8.7-iot-armhf-2017-02-19-4gb.img of=/dev/mmcblk0 bs=4M sudo sync - Insert into the board, holding USER btn and it boots. - No wlan0 or SoftAp0 Journal: http://pastebin.com/FRknbmJ5 - I edited /boot/uEnv.txt uncommenting and reboot dtb=am335x-bonegreen-overlay.dtb Dmesg: http://pastebin.com/7vwAXZqT Journal: http://pastebin.com/TvAfhTm6 - Edit /etc/network/interfaces and wpa_supplicant.conf # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface #auto eth0 #iface eth0 inet dhcp # Example to keep MAC address between reboots #hwaddress ether DE:AD:BE:EF:CA:FE ##connman: ethX static config #connmanctl services #Using the appropriate ethernet service, tell connman to setup a static IP address for that service: #sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> --nameservers <dns_server> ##connman: WiFi # #connmanctl #connmanctl> tether wifi disable #connmanctl> enable wifi #connmanctl> scan wifi #connmanctl> services #connmanctl> agent on #connmanctl> connect wifi_*_managed_psk #connmanctl> quit # Ethernet/RNDIS gadget (g_ether) # Used by: /opt/scripts/boot/autoconfigure_usb0.sh iface usb0 inet static address 192.168.7.2 netmask 255.255.255.252 network 192.168.7.0 gateway 192.168.7.1 auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant network={ ssid="ssid" proto=RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="password" } debian@beaglebone:~$ sudo ifup wlan0 wpa_supplicant: /sbin/wpa_supplicant daemon failed to start run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1 Failed to bring up wlan0. And the journal shows: Feb 22 16:00:59 beaglebone sudo[2054]: debian : TTY=pts/0 ; PWD=/home/debian ; USER=root ; COMMAND=/sbin/ifup wlan0 Feb 22 16:00:59 beaglebone sudo[2054]: pam_unix(sudo:session): session opened for user root by debian(uid=0) Feb 22 16:00:59 beaglebone wpa_supplicant[2066]: Successfully initialized wpa_supplicant Feb 22 16:01:00 beaglebone systemd[1]: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. -- Subject: Unit systemd-rfkill.socket has finished start-up -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit systemd-rfkill.socket has finished starting up. -- -- The start-up result is done. Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: Could not read interface wlan0 flags: No such device Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: nl80211: Driver does not support authentication/association or connect commands Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: Could not read interface wlan0 flags: No such device Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: Could not read interface wlan0 flags: No such device Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: WEXT: Could not set interface 'wlan0' UP Feb 22 16:01:00 beaglebone wpa_supplicant[2066]: wlan0: Failed to initialize driver interface debian@beaglebone:~$ sudo ifconfig wlan0 up wlan0: ERROR while getting interface flags: No such device Sorry for the long post but I can't figure it out :/ Thank you for the support -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/f0b67f89-25ec-4c5c-b1ef-ad801af3ee41%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
