Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: scripting  ndiswrapper and netcardconfig< Next Oldest | Next Newest >
UndCon Offline





Group: Members
Posts: 22
Joined: June 2005
Posted: Aug. 02 2005,20:41 QUOTE

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


--------------
Diskless systems at http://undcon.no-ip.com
Back to top
Profile PM 
SleepWalkerX Offline





Group: Members
Posts: 24
Joined: July 2005
Posted: Aug. 03 2005,06:09 QUOTE

if you use the ndiswrapper from the dsl panel it automatically adds a startup script.  i think its stored in /opt/myndis.sh.
Back to top
Profile PM 
UndCon Offline





Group: Members
Posts: 22
Joined: June 2005
Posted: Aug. 03 2005,07:47 QUOTE

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


--------------
Diskless systems at http://undcon.no-ip.com
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Aug. 03 2005,12:09 QUOTE

Add the command /opt/myndis.sh to your /opt/bootlocal.sh file,
so it is run at every bootup.

73
ke4nt
Back to top
Profile PM 
UndCon Offline





Group: Members
Posts: 22
Joined: June 2005
Posted: Aug. 03 2005,14:26 QUOTE

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...


--------------
Diskless systems at http://undcon.no-ip.com
Back to top
Profile PM 
5 replies since Aug. 02 2005,20:41 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: scripting  ndiswrapper and netcardconfig

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code