[Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2)

Artem Pastukhov =?iso-8859-1?q?past_=CE=C1_yam=2Eru?=
Чт Авг 31 19:00:09 MSD 2006


Похоже он у Вас пытается найти интерфейс с именем Raduga
Попробуйте поигратся с параметром dev-node Raduga


В сообщении от 31 августа 2006 23:42 anterior написал(a):
> Люди пожалуйста помогите настроить спут.инет через OpenVPN over GPRS.
> Провайдер Радуга. Скачал с его сайта необходимые для openvpn ключи(там
> всякие сертификаты вместе с конфигом). Смотрите:
> $cat /etc/openvpn/config/client.ovpn
> client
> dev tap
> dev-node Raduga
> proto udp
> remote 80.81.208.66 55460
> resolv-retry infinite
> nobind
> persist-key
> persist-tun
> ca /etc/openvpn/config/ca.crt
> cert /etc/openvpn/config/DpRY200_1227.crt
> key /etc/openvpn/config/DpRY200_1227.key
> ns-cert-type server
> verb 3
> comp-lzo
>
> Создал скрипт след.содержания:(b2c2)
> DIR=/usr/
> PID=4151
> DEV_NAME=dvb0_0
> IP_ADDR=10.250.35.67
> MAC_ADDR=00:d0:d7:0c:87:a8
> cd $DIR/bin
> case "$1" in
> start)
> $DIR/bin/szap -c /etc/channels.conf -n 1 -x
> $DIR/bin/dvbnet -p $PID
> /sbin/ifconfig $DEV_NAME $IP_ADDR
> /sbin/ifconfig $DEV_NAME hw ether $MAC_ADDR
> echo 0 > /proc/sys/net/ipv4/conf/dvb0_0/rp_filter
> ;;
> stop)
> /sbin/ifconfig $DEV_NAME down
> $DIR/bin/dvbnet -d 0
> ;;
> restart)
> $0 stop
> $0 start
> ;;
> *)
> echo "Usage: `basename $0` start | stop | restart"
> ;;
> esac
>
> Далее:
> # ./b2c2 start
> reading channels from file '/etc/channels.conf'
> zapping to 1 'Raduga':
> sat 0, frequency = 11671 MHz V, symbolrate 12000000, vpid = 0x1fff, apid =
> 0x1fff sid = 0x0005
> using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
> status 03 | signal ea84 | snr 84a2 | ber 00003bc5 | unc 00000000 |
> status 1f | signal f1bb | snr a41c | ber 00001ae5 | unc 00000000 |
> FE_HAS_LOCK DVB Network Interface Manager
> Version 1.1.0-TVF (Build Tue May 02 06:50:29 2006)
> Copyright (C) 2003, TV Files S.p.A
> Device: /dev/dvb/adapter0/net0
> Status: device dvb0_0 for pid 4151 created successfully.
>
> ---Далее соеденяюсь с GPRS Internet с помощью своего телефона по Bluetooth
> используя программу KInternet, далее:
>
>
> # openvpn --config /etc/openvpn/config/client.ovpn
> Thu Aug 31 23:38:17 2006 OpenVPN 2.0.5 i686-suse-linux [SSL] [LZO] [EPOLL]
> built on Apr 23 2006
> Thu Aug 31 23:38:17 2006 IMPORTANT: OpenVPN's default port number is now
> 1194, based on an official port number assignment by IANA.  OpenVPN
> 2.0-beta16 and earlier used 5000 as the default port.
> Thu Aug 31 23:38:17 2006 WARNING: file
> '/etc/openvpn/config/DpRY200_1227.key' is group or others accessible
> Thu Aug 31 23:38:17 2006 LZO compression initialized
> Thu Aug 31 23:38:17 2006 Control Channel MTU parms [ L:1574 D:138 EF:38
> EB:0 ET:0 EL:0 ]
> Thu Aug 31 23:38:17 2006 Data Channel MTU parms [ L:1574 D:1450 EF:42
> EB:135 ET:32 EL:0 AF:3/1 ]
> Thu Aug 31 23:38:17 2006 Local Options hash (VER=V4): 'd79ca330'
> Thu Aug 31 23:38:17 2006 Expected Remote Options hash (VER=V4): 'f7df56b8'
> Thu Aug 31 23:38:17 2006 UDPv4 link local: [undef]
> Thu Aug 31 23:38:17 2006 UDPv4 link remote: 80.81.208.66:55460
> Thu Aug 31 23:38:22 2006 TLS: Initial packet from 80.81.208.66:55460,
> sid=f8bac167 d52c895e
> Thu Aug 31 23:38:31 2006 VERIFY OK:
> depth=1,
> /C=RU/ST=MW/L=MOSCOW/O=RadugaVPN/emailAddress=support на telecom-service.net
> Thu Aug 31 23:38:31 2006 VERIFY OK: nsCertType=SERVER
> Thu Aug 31 23:38:31 2006 VERIFY OK:
> depth=0,
> /C=RU/ST=MW/O=RadugaVPN/CN=RadugaVPN/emailAddress=support на telecom-service.n
>et Thu Aug 31 23:38:39 2006 Data Channel Encrypt: Cipher 'BF-CBC'
> initialized with 128 bit key
> Thu Aug 31 23:38:39 2006 Data Channel Encrypt: Using 160 bit message hash
> 'SHA1' for HMAC authentication
> Thu Aug 31 23:38:39 2006 Data Channel Decrypt: Cipher 'BF-CBC' initialized
> with 128 bit key
> Thu Aug 31 23:38:39 2006 Data Channel Decrypt: Using 160 bit message hash
> 'SHA1' for HMAC authentication
> Thu Aug 31 23:38:39 2006 Control Channel: TLSv1, cipher TLSv1/SSLv3
> DHE-RSA-AES256-SHA, 1024 bit RSA
> Thu Aug 31 23:38:39 2006 [RadugaVPN] Peer Connection Initiated with
> 80.81.208.66:55460
> Thu Aug 31 23:38:40 2006 SENT CONTROL [RadugaVPN]: 'PUSH_REQUEST'
> (status=1) Thu Aug 31 23:38:45 2006 SENT CONTROL [RadugaVPN]:
> 'PUSH_REQUEST' (status=1) Thu Aug 31 23:38:45 2006 PUSH: Received control
> message:
> 'PUSH_REPLY,redirect-gateway,dhcp-option DNS 80.81.208.66,route-gateway
> 10.250.35.1,ping 30,ping-restart 120,route 0.0.0.0 0.0.0.0
> 10.250.35.1,dhcp-option DNS 80.81.208.34,ifconfig 10.250.35.67
> 255.255.255.0' Thu Aug 31 23:38:45 2006 OPTIONS IMPORT: timers and/or
> timeouts modified Thu Aug 31 23:38:45 2006 OPTIONS IMPORT: --ifconfig/up
> options modified Thu Aug 31 23:38:45 2006 OPTIONS IMPORT: route options
> modified
> Thu Aug 31 23:38:45 2006 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option
> options modified
> Thu Aug 31 23:38:45 2006 Note: Cannot open TUN/TAP dev Raduga: No such file
> or directory (errno=2)
> Thu Aug 31 23:38:45 2006 Note: Attempting fallback to kernel 2.2 TUN/TAP
> interface
> Thu Aug 31 23:38:45 2006 Cannot open TUN/TAP dev Raduga: No such file or
> directory (errno=2)
> Thu Aug 31 23:38:45 2006 Exiting
> #
>
> Как это исправить??????????
> _______________________________________________
> Community mailing list
> Community на lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community

-- 
С Уважением, Артем Пастухов
past at yam dot ru



Подробная информация о списке рассылки community