From owner-freebsd-questions@FreeBSD.ORG Thu Dec 30 06:38:36 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDF0216A4CE for ; Thu, 30 Dec 2004 06:38:36 +0000 (GMT) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 150DF43D1D for ; Thu, 30 Dec 2004 06:38:36 +0000 (GMT) (envelope-from j.knight@knightsolutions.com.au) Received: from jon (c211-28-158-33.brasd1.vic.optusnet.com.au [211.28.158.33]) iBU6cVVI003164; Thu, 30 Dec 2004 17:38:34 +1100 Message-Id: <200412300638.iBU6cVVI003164@mail03.syd.optusnet.com.au> From: "Jon Knight" To: "'James Jhai'" , Date: Thu, 30 Dec 2004 17:38:31 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <200412292300.15903.james@idea-anvil.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcTuNNkGtH0uXs3LT7y3RixZ3ITElAABTP6A Subject: RE: Ndisulator - Linksys wireless-g PCI card Project Evil X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 06:38:36 -0000 James, I used 10.0.0.1 for the example, as I don't think I can have both interfaces on the same subnet. wireless# /sbin/kldload -v /usr/src/sys/modules/if_ndis/if_ndis.ko Loaded /usr/src/sys/modules/if_ndis/if_ndis.ko, id=3 wireless# ifconfig ndis0 inet 10.0.0.1 netmask 255.255.255.0 ssid linksys-jon wireless# ifconfig xl0: flags=8843 mtu 1500 options=8 inet 192.168.0.8 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::2c0:4fff:fe9a:ccd5%xl0 prefixlen 64 scopeid 0x1 ether 00:c0:4f:9a:cc:d5 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 mtu 1500 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ndis0: flags=8843 mtu 1500 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::20f:66ff:fe6e:edf7%ndis0 prefixlen 64 scopeid 0x4 ether 00:0f:66:6e:ed:f7 media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 Still no luck -----Original Message----- From: James Jhai [mailto:james@idea-anvil.net] Sent: Thursday, 30 December 2004 5:00 PM To: freebsd-questions@freebsd.org Cc: Jon Knight Subject: Re: Ndisulator - Linksys wireless-g PCI card Project Evil 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@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jon Knight > Sent: Thursday, 23 December 2004 3:19 PM > To: freebsd-questions@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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 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