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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to