ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: anterior <anterior@inbox.ru>
To: community@lists.altlinux.org
Subject: [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2)
Date: Thu, 31 Aug 2006 23:42:16 +0400
Message-ID: <200608312342.16659.anterior@inbox.ru> (raw)

Люди пожалуйста помогите настроить спут.инет через 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.net
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
#

Как это исправить??????????


             reply	other threads:[~2006-08-31 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-31 19:42 anterior [this message]
2006-08-31 15:00 ` Artem Pastukhov
2006-08-31 15:08 ` Nikolay A. Fetisov
2006-09-01  5:57 ` Мажурин Игорь

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200608312342.16659.anterior@inbox.ru \
    --to=anterior@inbox.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git