Networking :: scripting ndiswrapper and netcardconfig
I need some help with ndiswrapper and netcardconfig
As it is at the moment i have to manually run ndiswrapper and netcardconfig after every reboot - not very userfriendly (read wife friendly)
/opt/realtek/wg311t113.inf
so i use ndiswrapper in DSL panel...
can i add this to bootlocal.sh ??
ndiswrapper -i /opt/realtek/wg311t113.inf
when wlan is up i want netcardconfig for wlan0 to use dhcp
can i add that too ??
best regards...UndCon - typing on a diskless DSLclient
if you use the ndiswrapper from the dsl panel it automatically adds a startup script. i think its stored in /opt/myndis.sh.
i noticed that file, but after a reboot there is no hardware detected...myndis is still there...
with: ndiswrapper -l i get nothing...
after i use ndiswrapper from DLS-panel i get "wg311t13 hardware detected"
then i can use netcardconfig to assign wlan0 to dhcp and im connected right away...
but the file/script myndis.sh in OPT folder is obviously not enough
(fresh backup also created just in case it would help...)
BTW - thx for your input
Add the command /opt/myndis.sh to your /opt/bootlocal.sh file,
so it is run at every bootup.
73
ke4nt
thx ke4nt1 - i just found that out by trial and error...
so now i need netcardconfig to be initiated after myndis.sh is finished
SOLVED!
just added this to bootlocal.sh:
ifconfig wlan0 ip XXX.XXX.XXX.XXX
route add default gw XXX.XXX.XXX.XXX
echo nameserver XXX.XXX.XXX.XXX > /etc/resolv.conf
echo nameserver XXX.XXX.XXX.XXX >> /etc/resolv.conf
now i have a minor issue left...
during boot i get an error after loading keymaps...
Next Page...
original here.