From owner-freebsd-net@FreeBSD.ORG Mon Feb 11 00:48:13 2008 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A56916A418 for ; Mon, 11 Feb 2008 00:48:13 +0000 (UTC) (envelope-from robertjenssen@ozemail.com.au) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by mx1.freebsd.org (Postfix) with ESMTP id C00B713C44B for ; Mon, 11 Feb 2008 00:48:12 +0000 (UTC) (envelope-from robertjenssen@ozemail.com.au) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAPInr0d8qxjJ/2dsb2JhbAAIplg X-IronPort-AV: E=Sophos;i="4.25,331,1199631600"; d="scan'208";a="276640420" Received: from unknown (HELO [192.168.0.4]) ([124.171.24.201]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 11 Feb 2008 09:37:22 +0900 Content-Disposition: inline From: Robert Jenssen To: net@freebsd.org Date: Mon, 11 Feb 2008 11:37:21 +1100 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200802111137.21550.robertjenssen@ozemail.com.au> Cc: Subject: dhclient conflict between /sbin/devd and /etc/rc.d/netif ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 00:48:13 -0000 Hi, Every so often I have trouble connecting rt2560 based PCI wireless network card to my wireless router/access point. Typically I get: # sudo /etc/rc.d/netif restart ral0 Starting wpa_supplicant. ral0: no link .............. giving up ral0: flags=8843 metric 0 mtu 1500 ether 00:11:50:63:cd:47 media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: no carrier Even though there seems to be plenty of signal power: # sudo ifconfig ral0 list scan SSID BSSID CHAN RATE S:N INT CAPS xxxxxxx... 00:xx:xx:xx:xx:xx 10 54M -74:-95 100 EPS WPA Recently I noticed that sometimes, after the above "netif restart" fails, the ral0 interface "automagically" comes up anyway. Then dhclient is owned by /sbin/devd. The default devd.conf starts dhclient for both ethernet and PCI-cardbus devices. Is it a good idea for both /sbin/devd and /etc/rc.d/netif to start a dhclient on ral0 at about the same time? Should I disable dhclient in /etc/devd.conf? Regards, Rob Jenssen PS: "uname -a" shows: FreeBSD 7.0-PRERELEASE #1: Fri Feb 8 14:36:49 EST 2008 dmesg.today shows: ral0: mem 0xf2004000-0xf2005fff irq 22 at device 6.0 on pci2 ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525 ral0: Ethernet address: 00:11:50:63:cd:47 ral0: [ITHREAD]