LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-16-2007, 05:56 PM   #1
paul_uk
LQ Newbie
 
Registered: Mar 2007
Location: Scotland
Distribution: Debian, jlime
Posts: 1

Rep: Reputation: 0
A different kind of WPA supplicant quandary...


Hello! This is my first post so bare with me...

I am running WPA supplicant on a portable machine and have some questions about automisation. My NIC is a pcmcia prism2 wireless network card. I am running WPA supplicant and am able to connect to my network. I quite often take my wireless card out to save battery power. However, every time i insert the card i have to kill the process for dhcpcd and restart it to get an IP address again. What i would like to know is how can i make WPA supplicant get me an IP, either by invoking dhcpcd or some other means.

What i would really like is to have WPA supplicant start up when my NIC is inserted and then get an IP when it has associated with an AP.

Is this somthing to do with the files /etc/network directories?

how can i achieve this?

Now the major revelation is i am using Jlime, a linux distro for the jornada 680 (32mb ram, 133mhz SH-3 processor). However dont let this put you off, it does MOSTLY work in the same way!

So to recap, how to i make the WPA supplicant daemon start when i insert my NIC, then launch dhcpcd. THEN kill WPA supplicant and dhcpcd when i remove the card? (i would like to do this because the machine is very underpowered and it needs as little running as possible at all times)
 
  


Reply

Tags
dhcpcd, hotplug, nic, supplicant, udev, wpa



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
A better way to WPA SUPPLICANT Ashrack Linux - Wireless Networking 5 01-25-2007 01:46 PM
WPA Supplicant Question mikeCanada SUSE / openSUSE 5 12-21-2005 09:43 PM
2.6.13 and WPA supplicant not playing with each other andy_lee Linux - Wireless Networking 3 09-23-2005 02:35 PM
WPA Supplicant Question brokenflea Slackware 7 07-28-2005 09:18 PM
How do i set up WPA PSK with wpa supplicant and linuxant? Eleavings Linux - Wireless Networking 4 12-27-2004 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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