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 (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/5e67fApnStill 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
`