Receiving UDP packets from gateway / hotspot





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







3















I have a Raspberry Pi setup as a WiFi hotspot (it is a DHCP server and it has HOSTAPD running). It does not have an internet connection and isn't routing traffic. Clients only connect to its network when they want to communicate with it.



I have a python script on the Raspberry Pi that is sending a UDP message ~5 seconds.



I can see the packets being sent through Wireshark (which I have installed on the Raspberry Pi), but none of the clients that connect to the Pi's network can see those packets. It's like they are hitting a dead end somewhere before they get out of the Pi.



I should also mention the clients have their firewalls turned off.



Here's some screenshots from the Pi:
You can see Wireshark shows the packets being sent. You can also see BROADCAST is enabled on wlan0.
enter image description here



The client (a Windows 10 computer in this case) is also running Wireshark and you can see the network info for it too:
enter image description here



What am I missing in the network setup that is keeping this broadcast from reaching clients? If I connect the Raspberry Pi to a real router, the clients on that network can see the UDP messages fine. That makes me think there is something wrong with the self-hosted hostspot I setup.



Thanks for any insight you can provide.



The contents of the hostapd config:



interface=wlan0
driver=nl80211
#driver=rtl871xdrv
ssid=PI032378
channel=6
dtim_period=1
beacon_int=400


Here's the Wireshark info about the packets that are being sent, but not received:



Frame 162: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0
Interface id: 0 (wlan0)
Encapsulation type: Ethernet (1)
Arrival Time: Feb 21, 2017 16:45:08.000647000 Central Standard Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1487717108.000647000 seconds
[Time delta from previous captured frame: 0.007711000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 1.299469000 seconds]
Frame Number: 162
Frame Length: 60 bytes (480 bits)
Capture Length: 60 bytes (480 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ethertype:ip:udp:data]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Source: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25)
Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.42.1, Dst: 192.168.42.255
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 46
Identification: 0xa04d (41037)
Flags: 0x02 (Don't Fragment)
Fragment offset: 0
Time to live: 64
Protocol: UDP (17)
Header checksum: 0xc420 [validation disabled]
[Header checksum status: Unverified]
Source: 192.168.42.1
Destination: 192.168.42.255
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 44661, Dst Port: 5003
Source Port: 44661
Destination Port: 5003
Length: 26
Checksum: 0x779c [unverified]
[Checksum Status: Unverified]
[Stream index: 3]
Data (18 bytes)
Data: 426c756562657272793a5049303332333738
[Length: 18]









share|improve this question

























  • Googling finds similar issues with broadcasts using hostapd on a RaspPi. Might be a driver/hostapd issue.

    – dirkt
    Feb 10 '17 at 8:02











  • @dirkt thanks for the link. I modified my hostapd.conf with the dtim_period and beacon_int. I also turned off power_save mode and none of that helped. The Pi can receive UDP broadcasts from the network clients, but the clients cannot receive UDP broadcasts from it.

    – Jason Williams
    Feb 10 '17 at 15:46











  • Can you post your hostapd config file?

    – Spiff
    Feb 15 '17 at 3:27











  • @Spiff I added it to the question. Thanks for looking.

    – Jason Williams
    Feb 15 '17 at 15:13











  • Can you ping the Windows machine from the Pi?

    – MariusMatutiae
    Feb 21 '17 at 11:58


















3















I have a Raspberry Pi setup as a WiFi hotspot (it is a DHCP server and it has HOSTAPD running). It does not have an internet connection and isn't routing traffic. Clients only connect to its network when they want to communicate with it.



I have a python script on the Raspberry Pi that is sending a UDP message ~5 seconds.



I can see the packets being sent through Wireshark (which I have installed on the Raspberry Pi), but none of the clients that connect to the Pi's network can see those packets. It's like they are hitting a dead end somewhere before they get out of the Pi.



I should also mention the clients have their firewalls turned off.



Here's some screenshots from the Pi:
You can see Wireshark shows the packets being sent. You can also see BROADCAST is enabled on wlan0.
enter image description here



The client (a Windows 10 computer in this case) is also running Wireshark and you can see the network info for it too:
enter image description here



What am I missing in the network setup that is keeping this broadcast from reaching clients? If I connect the Raspberry Pi to a real router, the clients on that network can see the UDP messages fine. That makes me think there is something wrong with the self-hosted hostspot I setup.



Thanks for any insight you can provide.



The contents of the hostapd config:



interface=wlan0
driver=nl80211
#driver=rtl871xdrv
ssid=PI032378
channel=6
dtim_period=1
beacon_int=400


Here's the Wireshark info about the packets that are being sent, but not received:



Frame 162: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0
Interface id: 0 (wlan0)
Encapsulation type: Ethernet (1)
Arrival Time: Feb 21, 2017 16:45:08.000647000 Central Standard Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1487717108.000647000 seconds
[Time delta from previous captured frame: 0.007711000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 1.299469000 seconds]
Frame Number: 162
Frame Length: 60 bytes (480 bits)
Capture Length: 60 bytes (480 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ethertype:ip:udp:data]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Source: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25)
Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.42.1, Dst: 192.168.42.255
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 46
Identification: 0xa04d (41037)
Flags: 0x02 (Don't Fragment)
Fragment offset: 0
Time to live: 64
Protocol: UDP (17)
Header checksum: 0xc420 [validation disabled]
[Header checksum status: Unverified]
Source: 192.168.42.1
Destination: 192.168.42.255
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 44661, Dst Port: 5003
Source Port: 44661
Destination Port: 5003
Length: 26
Checksum: 0x779c [unverified]
[Checksum Status: Unverified]
[Stream index: 3]
Data (18 bytes)
Data: 426c756562657272793a5049303332333738
[Length: 18]









share|improve this question

























  • Googling finds similar issues with broadcasts using hostapd on a RaspPi. Might be a driver/hostapd issue.

    – dirkt
    Feb 10 '17 at 8:02











  • @dirkt thanks for the link. I modified my hostapd.conf with the dtim_period and beacon_int. I also turned off power_save mode and none of that helped. The Pi can receive UDP broadcasts from the network clients, but the clients cannot receive UDP broadcasts from it.

    – Jason Williams
    Feb 10 '17 at 15:46











  • Can you post your hostapd config file?

    – Spiff
    Feb 15 '17 at 3:27











  • @Spiff I added it to the question. Thanks for looking.

    – Jason Williams
    Feb 15 '17 at 15:13











  • Can you ping the Windows machine from the Pi?

    – MariusMatutiae
    Feb 21 '17 at 11:58














3












3








3








I have a Raspberry Pi setup as a WiFi hotspot (it is a DHCP server and it has HOSTAPD running). It does not have an internet connection and isn't routing traffic. Clients only connect to its network when they want to communicate with it.



I have a python script on the Raspberry Pi that is sending a UDP message ~5 seconds.



I can see the packets being sent through Wireshark (which I have installed on the Raspberry Pi), but none of the clients that connect to the Pi's network can see those packets. It's like they are hitting a dead end somewhere before they get out of the Pi.



I should also mention the clients have their firewalls turned off.



Here's some screenshots from the Pi:
You can see Wireshark shows the packets being sent. You can also see BROADCAST is enabled on wlan0.
enter image description here



The client (a Windows 10 computer in this case) is also running Wireshark and you can see the network info for it too:
enter image description here



What am I missing in the network setup that is keeping this broadcast from reaching clients? If I connect the Raspberry Pi to a real router, the clients on that network can see the UDP messages fine. That makes me think there is something wrong with the self-hosted hostspot I setup.



Thanks for any insight you can provide.



The contents of the hostapd config:



interface=wlan0
driver=nl80211
#driver=rtl871xdrv
ssid=PI032378
channel=6
dtim_period=1
beacon_int=400


Here's the Wireshark info about the packets that are being sent, but not received:



Frame 162: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0
Interface id: 0 (wlan0)
Encapsulation type: Ethernet (1)
Arrival Time: Feb 21, 2017 16:45:08.000647000 Central Standard Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1487717108.000647000 seconds
[Time delta from previous captured frame: 0.007711000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 1.299469000 seconds]
Frame Number: 162
Frame Length: 60 bytes (480 bits)
Capture Length: 60 bytes (480 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ethertype:ip:udp:data]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Source: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25)
Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.42.1, Dst: 192.168.42.255
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 46
Identification: 0xa04d (41037)
Flags: 0x02 (Don't Fragment)
Fragment offset: 0
Time to live: 64
Protocol: UDP (17)
Header checksum: 0xc420 [validation disabled]
[Header checksum status: Unverified]
Source: 192.168.42.1
Destination: 192.168.42.255
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 44661, Dst Port: 5003
Source Port: 44661
Destination Port: 5003
Length: 26
Checksum: 0x779c [unverified]
[Checksum Status: Unverified]
[Stream index: 3]
Data (18 bytes)
Data: 426c756562657272793a5049303332333738
[Length: 18]









share|improve this question
















I have a Raspberry Pi setup as a WiFi hotspot (it is a DHCP server and it has HOSTAPD running). It does not have an internet connection and isn't routing traffic. Clients only connect to its network when they want to communicate with it.



I have a python script on the Raspberry Pi that is sending a UDP message ~5 seconds.



I can see the packets being sent through Wireshark (which I have installed on the Raspberry Pi), but none of the clients that connect to the Pi's network can see those packets. It's like they are hitting a dead end somewhere before they get out of the Pi.



I should also mention the clients have their firewalls turned off.



Here's some screenshots from the Pi:
You can see Wireshark shows the packets being sent. You can also see BROADCAST is enabled on wlan0.
enter image description here



The client (a Windows 10 computer in this case) is also running Wireshark and you can see the network info for it too:
enter image description here



What am I missing in the network setup that is keeping this broadcast from reaching clients? If I connect the Raspberry Pi to a real router, the clients on that network can see the UDP messages fine. That makes me think there is something wrong with the self-hosted hostspot I setup.



Thanks for any insight you can provide.



The contents of the hostapd config:



interface=wlan0
driver=nl80211
#driver=rtl871xdrv
ssid=PI032378
channel=6
dtim_period=1
beacon_int=400


Here's the Wireshark info about the packets that are being sent, but not received:



Frame 162: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0
Interface id: 0 (wlan0)
Encapsulation type: Ethernet (1)
Arrival Time: Feb 21, 2017 16:45:08.000647000 Central Standard Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1487717108.000647000 seconds
[Time delta from previous captured frame: 0.007711000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 1.299469000 seconds]
Frame Number: 162
Frame Length: 60 bytes (480 bits)
Capture Length: 60 bytes (480 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ethertype:ip:udp:data]
[Coloring Rule Name: UDP]
[Coloring Rule String: udp]
Ethernet II, Src: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Source: Shenzhen_0c:b4:25 (40:a5:ef:0c:b4:25)
Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.42.1, Dst: 192.168.42.255
0100 .... = Version: 4
.... 0101 = Header Length: 20 bytes (5)
Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
Total Length: 46
Identification: 0xa04d (41037)
Flags: 0x02 (Don't Fragment)
Fragment offset: 0
Time to live: 64
Protocol: UDP (17)
Header checksum: 0xc420 [validation disabled]
[Header checksum status: Unverified]
Source: 192.168.42.1
Destination: 192.168.42.255
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
User Datagram Protocol, Src Port: 44661, Dst Port: 5003
Source Port: 44661
Destination Port: 5003
Length: 26
Checksum: 0x779c [unverified]
[Checksum Status: Unverified]
[Stream index: 3]
Data (18 bytes)
Data: 426c756562657272793a5049303332333738
[Length: 18]






linux networking udp raspbian






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 21 '17 at 22:51







Jason Williams

















asked Feb 9 '17 at 16:42









Jason WilliamsJason Williams

888




888













  • Googling finds similar issues with broadcasts using hostapd on a RaspPi. Might be a driver/hostapd issue.

    – dirkt
    Feb 10 '17 at 8:02











  • @dirkt thanks for the link. I modified my hostapd.conf with the dtim_period and beacon_int. I also turned off power_save mode and none of that helped. The Pi can receive UDP broadcasts from the network clients, but the clients cannot receive UDP broadcasts from it.

    – Jason Williams
    Feb 10 '17 at 15:46











  • Can you post your hostapd config file?

    – Spiff
    Feb 15 '17 at 3:27











  • @Spiff I added it to the question. Thanks for looking.

    – Jason Williams
    Feb 15 '17 at 15:13











  • Can you ping the Windows machine from the Pi?

    – MariusMatutiae
    Feb 21 '17 at 11:58



















  • Googling finds similar issues with broadcasts using hostapd on a RaspPi. Might be a driver/hostapd issue.

    – dirkt
    Feb 10 '17 at 8:02











  • @dirkt thanks for the link. I modified my hostapd.conf with the dtim_period and beacon_int. I also turned off power_save mode and none of that helped. The Pi can receive UDP broadcasts from the network clients, but the clients cannot receive UDP broadcasts from it.

    – Jason Williams
    Feb 10 '17 at 15:46











  • Can you post your hostapd config file?

    – Spiff
    Feb 15 '17 at 3:27











  • @Spiff I added it to the question. Thanks for looking.

    – Jason Williams
    Feb 15 '17 at 15:13











  • Can you ping the Windows machine from the Pi?

    – MariusMatutiae
    Feb 21 '17 at 11:58

















Googling finds similar issues with broadcasts using hostapd on a RaspPi. Might be a driver/hostapd issue.

– dirkt
Feb 10 '17 at 8:02





Googling finds similar issues with broadcasts using hostapd on a RaspPi. Might be a driver/hostapd issue.

– dirkt
Feb 10 '17 at 8:02













@dirkt thanks for the link. I modified my hostapd.conf with the dtim_period and beacon_int. I also turned off power_save mode and none of that helped. The Pi can receive UDP broadcasts from the network clients, but the clients cannot receive UDP broadcasts from it.

– Jason Williams
Feb 10 '17 at 15:46





@dirkt thanks for the link. I modified my hostapd.conf with the dtim_period and beacon_int. I also turned off power_save mode and none of that helped. The Pi can receive UDP broadcasts from the network clients, but the clients cannot receive UDP broadcasts from it.

– Jason Williams
Feb 10 '17 at 15:46













Can you post your hostapd config file?

– Spiff
Feb 15 '17 at 3:27





Can you post your hostapd config file?

– Spiff
Feb 15 '17 at 3:27













@Spiff I added it to the question. Thanks for looking.

– Jason Williams
Feb 15 '17 at 15:13





@Spiff I added it to the question. Thanks for looking.

– Jason Williams
Feb 15 '17 at 15:13













Can you ping the Windows machine from the Pi?

– MariusMatutiae
Feb 21 '17 at 11:58





Can you ping the Windows machine from the Pi?

– MariusMatutiae
Feb 21 '17 at 11:58










2 Answers
2






active

oldest

votes


















1














Multicasts and broadcasts on 802.11 must be sent using a modulation scheme (data rate) that every client can receive. They must be one of the rates in the Basic Rate Set (mandatory rate set) for that network, and they must be encrypted with the group key and group cipher for that network.



Although you might have a multicast rate problem, if you're using encryption (i.e. WPA2-PSK), it's more likely to be an encryption problem. As a test, try turning off wireless encryption in your hostapd config and see if the problem goes away.






share|improve this answer
























  • Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

    – Jason Williams
    Feb 9 '17 at 19:59











  • @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

    – Spiff
    Feb 9 '17 at 20:35











  • I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

    – Jason Williams
    Feb 9 '17 at 21:28













  • Here's a screenshot of the WiFi Analyzer / beacon information: link

    – Jason Williams
    Feb 9 '17 at 21:31



















0














It could be that the network interface on the Raspberry Pi is calculating the UDP checksums incorrectly. You can check if the checksumming is offloaded to the network interface by running ethtool -k eth0 (orethtool -k wlan0, or whatever the network interface you are serving the DHCP server on) on the Raspberry Pi. If its output shows that the checksumming is on (i.e. tx-checksumming: on), you can try to disable checksumming:



sudo ethtool --offload eth0 tx off


I've had this issue, and there's a relevant question on the Raspberry Pi stackexchange.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1177099%2freceiving-udp-packets-from-gateway-hotspot%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Multicasts and broadcasts on 802.11 must be sent using a modulation scheme (data rate) that every client can receive. They must be one of the rates in the Basic Rate Set (mandatory rate set) for that network, and they must be encrypted with the group key and group cipher for that network.



    Although you might have a multicast rate problem, if you're using encryption (i.e. WPA2-PSK), it's more likely to be an encryption problem. As a test, try turning off wireless encryption in your hostapd config and see if the problem goes away.






    share|improve this answer
























    • Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

      – Jason Williams
      Feb 9 '17 at 19:59











    • @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

      – Spiff
      Feb 9 '17 at 20:35











    • I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

      – Jason Williams
      Feb 9 '17 at 21:28













    • Here's a screenshot of the WiFi Analyzer / beacon information: link

      – Jason Williams
      Feb 9 '17 at 21:31
















    1














    Multicasts and broadcasts on 802.11 must be sent using a modulation scheme (data rate) that every client can receive. They must be one of the rates in the Basic Rate Set (mandatory rate set) for that network, and they must be encrypted with the group key and group cipher for that network.



    Although you might have a multicast rate problem, if you're using encryption (i.e. WPA2-PSK), it's more likely to be an encryption problem. As a test, try turning off wireless encryption in your hostapd config and see if the problem goes away.






    share|improve this answer
























    • Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

      – Jason Williams
      Feb 9 '17 at 19:59











    • @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

      – Spiff
      Feb 9 '17 at 20:35











    • I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

      – Jason Williams
      Feb 9 '17 at 21:28













    • Here's a screenshot of the WiFi Analyzer / beacon information: link

      – Jason Williams
      Feb 9 '17 at 21:31














    1












    1








    1







    Multicasts and broadcasts on 802.11 must be sent using a modulation scheme (data rate) that every client can receive. They must be one of the rates in the Basic Rate Set (mandatory rate set) for that network, and they must be encrypted with the group key and group cipher for that network.



    Although you might have a multicast rate problem, if you're using encryption (i.e. WPA2-PSK), it's more likely to be an encryption problem. As a test, try turning off wireless encryption in your hostapd config and see if the problem goes away.






    share|improve this answer













    Multicasts and broadcasts on 802.11 must be sent using a modulation scheme (data rate) that every client can receive. They must be one of the rates in the Basic Rate Set (mandatory rate set) for that network, and they must be encrypted with the group key and group cipher for that network.



    Although you might have a multicast rate problem, if you're using encryption (i.e. WPA2-PSK), it's more likely to be an encryption problem. As a test, try turning off wireless encryption in your hostapd config and see if the problem goes away.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Feb 9 '17 at 18:36









    SpiffSpiff

    78.5k10120165




    78.5k10120165













    • Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

      – Jason Williams
      Feb 9 '17 at 19:59











    • @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

      – Spiff
      Feb 9 '17 at 20:35











    • I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

      – Jason Williams
      Feb 9 '17 at 21:28













    • Here's a screenshot of the WiFi Analyzer / beacon information: link

      – Jason Williams
      Feb 9 '17 at 21:31



















    • Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

      – Jason Williams
      Feb 9 '17 at 19:59











    • @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

      – Spiff
      Feb 9 '17 at 20:35











    • I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

      – Jason Williams
      Feb 9 '17 at 21:28













    • Here's a screenshot of the WiFi Analyzer / beacon information: link

      – Jason Williams
      Feb 9 '17 at 21:31

















    Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

    – Jason Williams
    Feb 9 '17 at 19:59





    Thanks for the info. The network is currently "Open" with no password or encryption and the problem is occurring.

    – Jason Williams
    Feb 9 '17 at 19:59













    @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

    – Spiff
    Feb 9 '17 at 20:35





    @JasonWilliams Can you do an 802.11 Monitor Mode capture? Are the broadcasts getting on the air? Maybe the broadcasts are getting transmitted into the air, but the client devices aren't receiving them successfully. What data rate (modulation scheme) is the RPi using when transmitting these broadcasts? It would also be helpful to see a decoded beacon so I can see what capabilities the RPi is advertising.

    – Spiff
    Feb 9 '17 at 20:35













    I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

    – Jason Williams
    Feb 9 '17 at 21:28







    I know some of those things :) It's apparently hard to get a monitor mode capture on Windows (the only client I have laying around right now). As far as the beacon, do you have a suggestion about how to capture that? I've got an app called "WiFi Analyzer" that shows some detail, but I'm not sure if that's what you're looking for.

    – Jason Williams
    Feb 9 '17 at 21:28















    Here's a screenshot of the WiFi Analyzer / beacon information: link

    – Jason Williams
    Feb 9 '17 at 21:31





    Here's a screenshot of the WiFi Analyzer / beacon information: link

    – Jason Williams
    Feb 9 '17 at 21:31













    0














    It could be that the network interface on the Raspberry Pi is calculating the UDP checksums incorrectly. You can check if the checksumming is offloaded to the network interface by running ethtool -k eth0 (orethtool -k wlan0, or whatever the network interface you are serving the DHCP server on) on the Raspberry Pi. If its output shows that the checksumming is on (i.e. tx-checksumming: on), you can try to disable checksumming:



    sudo ethtool --offload eth0 tx off


    I've had this issue, and there's a relevant question on the Raspberry Pi stackexchange.






    share|improve this answer




























      0














      It could be that the network interface on the Raspberry Pi is calculating the UDP checksums incorrectly. You can check if the checksumming is offloaded to the network interface by running ethtool -k eth0 (orethtool -k wlan0, or whatever the network interface you are serving the DHCP server on) on the Raspberry Pi. If its output shows that the checksumming is on (i.e. tx-checksumming: on), you can try to disable checksumming:



      sudo ethtool --offload eth0 tx off


      I've had this issue, and there's a relevant question on the Raspberry Pi stackexchange.






      share|improve this answer


























        0












        0








        0







        It could be that the network interface on the Raspberry Pi is calculating the UDP checksums incorrectly. You can check if the checksumming is offloaded to the network interface by running ethtool -k eth0 (orethtool -k wlan0, or whatever the network interface you are serving the DHCP server on) on the Raspberry Pi. If its output shows that the checksumming is on (i.e. tx-checksumming: on), you can try to disable checksumming:



        sudo ethtool --offload eth0 tx off


        I've had this issue, and there's a relevant question on the Raspberry Pi stackexchange.






        share|improve this answer













        It could be that the network interface on the Raspberry Pi is calculating the UDP checksums incorrectly. You can check if the checksumming is offloaded to the network interface by running ethtool -k eth0 (orethtool -k wlan0, or whatever the network interface you are serving the DHCP server on) on the Raspberry Pi. If its output shows that the checksumming is on (i.e. tx-checksumming: on), you can try to disable checksumming:



        sudo ethtool --offload eth0 tx off


        I've had this issue, and there's a relevant question on the Raspberry Pi stackexchange.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 31 at 20:41









        FluxFlux

        1145




        1145






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1177099%2freceiving-udp-packets-from-gateway-hotspot%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy