On Thursday 13 August 2009 20:09:55 Jane Chen wrote: > Hi all, > > > Eric, thank you for your reply. > I ran the tunnel.py with the username "useSDR" in group usrp and added > > @usrp - rtprio 50 in the /etc/security/limits.conf. > gr.enable_realtime_scheduling() is in the orignial tunnel.py file. > > However, I keep get an error as following: > > File "tunnel_original.py", line 78, in open_tun_interface > tun = os.open(tun_device_filename, os.O_RDWR) > OSError: [Errno 13] Permission denied: '/dev/net/tun'
This error is unrelated to the first one. You dont have permission to create a tun device. Recommended proceeding: 1. install tunctl 2. "sudo chmod 666 /dev/net/tun" 3. "sudo tunctl -u useSDR -n" steps 2 and 3 have to be repeated after restarting the computer. This way, you dont have to run tunnel.py as root. Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019 _______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
