How to configure Wireless KEY automatically?
Hello,
I've an access point using WEP and every time I run linux I have to login as root and use iwconfig for provifind the HeXKey. How could I do it automatically in every startup? Maybe it matters: I'm ussing Knoppix 3.4... Thank you very much in advance... PS: It looks like I'll never stop asking things. Just hope answers won't stop either. :-) |
In slackware you would just add the command to your /etc/rc.d/rc.local file. I know Knoppix has something similar. Try looking in your /etc/init.d directory. That should contain files that are executed at boot time with root privileges.
|
Hi, you mean your WEP key isn't fix?
Regards, Edwin |
Hi
No, no... the key is fixed, but I do not know where I have to provide it in order to configure it properly.
On the other hand, I've noticed that sometimes Knoppix does not detect my card. My only solution in that case is to reboot the system. Is there is a way to add it after the boot process? Thak you... |
I suppose you could just write a script that loads any modules then configures the card. You could then su to root and run it when you need your card.
|
HI...
Well, that's what I did, but I wonder if now I can make the script run in every startup, without need using "su"... :-( |
Quote:
|
Thank you. I wrote a script and put it in /etc/init.d. Then I use "Sys-V-Init Editor" and ask it to load my protocol in several run-levels. I have modified the script so it configures the network at home (when it detects my acces point address, it provides the WEP key) or for the office, where there is no WEP encryption. I'm posting it here, because it could be useful for another person:
Code:
#!/usr/bin/perl |
All times are GMT -5. The time now is 06:42 PM. |