From owner-freebsd-questions@FreeBSD.ORG Thu Jul 17 01:13:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 967CA1065675 for ; Thu, 17 Jul 2008 01:13:26 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 07E4C8FC13 for ; Thu, 17 Jul 2008 01:13:25 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from kobe.laptop (adsl161-31.kln.forthnet.gr [62.1.64.31]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-4) with ESMTP id m6H1DEPD018640 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 17 Jul 2008 04:13:21 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m6H1D1kK011522; Thu, 17 Jul 2008 04:13:01 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m6H1D0WH011521; Thu, 17 Jul 2008 04:13:00 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Steven Friedrich References: <200807162021.00044.FreeBSD@insightbb.com> Date: Thu, 17 Jul 2008 04:13:00 +0300 In-Reply-To: <200807162021.00044.FreeBSD@insightbb.com> (Steven Friedrich's message of "Wed, 16 Jul 2008 20:20:59 -0400") Message-ID: <87vdz5nwir.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-MailScanner-ID: m6H1DEPD018640 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.014, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.39, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Wireless client won't associate to router with SSID not broadcast 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: Thu, 17 Jul 2008 01:13:26 -0000 On Wed, 16 Jul 2008 20:20:59 -0400, Steven Friedrich wrote: > My laptop connects just fine, until I config the router to turn off > broadcasting SSID. Then, ifconfig reports "no carrier". > > Is there a config setting I need? Hi Steven, How are you bringing up the wireless interface? My home AP doesn't broadcast its SSID either. The script I use to bring up ath0+wlan0 and connect my laptop at home includes stuff like the following (and it does work without SSID broadcasting): : # network interface options (partial; see below for more wlan0 stuff) : export wlans_ath0="wlan0" : export ifconfig_wlan0="inet 192.168.1.3/24" : export defaultrouter='192.168.1.1' : : echo '## Stopping network interfaces.' : : /etc/rc.d/netif stop fxp0 && ifconfig fxp0 delete : /etc/rc.d/netif stop ath0 && ifconfig ath0 delete : : echo '## Bringing up wireless interface.' : : /etc/rc.d/netif start ath0 : : ifconfig wlan0 \ : ssid '********' channel 11 \ : wepmode on weptxkey 1 \ : wepkey '0xXXXXXXXXXXXXXXXXXXXXXXXXXX'