Discussion:
Intermitten Wireless
Chris Brennan
2011-07-26 17:48:54 UTC
Permalink
Greetings! I've got a Netgate m1n1-2d13 firewall device[1] and for the most
part, it works great (wired that is.) Wireless on the other hand is
questionable at best. Sometimes it works, sometimes it doesn't. The
wireless kit is [2]. pfSense 1.2.3-RELEASE sees the card just fine

ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 90:a4:de:2f:1d:bb
inet6 fe80::92a4:deff:fe2f:1dbb%ath0 prefixlen 64 scopeid 0x4
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: associated
ssid "The Realm" channel 1 (2412 Mhz 11g) bssid 90:a4:de:2f:1d:bb
authmode WPA privacy MIXED deftxkey 3 AES-CCM 2:128-bit
AES-CCM 3:128-bit txpower 31.5 scanvalid 60 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode OFF burst
-apbridge dtimperiod 1

and an pciconf -lv
***@pci0:0:12:0: class=0x020000 card=0x1012185f chip=0x0013168c rev=0x01 hdr=0x00
class = network
subclass = ethernet

I had my wireless working, my Sony TV was streaming Netflix for days, my
iPod was able to browse the internet as well as my android phone and
even my Debian laptop was working. Now, my TV can't associate, if it
does, it refuses to get an IP address from the DHCP server (which is
running)

[admin-VTAYb1pdGXLrCY3N83BgTx4hnT+Y9+***@public.gmane.org]/root(7): ps auxf | grep dhcpd
dhcpd 24379 0.0 0.8 3156 2040 ?? Is Sun05AM 0:01.56
/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd
-cf /var/dhcpd/etc/dhcpd.conf vr0
root 60213 0.0 0.1 376 256 p0 R+ 10:32PM 0:00.00 grep
dhcpd
[1.2.3-RELEASE]
[admin-VTAYb1pdGXLrCY3N83BgTx4hnT+Y9+***@public.gmane.org]/root(8):

My iPod Touch and my Android phone are able to associate and get an IP
without any issues, but they cannot browse, I've confirmed this by being
able to browse my LAN from both devices but I am unable to get to
google.com for example, or anywhere else. I've also confirmed that my TV
never does get an IP as when trying to connect Wirelessly, it is unable
to get to my local webserver running on the same subnet as the DHCP
daemon.

So I am unsure what I missed, I'm pretty sure this is a configuration
issue with the firewall (basic details are below, if more is needed, by
all means ask).

Interfaces -> OPT2 (Wireless)
Check box checked to enable device
Description: Wireless
Type: DHCP
Bridge with: LAN
Standard: 802.11g
Mode: Access Point
802.11g OFDM Protection Mode: Protection mode off
SSID: The Realm
Transmit Power: 99
Channel: Auto (usually ch1 is used)
WPA: Enable WPA check box checked
PSK: SoMe ReAlLy LoNg PaSs WoRd
WPA Mode: Both
WPA Key Management Mode: Pre Shared Key
Authentication: Open System Authentication
WPA Pairwise: AES
Key Rotation: 60
Master Key Regeneration: 3600

Firewall -> Rules -> Lan
Action: Pass
Interface: LAN
Protocol: Any
Source: LAN Subnet
Destination: Any
Gateway: Default (192.168.0.1)
Description: Default LAN -> any

Firewall -> Rules -> Wireless
Action: Pass
Interface: Wireless
Protocol: Any
Source: LAN subnet (was any but someone on IRC recommended the
change to 'LAN subnet')
Destination: Any
Gateway: Default (192.168.0.1)
Description: Wi-Fi Out


If any other configuration details are required, please let me know and
I will provide them, but bear in mind, I don't know where/how pfSense
stores it's configuration files, The above data was typed manually from
the web interface.

[1] http://store.netgate.com/Netgate-m1n1wall-2D3-2D13-Black-P216.aspx
[2] http://store.netgate.com/KIT-ALIX-5004MP-DUAL-P190C34.aspx
--
Chris Brennan
--
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?
http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscribe-***@public.gmane.org
For additional commands, e-mail: support-help-***@public.gmane.org

Commercial support available - https://portal.pfsense.org
bsd
2011-07-27 02:29:26 UTC
Permalink
Post by Chris Brennan
Greetings! I've got a Netgate m1n1-2d13 firewall device[1] and for the most
part, it works great (wired that is.) Wireless on the other hand is
questionable at best. Sometimes it works, sometimes it doesn't. The
wireless kit is [2]. pfSense 1.2.3-RELEASE sees the card just fine
ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 90:a4:de:2f:1d:bb
inet6 fe80::92a4:deff:fe2f:1dbb%ath0 prefixlen 64 scopeid 0x4
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
status: associated
ssid "The Realm" channel 1 (2412 Mhz 11g) bssid 90:a4:de:2f:1d:bb
authmode WPA privacy MIXED deftxkey 3 AES-CCM 2:128-bit
AES-CCM 3:128-bit txpower 31.5 scanvalid 60 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode OFF burst
-apbridge dtimperiod 1
and an pciconf -lv
class = network
subclass = ethernet
I had my wireless working, my Sony TV was streaming Netflix for days, my
iPod was able to browse the internet as well as my android phone and
even my Debian laptop was working. Now, my TV can't associate, if it
does, it refuses to get an IP address from the DHCP server (which is
running)
dhcpd 24379 0.0 0.8 3156 2040 ?? Is Sun05AM 0:01.56
/usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd
-cf /var/dhcpd/etc/dhcpd.conf vr0
root 60213 0.0 0.1 376 256 p0 R+ 10:32PM 0:00.00 grep
dhcpd
[1.2.3-RELEASE]
My iPod Touch and my Android phone are able to associate and get an IP
without any issues, but they cannot browse, I've confirmed this by being
able to browse my LAN from both devices but I am unable to get to
google.com for example, or anywhere else. I've also confirmed that my TV
never does get an IP as when trying to connect Wirelessly, it is unable
to get to my local webserver running on the same subnet as the DHCP
daemon.
So I am unsure what I missed, I'm pretty sure this is a configuration
issue with the firewall (basic details are below, if more is needed, by
all means ask).
Interfaces -> OPT2 (Wireless)
Check box checked to enable device
Description: Wireless
Type: DHCP
Bridge with: LAN
Standard: 802.11g
Mode: Access Point
802.11g OFDM Protection Mode: Protection mode off
SSID: The Realm
Transmit Power: 99
Channel: Auto (usually ch1 is used)
WPA: Enable WPA check box checked
PSK: SoMe ReAlLy LoNg PaSs WoRd
WPA Mode: Both
WPA Key Management Mode: Pre Shared Key
Authentication: Open System Authentication
WPA Pairwise: AES
Key Rotation: 60
Master Key Regeneration: 3600
Firewall -> Rules -> Lan
Action: Pass
Interface: LAN
Protocol: Any
Source: LAN Subnet
Destination: Any
Gateway: Default (192.168.0.1)
Description: Default LAN -> any
Firewall -> Rules -> Wireless
Action: Pass
Interface: Wireless
Protocol: Any
Source: LAN subnet (was any but someone on IRC recommended the
change to 'LAN subnet')
Destination: Any
Gateway: Default (192.168.0.1)
Description: Wi-Fi Out
If any other configuration details are required, please let me know and
I will provide them, but bear in mind, I don't know where/how pfSense
stores it's configuration files, The above data was typed manually from
the web interface.
Adding a rule such as this one will do you no harm and might help you solve your problem (at least for DHCP):
Chris Brennan
2011-07-27 03:51:55 UTC
Permalink
Do I add this as a wireless rule?
Post by Chris Brennan
Greetings! I've got a Netgate m1n1-2d13 firewall device[1] and for the most
part, it works great (wired that is.) Wireless on the other hand is
questionable at best. Sometimes it works, sometimes it doesn't. The
wireless kit is [2]. pfSense 1.2.3-RELEASE sees the card just fine
   ath0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
       ether 90:a4:de:2f:1d:bb
       inet6 fe80::92a4:deff:fe2f:1dbb%ath0 prefixlen 64 scopeid 0x4
       media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap>
       status: associated
       ssid "The Realm" channel 1 (2412 Mhz 11g) bssid 90:a4:de:2f:1d:bb
       authmode WPA privacy MIXED deftxkey 3 AES-CCM 2:128-bit
       AES-CCM 3:128-bit txpower 31.5 scanvalid 60 bgscan bgscanintvl 300
       bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 protmode OFF burst
       -apbridge dtimperiod 1
and an pciconf -lv
   class      = network
   subclass   = ethernet
I had my wireless working, my Sony TV was streaming Netflix for days, my
iPod was able to browse the internet as well as my android phone and
even my Debian laptop was working. Now, my TV can't associate, if it
does, it refuses to get an IP address from the DHCP server (which is
running)
   dhcpd  24379  0.0  0.8  3156  2040  ??  Is   Sun05AM   0:01.56
   /usr/local/sbin/dhcpd -user dhcpd -group _dhcp -chroot /var/dhcpd
   -cf /var/dhcpd/etc/dhcpd.conf vr0
   root   60213  0.0  0.1   376   256  p0  R+   10:32PM   0:00.00 grep
   dhcpd
   [1.2.3-RELEASE]
My iPod Touch and my Android phone are able to associate and get an IP
without any issues, but they cannot browse, I've confirmed this by being
able to browse my LAN from both devices but I am unable to get to
google.com for example, or anywhere else. I've also confirmed that my TV
never does get an IP as when trying to connect Wirelessly, it is unable
to get to my local webserver running on the same subnet as the DHCP
daemon.
So I am unsure what I missed, I'm pretty sure this is a configuration
issue with the firewall (basic details are below, if more is needed, by
all means ask).
Interfaces -> OPT2 (Wireless)
   Check box checked to enable device
   Description: Wireless
   Type: DHCP
   Bridge with: LAN
   Standard: 802.11g
   Mode: Access Point
   802.11g OFDM Protection Mode: Protection mode off
   SSID: The Realm
   Transmit Power: 99
   Channel: Auto (usually ch1 is used)
   WPA: Enable WPA check box checked
   PSK: SoMe ReAlLy LoNg PaSs WoRd
   WPA Mode: Both
   WPA Key Management Mode: Pre Shared Key
   Authentication: Open System Authentication
   WPA Pairwise: AES
   Key Rotation: 60
   Master Key Regeneration: 3600
Firewall -> Rules -> Lan
   Action: Pass
   Interface: LAN
   Protocol: Any
   Source: LAN Subnet
   Destination: Any
   Gateway: Default (192.168.0.1)
   Description: Default LAN -> any
Firewall -> Rules -> Wireless
   Action: Pass
   Interface: Wireless
   Protocol: Any
   Source: LAN subnet (was any but someone on IRC recommended the
   change to 'LAN subnet')
--
--
Chris Brennan
A: Yes.
Post by Chris Brennan
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?
http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: support-unsubscribe-***@public.gmane.org
For additional commands, e-mail: support-help-***@public.gmane.org

Commercial support available - https://portal.pfsense.org
Chris Brennan
2011-07-27 06:07:41 UTC
Permalink
Post by bsd
Adding a rule such as this one will do you no harm and might help you
Proto Source Port Destination Port Gateway Queue
UDP 0.0.0.0 68 255.255.255.255 67 * none
Thanks
OK, I added your suggested to the Wireless ruleset, no change though :/

Loading Image...
--
Post by bsd
Chris Brennan
--
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?
http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------
Damien Dupertuis
2011-07-27 20:34:07 UTC
Permalink
Hello,
you should check this forum post...

http://forum.pfsense.org/index.php/topic,31185.msg180104.html#msg180104

tell us if your problem is similar...


regards...



________________________________
De : Chris Brennan <xaero-***@public.gmane.org>
À : ***@pfsense.com
Envoyé le : Mercredi 27 Juillet 2011 8h07
Objet : Re: [pfSense Support] Intermitten Wireless
Post by bsd
Adding a rule such as this one will do you no harm and might help you
Proto    Source    Port    Destination    Port    Gateway    Queue
UDP    0.0.0.0    68    255.255.255.255    67    *    none
Thanks
OK, I added your suggested to the Wireless ruleset, no change though :/

http://home.xaerolimit.net:2500/~chris/backup/images/screenshots/screenshot.52.png
--
Post by bsd
Chris Brennan
--
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?
http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8  9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------
Chris Brennan
2011-07-28 00:00:06 UTC
Permalink
Post by Damien Dupertuis
Hello,
you should check this forum post...
http://forum.pfsense.org/index.php/topic,31185.msg180104.html#msg180104
tell us if your problem is similar...
regards...
The situation described there is similar to mine, but I am not so sure
it's the same one. In /var/log/system.log, I see the following (most
recent) entries:

Jul 22 14:00:29 pfSense hostapd: ath0: STA 00:21:00:12:48:86 IEEE
802.11: associated
Jul 22 14:00:29 pfSense hostapd: ath0: STA 00:21:00:12:48:86 IEEE
802.11: deassociated
Jul 22 14:00:45 pfSense hostapd: ath0: STA 00:21:00:12:48:86 IEEE
802.11: associated
Jul 22 14:00:45 pfSense hostapd: ath0: STA 00:21:00:12:48:86 IEEE
802.11: deassociated
Jul 22 14:01:18 pfSense hostapd: ath0: STA 8c:7b:9d:c6:55:32 WPA: group
key handshake completed (CLOGMT|▒^C

I tried the suggestion on the forum too, applied the key rotation and
master key rotation changes and disabled, then re-enabled the wireless
card.

1) My iPod Touch 4G and my Android phone are able to connect
wireless but unable to navigate
2) My Sony/Android TV and my Samsung BluRay player are not able
to associate to the wireless AP at all.

This is why I am thinking it is similar to but not exactly the same
issue described on the forum.
--
Post by Damien Dupertuis
Chris Brennan
--
A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?
http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/
GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C)
------------------------------------------------------------------------
Loading...