From: "Илья Безлюдный" <nelud@newmail.ru> To: sarlug@lists.lug.ru Subject: Re: [Sarlug] вопрос насчет pppd Date: Fri, 26 Oct 2007 17:15:38 +0400 Message-ID: <20071026171538.2707fb0f@tux.homenetwork> (raw) In-Reply-To: <4721A779.401@mail.ru> На некоторых модемах можно сделать сразу два соединения. Конкретно про твой зухель не знаю. Если же нельзя, то в общем случае переключаешь модем в режим bridge. Потом, пишешь в /etc/conf.d/net примерно следующее: config_ppp0=( "ppp" ) link_ppp0="eth0" plugins_ppp0=( "pppoe" ) username_ppp0="username_for_full_internet" pppd_ppp0=( "defaultroute" "usepeerdns" "debug" "updetach" ) config_ppp1=( "ppp" ) link_ppp1="eth0" plugins_ppp1=( "pppoe" ) username_ppp1= * pppd_ppp1=( "debug" "updetach" ) routes_ppp1=( "88.147.128.0/17" "213.24.0.0/16" "195.161.0.0/16" "213.177.98.180/32" "212.193.32.0/20" "82.116.44.0/22" "64.12.0.0/16" "205.188.0.0/16" ) Адреса для статических маршрутов я взял отсюда http://boxiki.igni.ru/Nets и ещё нарыл в http://www.ripn.net:8080/nic/whois/ поиском по слову san и по некоторым адресам, на которые я натыкался как принадлежащие сети ФОС. Пароли пишешь в /etc/ppp/pap-secrets примерно так: "username_for_full_internet" * "password1" "username_for_FOS" * "password2" Далее, делаешь в /etc/init.d симлинки соответствующие интерфейсам ppp0 и ppp1: # cd /etc/init.d # ln -s net.lo net.ppp0 # ln -s net.lo net.ppp1 Добавляешь их инициализацию в автозапуск: # rc-update add net.ppp0 default # rc-update add net.ppp1 default или/и запускаешь руками: # /etc/init.d/net.ppp0 start # /etc/init.d/net.ppp1 start Вроде ничего не упустил :-)
next prev parent reply other threads:[~2007-10-26 13:15 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-10-26 8:38 linderoxxx 2007-10-26 9:52 ` Paul P Komkoff Jr 2007-10-26 13:15 ` Илья Безлюдный [this message] 2007-11-07 14:32 ` linderoxxx
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=20071026171538.2707fb0f@tux.homenetwork \ --to=nelud@newmail.ru \ --cc=sarlug@lists.lug.ru \ /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
Saratov Linux User Group This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sarlug/0 sarlug/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 sarlug sarlug/ http://lore.altlinux.org/sarlug \ sarlug@lists.lug.ru sarlug@lug.ru public-inbox-index sarlug Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sarlug AGPL code for this site: git clone https://public-inbox.org/public-inbox.git