Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
automatic start of wireless network
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
FabianS
n00b
n00b


Joined: 27 Oct 2003
Posts: 14

PostPosted: Mon Oct 27, 2003 2:51 pm    Post subject: automatic start of wireless network Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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