[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

has anyone tried to include ndiswrapper in initramfs ?



Hi,

I was wondering if it would be easy to include ndiswrapper in initramfs. I have a "diskless" client that can boot the initrd and kernel from a USB key and mount the real root file system via NFS (root server).

Originally, I was using PXE instead of a local USB key. It worked fine but that required that I had some dhcp server running on some linux box, together with some tftp server somewhere on the network and that I had wired the client to the network (ethernet).

But then I thought I would just use a CF card or USB key to boot the initrd and kernel, and set the root boot param to the NFS share holding the root fs. It worked fine, I could turn off the dhcp and tftp services from the linux server I was using, but I still had to have the diskless client wired to request an IP from the dhcp server (my netgear router). Because the diskless client has a miniPCI wireless card only supported by ndiswrapper,  I came to think about loading ndiswrapper from the initrd at boot time so the wlan adapter would be the ip requester, instead of the ethernet adapter.

Did anyone do that ? and if yes, how do I modify the initramf-conf to achieve this ?

Thanks for any tip,
J.

Debian unstable
kernel 2.6.21 (custom build)


Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
Reply to: