|
Re: lug-bg: otnosno pppoe
- Subject: Re: lug-bg: otnosno pppoe
- From: Nortalion <nortalion@xxxxxxxxx>
- Date: Wed, 17 Aug 2005 21:33:16 +0300
- Delivered-to: lug-bg-list@xxxxxxxxxxxxxxxxxx
- Delivered-to: lug-bg@xxxxxxxxxxxxxxxxxx
ахахаха
еми тогава:
I.. Requirements:
1. Mrezhovata karta e instalirana i pravilno konfigurirana
2. Iadroto poddyrzha PPP, naprimer
------------- cut --------------------
PPP (point-to-point protocol) support
[*] PPP multilink support (EXPERIMENTAL)
[*] PPP filtering
PPP support for async serial ports
PPP support for sync tty ports
PPP Deflate compression
PPP BSD-Compress compression
PPP over Ethernet (EXPERIMENTAL)
------------ cut --------------------
II. Installation:
1. PPP instalaciata zavisi ot Linux distribuciata. Obiknoveno vyrvi
kato paket ili arhiv. Instalira se v syotvetstvie s ukazaniata
2. Nai-lesnia variant e da se izpolzva rp-pppoe (mozhete da go svalite ot http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-3.5.tar.gz
)
* Execute
------------- cut --------------------
cd \
wget http://www.roaringpenguin.com/penguin/pppoe/rp-pppoe-3.5.tar.gz \
cp rp-pppoe-3.5.tar.gz /usr/local/src \
cd /usr/local/src \
tar zxvf rp-pppoe-3.5.tar.gz \
cd rp-pppoe-3.5 \
./go
------------- cut --------------------
* go e script-che, koeto triabva avtomatichno da konfigurira,
kompilira i instalira rp-pppoe. Nakraia, shte startira configurirashtia
script (adsl-setup). Razbira se mozhe da napravite vsihko rychno.
Syshto taka mozhete da polzvate i go-gui, koeto triabva da svyrshi
syshtoto kato go, samo che za GUI-to.
* malko konfiguracia,
--- open /etc/ppp/pppoe.conf and change the following:
DNSTYPE=SERVER
(Ako niakoi polzva qmail naprimer za zhalost tova niama da mu
svyrshi rabota. Kogato, scripta vzima DNS-ite ot servera promenia
/etc/resolv.conf file-a, kato go pravi da e soft link to
/etc/ppp/resolv.conf. Tova shte spre qmail-a dokato trae Internet
vyrzkata. Reshenieto e da sozhite DNSTYPE=NOCHANGE i rychno da ukazhete
name serverite v /etc/resolv.conf. Mislia, che ima i niakakyv drug
nachin, no na men ne mi e izvesten.)
# Specific desired AC Name
ACNAME=BGMreja
# Specific desired service name
SERVICENAME=BGMreja
LCP_FAILURE=10 (tova mozhe da ne go pipate, mislia po default e 3 ili da si poigraete s nego)
--- open /etc/ppp/pap-secrets i dobavete slednia red:
"username@bgmreja" * "password" 192.168.112.1
ili
"username@bgmreja" * "password" 192.168.120.1
kydeto username i password sa imeto i parolata vi
--- tova triabva da e vsichko, koeto vi e neobhodino.
Vryzkata se puska s
adsl-start
i se spira s
adsl-stop
Mozhe da dobavite scripta pri ostanalite init scripts, za da se
starira pri zarezhdane. Tova syshto zavisi ot distribuciata. Te mozhe
da sa v /etc/rc.d/ ili /etc/init.d kakto i ednoto mozhe da e link kym
drugoto. Ako e RH-like distribucia, chkconfig would be a must.
V obshti linii tova e vsichko. Syobshteniata se log-vat v sistemnia log.
-- Nortalion, young warrior of the Noldor Георги Кехайов мл. ICQ UIN : 202053049
|
|
|