LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 03-01-2011, 02:14 PM   #1
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: That depends on how impulsive I am ;)
Posts: 59

Rep: Reputation: 0
Question Wifi doesn't work


Hello.

I installed Arch Linux yesterday.

Well, I've a Conceptronic c150ru, which lsusb is:

Code:
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870 Wireless Adapter
so I followed this instructions:

Quote:
The 2.6.31 kernel caused the rt2870 driver to conflict with other wireless modules. The fix in this thread says that you need to blacklist the rt2800usb rt2x00usb and rt2x00lib modules by modifying the MODULES array in /etc/rc.conf
https://wiki.archlinux.org/index.php...dule_conflicts

Then, I've modified the /etc/rc.conf file in this way:

https://wiki.archlinux.org/index.php...utomatic_setup

So, I've written this.

Code:
wlan0="dhcp"
wlan_wlan0="wlan0 essid WLAN_92 key *************"
INTERFACES=(eth0 wlan0)
Where the asterisks are letters and numbers.

But wifi doesn't work. When I write iwconfig, this appears:

Code:
wlan0     Ralink STA  ESSID:"WLAN_92"  Nickname:"RT2870STA"
          Mode:Managed  Frequency=2.422 GHz  Access Point: 00:1A:2B:05:69:89   
          Bit Rate=54 Mb/s   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Link Quality=100/100  Signal level:-61 dBm  Noise level:-83 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
And at the start it says:

Code:
Starting network [BUSY]
...IFFLAGS: No such file or directory
...for wireless request "Set Encode" (0B2A) :
Set failed on device wlan0 ; Invalid argument.
Could not associate wlan0 - try increasing WIRELESS_TIMEOUT and check is WEP or has no security
                    [FAIL]
Well, I think that it's all. If I haven't wifi, I can neither install anything nor update the system.

Last edited by Kubuntu; 03-01-2011 at 03:13 PM.
 
Old 03-02-2011, 07:32 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
Try doing it by hand, report any error messages.

First let's unload and reload the module and capture anything weird with that from dmesg

(All of this as root)
Code:
ifconfig wlan0 down
modprobe -r rt2870sta
modprobe rt2970sta
depmod -a
dmesg | tail
Post the output of the last dmesg command

Now try to connect
Code:
iwconfig wlan0 essid "WLAN_92" key <wep hex key>
dhcpcd wlan0
When you installed the rt2870sta driver, did you use the package in the AUR?
 
Old 03-02-2011, 07:42 AM   #3
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: That depends on how impulsive I am ;)
Posts: 59

Original Poster
Rep: Reputation: 0
No, rt2870sta was already installed with the system.

I'll try using netcfg, I've heard that it has a lot of success.
 
Old 03-02-2011, 12:55 PM   #4
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: That depends on how impulsive I am ;)
Posts: 59

Original Poster
Rep: Reputation: 0
netcfg doesn't work.

It answers to me, when I write netcfg mynetwork:

Code:
:: wlan up         [BUSY]
Line 6: Invalid WEP key 0 '*************'.
Line 6: failed to parse wep_key0 '*************'.
Line 8: failed to parse network block.
Failed to read or parse configuration '/tmp/wpa.wlan0/wpa.conf'.
> wpa_supplicant did not start, possible configuration error
                   [FAIL]

Last edited by Kubuntu; 03-02-2011 at 01:13 PM.
 
Old 03-02-2011, 01:48 PM   #5
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 141Reputation: 141
It appears something is wrong with your encryption key. Are you sure it's WEP and hex?
 
Old 03-02-2011, 02:14 PM   #6
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: That depends on how impulsive I am ;)
Posts: 59

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by reed9 View Post
It appears something is wrong with your encryption key. Are you sure it's WEP and hex?
Yes. But I don't know if it has case sensitive or not, because when I was with Windows, I put the letters in lower case or in upper case, and it worked.

In Arch I put the letters in lower case. I'll try to put them in upper case.

EDIT: I don't understand this. The same WEP key that doesn't work in Arch works in Mint and worked in Windows :S It hasn't case sensitive in Arch.

Last edited by Kubuntu; 03-02-2011 at 02:26 PM.
 
Old 03-02-2011, 07:26 PM   #7
Kubuntu
Member
 
Registered: Jun 2009
Location: Oviedo (Spain)
Distribution: That depends on how impulsive I am ;)
Posts: 59

Original Poster
Rep: Reputation: 0
I've written the WEP key as hex code, not as ascii code, so it didn't work. Now yes.

Solved.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I cannot get the wifi to work kalainerene Linux - Newbie 5 05-09-2008 08:13 PM
Can't get wifi to work m2stian Linux - Wireless Networking 6 11-27-2004 04:12 PM
Getting my wifi to work... the_watchman Linux - Newbie 6 04-14-2004 06:00 AM
Try this again...WiFi don't work... Powerlifter Linux - Software 1 01-24-2004 12:40 PM
WiFi - don't work Powerlifter Linux - Software 1 01-23-2004 10:19 PM


All times are GMT -5. The time now is 03:29 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration