LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-30-2014, 01:36 AM   #1
seam0nkey
LQ Newbie
 
Registered: Jul 2014
Posts: 6

Rep: Reputation: Disabled
Wifi connectivity - Ralink rt3090 - turnkey linux


I have a machine running a distribution of Turnkey Linux from Debian 7.2. The wireless card is a Ralink rt3090. I cannot get the machine to connect to a wireless network whatsoever, and need to get it to connect to a WPA2 protected one. Wired ethernet cables do function. I have installed WPA Supplicant, Rfkill, and Debian's Ralink driver. The Driver did have the effect that ifconfig now does show the wireless adapter without going into -a. Any help would be appreciated. Below are the results of some commands that may be useful. (note: a few spaces have been added to prevent emotes from forming)

wpa_supplicant -Dwext -ieth1 -c/root/wpa.conf -B -dd
random: Trying to read entropy from /dev/random
Initializing interface 'wlan0' conf '/root/wpa.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/root/wpa.conf' -> '/root/wpa.conf'
Reading configuration file '/root/wpa.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=16):
74 68 61 74 73 77 68 61 74 73 68 65 53 53 49 44 myssid
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='myssid'
WEXT: cfg80211-based driver detected
wext: interface wlan0 phy: phy0
rfkill: initial event: idx=0 type=1 op=0 soft=0 hard=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
wlan0: Own MAC address: 70:1a:04:fd:52:c8
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Driver did not support SIOCSIWENCODEEXT
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0 sec 100000 usec
WPS: Set UUID for interface wlan0
WPS: UUID based on MAC address - hexdump(len=16): 64 eb 82 94 0a f7 51 98 87 6e 63 11 9f 41 b5 a1
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
wlan0: Added interface wlan0
Daemonize..


iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID: off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry long limit:7 RTS thr: off Fragment thr: off
Encryption key: off
Power Management: off

eth0 no wireless extensions.

iwlist scan
lo Interface doesn't support scanning.

wlan0 Scan completed :
Cell 01 - Address: 08:BD:43: DE:B5: D5
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=70/70 Signal level=-23 dBm
Encryption key: off
ESSID:"mySSID"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000127654555
Extra: Last beacon: 4604ms ago
IE: Unknown: 001074686174737768617473686553534944
IE: Unknown: 010882848B960C121824
IE: Unknown: 030101
IE: Unknown: 0706555320010B1B
IE: Unknown: 2A0100
IE: Unknown: 32043048606C
IE: Unknown: 2D1AAC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: 331AAC011BFFFF000000000000000000000000000000000000000000
IE: Unknown: 3D1601001300000000000000000000000000000000000000
IE: Unknown: 341601001300000000000000000000000000000000000000
IE: Unknown: 4A0E14000A002C01C800140005001900
IE: Unknown: 7F0101
IE: Unknown: DD180050F2020101060003A4000027A4000042435E0062322F00
IE: Unknown: DD0900037F01010000FF7F

eth0 Interface doesn't support scanning.
 
Old 07-31-2014, 03:37 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
First thing you should do is attempt to connect WITHOUT wpa. That will make sure that the wifi card is working as you expect.

So, turn off WPA on your network (or set up a test network if current network is mission critical) and do this:

Code:
ifconfig wlan0 up
iwconfig wlan0 essid="myESSID"
dhclient wlan0

Last edited by notKlaatu; 07-31-2014 at 03:39 PM.
 
Old 07-31-2014, 04:34 PM   #3
seam0nkey
LQ Newbie
 
Registered: Jul 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
This does in fact work. I can connect to an unsecured network.
 
Old 07-31-2014, 04:46 PM   #4
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Your WPA_supplicant command is this:

Code:
wpa_supplicant -Dwext -ieth1 -c/root/wpa.conf -B -dd
Should it not use your wlan0 card? Also, how did you ascertain which driver to use? Try something like this:

Code:
wpa_supplicant -iwlan0 -c/root/wpa.conf -dd
 
Old 07-31-2014, 04:50 PM   #5
seam0nkey
LQ Newbie
 
Registered: Jul 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by notKlaatu View Post
Your WPA_supplicant command is this:


Should it not use your wlan0 card? Also, how did you ascertain which driver to use? Try something like this:
Yeah I'm an idiot. it works now.
 
1 members found this post helpful.
Old 07-31-2014, 06:11 PM   #6
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
It's ok, it took me two posts to catch it, too :-)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to 14, issues with Ralink rt3090 mariostg Slackware 5 05-03-2013 05:33 AM
[SOLVED] Ralink RT3090 G1d30n Slackware 2 08-16-2011 06:02 AM
ralink and Ubuntu (RT3090 and 10.4.2, specifically) wireless problems moxieman99 Ubuntu 2 06-10-2011 12:11 PM
RALink RT3090 wireless card refuses to do anything I tell it to do! prushik Linux - Hardware 3 12-16-2010 05:09 AM
RaLink RT3090 Wireless help TrueBlue Linux - Networking 1 07-29-2010 05:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration