ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Nikolay A. Fetisov" <naf@naf.net.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] Спутниковый интернет. Ошибка - Cannot open TUN/TAP dev Raduga: No such file or directory (errno=2)
Date: Fri, 1 Sep 2006 07:54:11 +0400
Message-ID: <200609010754.18573.naf@naf.net.ru> (raw)
In-Reply-To: <200609011205.19763.anterior@inbox.ru>

On Friday 01 September 2006 12:05, anterior wrote:
> Добился очередного прогресса, но судя по всему данные
> принимать она так и не хочет.
Ну почему? Похоже, что хочет.

> $cat /etc/openvpn/config/client.ovpn
> ...
В client.ovpn для порядка добавьте что-нибудь типа
user nobody
group nobody


Не очень нравится вот этот кусок:
> ...
> Fri Sep  1 11:56:17 2006 /sbin/route del -net 0.0.0.0 netmask
> 0.0.0.0 Fri Sep  1 11:56:17 2006 /sbin/route add -net 0.0.0.0
> netmask 0.0.0.0 gw 10.250.35.1
> Fri Sep  1 11:56:17 2006 /sbin/route add -net 0.0.0.0 netmask
> 0.0.0.0 gw 10.250.35.1
> SIOCADDRT: Файл существует
> Fri Sep  1 11:56:17 2006 ERROR: Linux route add command
> failed: shell command exited with error status: 7

Т.е. OpenVPN зачем-то два раза пытается установить маршрут по 
умолчанию. С другой стороны, судя по выводу route, всё-таки 
устанавливает.

> Вот. В другом окне делаю:
> # /sbin/route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric
> Ref    Use Iface <...долго думая...>
'route -n' будет работать намного быстрее.

> ...

> # ping ya.ru
> <..долго думая..>
> ping: unknown host ya.ru

На данный момент - скорее всего, не работает разрешение имён 
DNS. 
Попробуйте:
ping 10.250.35.1   (это на Ваш default gateway)
ping 213.180.204.8   (это yandex.ru)
ping 80.81.208.34   (это то, что провайдер выдаёт OpenVPN как
                              сервер DNS).

Если как минимум первые два пройдут, то можно считать, что канал 
поднялся. Далее смотреть на /etc/resolv.conf , может быть, 
вручную прописать там серверы DNS. 

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


      reply	other threads:[~2006-09-01  3:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-01  8:05 anterior
2006-09-01  3:54 ` Nikolay A. Fetisov [this message]

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=200609010754.18573.naf@naf.net.ru \
    --to=naf@naf.net.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