Date: Sat, 23 Aug 2014 14:38:07 +0200 From: "Julian H. Stacey" <jhs@berklix.com> To: Chris Van Steenlandt <chris.vansteenlandt@telenet.be> Cc: freebsd-wireless@freebsd.org Subject: Re: WPI (Intel wireless 3945ABG) strange behaviour Message-ID: <201408231238.s7NCc8ME057766@fire.js.berklix.net> In-Reply-To: Your message "Sat, 23 Aug 2014 12:22:45 %2B0200." <53F86B75.8030702@telenet.be>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Chris cc wireless@ > After reading quite some man pages, I finally have my laptop set up as > follows : > /etc/rc.conf : > ifconfig_wlan0 =" ssid myssid" > ifconfig_wlan0 ="mode 11g" > ifconfig_wlan0 ="-bgscan" > ifconfig_wlan0 = "WPA DHCP" ( I prefer wired nets & only fumble with wireless when I must, but ) The above has multiple Bourne shell syntax errors. > ifconfig_wlan0 =" ssid myssid" ................^..^ delete spaces > ifconfig_wlan0 ="mode 11g" ................^ delete space > ifconfig_wlan0 ="-bgscan" ................^ delete space > ifconfig_wlan0 = "WPA DHCP" ................^.^ delete spaces a test live with with /bin/sh: ifconfig_wlan0="ssid myssid" ifconfig_wlan0="mode 11g" ifconfig_wlan0="-bgscan" ifconfig_wlan0="WPA DHCP" echo $ifconfig_wlan0 & see 3 previous assertions overwritten by the fourth. So try either ifconfig_wlan0="ssid myssid" ifconfig_wlan0="$ifconfig_wlan0 mode 11g" ifconfig_wlan0="$ifconfig_wlan0 -bgscan" ifconfig_wlan0="$ifconfig_wlan0 WPA DHCP" or ifconfig_wlan0="ssid myssid mode 11g -bgscan WPA DHCP" Cheers, Julian -- Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com Interleave replies Below, like a play script.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408231238.s7NCc8ME057766>