View previous topic :: View next topic |
Author |
Message |
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
Posted: Wed Jul 06, 2005 10:02 am Post subject: [solved] pcmcia: network does not come up during boot |
|
|
Hello
I have the strage phenomenon, that the bootprocess fails to bring the network card up and running. As soon as I log in an do a /etc/init.d/net.wlan0 start the interface comes up fine. Needles to say that net.wlan0 as well as pcmcia are both added to runlevel default and init does try to bring the interface up during boot, but fails.
My wlan card has two LEDs. One of those indicates traffic, like when scanning for an AP or when transmitting data. This LED does not get active at all during boot. When calling net.wlan0 manually, I do see some activity.
The other LED indicates that the card itself is active (it's lights permanently a couple of seconds after the correspondig module gets loaded until boot)
I had exactly the same problem originally with my pcmcia ethernet card, but this has magically been solved with the new network scripts.
Last edited by pactoo on Fri Jul 08, 2005 12:41 pm; edited 1 time in total |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2326 Location: Bretagne
|
Posted: Wed Jul 06, 2005 11:41 am Post subject: |
|
|
pactoo wrote: | I had exactly the same problem originally with my pcmcia ethernet card, but this has magically been solved with the new network scripts. |
Then (simple hypothesis), are you sure you renamed wireless.exmaple into wireless and the new net.example into net? |
|
Back to top |
|
|
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
Posted: Wed Jul 06, 2005 3:02 pm Post subject: |
|
|
Yes, otherwise I would not be able to configure the netword with a simple call of /etc/ini.d/net.wlan0 start on the command line. Works then. Accesspoint found, key set correctly, connection established. With fixed IP as well as with dhcp. Everything as expected.
Besides, I do not use conf.d/wirleless but the iwconfig module in conf.d/net. But that should not make any difference. Especially as my pcmcia ethernet card had the problem with the old net layout.
However, I would expect init (or the calling rc script) not do anything different than calling net.wlan0 start. Which is basically the same as what I do on the shell.
I also tried to insert a sleep 8 into the net.wlan0 script to see wether there is a timing issue (card not ready...). But that did not help either. Now net.wlan0 is a link again to net.lo. |
|
Back to top |
|
|
pactoo Guru
Joined: 18 Jul 2004 Posts: 553
|
Posted: Fri Jul 08, 2005 12:44 pm Post subject: |
|
|
Ok, I stand corrected, it was a timing issue. Putting the sleep 8 at the right place finally solved the problem |
|
Back to top |
|
|
|