This is a discussion on Can't unplumb device tap0 within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hi, I have VPN tunnel between Linux Solaris but something goes wrong and i can't start and even unplumb ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I have VPN tunnel between Linux Solaris but something goes wrong and i can't start and even unplumb device. I can't restart the server right as its critical for our production system. Iam using solaris TUN/TAP driver from here http://www.whiteboard.ne.jp/~admin2/tuntap/ and patched OpenVPN output from commands root@xxx # cat openvpn.log Fri Nov 9 11:39:00 2007 OpenVPN 2.0.7 i386-pc-solaris2.8 [SSL] [LZO] built on Jul 6 2006 Fri Nov 9 11:39:00 2007 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earl Fri Nov 9 11:39:00 2007 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Fri Nov 9 11:39:00 2007 Control Channel Authentication: using '/etc/ openvpn/XXX/keys/ta.key' as a OpenVPN static key file Fri Nov 9 11:39:00 2007 LZO compression initialized Fri Nov 9 11:39:00 2007 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay Fri Nov 9 11:39:00 2007 UDPv4 link local: [undef] Fri Nov 9 11:39:00 2007 UDPv4 link remote: xxx.xxx.xxx.xxx:1194 Fri Nov 9 11:39:01 2007 [server] Peer Connection Initiated with xxx.xxx.xxx.xxx:1194 Fri Nov 9 11:39:02 2007 Can't set PPA 0: File exists (errno=17) Fri Nov 9 11:39:02 2007 Exiting root@xxx # ifconfig tap0 tap0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4 inet 10.182.182.182 netmask ff000000 broadcast 10.255.255.255 root@xxx # ifconfig tap0 unplumb ifconfig: I_PUNLINK for ip: tap0: Invalid argument root@xxx # uname -a SunOS zeus 5.10 Generic_118855-14 i86pc i386 i86pc please help how to remove tap0 interface without server restart |
| |||
| ts wrote: > Hi, > > I have VPN tunnel between Linux Solaris but something goes wrong and i > can't start and even unplumb device. I can't restart the server right > as its critical for our production system. > > Iam using solaris TUN/TAP driver from here http://www.whiteboard.ne.jp/~admin2/tuntap/ > and patched OpenVPN > > output from commands > > Fri Nov 9 11:39:02 2007 Can't set PPA 0: File exists (errno=17) > Fri Nov 9 11:39:02 2007 Exiting > > root@xxx # ifconfig tap0 > tap0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4 > inet 10.182.182.182 netmask ff000000 broadcast 10.255.255.255 > > root@xxx # ifconfig tap0 unplumb > ifconfig: I_PUNLINK for ip: tap0: Invalid argument > I run the same setup and I used to see this problem, have you tried ifconfig tap0 down ifconfig tap0 unplumb Which used to clear the problem for me. -- Ian Collins. |
| ||||
| On 9 Lis, 22:21, Ian Collins <ian-n...@hotmail.com> wrote: > ts wrote: > > Hi, > > > I have VPN tunnel between Linux Solaris but something goes wrong and i > > can't start and even unplumb device. I can't restart the server right > > as its critical for our production system. > > > Iam using solaris TUN/TAP driver from herehttp://www.whiteboard.ne.jp/~admin2/tuntap/ > > and patched OpenVPN > > > output from commands > > > Fri Nov 9 11:39:02 2007 Can't set PPA 0: File exists (errno=17) > > Fri Nov 9 11:39:02 2007 Exiting > > > root@xxx # ifconfig tap0 > > tap0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4 > > inet 10.182.182.182 netmask ff000000 broadcast 10.255.255.255 > > > root@xxx # ifconfig tap0 unplumb > > ifconfig: I_PUNLINK for ip: tap0: Invalid argument > > I run the same setup and I used to see this problem, have you tried > > ifconfig tap0 down > ifconfig tap0 unplumb > > Which used to clear the problem for me. > > -- > Ian Collins. yeap, i tried it, and nothing else happened for now iam forcing use of tap1 and waiting for a while when i can reboot the server if i don't find solution |