Oi nees ekdoseis toy pppd PPP daimona gia to Linux exoyn yposthrijh poy sas
epitrepei na metaferete IPX paketa mesw mias seiriakhs sundeshs PPP. Xreiazeste toylaxiston thn ekdosh ppp-2.2.0d
toy daimona. Deite to
PPP-HOWTO
gia leptomereies sxetikes me to poy 8a to breite. Otan metaglwttizete to pppd prepei na sigoyrecete oti energopoihsate thn yposthrijh IPX pros8etontas tis dyo akoloy8es grammes:
IPX_CHANGE = 1
USE_MS_DNS = 1
sto arxeio : /usr/src/linux/pppd-2.2.0f/pppd/Makefile.linux
.
To IPX_CHANGE
einai o,ti ry8mizei h yposthrijh IPX sto PPP.
To USE_MS_DNS
epitrepei se mhxanes me Microsoft Windows95 na kanoyn
Name Lookups.
To pragmatiko kolpo gia na to kanoyme na doylecei einai na gnwrizoyme pws na to ry8misoyme.
Yparxoyn polloi tropoi na to kanoyme ayto, alla 8a perigracw mono ta dyo gia ta opoia exw parei plhrofories. Den exw dokimasei kanenan apo toys duo akomh, gi' ayto 8ewrhste ayto to stadio peiramatiko, kai an leitoyrghsei kati, parakalw enhmerwste me.
To prwto pragma poy prepei na kanete einai na ry8misete to Linux mhxanhma san ena IP/PPP diakomisth. Mhn panikoballeste! Den einai duskolo. Akoloy8eiste pali tis odhgies sto PPP-HOWTO kai de 8a exete problhma. 1/4tan teleiwsete me ayto, yparxoyn orismenes aples tropopoihseis poy prepei na kanete gia na leitoyrghsei to IPX panw sthn idia ru8mish.
Ena apo ta prwta bhmata poy prepei na akoloy8hsete einai na ry8misete to Linux mhxanhma san IPX dromologhth (router) opws perigrafthke sto katallhlo tmhma nwritera se ayto to keimeno.
Den einai anagkh na xrhsimopoihsete th entolh ipx_route gia to ppp
interface giati to pppd 8a ta ry8misei ayta gia sas opws kanei kai gia to IP. Otan trexei o ipxd daimonas, anixneuei aytomata ka8e neo IPX interface kai metabibazei tis diadromes toys. Me ayto to tropo ta dialup hosts 8a fainontai
apo alla mhxanhmata aytomata me th sundesh toys.
Otan trexete sa diakomisths, logika 8a einai dikh sas ey8unh na dwsete diey8unseis diktuoy se ka8e PPP edraiwmenh sundesh. Ayto einai ena shmantiko shmeio, ka8e PPP sundesh 8a einai ena IPX diktyo kai 8a exei mia monadikh dieu8ynsh diktuoy IPX. Ayto shmainei oti prepei na apofasisete pws 8a dianeimete tis diey8unseis kai poies 8a einai. Enas aplos tropos einai na dianeimete mia dieu8ynsh toy IPX diktuoy se ka8e seiriakh syskeyh poy 8a yposthrizei IPX/PPP. Mporeite na dianeimete diey8unseis toy IPX diktuoy me bash to login id toy syndedemenoy xrhsth, alla de blepw kapoion idiaitera kalo logo gia na to kanw ayto.
Ypo8etw oti ayto einai ayto poy exete kanei, kai oti 8a xrhsimopoihsoyme dyo seiriakes syskeyes (modems). Oi diey8unseis poy exw 8esei sto paradeigma einai:
Syskeyh Dieu8ynsh Diktuoy IPX
------ ---------------------
ttyS0 0xABCDEF00
ttyS1 0xABCDEF01
Ry8miste to arxeio /etc/ppp/options.ttyS0
opws akoloy8ei:
ipx-network 0xABCDEF00
ipx-node 2:0
ipxcp-accept-remote
kai to arxeio /etc/ppp/options.ttyS1
ws ejhs :
ipx-network 0xABCDEF01
ipx-node 3:0
ipxcp-accept-remote
Ayta 8a zhthsoyn apo to pppd na dia8esei sth sundesh tis katallhles diey8unseis toy IPX diktuoy otan h sundesh exei edraiw8ei, na 8esei ton ari8mo toy topikou komboy sto 2
h 3
kai 8a afhsoyn ton apomakrysmeno kombo (remote node) na gracei apo panw oti nomizei. Shmeiwste oti ka8e dieu8ynsh einai
dekaejadikos ari8mos kai oti to 0x
einai aparaithto sth arxh ths dieu8ynshs toy
diktuoy, alla den apaiteitai sth arxh ths dieu8ynshs toy komboy.
Yparxoyn alla merh opoy aytes oi plhrofories mporoun na ry8mistoun. An exete mono ena
dialin modem tote mia eggrafh (entry) mporei na paei sto arxeio /etc/ppp/options
.
Enallaktika aytes oi plhrofories mporoun na perasoyn sth grammh entolwn toy pppd.
Gia na elegjete th ru8mish 8a xreiasteite mia ru8mish pelath (client) poy na jerete oti doyleuei sigoyra. Otan kapoios kalei, syndeetai (logs in) kai to pppd jekina, 8a dia8esei th dieu8ynsh toy diktuoy, 8a symboyleusei ton pelath toy ari8mou toy komboy toy diakomisth (server node number) kai 8a diapragmateytei ton ari8mo toy komboy toy pelath. Otan ayto exei teleiwsei, kai afou to ipxd exei anixneusei to neo interface o pelaths 8a prepei na mporei na edraiwsei IPX syndeseis sta apomakrysmena hosts.
Se mia ru8mish pelath, to an 8a ry8misete to Linux mhxanhma sas san ena IPX dromologhth h oxi ejartatai apo to an exete ena topiko LAN poy epi8ymeite na symperiferetai san enas IPX dromologhths gi' ayto. An exete ena standalone mhxanhma poy syndeetai me ena IPX/PPP dialin server tote den xreiazeste na trejete to ipxd, alla an exete ena LAN kai epi8ymeite ola ta mhxanhmata sto LAN na xrhsimopoioun ton dromologhth IPX/PPP, tote prepei na ry8misete kai na trejete to ipxd opws perigracame. Ayth h ru8mish einai polu aplousterh giati den exete na ry8misete pollaples seiriakes syskeyes.
H aplousterh ru8mish einai ayth poy epitrepei sto diakomisth na parexei oles tis plhrofories ru8mishs diktuoy IPX. Ayth h ru8mish 8a einai symbath me th ru8mish toy diakomisth poy perigrafhke parapanw.
Pali prepei na pros8esete merikes epiloges sto arxeio /etc/ppp/options
,
poy einai:
ipxcp-accept-network
ipxcp-accept-remote
ipxcp-accept-local
Aytes oi epiloges lene sto pppd na symperiferetai teleiws pa8htika
kai na dexetai apo to diakomisth oles tis leptomereies ru8mishs. 8a mporousate na
parexete edw default times gia toys servers poy den parexoyn leptomereies, pros8etontas tis eggrafes (entries) gia ta ipx-network
kai ipx-node
paromoia me to ru8mish toy diakomisth.
Gia na testarete ton pelath 8a xreiastei na kalesete ena diakomisth poy gnwrizete oti doyleuei.
Afou ton exete kalesei kai to pppd trexei 8a prepei na blepete tis IPX leptomereies poy ry8misthkan sth syskeyh ppp0
otan trexete th entolh ifconfig kai 8a prepei na mporeite na xrhsimopoieite thn ncpmount.
Den eimai sigoyros gia to an 8a prepei na pros8esete h oxi xeirokinhta tis IPX diadromes etsi wste na ftanete ton apomakrysmeno fileserver. Einai polu pi8ano. An kapoios poy exei ayth th ru8mish mporei na moy pei, 8a hmoyn eygnwmwn.