Date: Wed, 07 Dec 2005 21:58:19 +0100 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= <norgaard@locolomo.org> To: Dominique Goncalves <dominique.goncalves@gmail.com> Cc: Jon Drukman <jsd@cluttered.com>, freebsd-questions@freebsd.org Subject: Re: Thanks for FBSD6 Message-ID: <43974CEB.6080708@locolomo.org> In-Reply-To: <7daacbbe0512071233q71e5608as8e47a975032f46f4@mail.gmail.com> References: <dn7el7$6dr$1@sea.gmane.org> <7daacbbe0512071233q71e5608as8e47a975032f46f4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dominique Goncalves wrote: >>basically the meat of the script looks like: >> >>ifconfig ath0 ssid "my wireless network" >>dhclient ath0 >> >> >>if someone can tell me what /etc/rc.conf options i need to set to >>duplicate that, that would be cool. i played around with it for a while >>but never got it to work without my custom script. > > You can use in /etc/rc.conf: > > ifconfig_ath0="DHCP ssid your_ssid" That's FreeBSD 5.X and prior way of doing it. The suggested way to config your wirerless is with wpa_supplicant(8). In rc.conf add: wpa_suplicant_enable="YES" ifconfig_ath0="DHCP" and create wpa_supplicant.conf: network={ ssid="MyWireless" mode="11g" } The neat thing is that you can configure multiple networks and wpa_supplicant will try them in order. Note that dhclient was replaced with the new OpenBSD implementation in FBSD6, and wpa_supplicant introduced to handle association with wireless networks. Cheers, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43974CEB.6080708>