LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 10-15-2007, 11:47 AM   #1
Rast
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Rep: Reputation: 15
Setting up a wireless connection


Hello!
I am running Mandriva (kernel ver. 2.6.22.6 ) on IBM Thinkpad T41, using Atheros AR5212 abg card
As I understand, the card is detected by the kernel, but there is no connection.
lspci detects the card as ethernet controller
ls /sys/class/net/ only shows eth0 which is the other ethernet connection.
iwconfig says there is no wireless extensions

what should i do?

thanks in advance
 
Old 10-15-2007, 01:11 PM   #2
rjwilmsi
Member
 
Registered: Mar 2005
Location: UK
Distribution: opensuse 12.2 x86_64
Posts: 563

Rep: Reputation: 38
You need to install/activate madwifi for the card to work. I don't know much about this on Mandriva, but here's a guide to start you off: http://madwifi.org/wiki/UserDocs/Distro/Mandrake
 
Old 10-15-2007, 04:09 PM   #3
Rast
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Original Poster
Rep: Reputation: 15
is it because there is no CONFIG_NET_RADIO option in kernel and madwifi will add it?

can you please explain to me what happens in the OS? the kernel has drivers in it, and the tools to configure wireless connection, but the driver isn't assosiated with a connection. why? what makes the system be able to use the card if not the driver?

thank you very much for the help, i'll be installing the madwifi.
 
Old 10-15-2007, 04:17 PM   #4
Rast
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Original Poster
Rep: Reputation: 15
madwifi is the actual driver for atheros card, but as far as i understand i already have driver in the kernel. or i don't?
 
Old 10-15-2007, 04:38 PM   #5
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
lsmod to see if the MadWiFi module is loaded.

You should see auth_pci if it is.

If not, you may need to install it as noted above. I don't know if Mandriva includes the MadWiFi stuff or not.
 
Old 10-17-2007, 02:02 PM   #6
Rast
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Original Poster
Rep: Reputation: 15
thanks everyone, problem solved
 
Old 10-17-2007, 04:42 PM   #7
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Care to share?

The next person Goggling along will be happy you did.
 
Old 11-15-2007, 03:47 PM   #8
Rast
LQ Newbie
 
Registered: Jun 2005
Posts: 26

Original Poster
Rep: Reputation: 15
sure,
i followed a guide posted here http://ubuntuforums.org/showthread.php?t=38972

which is

1. start up a root console

2.type: iwconfig ( this will give you your card info and network /wireless info)

3. type: iwconfig ath0 channel 6 ( substitute channel 6 for whichever channel your router is transmitting on)

4. Type: iwlist scan ( this may take a minute, this will give you your routers wireless settings.)

5. Type: iwconfig ath0 essid xxxxxx ( replace xxxxxx with your routers essid)

6. Type: iwconfig ath0 ap xx xx xx xx xx xx( this is the six double digit mac address required and is listed in your iwlist scan message as above.)

7. Type: iwconfig ath0 key XXXXXXXXXX ( replace XXXXXXXX with your own hex wep key )

8. type: dhclient ( this gets your dhcp sorted ) you should now be up and running.

All of the information you need is right on the screen, although you will need to make a note of your wep key from your routers settings, as the output above may list it only as a ******** output .
 
  


Reply

Tags
ar5212, madwifi, mandriva



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
Setting up Wireless connection on Suse Dumb_Novice_User Linux - Laptop and Netbook 3 04-07-2007 10:46 AM
Setting up the wireless connection redriverd Linux - Wireless Networking 1 01-06-2006 03:13 PM
Setting Up The Wireless Connection jude01 Fedora - Installation 2 09-10-2005 06:11 AM
Setting up wireless connection on Fedora 2 pitimespi Linux - Wireless Networking 2 08-01-2004 03:11 PM
Setting up a Wireless Connection Showtime8000 Linux - Wireless Networking 2 09-22-2003 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:49 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