Swapped out the USRP source for Osmocom (HackRF), and the USRP sink for a null sink. When I try to run it, I get this error:
Traceback (most recent call last):
File "/home/galloway/working/seniordesign/gnuradio-companion/wifi_transceiver.py", line 343, in <module>
main()
File "/home/galloway/working/seniordesign/gnuradio-companion/wifi_transceiver.py", line 331, in main
tb = top_block_cls()
File "/home/galloway/working/seniordesign/gnuradio-companion/wifi_transceiver.py", line 236, in __init__
self.blocks_tuntap_pdu_0 = blocks.tuntap_pdu('tap1', 440, False)
File "/usr/lib64/python2.7/site-packages/gnuradio/blocks/blocks_swig6.py", line 1046, in make
return _blocks_swig6.tuntap_pdu_make(dev, MTU, istunflag)
RuntimeError: gr::tuntap_pdu::make: tun_alloc failed (are you running as root?)
I am most assuredly
not running as root, and I'm unsure what "gr::tuntap_pdu::make" or "tun_alloc" are. There was one similar email chain (
https://marc.info/?l=gnuradio-discuss&m=141563926501407&w=2) from a few years ago, but the solution he found doesn't seem to work; changing TUNTAP PDU doesn't fix the problem.
Anyone have a clue as to why these tuntap pdu things are acting up?
--
Eamon Heaney
Fleet Commander
President, Model UN at Virginia Tech