Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54375 - Wifi(iwconfig) setting funtionality for net.iface scripts
Summary: Wifi(iwconfig) setting funtionality for net.iface scripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-06-18 18:22 UTC by Robert Paskowitz (RETIRED)
Modified: 2004-10-24 21:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated script (net.eth0,10.69 KB, text/plain)
2004-06-18 18:26 UTC, Robert Paskowitz (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Paskowitz (RETIRED) gentoo-dev 2004-06-18 18:22:45 UTC
Following this post, a net.eth0 script that applies wireless settings prior to bringing up the network will be posted. Currently the script sets: ESSID, WEP, rate and mode(ad-hoc, managed, etc...). It pulls settings out of /etc/conf.d/net that are in the following format(where IFACE is the name of the interface, ala eth0, eth1...):

rate_IFACE="Rate"
wep_IFACE="WEP Key"
ssid_IFACE="essid"
mode_IFACE="mode"


ex: 
	rate_eth1="11M"
	wep_eth1="1A6738943AFH" 	#For key in hex
	wep_eth1="s:MYKEY"		#For key in ascii, 's:' prefix is used
	ssid_eth1="default"
	mode_eth1="managed"

If any setting is not used in the config, the script will not attempt to apply a setting.

The script is modified from base-layout 1.9.4-r2
Comment 1 Robert Paskowitz (RETIRED) gentoo-dev 2004-06-18 18:26:22 UTC
Created attachment 33541 [details]
Updated script

As per filing, here is the script
Comment 2 opello@opello.org 2004-07-02 22:14:51 UTC
works great for 1 network -- so i set it to the one i'm on the most
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2004-10-24 21:40:47 UTC
wireless config is now in baselayout-1.11.x

see /etc/conf.d/wireless.example