Re: ndiswrapper help please (newbie)

From: Shadow_7 (wwwshadow7_at_yaNOhoo.comNULL)
Date: 07/09/04


Date: Fri, 09 Jul 2004 05:17:38 GMT


> '/lib/modules/<VERSION>/build' should be a link to the kernel
> source, where <VERSION> is the version of the kernel you are running.

This appears to be the only UPPER CASE thing I noticed in the doctoral
thesis. Perhaps you actually had a question?

Looking at this, <VERSION> is probably the same as `uname -r`. If you
built your own kernel it should already be present, unless you did a make
clean. Assuming you're running the kernel you built.

My setup requires the following after each fresh boot. Someday I'll
automate it.

fullpath_to_ndiswrapper_module_inclusive=../ndiswrapper/driver/ndiswrapper.o
vendor=####
device=####
mode=Ad-Hoc
channel=#
essid=SomeString
iface=wlan0
sysfile=/lib/windrivers/<file>.sys
inffile=/lib/windrivers/<file>.inf
ip=192.168.0.2
netmask=255.255.255.0

#--- hopefully this is short enough for you ---#
insmod $fullpath_to_ndiswrapper_module_inclusive
/usr/sbin/loadndisdriver $vendor $device $sysfile $inffile
iwconfig $iface mode $mode channel $channel essid $essid
ifconfig $iface $ip netmask $netmask up
#--- the INSTALL in a nutshell ---#

Items above prefixed with $ represent the variables as it might appear in
a bash script. Your paths may vary depending on where you placed/compiled
everything. Basically follow the INSTALL file as was so diligently pasted
in the previous post. You might need to put your wireless devices on a
separate subnet to get them to function right. i.e. 192.168.2.2

HTH,
Shadow_7



Relevant Pages

  • Re: OOM killer in 2.6.31-rc2
    ... I had built a 2nd version of the 2.6.31-rc2 kernel last night when I found the ... Normal zone is absent in the above lines. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)
  • OOM killer in 2.6.31-rc2
    ... I had built a 2nd version of the 2.6.31-rc2 kernel last night when I found the ... fixes the very early boot time oops, also leaves me with a machine that will ... newer versions are _not_ stable, this is stable after the fix. ...
    (Linux-Kernel)
  • Re: Please help with PF-based redirector
    ... Instead it emits icmp redirects which are ignored in a normal setup. ... inet 10.180.210.2 netmask 0xffffff00 broadcast 10.180.210.255 ... No ALTQ support in kernel ...
    (freebsd-net)
  • Re: Question for Gene Heskett about slow Firefox launch
    ... How NSA access was built into Windows" ... I believe you will have to build a generic kernel.org kernel ... as you go thru the xconfig screens item ... window, and it says "if you don't know what this option does, you ...
    (Fedora)
  • Re: Question for Gene Heskett about slow Firefox launch
    ... On Wednesday 17 January 2007 01:36, Ric Moore wrote: ... How NSA access was built into Windows" ... I believe you will have to build a generic kernel.org kernel ... hour to work in an xconfig window. ...
    (Fedora)