Results 1 to 7 of 7

Thread: Starting ndiswrapper at boot

  1. #1
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,010
    Blog Entries
    2

    Default Starting ndiswrapper at boot

    Hi
    I have to insert "modprobe ndiswrapper" as a line in the file /etc/init.d/boot.local, to get my ndiswrapper kick started at boot time.

    I know that theoretically I should use the neater method of listing ndiswrapper as a kernel module to start at boot. How do I do that?

    Thanks
    Swerdna

  2. #2
    ab@novell.com NNTP User

    Default Re: Starting ndiswrapper at boot

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Perhaps try running (as root):

    ndiswrapper -m

    Good luck.





    swerdna wrote:
    | Hi
    | I have to insert "modprobe ndiswrapper" as a line in the file
    | /etc/init.d/boot.local, to get my ndiswrapper kick started at boot
    | time.
    |
    | I know that theoretically I should use the neater method of listing
    | ndiswrapper as a kernel module to start at boot. How do I do that?
    |
    | Thanks
    | Swerdna
    |
    |
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.2 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFIoMZh3s42bA80+9kRArCwAJ0V4ChpZApDjVQq2i7aDHcZssC21QCfY3Ds
    IQsyTbroJY9BnWF/0ELN83w=
    =zLyk
    -----END PGP SIGNATURE-----

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,381

    Default Re: Starting ndiswrapper at boot

    swerdna wrote:
    > Hi
    > I have to insert "modprobe ndiswrapper" as a line in the file
    > /etc/init.d/boot.local, to get my ndiswrapper kick started at boot
    > time.
    >
    > I know that theoretically I should use the neater method of listing
    > ndiswrapper as a kernel module to start at boot. How do I do that?


    Wow, I get to help Swerdna!

    Using YaST => System =>/etc/sysconfig Editor, open System, then Kernel
    and edit MODULES_LOADED_ON_BOOT.

    Larry

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,010
    Blog Entries
    2

    Default Re: Starting ndiswrapper at boot

    Quote Originally Posted by ab@novell.com View Post
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Perhaps try running (as root):

    ndiswrapper -m

    Good luck.
    Thanks for that. It added the file "ndiswrapper" containing the line "alias wlan0 ndiswrapper" into the directory /etc/modprobe.d -- what you intended. But then when I boot, the computer locks. When I delete the file /etc/modprobe.d/ndiswrapper, the lockup on boot stops. So I suppose my computer must be quirky, unless wlan0 is a wrong guess.

    So of the two choices, yours and a line in /etc/init.d/boot.local, strangely the latter is the one for me.

    Thanks anyway
    Swerdna

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

    Default Re: Starting ndiswrapper at boot

    Quote Originally Posted by lwfinger View Post
    swerdna wrote:[color=blue]
    Wow, I get to help Swerdna!

    Using YaST => System =>/etc/sysconfig Editor, open System, then Kernel
    and edit MODULES_LOADED_ON_BOOT.

    Larry
    And so you did help me. I imagine you saw how ab's good advice didn't work on my particular computer. So I edited ndiswrapper in with the /etc sysconfig Editor as you suggested. I see the module being loaded in the boot up messages. And that seems to work as well as "modprobe ndiswrapper" (probably becasue it's the same thing??).

    Thanks
    Swerdna

  6. #6
    Join Date
    Jun 2008
    Location
    Sarasota
    Posts
    301

    Default Re: Starting ndiswrapper at boot

    Quote Originally Posted by swerdna View Post
    Thanks for that. It added the file "ndiswrapper" containing the line "alias wlan0 ndiswrapper" into the directory /etc/modprobe.d -- what you intended. But then when I boot, the computer locks.
    Hmmm...if it locks, first thing is to make sure that you've blacklisted
    the native competition. When you do
    ndiswrapper -l
    you should see a line like:
    device (xxxx:xxxx) present (alternate driver: <native-driver-name>)
    [if you've got the newer ndiswrapper package]

    They added the 'alternate driver' info to help remind you to blacklist.
    That said, in a few circumstances, it might be necessary to blacklist
    MORE than just that single driver, so post that output from ndiswrapper -l.
    Box1: MEPIS-8.5/sidux/openSUSE-11.3M6(broken-wifi/hiddenSSIDs)/XP(32-bit), nvidia 5200
    Lap1: antiX-8.5(KDE4.4.3)/MEPIS-8.5/Vista, Intel 945GM, builtin-wifi->Broadcom-4311(drv=wl)

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,010
    Blog Entries
    2

    Default Re: Starting ndiswrapper at boot

    Quote Originally Posted by cookdav View Post
    Hmmm...if it locks, first thing is to make sure that you've blacklisted
    the native competition. When you do
    ndiswrapper -l
    you should see a line like:
    device (xxxx:xxxx) present (alternate driver: <native-driver-name>)
    [if you've got the newer ndiswrapper package]

    They added the 'alternate driver' info to help remind you to blacklist.
    That said, in a few circumstances, it might be necessary to blacklist
    MORE than just that single driver, so post that output from ndiswrapper -l.
    Thanks. I checked the ndiswrapper -l. It's not a driver conflict (no alternates present) and it's intermittent. I'm not going to pursue it since I've now got two alternate methods that do the job.

Posting Permissions

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