LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 09-30-2006, 12:53 PM   #1
Bullseye727
LQ Newbie
 
Registered: Sep 2006
Location: USA
Distribution: Fedora, Backtrack
Posts: 5

Rep: Reputation: 2
Question Wireless network card setup on Backtrack


I have Black track 1.0 running from live cd on a laptop. What I am trying to do is get my dlink wireless network card model number "DWL-G630" set up. I tryed the ifconfig ath0 stuff but it doesnt seem to work. I saw that the dwl-g630 was supported by the Madwifi drivers, would that make it work? and if so would I have to install Backtrack to my harddrive?

Sorry for being such a

EDIT: I found out that my specific version of the card has the Atheros chip set

Last edited by Bullseye727; 09-30-2006 at 01:27 PM.
 
Old 10-01-2006, 10:17 PM   #2
Bullseye727
LQ Newbie
 
Registered: Sep 2006
Location: USA
Distribution: Fedora, Backtrack
Posts: 5

Original Poster
Rep: Reputation: 2
bump
 
1 members found this post helpful.
Old 10-02-2006, 03:30 AM   #3
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 142

Rep: Reputation: 16
No need to do a hardrive install to get your card working, sounds more like the module isn't loaded.

Code:
 lsmod |grep ath_pci
If that returns nothing use "modprobe" to load the module.

Code:
modprobe ath_pci
Then configure your card as normal.

Good Luck.
 
Old 10-03-2006, 09:27 AM   #4
Bullseye727
LQ Newbie
 
Registered: Sep 2006
Location: USA
Distribution: Fedora, Backtrack
Posts: 5

Original Poster
Rep: Reputation: 2
How would I configure it as normal? lol I have no idea how to set it up
 
1 members found this post helpful.
Old 10-03-2006, 04:23 PM   #5
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 142

Rep: Reputation: 16
Ok did you look to see if the module was loaded? Make sure its loaded before going any further.


Code:
modprobe ath_pci
iwconfig ath0 essid youressidhere
iwconfig ath0 channel yourchannelhere
iwconfig ath0 key yourhexkeyhere  ***Note if your using a ASCII sting add "s:" 
iwconfig ath0 key s:yourasciikeyhere
ifconfig ath0 up
dhcpcd ath0
Hopfully that should get you started.


Good luck
 
1 members found this post helpful.
Old 10-04-2006, 02:23 PM   #6
Bullseye727
LQ Newbie
 
Registered: Sep 2006
Location: USA
Distribution: Fedora, Backtrack
Posts: 5

Original Poster
Rep: Reputation: 2
Well I tryed what you said in the last post - which does look exactly right but, when I pull up Firefox it still says page not displayed. I am using a WPA key on my network and it is ASCII so I used the "iwconfig ath0 key s:yourasciikeyhere" command with the s. Does linux only support WEP?
 
Old 10-04-2006, 05:39 PM   #7
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 142

Rep: Reputation: 16
Ok you didn't mention WPA in your first post, linux supports WPA fine, after READING the Back Track forums (I dont use WPA) it looks like the wpa_supplicant has an issue with madwifi.
I'll try and help but cant guarantee it will work.

Download the wpa_supplicant module from Here and the README from
Here Save both of these to a thumb drive and boot up Back Track.

Mount the thumb drive.

Code:
 mount /mnt/sda1_removable
Now insert the module
Code:
 uselivemod /mnt/sda1_removable/wpasup.mo
all going well you now should have "/etc/wpa_supplicant.conf"

Edit this file to suit your needs.
Code:
 vi /etc/wpa_supplicant.conf
With any luck that should be it.

Code:
wpa_supplicant -D madwifi -i ath0 -c /etc/wpa_supplicant.conf -B

Quote:
The -B will let it run in the background. Then you issue:

Code:
wpa_gui
to start the GUI interface so you can scan for APs and connect.

*** IMPORTANT ***
You must ALWAYS start wpa_supplicant FIRST before running wpa_gui!

Once connected you will have to manually do:

Code:
dhcpcd ath0
to get an IP address over dhcp.
All these steps worked for me except actually connecting as I dont use WPA.

Good Luck.


Edit fixed URL's

Last edited by Axo; 10-05-2006 at 04:21 PM.
 
Old 10-05-2006, 06:30 AM   #8
Bullseye727
LQ Newbie
 
Registered: Sep 2006
Location: USA
Distribution: Fedora, Backtrack
Posts: 5

Original Poster
Rep: Reputation: 2
Thanks I'll try that out now. I have one more question, does wifi in linux run in the background similar to windows or do you configure it on a program to program basis? Thanks again for your help
 
Old 10-05-2006, 04:24 PM   #9
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 142

Rep: Reputation: 16
Did it work? and yes the connection will run in the background so all programs have access to the net.
 
Old 03-05-2007, 12:06 AM   #10
mango1122
LQ Newbie
 
Registered: Jul 2006
Posts: 14

Rep: Reputation: 0
hey u can load ur driver module(.mo file) by putting ur .mo file in modules folder in the iso image.

u may find ur module here www.slax.org.
navigate to modules n locae urs.

bt2 is essentially a slax distro.so u may find all the modules here
 
Old 04-21-2007, 01:20 PM   #11
miketalion
LQ Newbie
 
Registered: Apr 2007
Posts: 1

Rep: Reputation: 0
Thank you Axo. thank you indeed (backtrack/ cisco 350 card

Quote:
Originally Posted by Axo
No need to do a hardrive install to get your card working, sounds more like the module isn't loaded.

Code:
 lsmod |grep ath_pci
If that returns nothing use "modprobe" to load the module.

Code:
modprobe ath_pci
Then configure your card as normal.

Good Luck.



cisco 350 airo card works like a charm. thank you
 
Old 04-22-2007, 05:02 AM   #12
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 142

Rep: Reputation: 16
Glad it helped, and welcome to LQ.
 
Old 05-22-2007, 12:18 PM   #13
ECRocker
Member
 
Registered: May 2007
Distribution: RHEL 5, Ubuntu 9.10, Fedora 12
Posts: 85

Rep: Reputation: 17
Hey Thanks. I tried to use the back track live cd last night, and couldn't figure out why it wasn't detecting any signals when I know theres one right next to me.

I tried using the gui program I found but I couldn't figure out how to get it to change channels (suspect thats the problem). I'll this stuff out when I get home.
 
Old 06-04-2007, 03:47 PM   #14
jab1
LQ Newbie
 
Registered: Jun 2007
Posts: 1

Rep: Reputation: 0
will these instructions work with realtek driver version 5.158.1001.2003
 
Old 12-24-2007, 02:31 AM   #15
sirusx69
LQ Newbie
 
Registered: Dec 2007
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by Axo View Post
No need to do a hardrive install to get your card working, sounds more like the module isn't loaded.

Code:
 lsmod |grep ath_pci
If that returns nothing use "modprobe" to load the module.

Code:
modprobe ath_pci
Then configure your card as normal.

Good Luck.
i did this and when i went to do iwconfig ath0 it came back "ath0 No such device" what did I do wrong?
 
  


Reply

Tags
backtrack, dlink, help, network, setting, wireless, wpasupplicant


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
Wireless network keeps disconnecting on Intel(R) Pro/wireless 2200bg network card gregh Linux - Wireless Networking 1 09-16-2006 06:57 PM
Backtrack Wireless Network gelf1979 Linux - Wireless Networking 0 03-03-2006 11:08 AM
HP wireless network card setup tywarren Linux - Wireless Networking 5 02-05-2006 08:29 AM
Wireless Network Setup, PCI Card Lacertosum Slackware 4 05-31-2005 12:25 AM
How do I setup Netgear ma311 wireless network card on Mandrake 10? smolo Linux - Wireless Networking 2 09-28-2004 06:44 PM


All times are GMT -5. The time now is 04:48 PM.

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