From: Alexandr Petukhov <endymion-79@mail.ru> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: [Comm] ALTD 4.0 и pppd Date: Tue, 18 Sep 2007 12:12:58 +0400 Message-ID: <46EF888A.6050401@mail.ru> (raw) Здраствуйте, проблема такая: при загрузке компьютера автоматом поднимается локальная сеть, а для поднятия VPN каждый раз тебуется говорить: ip r d default ip r a (ip VPN'а) via (основной шлюз) pppd call southtel где southtel это скрипт положенный в /etc/ppp/peers следующего содержания: name логин remotename southtel debug lock noauth nobsdcomp nodeflate defaultroute updetach noproxyarp pty "/usr/sbin/pptp (ip VPN'а) --nolaunchpppd Попробовал создать в /usr/local/bin/ скрипт: #!/bin/sh ip r d default ip r a (ip VPN'а) via (основной шлюз) pppd call southtel и сделал на рабочий стол иконку с (сылкой на приложение) этого скрипта, но увы- не работает. Подскажите как сделать- чтоб кликнул мышой и VPN поднялся? И как можно разорвать VPN соединение не покидая локальной сети? А то "killall pppd" уж как-то совсем грубо :-) . С уважением, Александр.
next reply other threads:[~2007-09-18 8:12 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-09-18 8:12 Alexandr Petukhov [this message] 2007-09-18 8:57 ` Alexei V. Mezin
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=46EF888A.6050401@mail.ru \ --to=endymion-79@mail.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