Hello there, I wasn't able to build a lwng-udeb, it's too hard for me. Source, building, configfiles or binary-only is confusing me and I can't think clearly any more.
But I managed to install Lenny with d-i using my prism2_usb device (even using WEP). So I write down how I did it. Perhaps someone else can benefit from it or possibly build the udeb (I think it's not too much work). I don't know if all modules are neccessary (I read somewhere that orinocco (I think) can handle prism_2 devices except the prism2_usb) so perhaps it is possible to save some some bytes, but I leave them in my description because of completeness. 1. Download the smallest d-i iso available (mini.iso) e.g. http://ftp.nl.debian.org/debian/dists/lenny/main/installer-i386/current/images/netboot/mini.iso 2. Build kernel modules for the installer kernel You need linux-wlan-ng-source, module-assistant and linux-headers-2.6.26-1-468 and /usr/src/linux-wlan-ng-modules-2.6.26-1-486_0.2.9+dfsg-2_i386.deb will be created: aptitude install linux-wlan-ng-source linux-headers-2.6.26-1-486 m-a -l 2.6.26-1-486 build linux-wlan-ng 3. Extract vmlinuz and initrd.gz from the iso-file 4. Create a temporary directory and put the content of initrd (inside initrd.gz) there. Be shure that you extracted the empty directories (e.g. /proc, root) too. 5. Just copy a few files from linux-wlan-ng and the created (see 2.) modules into the temporary directory. (See filelist.lwng, total: 450kb) 6. Now you must modify four files in /lib/modules/2.6.26-1-486 (the d-i kernel must know where to find the kernel-module, see the files attached as modules.alias.prism2, modules.dep.prism2, modules.pcimap.prism2 and modules.usbmap.prism2) 7. Create a new initrd by executing in the temporary folder: find . | cpio --create --'format=newc' | gzip >../initrd.gz 8. Place kernel and initrd.gz somewhere you can acces them via your bootloader and boot them (no need for a CD or something else but your WEP key) Install your Lenny system ;-) 9. If you want to use prism2_usb in your freshly installed system, you must install linux-wlan-ng, linux-wlan-ng-source and the matching linux-headers of your installed kernel BEFORE you finish installation and reboot in your new system (eg. by pressing F2 when d-i says "ready, please reboot"): apt-install linux-wlan-ng linux-wlan-ng-source linux-headers-<your_kernel_version> 10. Having some problems with "in-target m-a -l <your_kernel_version> build linux-wlan-ng", I created the modules for my lenny-system after rebooting, but I think for lwng-udeb there should be a way creating and installing them from d-i using "in-target". So I used: "m-a a-i linux-wlan-ng" in my freshly installed lenny There is no need to configure something in your new lenny system since d-i copied the configuration into the target system. After the installation I had an bug ("Warning: Fake start-stop-daemon called, doing nothing" and therefore was not able to startx) which isn't neccessarily related to lwng. However, it could be solved with: mv /sbin/start-stop-daemon.REAL /sbin/start-stop-daemon Thanks so long and sorry for not providing an ubdeb. Christian Meyer _______________________________________________________________________ DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a
filelist.lwng
Description: Binary data
modules.usbmap.prism2
Description: Binary data
modules.pcimap.prism2
Description: Binary data
modules.dep.prism2
Description: Binary data
modules.alias.prism2
Description: Binary data