srfberry
Posts: 2
Joined: Sun Mar 24, 2013 11:41 pm

Can access WiFi on wheezy but not occidentalis 2.0

Sat Sep 14, 2013 2:13 am

I have two SD cards, one with wheezy and the other with occidentalis.

With the wheezy I can use my Asus N53 wifi, but it will not work on my occidentalis card.
The wheezy has the following configurations:
/etc/network/interfaces

Code: Select all

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
/etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
	ssid="my SSDI"
	psk="my passkey"
	proto=RSN
	key_mgmt=WPA-PSK
	pairwise=CCMP
	auth_alg=OPEN
}
When I am on occidentalis I am able to see a reference to the wifi dongle using lsusb

Code: Select all

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Bus 001 Device 004: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 006: ID 046d:c077 Logitech, Inc. 
Bus 001 Device 007: ID 413c:2107 Dell Computer Corp. 
Bus 001 Device 008: ID 0b05:179d ASUSTek Computer, Inc. USB-N53 802.11abgn Network Adapter [Ralink RT3572]
but wlan0 is not working
When I execute sudo ifup wlan0
Failed to connect to wpa_supplicant - wpa_ctrl_open: no such file or directory

The problem seems to be that my occidentalis has no /var/run/wpa_supplicant directory

I've tried starting wlan0 on the command line and I got failed to initialize driver interface

Does occidentalis require the asus N53 drivers to be installed? or does it look like the wpa_supplicant in not properly configured?

Help would be much appreciated

srfberry
Posts: 2
Joined: Sun Mar 24, 2013 11:41 pm

Re: Can access WiFi on wheezy but not occidentalis 2.0

Thu Sep 19, 2013 5:35 am

Well... uhm... it's working now. It may be because I unplugged the modem/router a couple times due to lightning storms.

I had just decided to clear the dmesg cache and then plug in the dongle and run dmesg to see what I got and low and behold:

Code: Select all

[  234.748216] usb 1-1.2.1.4: new high-speed USB device number 8 using dwc_otg
[  234.866241] usb 1-1.2.1.4: New USB device found, idVendor=0b05, idProduct=179d
[  234.866274] usb 1-1.2.1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  234.866291] usb 1-1.2.1.4: Product: 802.11 n WLAN
[  234.866307] usb 1-1.2.1.4: Manufacturer: Ralink
[  234.866321] usb 1-1.2.1.4: SerialNumber: 1.0
[  234.981316] cfg80211: Calling CRDA to update world regulatory domain
[  235.148280] usb 1-1.2.1.4: reset high-speed USB device number 8 using dwc_otg
[  235.323962] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[  235.329362] Registered led device: rt2800usb-phy0::radio
[  235.329898] Registered led device: rt2800usb-phy0::assoc
[  235.330348] Registered led device: rt2800usb-phy0::quality
[  235.332511] usbcore: registered new interface driver rt2800usb
I set up the interfaces file to point to the /etc/wpa.conf file instead of the /etc/wpa_supplicant/wpa_supplicant.conf

And now I am ssh'ing happily. But not sure why.

Return to “Troubleshooting”