From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 19:01:00 2005 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 36F7716A4CE for ; Sun, 6 Mar 2005 19:01:00 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B20A43D2D for ; Sun, 6 Mar 2005 19:00:59 +0000 (GMT) (envelope-from normal1.lists@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1038382wri for ; Sun, 06 Mar 2005 11:00:59 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=uhY2nS8WmEF2yG5W8FcaAHOhzQeNiaYIkjvQxgd8SVMyW5WgYyReLL99j0haAf9BMrt3GR++bUTILNprKkQuMOQnSC2b0+y64o6aDbavDnAVwZMktk6F7InH+cqSX+6v4xAfegLZAZwwP5Fwhg4jET3S5jeJKBQGhYjPma4DFVc= Received: by 10.54.34.19 with SMTP id h19mr17913wrh; Sun, 06 Mar 2005 11:00:58 -0800 (PST) Received: by 10.54.2.45 with HTTP; Sun, 6 Mar 2005 11:00:58 -0800 (PST) Message-ID: Date: Sun, 6 Mar 2005 11:00:58 -0800 From: gabriel To: Fabian Keil In-Reply-To: <20050306195438.29f69e9d@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <422a3b4c.6460c00f.48d7.412b@smtp.gmail.com> <20050306195438.29f69e9d@localhost> cc: Subhro cc: freebsd-questions Subject: Re: D-Link NIC. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: gabriel List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2005 19:01:00 -0000 Thats a good script. How did you install the ndis driver/wrapper? - Cause I think some of the problem may be there. Cheers! On Sun, 6 Mar 2005 19:54:38 +0100, Fabian Keil wrote: > "Subhro" wrote: > > > > -----Original Message----- > > > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > > > questions@freebsd.org] On Behalf Of gabriel > > > Sent: Sunday, March 06, 2005 2:57 > > > To: freebsd-questions > > > Subject: Re: D-Link NIC. > > > > > > Can anyone provide any insight? > > > > > > ndis0: flags=8802 mtu 1500 > > > ether 00:11:95:87:8b:e4 > > > 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 > > > dolores# > > How do you set up the NIC? > > I use a small script to load and unload the driver: > > #!/bin/sh > > case "$1" in > > start) > echo "Activating WLAN" > kldload ndis > kldload if_ndis > > ifconfig ndis0 ssid ec60bfg3b4 wepkey 1:0x12345678911234567891123456 wepmode on > ifconfig ndis0 inet 192.168.1.49 > > route add 0.0.0.0 192.168.1.1 > ;; > stop) > echo "Deactivating WLAN" > kldunload if_ndis > kldunload ndis > ;; > esac > > exit 0 > > DHCP works as well, but I don't use it. > > > > if I try to use dhcp the ip address will just go to zeroes. :\ > > > > > > Are you positive that the DHCP function of your AP works perfectly? I am > > asking thing because I have come across a couple of routers which happily > > routes packets to static IPs but messes everything up as soon as it is asked > > to handle DHCP. > > I guess the DHCP server is working, but Gabriel's kernel is lacking "device bpf" > which is needed for dhclient. > > Otherwise the IP is set to 0.0.0.0 without error message, just as described. > > > Also I strongly feel something fishy in the WLAN interface being detected as > > ndisX instead of wiX. > > This is expected behaviour. > > Regards > Fabian > -- > http://www.fabiankeil.de > -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions