FabianS n00b
Joined: 27 Oct 2003 Posts: 14
|
Posted: Mon Oct 27, 2003 2:51 pm Post subject: automatic start of wireless network |
|
|
Hi!
I have a laptop with a built in wireless card. As far as I can see it is one of the kind
that is connected as pcmcia card. The card itself works and if I do an
iwconfig eth1 essid MYESSID mode managed enc [insert the WEP key here]
and then
dhcpcd eth1
I can use it and have access to the internet.
But now I want to get everything setup on boot. As far as I thought it works
is that I have a specific scheme defined in /etc/pcmcia/wireless.opts
for this.
But here are the problems:
If I don't have a /etc/init.d/net.eth1 I get an error during bootup:
cardmgr[706]: executing: './network start eth1'
cardmgr[706]: + ./network: line 28: /etc/init.d/net.eth1: No such file or directory
After this eth1 is not up but the scheme settings (e.g. KEY) are set and can be seen
with iwconfig.
If I have net.eth1 without doing rc-update add net.eth1 default
I get the error:
cardmgr[707]: executing: './network start eth1'
cardmgr[707]: + * Could not get dependency info for "net.eth1"!
After this eth1 is up and running with correct settings and even dhcpcd is running
on eth1. But on shutdown I get "ERROR net.eth1 has not been started".
And if I have added it to the default runlevel it does not make a difference.
So the first question is, where do I configure the wireless card?
In /etc/conf.d/net or in /etc/pcmcia/wireless.opts?
And the second problem is if I have more than one scheme in wireless.opts
I normally should be able to switch between them with "cardctl scheme otherscheme"
But iwconfig still shows the old settings!
Any help appreciated!
Fabian |
|