Network starts too soon!

I’m using Suse 11 on an Acer 5600 laptop and am having fun trying to get to my wireless connection to work automatically when I boot.

I have entered all the relevant details in YaST / Network Devices but although iwconfig reports all the facts I do not get an Internet connection, but can ping the router and other machines on the network.

The start-up log reports:

wlan0 device: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
wlan0 dhcpcd is still waiting for data. . . . . . . . waiting
wlan0 interface could not be set up until now. . . . . . . . failed
Setting up service network . . . . . . . . . . . . . . . .failed

However, if I use the terminal to do ifdown wlan0 followed by ifup wlan0 then the connection starts working.

I’m guessing that the boot sequence is trying to bring up the network before the wireless card is ready. So how do I delay it?

Or how can I script the ifdown/ifup commands so I don’t have to type them manually every time I boot the machine?

Thanks for reading this. :slight_smile:

have a look at man sleep, might give you some ideas


In 10.2 (IIRC) I had to put his line:

ifup wlan0

In the boot file /etc/init.d/boot.local

Try that, or maybe these two lines if just one doesn’t work:

ifdown wlan0
ifup wlan0

But I would try the simgle ifup line first.

That does the trick!

I thought that boot.local would be too soon… which proves how little I know :slight_smile:

Many thanks.

Just for my own interest – did u have to use both lines or just ifup? (my money’s on just ifup wlan0)

The pot’s all yours! Yes, only ifup was required.

Thanks once again.