Find the answer to your Linux question:
Results 1 to 10 of 10
hey i' running mdk 10.1c on a toshiba laptop. i use an Asus w100g pcmcia to connect to wireless networks. for it to work, i "ndiswrapped" the win2k driver. it ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    hal
    hal is offline
    Just Joined!
    Join Date
    Mar 2005
    Posts
    69

    add modules to kernel


    hey
    i' running mdk 10.1c on a toshiba laptop. i use an Asus w100g pcmcia to connect to wireless networks. for it to work, i "ndiswrapped" the win2k driver. it works just fine! what annoys me is the fact that everytime i boot the computer i need to add ndiswrapper to the kernel, by typing:
    $ su
    $ **************
    $ modprobe ndiswrapper
    How can this be done automaticaly at boot time? any sugestions?

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    add it (the above commadn) to rc.3 in /etc/rc.d (it could also be /etc/init.d/rd.3) and then it should run when you boot.

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Or rc.5 if you're booting into runlevel 5 (graphical boot). Dylunio, you beat me to it by about 3 seconds
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by Flatline
    Or rc.5 if you're booting into runlevel 5 (graphical boot). Dylunio, you beat me to it by about 3 seconds
    I wouldn't advise rd.5, since it will only run if you reach runlevel 5, while rd.3 will run at runnlevel 3, and runlevel 5, so if you have a X problem at boot modprobe will be running.
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  6. #5
    hal
    hal is offline
    Just Joined!
    Join Date
    Mar 2005
    Posts
    69
    damn you're fast!
    but..is it rc.3 or rd.3 ? i can't find neigher in those directories..

  7. #6
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    /etc/rc3.d
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  8. #7
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    hal, it is rc.3 (sorry for the typo) it could be in /etc/init.d/rc.3 /etc/rc.d/rc.3 or /etc/rc.3

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  9. #8
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    or add ndiswrapper to the /etc/modules.autoload.d/kernel-<version>
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  10. #9
    hal
    hal is offline
    Just Joined!
    Join Date
    Mar 2005
    Posts
    69
    i really dont have such a file. i only find rc3.d (dir) under that dir's and when i ran find it didnt return anything.
    thx anyway

  11. #10
    hal
    hal is offline
    Just Joined!
    Join Date
    Mar 2005
    Posts
    69
    ok. i just found the following file while searching for rc.3, add it, and it does work (just rebooted:
    # /etc/modprobe.preload: kernel modules to load at boot time.
    #
    # This file should contain the names of kernel modules that are
    # to be loaded at boot time, one per line. Comments begin with
    # a `#', and everything on the line after them are ignored.
    # this file is for module-init-tools (kernel 2.5 and above) ONLY
    # for old kernel use /etc/modules


    evdev
    intel-agp
    ndiswrapper
    thank you guys

Posting Permissions

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