pactoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/58363755740fbb187cca5c.jpg)
Joined: 18 Jul 2004 Posts: 553
|
Posted: Sun Apr 17, 2005 11:47 am Post subject: /etc/pcmcia/wireless.opt is not read upon boot |
|
|
Hello,
finally I got my wireless card up and running, but as of now I need to run iwconfig in /etc/conf.d/local.start, otherwise the interface does come up, but settings (encryption, ESSID..) are wrong. /etc/pcmcia/wireless.opt is obviously not read. I copied /etc/init.d/net.eth0 to /etc/init.d/net.wlan0 and added the wlan0 interface to /etc/conf.d/net. As said, the interface does come up during boot. There is no /etc/conf.d/wireless on my system, as read in most docs I could find.
Now where, please, do I tell gentoo to actually read the wireless.opt file ?
Code: |
# cat /etc/conf.d/local.start
/usr/sbin/iwconfig wlan0 essid "Mynet" channel 6 mode Managed key restricted 4444A34F38098B6C3423499372 rate 54M ap 01:40:05:5E:B6:CE
|
my /etc/pcmcia/wireless.opt looks as follows:
Code: |
# cat /etc/pcmcia/conf.d/wireless.opt
case "$ADDRESS" in
*,*,*,*)
INFO="Digitus DN-7001G"
# ESSID (extended network name) : My Network, any
ESSID="Mynet"
# Operation mode : Ad-Hoc, Managed, Master, Repeater, Secondary, auto
MODE="Managed"
# Frequency or channel : 1, 2, 3 (channel) ; 2.422G, 2.46G (frequency)
CHANNEL="6"
# Bit rate : auto, 1M, 11M
RATE="54M"
# Encryption key : 4567-89AB-CD, s:password
KEY="restricted 4444A34F38098B6C3423499372"
# Other iwconfig parameters : power off, ap 01:23:45:67:89:AB
IWCONFIG="ap 01:40:05:5E:B6:CE"
;;
esac
|
|
|