OpenVPN - problem se zarizenim tun

Martin mata_forums at centrum.cz
Wed Jul 20 14:50:23 CEST 2005


>a jak se to chova pri 'rucnim' nastaveni treba: ifconfig tun0 172.16.0.1 
>172.16.0.2 , pokud to nebude
>fungovat podle >ocekavani, mel byste alespon dostat hlasku proc - jelikoz z 
>err openvpn - shell command
>exited .. nemuze byt nikdo moc >moudry.Muzete take zkustit v konfigu 
>openvpn nastavit natvrddo tun1,
>jestli je schopno si udelat a nakonfigurovat nove.
>Vladimir Benc

Pri rucnim spusteni dostanu nasledujici odpoved:
ifconfig: ioctl (SIOCAIFADDR): File exists

po zapnuti sysctl debug.if_tun_debug=1 a pokusu o spusteni OpenVPN hlasi log 
nasledujici:

openvpn[48252]: OpenVPN 1.6.0 i386-portbld-freebsd5.3 [SSL] [LZO] built on 
Feb 10 2005
openvpn[48252]: LZO compression initialized
openvpn[48252]: gw 10.0.0.1
kernel: tun0: open
openvpn[48252]: TUN/TAP device /dev/tun0 opened
openvpn[48252]: /sbin/ifconfig tun0 192.168.1.1 192.168.3.1 mtu 1255 
netmask 255.255.255.255 up
kernel: tun0: mtu set
kernel: tun0: tuninit
kernel: tun0: address set, error=0
openvpn[48252]: FreeBSD ifconfig failed: shell command exited with error 
status: 1
openvpn[48252]: Exiting
kernel: tun0: closed

u zarizeni tun1 nebo libovolneho jineho je situace stejna. 




More information about the Users-l mailing list