WLAN don't works after reboot of pfsense
-
This is not the first topic I wrote about the similar problem. But now I can provocate the problem.
I use this snapshot: 1.2.3-RC2 built on Mon Jul 13 13:47:10 EDT 2009
The Hardware and Software:
ALIX 2d3, 2d13, nanobsd image, Compex WLM54SAG 200mW Atheros 802.11a/b/g 54/108 Mbps miniPCI wireless card
LAN and WLAN ports are in bridge mode (uses same subnet)The problem:
After a reboot of the firewall there are many problems on the WLAN side (OPT2). If I connect with a mobile device I get an IPfrom the LAN DHCP without problems. I also able to access fileservers which are in the LAN subnet.
BUT: I have no access to the pfsense web gui, no access to the internet and also no access to the VPN connection running on the LAN port.The temporary solution:
I use another computer which is connected to the LAN port by wire. All services are available. I connect to the web gui of the pfsense and choose Interface/LAN. I make no changes, press "Save" and then "Apply changes" and after that all services are again availlable also on the WLAN port until the next reboot or power loss of the pfsense firewal.I guess the apply will restart some (ore one) service or reset the LAN port and after that it works. So there must be a problem at boot time, that this service will be started to early and it works not correct after a reboot. A change in a future release in this behavier could solve many problems written here in the board depending WLAN.
Does anybody has an idea to solve this problem with the actual snapshot, without the described procedure above?
Thanks!
Sigma
-
im on the 14th july snapshot, havent noticed any such problems, for me it works a lot better than older embedded images and first time with everything i need, running in a single firmware. i might partially agree that the internet stops working or some minor glitches in wireless brdged to LAN but happens only some times and last for a few seconds only or maximum till i switch off and on the wireless on my iphne or laptop
-
I think it also depends on the used hardware. Maybe I have this problem only on the ALIX board and the Compex WLAN card.
Sigma
-
There are apparently issues with some combinations of hardware, due to FreeBSD wireless problems. Once wireless is working on FreeBSD 8 versions, I'm going to do more testing there and hope others will do the same. That's the only way to get any of this resolved, none of the FreeBSD developers who work on wireless care to do anything about problems in 7.x.
-
I think it also depends on the used hardware. Maybe I have this problem only on the ALIX board and the Compex WLAN card.
Sigma
i have the same wifi card with alix2d3
-
It isn't hardware dependant, I have a ralink 2500 pci card and I too am affected. Pfsense is indeed running the generated /tmp/ral0_setup.sh (in my case) script too early and causing a timeout on the driver loading. To fix I just do a sh /tmp/ral0_setup.sh to get it going, this doesn't happen very often now though.
-
Ok, it seems that I'm not alone wit this problem. I tried sh /tmp/ral0_setup.sh but there's no file in the /tmp which has this name. So the way over Interfaces/lan and safe, apply changes works for me at the moment. As I guess it seems to be a to eary initialisation of a driver. I think this should not to be a big problem to solve for the developpers. Maybe I find a way to reinitialize the interface after boot automaticaly. If I have an Idea I write it here.
Sigma
-
Ok, it seems that I'm not alone wit this problem. I tried sh /tmp/ral0_setup.sh but there's no file in the /tmp which has this name. So the way over Interfaces/lan and safe, apply changes works for me at the moment. As I guess it seems to be a to eary initialisation of a driver. I think this should not to be a big problem to solve for the developpers. Maybe I find a way to reinitialize the interface after boot automaticaly. If I have an Idea I write it here.
Sigma
You wouldn't have that particular file as it is specific to my setup, you do have some *.sh in /tmp related to your wireless though. Try a ls /tmp | grep *.sh and that should print out what your looking for. And you could use cron or its BSD counterpart to re-initialize the script, as I'm a linux guy I can't be of much help…Not knowing the equivalent bsd commands.
-
Sorry about that ;) I should now it :-)
Here it's called: ath0_setup.sh (Atheros)
Thanks!
Sigma
-
Sorry about that ;) I should now it :-)
Here it's called: ath0_setup.sh (Atheros)
Thanks!
Sigma
Your welcome.
-
Ok, it don't works with a restart of the WLAN module. I have to restart tha LAN module. So I try to make a script which will be startet by the package "Shellcmd". Maybe commands in this package will be executed after boot.
/sbin/ifconfig vr0 down
/sbin/ifconfig vr0 up(vr0, vr1 and vr2 are the LAN interface name if an ALIX board is used)
I have to put this script to a secure place (like /cf) that it is not lossed at e boot.
I'll try it this evening.
Sigma