View previous topic :: View next topic |
Author |
Message |
quickstrike n00b
Joined: 12 Jul 2005 Posts: 45
|
Posted: Tue Aug 16, 2005 1:55 pm Post subject: wireless config at boot |
|
|
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 |
|
|
Ariem Apprentice
Joined: 13 Jun 2005 Posts: 296 Location: reykjavik
|
Posted: Tue Aug 16, 2005 2:33 pm Post subject: |
|
|
In
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 |
|
|
quickstrike n00b
Joined: 12 Jul 2005 Posts: 45
|
Posted: Tue Aug 16, 2005 2:47 pm Post subject: |
|
|
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 |
|
|
tommyjs n00b
Joined: 10 Aug 2004 Posts: 43 Location: Poland. Lodz
|
Posted: Tue Aug 16, 2005 3:02 pm Post subject: |
|
|
read /etc/conf.d/net.example |
|
Back to top |
|
|
Ariem Apprentice
Joined: 13 Jun 2005 Posts: 296 Location: reykjavik
|
Posted: Tue Aug 16, 2005 3:04 pm Post subject: |
|
|
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 |
|
|
quickstrike n00b
Joined: 12 Jul 2005 Posts: 45
|
Posted: Tue Aug 16, 2005 3:35 pm Post subject: |
|
|
great! thanks. _________________ Brian S.
I believe that one of life's greatest risks is never daring to risk. |
|
Back to top |
|
|
|