LinuxQuestions.org
Help answer threads with 0 replies.
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 02-14-2006, 04:05 PM   #1
dmartins
Member
 
Registered: Oct 2005
Location: Ontario, Canada
Distribution: Arch, Gentoo
Posts: 98

Rep: Reputation: 15
ifplugd, wpa_supplicant & WEP clarification


I already have the wireless connection working on this laptop but not the way i'd like.
Currently I use a GUI included with MEPIS to configure the wireless connection and if it changes I need to manually change it.

I have read on several sites that ifplugd and wpa_supplicant can work together. I assume wpa_supplicant should take care of assigning the essid and deal with the authentication based on the contents of /etc/wpa_supplicant.conf

This just doesn't seem to be working correctly.. if my wireless interface isn't set to auto in /etc/network/interfaces then it's never brought up. I have the wifi interface set as a normal interface for ifplugd, not a hotpluggable one since it is built it

The wifi card is a ipw2200 and i'm using a 2.6.15 kernel so i have wpa_supp set to use the wext driver. Both ifplugd and wpa_supplicant are started at boot.
How should this work?

Does wpa_supp scan for access points? What triggers ifplugd to bring a wireless interface up? I am so confused I feel like a complete noob again.

MEPIS is a debian based distro. My config files follow. Most of this is from here: http://www.vollink.com/gary/deb_wifi.html
I'm not trying anything fancy yet, just trying to get this to work at my house which has a fixed 128bit WEP key which works with manual configuration using either the MEPIS config tool or wireless-tools

/etc/default/ifplugd:
Code:
INTERFACES="eth0 eth1"
HOTPLUG_INTERFACES=""
ARGS="-q -f -u0 -d10 -w -I"
SUSPEND_ACTION="stop"
/etc/network/interfaces:
Code:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# Wireless... (this section may or may not already exist)
allow-hotplug eth1
iface eth1 inet dhcp
/etc/default/wpasupplicant:
Code:
ENABLED=1
OPTIONS="-w -i eth1 -D wext -c /etc/wpa_supplicant.conf"
/etc/wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

# Single key 128bit WEP - Home network
network={
        ssid="WLAN"
        key_mgmt=NONE
	wep_key0=ABCDEF0123456789012345
	wep_tx_keyidx=0
	priority=5
}

# open
network={
        ssid=""
        key_mgmt=NONE
	priority=6
}
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
WPA_supplicant & Leap kellinjar Linux - Networking 3 01-31-2006 09:50 AM
2.6.14, Madwifi & wpa_supplicant on Slack 10.2... rkelsen Slackware 4 11-03-2005 05:59 AM
Do I need WPA_supplicant for WEP encryption? irena56 Linux - Software 2 09-29-2005 09:00 AM
ipw2100 & wep andrew007 Linux - Wireless Networking 3 08-29-2005 08:02 PM
ipw2100 & wep andrew007 Linux - Wireless Networking 1 04-20-2005 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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