LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-07-2007, 07:02 AM   #1
jeffmccoy
LQ Newbie
 
Registered: Aug 2003
Location: Washington, D.C., US
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
wireless/madwifi trouble on Slackware 12 - unable to get dhcp response


I've just done a fresh install of Slackware 12, and I'm having trouble getting my wireless connection to work.

It's a Atheros card (a pci card in a desktop computer). I have a dlink router and a linksys wireless access point. I've downloaded the madwifi code. It compiles fine, and I can bring up the ath0 interface, do iwlist and scan for access points, set the ESSID and key, but when I try to use dhcp, it times out with "no DHCP offers received".

I'm using a short script to keep things simple: bring down eth0 (just in case it gets in the way), bring up ath0, set the essid, set the key, then use dhcpcd. Each step works fine except for DHCP. I can see ath0, I can assign the essid, I can even scan for access points and see everything. But I when I do "dhcpcd ath0" or "dhclient ath0", it eventually times out, saying it didn't receive any offers.

Things I've tried so far:

in /var/log/debug, I noticed an error message that said no ipv6 routers were present. In some other posts, there were errors where the system was looking for ipv6 and wouldn't accept anything else. I've blacklisted the ipv6 module and rebooted, it's no longer there, but the problem still persists.

I've tried different versions of madwifi - latest stable code, latest snapshot, and getting the code from subversion. It didn't seem to help.

For kernel, I was using the "huge" smp kernel, also tried the generic kernel to see if that would make a difference. I looked on the madwifi site and didn't see anything suggesting that current madwifi code isn't compatible with 2.6.21.5, which is the kernel I'm using (the one that shipped with Slackware 12).

I've tried upgrading to latest version of dhcpcd and also downloaded and compiled the latest version of dhclient. In both cases it times out, saying that no offers were received. The log files didn't have anything more specific than that; I did turn on logging/debgging for dhcpcd.

Also, I've tried a wired connection, and that works fine - dhcpcd or dhclient will connect with no problems.

The wireless card works in other linux distos, currently ubuntu and pclinuxos. I'm using the same simple script in ubuntu without problems. Also, I remember this working in earlier versions of Slackware.

If anyone has any ideas, let me know, any help or advice would be much appreciated.

thanks
 
Old 07-27-2007, 10:29 AM   #2
tdaley
LQ Newbie
 
Registered: Jul 2007
Location: Woodland Park, CO
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
delay after setting essid

I was having problems with wireless setup on my new Slackware 12 install. The setup worked if I did it on the command line but the rc.wireless script failed. I found that I needed to add a "sleep 1" in rc.wireless after the essid gets set (in two places in the script).

I am not sure of the underlying cause, but it works for me.

I hope this helps.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Madwifi-old + Aircrack/Trouble compiling madwifi Ashex Linux - Software 7 04-05-2006 11:39 PM
Madwifi-old + Aircrack/Trouble compiling madwifi Ashex Linux - Software 0 03-05-2006 06:55 PM
Unable to switch from DHCP to Static IP with Slackware 10.1 dmkh Linux - Networking 9 09-15-2005 03:41 AM
Slackware 8.1 DHCP trouble matruschka Linux - Networking 6 07-12-2002 08:21 AM


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