Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DWL-G122 E1 as AP -> phone getting disconnected

    Scheduled Pinned Locked Moved Wireless
    16 Posts 4 Posters 6.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rocketdog
      last edited by

      Hi! I've been using pfSense for a while, since it got drivers for my USB-dongle, which means I can use it as an AP.

      The problem is that the FW is dropping every cellphone that is connected to it, like twice a minute. Laptops and other media over WIFI works just fine.

      Any ideas?

      Edit: I've tried 3 different phones. iPhone 3GS, Samsung Galaxy and Sony Xperia. All keeps getting the same kind of annoying cut-off.

      1 Reply Last reply Reply Quote 0
      • W Offline
        wallabybob
        last edited by

        What do the phones report? What does pfSense report?

        What build of pfSense are you using?

        Is your USB WiFi stick controlled by the rum driver?, run driver? something

        My Android phone works fine with a run device on pfSense 2.1.

        1 Reply Last reply Reply Quote 0
        • R Offline
          rocketdog
          last edited by

          @wallabybob:

          What do the phones report? What does pfSense report?

          What build of pfSense are you using?

          Is your USB WiFi stick controlled by the rum driver?, run driver? something

          My Android phone works fine with a run device on pfSense 2.1.

          Im using 2.1-BETA1 (i386) nano4g. The WIFI is assigned as "run0_wlan1"

          I tried earlier this evening to remove encryption, but it didn't help.

          The system logs keep saying this:

          Jun 2 21:22:37 hostapd: run0_wlan1: WPA rekeying GTK
          Jun 2 21:22:37 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: sending 1/2 msg of Group Key Handshake
          Jun 2 21:22:37 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: EAPOL-Key timeout
          Jun 2 21:22:37 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: sending 1/2 msg of Group Key Handshake
          Jun 2 21:22:38 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: received EAPOL-Key frame (2/2 Group)
          Jun 2 21:22:38 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: group key handshake completed (RSN)

          1 Reply Last reply Reply Quote 0
          • W Offline
            wallabybob
            last edited by

            And the phones report?

            @rocketdog:

            [The system logs keep saying this:

            [quote]Jun 2 21:22:37 hostapd: run0_wlan1: WPA rekeying GTK
            Jun 2 21:22:37 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: sending 1/2 msg of Group Key Handshake
            Jun 2 21:22:37 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: EAPOL-Key timeout
            Jun 2 21:22:37 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: sending 1/2 msg of Group Key Handshake
            Jun 2 21:22:38 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: received EAPOL-Key frame (2/2 Group)
            Jun 2 21:22:38 hostapd: run0_wlan1: STA f8:1e:df:5e:9c:84 WPA: group key handshake completed (RSN)

            What has MAC address of  f8:1e:df:5e:9c:84?

            1 Reply Last reply Reply Quote 0
            • R Offline
              rocketdog
              last edited by

              @wallabybob:

              And the phones report?
              What has MAC address of  f8:1e:df:5e:9c:84?

              Where would I find what the phone reports?

              The iPhone has that MAC Adress.

              1 Reply Last reply Reply Quote 0
              • W Offline
                wallabybob
                last edited by

                @rocketdog:

                Where would I find what the phone reports?

                I guess that depends on the phone.

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rocketdog
                  last edited by

                  @wallabybob:

                  @rocketdog:

                  Where would I find what the phone reports?

                  I guess that depends on the phone.

                  Right now I'm using an iPhone, so I'm not sure where. But the problem is still there no matter what phone I am using.

                  If I ping the iPhone, I get some really strange results:

                  Pinging 192.168.0.13 with 32 bytes of data:
                  Reply from 192.168.0.13: bytes=32 time=998ms TTL=64
                  Reply from 192.168.0.13: bytes=32 time=7ms TTL=64
                  Request timed out.
                  Request timed out.
                  Reply from 192.168.0.2: Destination host unreachable.
                  Reply from 192.168.0.2: Destination host unreachable.
                  Reply from 192.168.0.13: bytes=32 time=16ms TTL=64
                  Request timed out.
                  Request timed out.
                  Request timed out.

                  And now the Laptop on the same AP:

                  Pinging 192.168.0.12 with 32 bytes of data:
                  Reply from 192.168.0.12: bytes=32 time=11ms TTL=128
                  Reply from 192.168.0.12: bytes=32 time=3ms TTL=128
                  Reply from 192.168.0.12: bytes=32 time=3ms TTL=128
                  Reply from 192.168.0.12: bytes=32 time=5ms TTL=128

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    wallabybob
                    last edited by

                    Signal quality issues? Do phones work better if closer to AP with only air between AP and phones? AP using a crowded channel? (WiFi Analyzer is a free Android AP which will give useful indications of signal strength and WiFi channel occupancy.)

                    Encryption negotiation problem? Phones work without encryption configured?
                    On my Android 2.3 phone if I go to Settings -> Wireless & networks -> WiFi and then turn on WiFi the phone reports "Connecting …", "Acquiring IP address ... ", "Connected to ..." etc.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rocketdog
                      last edited by

                      Like topic says, it's either signal quality, or it completely drops the phones.

                      I've been trying lately both with and without WPA. But it still gives the same result. What does "using a crowded channel" means?

                      I will purchase the wifi analyzer later today and check it out.

                      Thanks

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        wallabybob
                        last edited by

                        @rocketdog:

                        What does "using a crowded channel" means?

                        Your AP is transmitting on a channel also used by one or more other "nearby" APs.

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rocketdog
                          last edited by

                          Changed to channel 3 now, which I seems to the only one using.

                          Tried to monitor the signal strength with Wifi analyzer, and at the same time pinging the phone.
                          The pings are really up and down, and sometimes it gives time-out, while the signal is just smooth.

                          Here are the results:

                          Reply from 192.168.0.13: bytes=32 time=9ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=969ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=152ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=974ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=145ms TTL=64
                          Request timed out.
                          Reply from 192.168.0.13: bytes=32 time=7ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=994ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=6ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=1007ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=4ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=979ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=7ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=994ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=5ms TTL=64
                          Reply from 192.168.0.13: bytes=32 time=966ms TTL=64

                          IMG_0152[1].PNG
                          IMG_0152[1].PNG_thumb

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            wallabybob
                            last edited by

                            A ping from my Android 2.3 phone to my pfSense AP upstairs: in 62 pings the RTT (round trip time) min was just under 4mS, the average 12.5mS and max 21.4mS.

                            In 62 pings from the pfSense AP to the phone, the min RTT was 3.9mS, average 64.6mS and max 118.6mS

                            Your times vary considerably more.

                            @rocketdog:

                            Changed to channel 3 now, which I seems to the only one using.

                            3 is the only one not in use?

                            802.11g spreads across a number of channels to get more bandwidth. Channels 1,6 and 11 are the only one with no overlap so it would be best to use one of those if you can.

                            Sorry. I'm out of ideas on this except that you try to get more information out of the phones.

                            1 Reply Last reply Reply Quote 0
                            • R Offline
                              rocketdog
                              last edited by

                              Now I've tried all channels, but without result. Still don't know how to get any "verbose" information out of my phone.

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                srynoname
                                last edited by

                                same problem here with another usb wlan stick. did you find a solution?

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  srynoname
                                  last edited by

                                  for the records and googling people: my android device has a problem with my rum driver based usb wlan stick, but not with my old atheros based linksys wrt54gl router. so maybe switching to a device with atheros chipset and driver helps (note that the wrt54gl runs linux, not sure how similar the driver is to the one supplied by freebsd!). only problem with this: no atheros usb sticks! ):

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Dios_Hades
                                    last edited by

                                    Hello, I have the same problem. Did you find the answer for this issue? In my case It seems because I am not authenticating, so my phone disconnected every 2 minutes.., But my computer does not have problem If I authenticate or not. Any ideas?
                                    Greetings

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.