Difference between revisions of "PPPoE"
From Ilianko
Line 30: | Line 30: | ||
За да видите състоянието: | За да видите състоянието: | ||
pppoe-status | pppoe-status | ||
+ | |||
+ | <code><pre> | ||
+ | root@pppoe:/var/tmp# cd /etc/ppp | ||
+ | root@pppoe:/etc/ppp# ls | ||
+ | chap-secrets ip-down.d options pppoe.conf-bak | ||
+ | chap-secrets-bak ip-up pap-secrets pppoe_on_boot | ||
+ | firewall-masq ip-up.d pap-secrets-bak pppoe-server-options | ||
+ | firewall-masq-3.10 ipv6-down peers pppoe-server-options-example | ||
+ | firewall-standalone ipv6-down.d plugins pppoe-up | ||
+ | firewall-standalone-3.10 ipv6-up pppoe.conf resolv | ||
+ | ip-down ipv6-up.d pppoe.conf-3.10 | ||
+ | root@pppoe:/etc/ppp# | ||
+ | |||
+ | </pre></code> |
Revision as of 15:59, 15 July 2013
PPPoE Server Setup: Operating System: Ubuntu Desktop(8.04)
Installation of Softwares
Server Side
- Компилатор
apt-get install build-essential
- ppp
apt-get install ppp
- pppoe
apt-get install pppoe
- rp-pppoe, RP PPPoE може да се свали от http://www.roaringpenguin.com/files/download/rp-pppoe-3.11.tar.gz (да се провери актуалната версия)
wget http://www.roaringpenguin.com/files/download/rp-pppoe-3.11.tar.gz tar -xf rp-pppoe-3.11.tar.gz cd rp-pppoe-3.11 ./go
go e бърз скрипт за конфигуриране. Въведете исканата информация. В края трябва да види:
- "Congratulations, it should be all set up!"
За да стартирате сървъра изпълнете:
pppoe-start
За да го спрете"
pppoe-stop
За да видите състоянието:
pppoe-status
root@pppoe:/var/tmp# cd /etc/ppp
root@pppoe:/etc/ppp# ls
chap-secrets ip-down.d options pppoe.conf-bak
chap-secrets-bak ip-up pap-secrets pppoe_on_boot
firewall-masq ip-up.d pap-secrets-bak pppoe-server-options
firewall-masq-3.10 ipv6-down peers pppoe-server-options-example
firewall-standalone ipv6-down.d plugins pppoe-up
firewall-standalone-3.10 ipv6-up pppoe.conf resolv
ip-down ipv6-up.d pppoe.conf-3.10
root@pppoe:/etc/ppp#