Closed ShivaAlethea closed 7 months ago
From the screenshot I only see that something is red, so something goes wrong. the error is not on the screenshot, so I can only guess:
See this blog post and this talk and slides for how to inject frames.
Hi @bastibl Thank you very much for the reply. With the help of above blog post created beaconFrameGeneration.py and wifi_beacon_tx.grc wifi_tx.zip
Running wifi_beacon_tx.grc is not giving any error, But still I'm not able to see the Beacons. Im i missing anything here, please help.
Beacon frame generation using scapy:
GNU radio .grc (please find the attached zip for .grc file)
@bastibl Also tried the first scenario, No errors now. Need a info >> on FFT >> Window (formula something like>> tuple(1/52**0.1.....)) wifi_tx_1.zip
Hi @bastibl, Tried to follow https://github.com/bastibl/gr-ieee802-11/issues/236 and observed below.
PCAP With >> Socket PDU - Working
PCAP With >> WiFi PHY Hier - Not working
I already replied to the last post in the other issue.
The frequency that you are using (5.89GHz is not a WiFi channel but for vehicular networking, i.e., a normal device will not search there). Please try changing to a 11g or 11a channel.
Not sure about your issue with the FFT window. You shouldn't have to change it, if you use the correct version of the module, i.e., make sure that you use the branch of this module that fits your GNU Radio version.
@bastibl Thanks for the support. It started working fine after HackRF Firmware update. Now im able to see my SSID's in laptop.
@bastibl Need one more clarification, Is it possible to send multiple beacons from different ports and frequencies ? Something Like:
Trying to run this test is giving : RuntimeError: resolve_port: hierarchical block 'sink_impl': input 1 is not connected internally
File "/home/alethea/shiva/HackRF/gr-ieee802-11/examples/playback_test.py", line 200, in <module>
main()
File "/home/alethea/shiva/HackRF/gr-ieee802-11/examples/playback_test.py", line 180, in main
tb.start()
File "/usr/lib/python3/dist-packages/gnuradio/gr/top_block.py", line 116, in start
top_block_start_unlocked(self._impl, max_noutput_items)
RuntimeError: resolve_port: hierarchical block 'sink_impl': input 1 is not connected internally
Anything else needs to be taken care here?
This not possible with the HackRF.
@bastibl Thank you very much for your support. Closing this issue as it started working for me after firmware update.
Hi, Im new to this GNU Radio. Can anyone please help me to create .grc for Beacon geneartion (using HackRF One). I tried to ran wifi_tx.grc, It is working. But it is not generating any Beacons.
Also tried to follow https://user-images.githubusercontent.com/77594215/106764041-59bd3400-662f-11eb-8a87-994884fa0361.png
But im not able to get the values that i need to pass on header_formatter, Packet_Header, OFDM_carrier_Allocator and FFT.
Can anyone help me to create this/new .grc for beacon generation.
Thank you