discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Getting a Runtime Error: gr::tuntap_pdu::make: tun_al


From: Eamon Heaney
Subject: [Discuss-gnuradio] Getting a Runtime Error: gr::tuntap_pdu::make: tun_alloc failed
Date: Wed, 5 Jun 2019 18:24:51 -0400

Trying to run a modified version of the wifi transceiver from this repo: https://github.com/bastibl/gr-ieee802-11

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]