From: "Nick S. Grechukh" <gns@altlinux.ru> To: "ALT Linux Sisyphus discussion list" <sisyphus@lists.altlinux.org> Subject: [sisyphus] [FAQ] ukrtelekom ADSL gateway mini-howto Date: Wed, 28 Feb 2007 15:49:20 +0300 Message-ID: <a4ab440f0702280449j487572ael3081de8d2e9be9e4@mail.gmail.com> (raw) добрый день! может, кому-то пригодится. на параметр PPPOE_EXTRA_OPTIONS я убил три дня, пытаясь понять, почему gmail открывается, а livejournal нет :]] пользоваться скриптами из rp-pppoe-client не захотел по соображениям "etcnet рулит". [root@router ~]# cd /etc/net/ifaces/ppp0 [root@router ppp0]# cat /etc/net/iftab adsl mac 00:4F:49:02:D7:E5 dmz mac 00:4f:49:02:f1:0a office mac 00:4f:49:02:98:0e [root@router ppp0]# cat options PPPTYPE=pppoe HOST=adsl PPPPERSIST=on PPPMAXFAIL=0 ONBOOT=yes PPPOE_EXTRA_OPTIONS="-m 1412" [root@router ppp0]# cat pppoptions debug noipdefault default-asyncmap defaultroute hide-password mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user adsl_user@dsl.ukrtel.net lcp-echo-interval 3 lcp-echo-failure 10 persist maxfail 0 [root@router ppp0]# cat fw/iptables/nat/POSTROUTING masquerade if to-iface ppp0 (остальной файрвол у меня приделан к внутреннему интерфейсу) и записываем в : [root@router ppp0]# cd /etc/ppp/ [root@router ppp]# cat chap-secrets "mylogin@dsl.ukrtel.net" * "mypassword" [root@router ppp]# cat pap-secrets "mylogin@dsl.ukrtel.net" * "mypassword" на этом все :)
reply other threads:[~2007-02-28 12:49 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=a4ab440f0702280449j487572ael3081de8d2e9be9e4@mail.gmail.com \ --to=gns@altlinux.ru \ --cc=sisyphus@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 Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git