Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/pcmcia/wireless.opt is not read upon boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pactoo
Guru
Guru


Joined: 18 Jul 2004
Posts: 553

PostPosted: Sun Apr 17, 2005 11:47 am    Post subject: /etc/pcmcia/wireless.opt is not read upon boot Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum