* [sisyphus] [FAQ] ukrtelekom ADSL gateway mini-howto
@ 2007-02-28 12:49 Nick S. Grechukh
0 siblings, 0 replies; only message in thread
From: Nick S. Grechukh @ 2007-02-28 12:49 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
добрый день!
может, кому-то пригодится. на параметр 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"
на этом все :)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-02-28 12:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-28 12:49 [sisyphus] [FAQ] ukrtelekom ADSL gateway mini-howto Nick S. Grechukh
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