From owner-freebsd-questions@FreeBSD.ORG Fri Mar 11 19:04:58 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 4502B16A4CE for ; Fri, 11 Mar 2005 19:04:58 +0000 (GMT) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.18.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16B4E43D53 for ; Fri, 11 Mar 2005 19:04:57 +0000 (GMT) (envelope-from freebsd-listen@fabiankeil.de) Received: (qmail 27657 invoked from network); 11 Mar 2005 19:04:53 -0000 Received: from unknown (HELO localhost) ([pbs]775067@[83.129.63.130]) (envelope-sender ) by smtprelay01.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 11 Mar 2005 19:04:53 -0000 Date: Fri, 11 Mar 2005 20:00:59 +0100 From: Fabian Keil To: freebsd-questions Message-ID: <20050311200059.55123f7a@localhost> In-Reply-To: References: <422a3b4c.6460c00f.48d7.412b@smtp.gmail.com> <20050306195438.29f69e9d@localhost> 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 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: Fri, 11 Mar 2005 19:04:58 -0000 gabriel wrote: > Hey, sorry about replying only to you but I'm just wondering if you > can help with answering this question. Your script worked in the sence > that I can see a log entry from the wless card intot he AP logs and it > has a static ip set. I'm wondering, do you know how to make your > script do DHCP? - This is the result of your script: > > ndis0: flags=8843 mtu 1500 > inet 10.0.0.11 netmask 0xff000000 broadcast 10.255.255.255 > inet6 fe80::211:95ff:fe87:8be4%ndis0 prefixlen 64 scopeid 0x4 > ether 00:11:95:87:8b:e4 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps) > status: associated > ssid normal1@gmail.com 1:normal1@gmail.com > channel 8 authmode OPEN powersavemode OFF powersavesleep 100 > rtsthreshold 2312 protmode CTS > wepmode MIXED weptxkey 1 > wepkey 1:104-bit > dolores# If your system configuration was right, putting the line dhclient ndis0 in the script should do the trick. But if it doesn't work if you type it by hand, it won't work in the script either. > Problem is .11 isnt pingable and plus, I'd rather it be dhcp. If you > can help, I'd be extremely greatful as I could probably get some > sleep. Is pinging the only problem aside the dhcp issue? If it is, you might have a look in the AP configuration. Some manufacturers consider ping a security problem, and block ICMP echo requests by default. Regards Fabian -- http://www.fabiankeil.de