Ndisulator - Linksys wireless-g PCI card Project Evil

James Jhai james at idea-anvil.net
Wed Dec 29 22:00:19 PST 2004


On Wednesday 29 December 2004 09:08 pm, Jon Knight wrote:
> Hi all,
> I don't think I received a reply on this one; can some one please help me
> out? The Ndis0 seems to go up only when I ifconfig adhoc mode, when I try
> autoselect the ndis0 link goes down.  
> Thanks
> Jon
> 
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Jon Knight
> Sent: Thursday, 23 December 2004 3:19 PM
> To: freebsd-questions at freebsd.org
> Subject: Ndisulator - Linksys wireless-g PCI card
> 
> Hi everyone,
> 
>  
> 
> I have a wireless-g PCI Card Linksys WMP54G.  Just installed FreeBSD 5.3
> from CD.  I'm trying to get this to work and talk to my access point which
> is also Linksys.  I followed the instructions to compile the windows .inf
> and .sys into .h, .ko, .o.  Did a 'make' on ndis as per instructions from a
> website I googled (I think it was http://www.xl0.org/FreeBSD/ndis.txt).  I
> can see ndis0 in ifconfig, I can specify ifconfig ndis0 inet 192.168.0.8
> netmask 255.255.255.0.  Turned off wep on my AP to make things easier.  Set
> the SSID.  
> 
>  
> 
> Now when I type ifconfig ndis0 media autoselect, nothing happens.
> Everything looks okay, I can locally ping the interface 192.168.0.8.  I
> cannot wicontrol and list the local ap however.  When I type ifconfig ndis0
> mediaopt adhoc it says ndis0 link up.  I try ifconfig ndis0 media autoselect
> and link is down.  What's up with that (no pun intended) ?
> 
>  
> 
> Many thanks
> 
> Cheers,
> 
> Jon
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
I am using the linksys WPC11 b pccard.
I have never had to mess with anything other then putting one line in rc.conf:
ifconfig_ndis0="inet  netmask 255.255.255.0 ssid LINKSYS"

It seems to default to autoselect.

try:
#ifconfig ndis0 inet 192.168.0.8 netmask 255.255.255.0 ssid YOURSSID

I know it might be over simplified, but thats all I do and it defaults to autoselect. 

#ifconfig
...
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 10.234.23.99 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::20d:41ff:fa41:5d37%ndis0 prefixlen 64 scopeid 0x5
        ether 00:0d:4f:41:5f:e7
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
        status: associated
        ssid PUBLIC 1:PUBLIC
        channel 6 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1

Not sure if that is any help or not... let me know.
-- 
- James


More information about the freebsd-questions mailing list