From owner-freebsd-questions@FreeBSD.ORG Mon Jun 27 15:24:16 2005 Return-Path: X-Original-To: questions@freebsd.org 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 0A99D16A41C for ; Mon, 27 Jun 2005 15:24:16 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from top.daemonsecurity.com (62-14-217-85.inversas.jazztel.es [62.14.217.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE6543D55 for ; Mon, 27 Jun 2005 15:24:15 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.64] (unknown [192.168.0.64]) by top.daemonsecurity.com (Postfix) with ESMTP id 9311AFEB8F for ; Mon, 27 Jun 2005 17:23:28 +0200 (CEST) Message-ID: <42C01A1B.5050508@locolomo.org> Date: Mon, 27 Jun 2005 17:24:11 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050529) X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: wireless config in dhclient.conf (CURRENT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 15:24:16 -0000 Hi, I have a problem configuring dhclient for my wireless interface, ath, on -CURRENT. I updated my system recently and are now using the port of dhclient from OpenBSD. I have a Comtrend DSL/AP on channel 11 with ssid ISPY, my wired server (FBSD 5.4) is running isc-dhcpd v. 3. My neighbour has a 3Com DSL/AP on channel 6 with default configuration, running a dhcp server. On my laptop I have a 3Com PCMCIA card, ath0. According to the documentation I can find on the web, I should include an entry in /etc/dhclient.conf like: interface "ath0" { media "ssid ISPY mode 11g"; } but doing so dhclient fails to get a lease on boot. Instead it enters into an "infinite" loop (long, I eventually pressed CRTL-C), changing link state to up, sending one dhcp request, and changing linkstate to down. This does not change if I include a "channel 11" in the media line. Since configuration failed the interface is not configured and dhclient is not running. If I log in and run dhclient it fails as above - no surprise. If I manually set ssid and mode, then I can run dhclient at it associates and gets a lease as it should. If I leave no configuration, it sometimes picks up my neighbours AP and get a lease from that - his signal is at times stronger than my own (probably Comtrend crap against 3Com). How do I correctly configure dhclient for my wireless nic so it associates with my network? Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2