splittik
03-19-2005, 08:09 PM
alright i tried these links but i still can't solve my problem.
http://www.knoppix.net/forum/viewtopic.php?t=14206&postdays=0&postorder=asc&highlight=ndiswrapper+script&start=0
http://www.knoppix.net/forum/viewtopic.php?t=8274&highlight=ndiswrapper+boot
http://www.knoppix.net/forum/viewtopic.php?t=15897&highlight=ndiswrapper+script
I would like to reinstall my driver using ndiswrapper every time i boot so i don't have to do it manually but i can't get it to work. I added this code(with the correct directories) to /etc/init.d/bootmisc.sh.
if [ -r /path/to/file.sh ]; then
. /path/to/file.sh
fi
then i made a .sh file to .../.kde/Autostart/ and made this
#!/bin/sh
su mount /mnt/hda1
su ndiswrapper -e net8180
su ndiswrapper -i /file/directory/net8180.inf
su modprobe ndiswrapper
su iwconfig wlan0 mode Managed
su iwconfig wlan0 essid default
su iwconfig wlan0 commit
su ifconfig wlan0 up
su pump -i wlan0
but my internet doesn't want to work on boot and i have to do it manually. I tried putting "su root" on the top but it just didn't load knoppix's gui and i had to exit out of the root and the internet still did not work. I have also tried tweaking it around a bit but couldn't figure anything out.
i have knoppix 3.8 installed on my hard drive.
http://www.knoppix.net/forum/viewtopic.php?t=14206&postdays=0&postorder=asc&highlight=ndiswrapper+script&start=0
http://www.knoppix.net/forum/viewtopic.php?t=8274&highlight=ndiswrapper+boot
http://www.knoppix.net/forum/viewtopic.php?t=15897&highlight=ndiswrapper+script
I would like to reinstall my driver using ndiswrapper every time i boot so i don't have to do it manually but i can't get it to work. I added this code(with the correct directories) to /etc/init.d/bootmisc.sh.
if [ -r /path/to/file.sh ]; then
. /path/to/file.sh
fi
then i made a .sh file to .../.kde/Autostart/ and made this
#!/bin/sh
su mount /mnt/hda1
su ndiswrapper -e net8180
su ndiswrapper -i /file/directory/net8180.inf
su modprobe ndiswrapper
su iwconfig wlan0 mode Managed
su iwconfig wlan0 essid default
su iwconfig wlan0 commit
su ifconfig wlan0 up
su pump -i wlan0
but my internet doesn't want to work on boot and i have to do it manually. I tried putting "su root" on the top but it just didn't load knoppix's gui and i had to exit out of the root and the internet still did not work. I have also tried tweaking it around a bit but couldn't figure anything out.
i have knoppix 3.8 installed on my hard drive.