Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wireless config at 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
quickstrike
n00b
n00b


Joined: 12 Jul 2005
Posts: 45

PostPosted: Tue Aug 16, 2005 1:55 pm    Post subject: wireless config at boot Reply with quote

Guys/Gals,

I am using iwconfig to configure my wireless device (eth1) once my laptop has booted and that all works fine however when it boots I get some random configuration, where would the proper place be to stick the configuration like ssid, key, mode etc. so that it's configured properly when it's started by init scripts.



Thanks,
Brian
_________________
Brian S.


I believe that one of life's greatest risks is never daring to risk.
Back to top
View user's profile Send private message
Ariem
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 296
Location: reykjavik

PostPosted: Tue Aug 16, 2005 2:33 pm    Post subject: Reply with quote

In
Code:
/etc/conf.d/net


Note that if you want to launch that script at booting you need to
Code:
rc-update add default net.eth1


HTH
Back to top
View user's profile Send private message
quickstrike
n00b
n00b


Joined: 12 Jul 2005
Posts: 45

PostPosted: Tue Aug 16, 2005 2:47 pm    Post subject: Reply with quote

yes but what are the entries?

mode_eth1 = Managed
key_eth1 = key

like that?
_________________
Brian S.


I believe that one of life's greatest risks is never daring to risk.
Back to top
View user's profile Send private message
tommyjs
n00b
n00b


Joined: 10 Aug 2004
Posts: 43
Location: Poland. Lodz

PostPosted: Tue Aug 16, 2005 3:02 pm    Post subject: Reply with quote

read /etc/conf.d/net.example
Back to top
View user's profile Send private message
Ariem
Apprentice
Apprentice


Joined: 13 Jun 2005
Posts: 296
Location: reykjavik

PostPosted: Tue Aug 16, 2005 3:04 pm    Post subject: Reply with quote

Ohh,

quickstrike wrote:
yes but what are the entries?

mode_eth1 = Managed
key_eth1 = key

like that?


more or less. Like this (as example):

Code:
modules_eth1=( "iwconfig" )
ifconfig_eth1="dhcp"
dhcpcd_eth1="-HD"
mode_eth1="managed"
essid_eth1="test"
channel_eth1="11"
key_test="0123...xx"


You can check what you want in
Code:
/etc/conf.d/net.example
Back to top
View user's profile Send private message
quickstrike
n00b
n00b


Joined: 12 Jul 2005
Posts: 45

PostPosted: Tue Aug 16, 2005 3:35 pm    Post subject: Reply with quote

great! thanks.
_________________
Brian S.


I believe that one of life's greatest risks is never daring to risk.
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