Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-10-2006, 02:17 PM
|
#1
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Rep:
|
Connecting to my wifi hotspot (madwifi driver)
Hi all,
The last time i got into the business of getting my laptop working with my wifi router my pcmcia card wasnt that good, and i made a complete mess of the config files, i got another card recently thats supported by the madwifi driver and was wondering what the best way of setting it up is. The laptop is picking up the signal in kismet, the konsole commands i can remember (iwlist, iwscan) dont seem to work now. I remember the files are in /etc arent they?
Security Mode: WPA-PSK
WPA-PSK Encryption: TKIP
WPA-PSK Version: WPA
Any help appreciated.
Last edited by dave`2005; 05-10-2006 at 02:18 PM.
|
|
|
05-10-2006, 02:55 PM
|
#2
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
|
|
|
05-10-2006, 02:58 PM
|
#3
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
And try to get it working first without any security. (It can add to the problems. You can enable after you get the connection working)
|
|
|
05-10-2006, 03:31 PM
|
#4
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
Eric and cw helped me out a ton w/those drivers here:
http://www.linuxquestions.org/questi...d.php?t=427767
Also I have a netgear card and netgear router and I can use the broadcast SSID off in my router flawlessly with Eric/madwifi's. But I recommend too like Eric that you get it working first then try it out. I do use the WPA-TKIP encryption with strong pass. I wish I could do AES tho
Another thing to consider once you do get it all done is segregating your network based on this theory I learned over here at http://www.ezlan.net/shield.html
I actually want to take an old pc and turn it into a slackware-router and use it for that, and then VPN. It's on my to-do list.
|
|
|
05-13-2006, 09:55 AM
|
#5
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
Thanks for the help.
Went through that guide at the madwifi site (trying to get the wifi going withouth encryption first as suggested). Everything seemed fine until i did the
Code:
/etc/rc.d/rc.inet1 ath0_restart
after doing the editing to the files, but i get:
Code:
/etc/rc.d/rc.wireless.conf: line 226: 00:09:5B:98:E7:E8: command not found
/etc/rc.d/rc.inet1: ath0 is 'BEBOX'
The only thing on line 226 is the mac address 00:09:5B:98:E7:E8. It looked to me that on the guide, that was where it was in their pic. If it doesnt go there where should i put it? I tried removing it completely but still no wifi access. Any ideas?
Last edited by dave`2005; 05-13-2006 at 09:56 AM.
|
|
|
05-13-2006, 10:23 AM
|
#6
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
Try this first:
Code:
iwlist scan #should show the AP info
ifconfig auth0 up # Begin the auth0 interface
dhcpcd auth0 # Get an address
It should work then. If not...
|
|
|
05-13-2006, 08:01 PM
|
#7
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
I got the wifi going without encryption and continued following that guide. Downloaded wpa_supplicant and have filled in my details mostly but havent tried it, i have a few questions but just to refresh your memories heres the part of the wpa_supplicant.conf:
Code:
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid="my_ssid"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=your_psk_here
}
My questions are, what is the "scan_ssid=0" for?
Now my ssid and psk are in there is it ready to go for WPA-PSK? (i dont know what the other lines do)
Would it be better to use WPA2? (i noticed my router supports it)
I read the readme but couldnt seem to find the info.
Any help appreciated.
Last edited by dave`2005; 05-13-2006 at 08:04 PM.
|
|
|
05-14-2006, 01:41 PM
|
#8
|
Member
Registered: Aug 2005
Distribution: Ubuntu 7.10, Slackware 12
Posts: 270
Original Poster
Rep:
|
Ive given up on wpa-psk encryption, followed the guide and couldnt get it going. Went through the debugging section and still no joy Ive chosen 128-bit WEP on the router instead. In the rc.inet1.conf i can see quite a few settings, can someone tell me what line i need to add to my section please:
Code:
# Config information for ath0:
IFNAME[0]="ath0"
IPADDR[0]="192.168.1.100"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]=""
DHCP_HOSTNAME[0]=""
GATEWAY="192.168.1.254"
|
|
|
All times are GMT -5. The time now is 10:54 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|