Results 1 to 6 of 6

Thread: Network starts too soon!

  1. #1
    MarkGH NNTP User

    Default 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.

  2. #2
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: Network starts too soon!

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

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

  3. #3
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Network starts too soon!

    In 10.2 (IIRC) I had to put his line:
    Code:
    ifup wlan0
    In the boot file /etc/init.d/boot.local

    Try that, or maybe these two lines if just one doesn't work:
    Code:
    ifdown wlan0
    ifup wlan0
    But I would try the simgle ifup line first.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  4. #4
    MarkGH NNTP User

    Default [SOLVED] Re: Network starts too soon!

    Quote Originally Posted by swerdna View Post
    In 10.2 (IIRC) I had to put his line:
    Code:
    ifup wlan0
    In the boot file /etc/init.d/boot.local

    Try that, or maybe these two lines if just one doesn't work:
    Code:
    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

    Many thanks.

  5. #5
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Network starts too soon!

    Just for my own interest -- did u have to use both lines or just ifup? (my money's on just ifup wlan0)
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  6. #6
    MarkGH NNTP User

    Default Re: Network starts too soon!

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

    Thanks once again.

    Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •