Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless: setting up wep key and essid on 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
le_barbu
n00b
n00b


Joined: 10 Jan 2003
Posts: 38
Location: france

PostPosted: Sat Aug 13, 2005 8:48 pm    Post subject: wireless: setting up wep key and essid on boot? Reply with quote

hi, my wireless network works when I do a:

Code:

iwconfig eth1 nick "MY_PC" key open MY_KEY


but I'd like to set this up at boot time,

I've read some threads but have not found...

I've found a wiki page wich tells to edit the /etc/conf.d/wireless file and to read the /etc/conf.d/wireless.example file to help for setting up but I have any of these files.
So, can I set it up in the /etc/conf.d/net file and HOW ?

Thx.
_________________
le_barbu is on linux.
linux is everywhere
Back to top
View user's profile Send private message
Earthwings
Administrator
Administrator


Joined: 14 Apr 2003
Posts: 7751
Location: Karlsruhe, Germany

PostPosted: Sat Aug 13, 2005 10:37 pm    Post subject: Reply with quote

You can simply create the missing files, just make sure to use a recent version of baselayout. If everything else fails, read the documentation.

Here is my /etc/conf.d/net, you can use it as a reference. eth0 is my ethernet card, eth1 wireless.

Code:
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 10"

config_eth1=( "dhcp" )
dhcpcd_eth1="-t 10"

preferred_aps=( "essid1" "essid2" "essid3" )
blacklist_aps=( "essid4" )

key_essid1="key1 enc open"
key_essid2="key2 enc restricted"
key_essid3="key3 enc open"

_________________
KDE 4.13 - Get It While It's Hot!
Back to top
View user's profile Send private message
le_barbu
n00b
n00b


Joined: 10 Jan 2003
Posts: 38
Location: france

PostPosted: Sun Aug 14, 2005 7:20 am    Post subject: Re Reply with quote

Thanks, I'll try today and I let you know.
_________________
le_barbu is on linux.
linux is everywhere
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