LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-24-2006, 04:13 PM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
No hotplug for ath0


I've used these setting on my laptop for quite some time: http://www.vollink.com/gary/deb_wifi.html
It makes switching from wired to wireless a breeze, and works brilliant as long as your wireless is eth1.
I use madwifi-ng so my wireless is ath0. For some reason all the settings don't work and I have to manually start the device every time.
Any clues on how to get ath0 to act the same as eth1?

before I forget: Manualy works when I start the device plugged-in. If I remove the card and replug it, restarting the device and getting it paired with the AP (using WPA) won't work.

Regards

Last edited by powadha; 04-24-2006 at 04:15 PM.
 
Old 04-24-2006, 05:43 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Have you tried substituting every instance of "wlan0" with "ath0" in the scripts and configuration?
 
Old 04-25-2006, 06:34 PM   #3
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Original Poster
Rep: Reputation: 31
Everything needed is set to ath0.
 
Old 04-25-2006, 09:58 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The website that you posted doesn't configure the /etc/ifplugd/ifplugd.action file. Check if it exists. It also uses /etc/default/ifplug. I assume this is used in place of /etc/ifplugd/ifplugd.conf if it doesn't exist. Perhaps there is an /etc/ifplugd/ifplugd.conf present that takes precedence. I looked in the "man ifplugd.conf" and "man ifplugd" man pages and "HOTPLUG_INTERFACES" isn't one of the listed options. Perhaps this variable is used by one of the network or hotplug scripts on your system, in which case you will need to read through your hotplug, ifplugd.action and other scripts in your own system to understand where it is used. Of course, you may have a different version of ifplugd.

By default, ifplugd writes its messages to a log, so you could shut down the wireless card, and re-insert it to see if ifplugd and hotplugd detect it. Actually, this sounds more like something that hotplugd should be doing instead. If the signal drops of for your wireless, but you don't want to rescan for a different network, I don't know what you want triggered. I think it would be more useful for connecting to available networks on the fly, when you are on the road.

The ARGS value given is the default, but I don't know if you want those same values for both eth0 and ath0.
On my laptop, ifplug is started from the /etc/init.d/network script instead of a ifplugd service.

A debian user might be able to provide you with better answers. Given the work ahead, this may be case where you do more work trying to save some work the the work itself. In other words, configuring wireless the standard debian way may turn out to be easier than relying on the solution supplied by a web page.

----

Here is a stupid idea. Try reversing the order of the interfaces in /etc/network/interfaces. List ath0 before eth0.

Last edited by jschiwal; 04-25-2006 at 10:05 PM.
 
  


Reply



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
ath0 or wifi0? pbaumgar Linux - Wireless Networking 3 02-18-2006 02:42 PM
dhcp only on ath0 pelusitavali Linux - Networking 0 12-07-2005 03:12 PM
ath0 is not present icpsvt Linux - Wireless Networking 1 10-18-2004 02:24 AM
Firmware/Hotplug problem with Hauppauge DEC2540-T, Hotplug and MythTV bezoomny Linux - Hardware 0 05-17-2004 01:37 PM
Configure ath0 -- help please!! Vincent_Vega Linux - Wireless Networking 5 02-20-2004 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:09 AM.

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