From owner-freebsd-questions@FreeBSD.ORG Sun Mar 6 18:56:40 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 E1DAE16A4CE for ; Sun, 6 Mar 2005 18:56:40 +0000 (GMT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAFA743D4C for ; Sun, 6 Mar 2005 18:56:39 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 18315 invoked from network); 6 Mar 2005 18:56:35 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.83.136]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 6 Mar 2005 18:56:35 -0000 Date: Sun, 6 Mar 2005 19:54:38 +0100 From: Fabian Keil To: "Subhro" Message-ID: <20050306195438.29f69e9d@localhost> In-Reply-To: <422a3b4c.6460c00f.48d7.412b@smtp.gmail.com> References: <422a3b4c.6460c00f.48d7.412b@smtp.gmail.com> X-Mailer: Sylpheed-Claws 1.0.1 (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: 'gabriel' cc: 'freebsd-questions' Subject: Re: D-Link NIC. 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: Sun, 06 Mar 2005 18:56:41 -0000 "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