On 02/26/2013 06:55 PM, Sajjad Safdar wrote:
> HI,
> I am using tunnel.py command to setup a TCP/IP link between two usrp1.
> When i try to use the command , i get this error
> 
> ./tunnel.py
> linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.005.001-29-g3cb515f7
> 
> Traceback (most recent call last):
>   File "./tunnel.py", line 295, in <module>
>     main()
>   File "./tunnel.py", line 241, in main
>     (tun_fd, tun_ifname) = open_tun_interface(options.tun_device_filename)
>   File "./tunnel.py", line 79, in open_tun_interface
>     ifs = ioctl(tun, TUNSETIFF, struct.pack("16sH", "gr%d", mode))
> IOError: [Errno 1] Operation not permitted

Try running it with root rights, i.e. "sudo ./tunnel.py". Also make sure
that the device actually exists, run "ifconfig tun0".

-Andre


_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to