On Wed, Mar 04, 2009 at 11:59:03AM +0000, Nick Martin wrote:
> Running strace shows that the only ioctl it runs on the device is 
> TUNSETIFF, which I also do, and the flags set in the ifreq struct it 
> gives as an argument are the same as mine. I thought IFF_UP looked 
> promising but setting this in the ifreq flags doesn't seem to do 
> anything. Do I need to send IFF_UP to somewhere else?

 ioctl(,SIOCSIFFLAGS,) ?

 Probably you forget to add "-f" flag to strace, missing invocation
 of some external program such as /sbin/ifconfig or /sbin/ip.
-- 
 Eugene Berdnikov

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
VTun-devel mailing list
VTun-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vtun-devel

Reply via email to