Opened 7 years ago
Closed 7 years ago
#54447 closed defect (wontfix)
TunTap block in GNURadio
Reported by: | vamsi765 | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | ||
Port: | gnuradio tuntaposx |
Description
I get the following error when I have tun tap_pdu block in grc. The error persists even after I install tuntaposx port (and restart the computer).
Traceback (most recent call last): File "gen_sink.py", line 58, in <module> main() File "gen_sink.py", line 47, in main tb = top_block_cls() File "gen_sink.py", line 30, in __init__ self.blocks_tuntap_pdu_0 = blocks.tuntap_pdu('tap0', 10000, False) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gnuradio/blocks/blocks_swig6.py", line 1042, in make return _blocks_swig6.tuntap_pdu_make(dev, MTU, istunflag) RuntimeError: tuntap_pdu not implemented on this platform
Change History (2)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Cc: | michaelld removed |
---|---|
Keywords: | GNURadio TunTap removed |
Owner: | set to michaelld |
Port: | gnuradio added; gnuradio-devel removed |
Status: | new → assigned |
comment:2 Changed 7 years ago by michaelld (Michael Dickens)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
If you review the source code https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/tuntap_pdu_impl.cc#L51 , you'll see that the tuntap block is Linux-only. Doesn't matter if the port tuntaposx is installed or not. Given that tuntaposx installs just an ABI (libraries etc) and no API (headers), it's not clear to me how one could use it for this block.
If you want to see a tuntap block on macOS / Mac OS X, I'd advise you to open an issue on the GR github tracker: https://github.com/gnuradio/gnuradio/issues . This is not the place for enhancement requests for GR, just MacPorts, so I'm closing this ticket as "wontfix". Even then, I'm not sure how easy or difficult it will be to augment the block to allow for tuntap on OSX, but I'd be willing to give it a go once the GR-powers-that-be bless the effort.