ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2)
  2006-08-31 21:20 [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2) anterior
@ 2006-08-31 16:34 ` Nikolay A. Fetisov
  0 siblings, 0 replies; 2+ messages in thread
From: Nikolay A. Fetisov @ 2006-08-31 16:34 UTC (permalink / raw)
  To: ALT Linux Community

On Friday 01 September 2006 01:20, anterior wrote:
> Чего то у меня все равно не получается :(
> Вот попробовал как вы сказали, потом еще пробовал так:
> 1)файл client.ovpn:
> ..
> dev-node dvb0_0

Попробуйте в client.ovpn поставить вместо 'dev tap'
'dev tun' и убрать строку dev-node.  

-- 
С уважением,
Николай Фетисов


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2)
@ 2006-08-31 21:20 anterior
  2006-08-31 16:34 ` Nikolay A. Fetisov
  0 siblings, 1 reply; 2+ messages in thread
From: anterior @ 2006-08-31 21:20 UTC (permalink / raw)
  To: community

Чего то у меня все равно не получается :(
Вот попробовал как вы сказали, потом еще пробовал так:
1)файл client.ovpn:
..
dev-node dvb0_0
..
2)
# szap -c /etc/channels.conf -n 1 -x
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 e18c | snr 8376 | ber 0000fff0 | unc 00000000 |
status 1f | signal f014 | snr a79a | ber 0000161b | unc 00000000 | FE_HAS_LOCK
# dvbnet -p 4151
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.
# ifconfig dvb0_0 10.250.35.67 netmask 255.255.255.255 broadcast 
255.255.255.255
# ifconfig dvb0_0 hw ether 00:D0:D7:0C:87:A8
# route add 10.250.35.67 dev dvb0_0
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.254.254 *               255.255.255.255 UH    0      0        0 modem1
10.250.35.67    *               255.255.255.255 UH    0      0        0 dvb0_0
loopback        *               255.0.0.0       U     0      0        0 lo
default         192.168.254.254 0.0.0.0         UG    0      0        0 modem1
# ifconfig
dvb0_0    Link encap:Ethernet  HWaddr 00:D0:D7:0C:87:A8
          inet addr:10.250.35.67  Bcast:255.255.255.255  Mask:255.255.255.255
          inet6 addr: fe80::2d0:d7ff:fe0c:87a8/64 Scope:Link
          UP BROADCAST RUNNING NOARP MULTICAST  MTU:4096  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Base address:0x1037

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5968 (5.8 Kb)  TX bytes:5968 (5.8 Kb)

modem1    Link encap:Point-to-Point Protocol
          inet addr:10.252.102.74  P-t-P:192.168.254.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:339 (339.0 b)  TX bytes:222 (222.0 b)

3)..установил соеденение GPRS...
4)
# modprobe tun
# openvpn --config /etc/openvpn/config/client.ovpn
Fri Sep  1 01:12:36 2006 OpenVPN 2.0.5 i686-suse-linux [SSL] [LZO] [EPOLL] 
built on Apr 23 2006
Fri Sep  1 01:12:36 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.
Fri Sep  1 01:12:36 2006 WARNING: file '/etc/openvpn/config/DpRY200_1227.key' 
is group or others accessible
Fri Sep  1 01:12:36 2006 LZO compression initialized
Fri Sep  1 01:12:36 2006 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 
ET:0 EL:0 ]
Fri Sep  1 01:12:36 2006 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 
ET:32 EL:0 AF:3/1 ]
Fri Sep  1 01:12:36 2006 Local Options hash (VER=V4): 'd79ca330'
Fri Sep  1 01:12:36 2006 Expected Remote Options hash (VER=V4): 'f7df56b8'
Fri Sep  1 01:12:36 2006 UDPv4 link local: [undef]
Fri Sep  1 01:12:36 2006 UDPv4 link remote: 80.81.208.66:55460
Fri Sep  1 01:12:40 2006 TLS: Initial packet from 80.81.208.66:55460, 
sid=2d9a5eb8 84019b41
Fri Sep  1 01:12:44 2006 VERIFY OK: 
depth=1, /C=RU/ST=MW/L=MOSCOW/O=RadugaVPN/emailAddress=support@telecom-service.net
Fri Sep  1 01:12:44 2006 VERIFY OK: nsCertType=SERVER
Fri Sep  1 01:12:44 2006 VERIFY OK: 
depth=0, /C=RU/ST=MW/O=RadugaVPN/CN=RadugaVPN/emailAddress=support@telecom-service.net
Fri Sep  1 01:12:52 2006 Data Channel Encrypt: Cipher 'BF-CBC' initialized 
with 128 bit key
Fri Sep  1 01:12:52 2006 Data Channel Encrypt: Using 160 bit message hash 
'SHA1' for HMAC authentication
Fri Sep  1 01:12:52 2006 Data Channel Decrypt: Cipher 'BF-CBC' initialized 
with 128 bit key
Fri Sep  1 01:12:52 2006 Data Channel Decrypt: Using 160 bit message hash 
'SHA1' for HMAC authentication
Fri Sep  1 01:12:52 2006 Control Channel: TLSv1, cipher TLSv1/SSLv3 
DHE-RSA-AES256-SHA, 1024 bit RSA
Fri Sep  1 01:12:52 2006 [RadugaVPN] Peer Connection Initiated with 
80.81.208.66:55460
Fri Sep  1 01:12:53 2006 SENT CONTROL [RadugaVPN]: 'PUSH_REQUEST' (status=1)
Fri Sep  1 01:12:54 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'
Fri Sep  1 01:12:54 2006 OPTIONS IMPORT: timers and/or timeouts modified
Fri Sep  1 01:12:54 2006 OPTIONS IMPORT: --ifconfig/up options modified
Fri Sep  1 01:12:54 2006 OPTIONS IMPORT: route options modified
Fri Sep  1 01:12:54 2006 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option 
options modified
Fri Sep  1 01:12:54 2006 Note: Cannot open TUN/TAP dev dvb0_0: No such file or 
directory (errno=2)
Fri Sep  1 01:12:54 2006 Note: Attempting fallback to kernel 2.2 TUN/TAP 
interface
Fri Sep  1 01:12:54 2006 Cannot open TUN/TAP dev dvb0_0: No such file or 
directory (errno=2)
Fri Sep  1 01:12:54 2006 Exiting

:(((


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-31 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-31 21:20 [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2) anterior
2006-08-31 16:34 ` Nikolay A. Fetisov

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