Date: Thu, 13 Sep 2007 00:16:17 +0200 From: Mel <fbsd.questions@rachie.is-a-geek.net> To: freebsd-questions@freebsd.org Subject: Re: Wireless connection problem. Message-ID: <200709130016.18793.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <46E85DB3.60701@phreaker.net> References: <46E85DB3.60701@phreaker.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 12 September 2007 23:44:19 nollan wrote: > Hi List! > > I've got a really annoying problem with my wireless connection from my > FreeBSD Gateway to the WAN-router (Yes, the gateway connect to the WAN > via wireless :(. ). The setup works fine until the carrier is lost > (maybe weak signal), then it refuses to pick the connection up again, > resulting in a non-working gateway. Then I have to flush ipfw, dhclient > ath0 and restart natd to make it all work again. If I keep the > connection busy (i.e. ping -i 5 gateway), it all works fine, no carrier > is lost. Shouldn't it be possible for the setup to regain carrier > automatically when it's lost? > > My setup: > > 1: > rc.conf: > gateway_enable="YES" > dhclient_program="/sbin/dhclient" > dhclient_flags="" > > firewall_enable="YES" > firewall_script="/etc/rc.firewall" > firewall_type="OPEN" > > natd_enable="YES" > natd_interface="ath0" > natd_flags="-f /etc/natd.conf" (same_ports yes - use_sockets yes - > dynamic yes) > > ifconfig_ath0="ssid ZyXEL DHCP wepmode on weptxkey 1 wepkey 1:0x....." Have you tried wpa_supplicant(8)? If I understand correctly your interface isn't marked as 'down', so re-initialization doesn't occur. wpa_supplicant might pick up on it. -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709130016.18793.fbsd.questions>