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-09-01 12:12 anterior
  0 siblings, 0 replies; only message in thread
From: anterior @ 2006-09-01 12:12 UTC (permalink / raw)
  To: community

Чего то не получается :( Вот собрал все в кучу как я делал:
1) Спутник Yamal201Ku провайдер Радуга
2) DNS сервера: 80.81.208.66
3) IP моей карты: 10.250.35.67
4) MAC Address: 00:D0:D7:0C:87:A8
5) PID провайдера: 4151
6) Firewall у меня похоже не запущен. Все команды по порядку:
#/sbin/SuSEfirewall2 status
SuSEfirewall2: Warning: ip6tables does not support state matching. Extended 
IPv6 support disabled.
SuSEfirewall2: SuSEfirewall2 not active
# 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 cf1f | snr 7f8f | ber 00004fb0 | unc 00000000 |
status 1f | signal e7e8 | snr 9d4a | ber 0000fff0 | 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.
# lsmod | grep tun
# modprobe tun
# lsmod | grep tun
tun                    10880  0
# ifconfig dvb0_0 10.250.35.67 netmask 255.255.255.255 broadcast
# ifconfig dvb0_0 hw ether 00:D0:D7:0C:87:A8
# route add 10.250.35.67 dev dvb0_0
<..Устанавливаю соеденение GPRS...>
# openvpn --config /etc/openvpn/config/client.ovpn
Fri Sep  1 15:54:32 2006 OpenVPN 2.0.5 i686-suse-linux [SSL] [LZO] [EPOLL] 
built on Apr 23 2006
Fri Sep  1 15:54:32 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 15:54:32 2006 WARNING: file '/etc/openvpn/config/DpRY200_1227.key' 
is group or others accessible
Fri Sep  1 15:54:32 2006 LZO compression initialized
Fri Sep  1 15:54:32 2006 Control Channel MTU parms [ L:1574 D:138 EF:38 EB:0 
ET:0 EL:0 ]
Fri Sep  1 15:54:32 2006 Data Channel MTU parms [ L:1574 D:1450 EF:42 EB:135 
ET:32 EL:0 AF:3/1 ]
Fri Sep  1 15:54:32 2006 Local Options hash (VER=V4): 'd79ca330'
Fri Sep  1 15:54:32 2006 Expected Remote Options hash (VER=V4): 'f7df56b8'
Fri Sep  1 15:54:32 2006 NOTE: UID/GID downgrade will be delayed because of 
--client, --pull, or --up-delay
Fri Sep  1 15:54:32 2006 UDPv4 link local: [undef]
Fri Sep  1 15:54:32 2006 UDPv4 link remote: 80.81.208.66:55460
Fri Sep  1 15:54:37 2006 TLS: Initial packet from 80.81.208.66:55460, 
sid=80a7e37c 76899580
Fri Sep  1 15:54:44 2006 VERIFY OK: 
depth=1, /C=RU/ST=MW/L=MOSCOW/O=RadugaVPN/emailAddress=support@telecom-service.net
Fri Sep  1 15:54:44 2006 VERIFY OK: nsCertType=SERVER
Fri Sep  1 15:54:44 2006 VERIFY OK: 
depth=0, /C=RU/ST=MW/O=RadugaVPN/CN=RadugaVPN/emailAddress=support@telecom-service.net
Fri Sep  1 15:54:51 2006 Data Channel Encrypt: Cipher 'BF-CBC' initialized 
with 128 bit key
Fri Sep  1 15:54:51 2006 Data Channel Encrypt: Using 160 bit message hash 
'SHA1' for HMAC authentication
Fri Sep  1 15:54:51 2006 Data Channel Decrypt: Cipher 'BF-CBC' initialized 
with 128 bit key
Fri Sep  1 15:54:51 2006 Data Channel Decrypt: Using 160 bit message hash 
'SHA1' for HMAC authentication
Fri Sep  1 15:54:51 2006 Control Channel: TLSv1, cipher TLSv1/SSLv3 
DHE-RSA-AES256-SHA, 1024 bit RSA
Fri Sep  1 15:54:51 2006 [RadugaVPN] Peer Connection Initiated with 
80.81.208.66:55460
Fri Sep  1 15:54:53 2006 SENT CONTROL [RadugaVPN]: 'PUSH_REQUEST' (status=1)
Fri Sep  1 15:54: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 15:54:54 2006 OPTIONS IMPORT: timers and/or timeouts modified
Fri Sep  1 15:54:54 2006 OPTIONS IMPORT: --ifconfig/up options modified
Fri Sep  1 15:54:54 2006 OPTIONS IMPORT: route options modified
Fri Sep  1 15:54:54 2006 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option 
options modified
Fri Sep  1 15:54:54 2006 TUN/TAP device tap0 opened
Fri Sep  1 15:54:54 2006 /sbin/ifconfig tap0 10.250.35.67 netmask 
255.255.255.0 mtu 1500 broadcast 10.250.35.255
Fri Sep  1 15:54:54 2006 /sbin/route add -net 80.81.208.66 netmask 
255.255.255.255 gw 192.168.254.254
Fri Sep  1 15:54:54 2006 /sbin/route del -net 0.0.0.0 netmask 0.0.0.0
Fri Sep  1 15:54:54 2006 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 
10.250.35.1
Fri Sep  1 15:54:54 2006 /sbin/route add -net 0.0.0.0 netmask 0.0.0.0 gw 
10.250.35.1
SIOCADDRT: Файл существует
Fri Sep  1 15:54:54 2006 ERROR: Linux route add command failed: shell command 
exited with error status: 7
Fri Sep  1 15:54:54 2006 GID set to nobody
Fri Sep  1 15:54:54 2006 UID set to nobody
Fri Sep  1 15:54:54 2006 Initialization Sequence Completed
# ping 10.250.35.1 -c 3
PING 10.250.35.1 (10.250.35.1) 56(84) bytes of data.
--- 10.250.35.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2009ms
# ping 213.180.204.8 -c 3
PING 213.180.204.8 (213.180.204.8) 56(84) bytes of data.
--- 213.180.204.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2008ms
# ping 80.81.208.34 -c 3
PING 80.81.208.34 (80.81.208.34) 56(84) bytes of data.
--- 80.81.208.34 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2010ms
# ifconfig
dvb0_0    Link encap:Ethernet  HWaddr 00:D0:D7:0C:87:A8
          inet addr:10.250.35.67  Bcast:10.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:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2807 (2.7 Kb)  TX bytes:2807 (2.7 Kb)
modem1    Link encap:Point-to-Point Protocol
          inet addr:10.252.140.132  P-t-P:192.168.254.254  
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:69 errors:0 dropped:0 overruns:0 frame:0
          TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:6296 (6.1 Kb)  TX bytes:8474 (8.2 Kb)
tap0      Link encap:Ethernet  HWaddr 56:23:3A:FA:E4:EC
          inet addr:10.250.35.67  Bcast:10.250.35.255  Mask:255.255.255.0
          inet6 addr: fe80::5423:3aff:fefa:e4ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:252 (252.0 b)  TX bytes:1602 (1.5 Kb)
# route del default
# route add default gw 10.250.35.1
# route del default
# route add default gw 10.250.35.1
# ping 80.81.208.34 -c 3
PING 80.81.208.34 (80.81.208.34) 56(84) bytes of data.
--- 80.81.208.34 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2011ms
# ping 213.180.204.8 -c 3
PING 213.180.204.8 (213.180.204.8) 56(84) bytes of data.
--- 213.180.204.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2013ms
# ping 10.250.35.1 -c 3
PING 10.250.35.1 (10.250.35.1) 56(84) bytes of data.
--- 10.250.35.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2009ms
#ifconfig
dvb0_0    Link encap:Ethernet  HWaddr 00:D0:D7:0C:87:A8
          inet addr:10.250.35.67  Bcast:10.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:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2807 (2.7 Kb)  TX bytes:2807 (2.7 Kb)
modem1    Link encap:Point-to-Point Protocol
          inet addr:10.252.140.132  P-t-P:192.168.254.254  
Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:76 errors:0 dropped:0 overruns:0 frame:0
          TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:6959 (6.7 Kb)  TX bytes:12518 (12.2 Kb)
tap0      Link encap:Ethernet  HWaddr 56:23:3A:FA:E4:EC
          inet addr:10.250.35.67  Bcast:10.250.35.255  Mask:255.255.255.0
          inet6 addr: fe80::5423:3aff:fefa:e4ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:420 (420.0 b)  TX bytes:3832 (3.7 Kb)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-01 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-01 12:12 [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2) anterior

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