Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Oct 2004 15:51:20 -0700 (PDT)
From:      "K. Greenwood" <k_greenwood1@yahoo.com>
To:        E.Schuele@Computer.Org, freebsd-questions@freebsd.org
Subject:   Re: NDISulator (aka. Project Evil) wmp54gs w. bcm4306
Message-ID:  <20041003225120.49266.qmail@web14124.mail.yahoo.com>
In-Reply-To: <200410012154.41725.E.Schuele@Comcast.Net>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Eric Schuele <E.Schuele@Comcast.Net> wrote:

> On Friday 01 October 2004 03:46 pm, K. Greenwood
> wrote:
> > Quick question.  Where do queries regarding Bill
> > Paul's NDISulator go?  I have seen some to
> current,
> > hardware, mobile.
> >
> > Or even better, a howto (the best I have seen thus
> far
> > is:)
> >
>
http://lists.freebsd.org/pipermail/freebsd-current/2004-January/01948
> >6.html
> 
>   Google:
>     FreeBSD NDIS
>   You'll get some good returns.
> 
>   Here are the two best 'HowTo's' I've found:
>      
>
http://tweakbsd.homeunix.org/guides/windoof-ndis-drivers.php
>       http://www.xl0.org/FreeBSD/ndis.txt
> 
>   Here is my HowTo:  (i.e. that which worked for me,
> constructed from 
> the sites referenced above)
>
===========================================================
> wLAN (TrueMobile 1300)
>
===========================================================
>   Download and build NDIS wrapper for Windows wLAN
> drivers
>     # cd /usr
>     # cvs -d
> anoncvs@anoncvs.fr.FreeBSD.org:/home/ncvs co
> src/sys/
> modules/ndis src/sys/modules/if_ndis
> src/usr.sbin/ndiscvt src/sys/
> compat/ndis src/sys/dev/if_ndis
>     # cd /usr/src/usr.sbin/ndiscvt/ && make && make
> install
>     # cd /usr/src/sys/modules/ndis && make && make
> install
>     # make load
>     # cd /usr/src/sys/modules/if_ndis
>     # cp /path/to/windows_driver.sys
>     # cp /path/to/windows_driver.inf
>     # rename old
> /usr/src/sys/dev/pccard/pccarddevs.h 
>     # ndiscvt -i windows_driver.inf -s
> windows_driver.sys -o 
> pccarddevs.h
>     # ndiscvt -i windows_driver.inf -s
> windows_driver.sys -o 
> ndis_driver_data.h
>     # make install
>     # re-rename old
> /usr/src/sys/dev/pccard/pccarddevs.h (needed for 
> future kernel builds)
> 
>     NOTE: It appears that if you later rebuild your
> kernel...
>           you must _rebuild_ the above as well.
> Maybe just re-install?
> 
>   Add to /etc/rc.conf
>     ifconfig_ndis0="DHCP"
>     hostname="yourhostname"
> 
>   Add to /boot/loader.conf
>     ndis_load="YES"
>     if_ndis_load="YES"
> 
>   Edit /etc/dhclient.conf
>     timeout 10;
>     retry 10;
>     reboot 10;
>     select-timeout 5;
>     initial-interval 2;
> 
>     interface "ndis0" {
>       send dhcp-client-identifier
> "unx.unxlaptop.org";
>       media "ssid Your_SSID channel 1 wepmode on
> wepkey 
> 0x57065YourWepKey753B5;
>       request subnet-mask, broadcast-address,
> routers, 
> domain-name-servers, domain-n;
> 
>     }
> 
> 
> HTH
> 

<snipped>

Sorry for taking so long to respond.  I went through
your steps, and everything compiles, the kld's load
(ndis & if_ndis), but the ndis0 device is not created.

Clearly I have more reading to do.  Thanks for the
info and the sites.



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041003225120.49266.qmail>