Results 1 to 2 of 2

Thread: Wifi interface crashes on Odroid U2

  1. #1
    Join Date
    2013-Apr
    Posts
    4

    Wifi interface crashes on Odroid U2

    I'm having frequent problems with wlan0 on the Odroid U2. I'm using the Realtek RTL8191SU-based 'wifi module 2' from the Odroid store, so assume it's compatible.

    I can bring up & associate wlan0 most times when typing commands directly on the command line - so I know this setup works. But when I try to use a bash script or a Python script, I frequently get errors, but often at different stages.

    For example, I've just run a script where commands like 'killall wpa_supplicant', 'dhclient -r wlan0' and others all went swimmingly. But when I issued: 'wpa_supplicant -B -Dwext -iwlan0 -c/etc/wifi/myap.conf', I was treated to streams of syslog messages starting with:

    Message from syslogd@kali at Apr 13 08:14:34 ...
    kernel:[ 514.260096] Internal error: Oops - bad mode: 0 [#1] SMP

    Message from syslogd@kali at Apr 13 08:14:34 ...
    kernel:[ 514.888133] Process wpa_supplicant (pid: 2811, stack limit = 0xeb7542f8)

    Message from syslogd@kali at Apr 13 08:14:34 ...
    kernel:[ 514.894810] Stack: (0xeb755cf8 to 0xeb756000)

    Followed by an awful lot more just spewing out numbers that mean nothing to me! At that point, I'm still connected okay over the serial connection, but all networking is b0rked. Issuing an 'ifconfig' just hangs the machine.

    As I said, issuing these commands by hand from the command line works okay. Am I simply trying to do this too fast? When issuing the commands via the Python script, I'm using subprocess with stdout=PIPE and followed by a subprocess.communicate() which, I believe, means that the script should wait for each subproc to terminate before continuing.

    All help appreciated.

  2. #2
    Join Date
    2013-Apr
    Posts
    4
    Just to add some info to this:

    I'm also getting crashes from the command line. Issuing 'ifconfig wlan0 down' produces a segfault. And I got the same thing when using 'killall wpa_supplicant'

    lsmod shows that the correct driver is installed.

    I tried using a different wifi adapter - an Alfa that uses the AR9271 chipset. I used modprobe ath9k_htc to install the driver, which worked. But attempting to connect the adapter resulted in an endless stream of messages such as:

    [ 169.010882] udevd[2984]: renamed network interface wlan0 to wlan1
    [ 169.162583] ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 169.415927] usb 1-3.1: USB disconnect, device number 13
    [ 169.760118] ath: Failed to wakeup in 500us
    [ 169.770237] ath: Failed to wakeup in 500us
    [ 169.871448] ath: Chip reset failed
    [ 169.871484] ath: Unable to reset hardware; reset status -22 (freq 2412 MHz)
    [ 169.977577] ath: Chip reset failed
    [ 169.977616] ath: Unable to reset hardware; reset status -22 (freq 2412 MHz)
    [ 170.093754] ath: Failed to wakeup in 500us
    [ 170.120112] ath: Failed to wakeup in 500us
    [ 170.130244] ath: Failed to wakeup in 500us

    and

    [ 170.635215] usb 1-3.1: new high speed USB device number 14 using s5p-ehci
    [ 171.735431] hub 1-3:1.0: unable to enumerate USB device on port 1
    [ 171.940218] usb 1-3.1: new high speed USB device number 15 using s5p-ehci
    [ 172.445028] usb 1-3.1: device not accepting address 15, error -71
    [ 172.460423] hub 1-3:1.0: unable to enumerate USB device on port 1

    I'm going to try to rebuild the driver using the 3.0 drivers at compat-wireless, but I've run into a separate problem with needing, and not being able to find, the Linux headers.

Similar Threads

  1. WiFi interface does not come up.
    By AlexTS in forum Kali Linux TroubleShooting
    Replies: 0
    Last Post: 2023-06-27, 10:38
  2. The OS does not detect WiFi interface
    By win32nipuh in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2022-07-16, 02:57
  3. The wifi interface does not find any wifi network in kali 2022.2
    By UniversChicken in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-05-22, 06:30
  4. system crashes on usb wifi unplug
    By J-Run in forum NetHunter General Questions
    Replies: 5
    Last Post: 2014-10-27, 00:38

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •