Parakalw bohqeiste me! Problhma me to Internet!

Peter Avgeris pavgeris at usa.net
Tue Apr 21 19:40:11 EEST 1998


Geia kai xara sas synlistobioi!

Eixa janagrapsei kai sth lista prin apo 15-20 peripoy meres gia ena problhma
poy eixa me to satterisma toy diktyoy. Apo tote exw diabasei ola ta sxetika
FAQs, ta HOW-TOs kai to Network addministrator's Guide. Omologw oti einai ola
ejoxws katatopistika. Emaqa tosa polla gia ta diktya poy sigoyra mporw na pw
oti meta apo toso diabasma exw arketa kales gnwseis panw se diktya TCP/IP.
Omws to problhma moy emmenei, kai ayto einai to spasimo.

To problhma moy exei na kanei me to oti molis syndeomai sto internet, to
mhxanhma moy den blepei ton ejw kosmo.

Liga gia thn istoria:
Sto Pentium poy exw eixa egkatasthsei to RedHat 5.0 xwris kanena apolytws
problhma. Egkatesthsa kai to X-Isp toy Dhmhtrh toy Boura kai ebgaina kanonika
sto internet xwris kanena problhma (ayto einai poy me trellainei).
To IP address poy xrhsimopoioysa htane to 195.195.195.1 (an kai lanqasmena, apo
oti katalaba ek twn ysterwn...)
Eixa egkatalleimeno kai ena paliotero PC, ena 486, kai gia na mhn paei xameno,
toy ebala mnhmh kai agorasa 2 kartes Ethernet, tis 3COM 509B Combo, gia na
syndesw ta 2 PCs se topiko diktyo LAN. Etsi edwsa sto men Pentium to IP
195.195.195.1 (opws kai prin, den to allaja), sto de 486 IP 195.195.195.2. Apo
ekeinh akribws th stigmh, xwris na kanw tipote (apolytws tipote) epapsa na
blepw ton ejw kosmo, sto Internet, afoy prospaqoysa epannhleimenws me to X-ISP,
opws dhladh kai prin.
Afoy elaba 2-3 polytima e-mails apo th lista, ws bohqeia, arxiza na diabazw
siga siga ta sxetika FAQs kai HOW-TOs. Diabasa kai to Network Administrator's
Guide apo to LDP (Linux Documentation Project).

Etsi allaja ta IP addresses sto men Pentium apo 195.195.195.1 se 192.168.1.1
kai ston 486 apo 195.195.195.2 se 192.168.1.2, dhladh se 'epitreptes'
dieyqynseis. Shmeiwsh: sto internet bgainw me ton Pentium.
Ebala loipon ston 486 gateway ton Pentium, wste argotera poy qa to ftiajw na
mporw na bgazw kai ton 486 sto Internet mesw toy Pentium. Ayto egine apo to
Control Panel toy RedHat 5. Etsi, otan didw 'route' ston 486 pairnw:



Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        3 eth0
127.0.0.0       *               255.0.0.0       U     0      0        3 lo
default         pa1.pavgeris.gr 0.0.0.0         UG    0      0        0 eth0



Antistoixa, ston Pentium didontas route pairnw:



Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        8 eth0
127.0.0.0       *               255.0.0.0       U     0      0       16 lo



Edw parathrw mia diafora: Enw ston 486 exontas dwsei route moy bgazei to
routing table kai sto telos moy emfanizei to command prompt, ston Pentium
dinontas route moy emfanizei to routing table alla DE MOY BGAZEI KAQOLOY
COMMAND PROMPT. Osa 'Return' kai na patw den ginetai tipote, apla grafei kenes
grammes apo katw, xwris command prompt. Den mporw na katalabw ti ginetai...

Shmaiwsh: O Pentium exei name pa1.pavgeris.gr kai o 486 exei pa2.pavgeris.gr

Mesa sto /etc/resolv.conf exw balei oloys toys Domain Name Servers poy
xrhsimopoiw.

Parathrhsa oti otan syndeomai me to X-ISP sto Internet kai exontas epilejei to
option 'add default route', dinontas 'route' moy emfanizei:


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface


dhladh xwris tipote, en toytois, otan kanw telnet apo ton Pentium ston 486
dexetai to telnet, as mhn einai to 192.168.1.0 sto route mesa. To idio kai gia
to 'localhost', xwris kanena problhma! Alla Internet tzifos!!!

Apo edw kai pera den mporw na synexisw. Exw pia apogohteytei, exw shkesei ta
xeria kai den jerw ti na kanw!
Peite moy sas parakalw apo poio arxeio to RedHat diabazei ta boot up scripts,
wste na ftiajei to routing table. De mporesa na to brw! Einai kapoy mesa sto
/etc/rc.d directory alla den to brhka.

Parakalw bohqhste me!




Arxeio hosts: (KOINO KAI STA 2 MHXANHMATA)

127.0.0.1 localhost localhost.localdomain
192.168.1.1 pa1.pavgeris.gr pa1
192.168.1.2 pa2.pavgeris.gr pa2



Arxeio /etc/resolv.conf:

search pavgeris.gr
nameserver 147.102.222.210
nameserver 195.170.0.2
nameserver 193.92.150.3



Ta routing tables gia to kaqe ena apo ta mhxanhmata sas ta exw dwsei parapanw.

Parakalw bohqeiste me! Xreiazomai th bohqeia sas!
Sas eyxaristw poly ek twn proterwn.

--
+---------------------------+-----------------------------------------+
| Peter D. Avgeris          | Mechanical Engineer (N.T.U.A.)          |
| 26, Saranta Ekklision st. | Tel.: +30 1 9346257  FAX: +30 1 9577997 |
| 171 24                    | Mobile: +30 94 774746                   |
| Athens                    | E-mail : pavgeris at usa.net               |
| GREECE                    | Web: http://members.xoom.com/pavgeris   |
+---------------------------+-----------------------------------------+



--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list