Next Previous Contents

4. Sundesh me ton Linux Server

Parakalw anatrejte sto diagramma poy yparxei sto kefalaio Eisagwgh gia to sxhma diey8unsewn poy xrhsimopoieite. O Sta8mos Ergasias 1 (W/S1) brisketai sto 172.16.0.0 kai mporei na prospelasei ton Linux server ap' ey8eias enw o Sta8mos Ergasias 2 (W/S2) brisketai sto 172.17.0.0 kai xreiazetai thn xrhsh pulhs (gateway) (router) 172.17.0.254 gia na prospelasei to Linux box. Aytes oi plhrofories gia thn pulh (gateway) xreiazetai na parexontai kata thn ru8mish twn clients mono sto W/S2. To Netware anaferei thn pulh san 'ip_router'.

Xrhsimopoiw to W/S2 gia na dieykrinisw tis ry8miseis toy client. Gia na ry8misete to W/S1 allajte thn dieu8ynsh 172.17.0.5 se 172.16.0.5 kai agnohste oles tis anafores se pules/dromologhtes (gateway/router).

Ean den exete router mporeite na phdhjete to epomeno tmhma kai na proxwrhsete se

4.1 Ru8mish toy Linux server

Mporeite na phdhjete ayto to tmhma an den exete router.

Prepei na ry8misete ton Linux server na anagnwrizei ton router epitrepontas to sta8mo ergasias 2 na synde8ei ston Web server. Gia na ry8misete ton Linux server prepei na mpeite san root. Sth grammh entolhs toy server plhktrologhste:

   route add gw default 172.16.0.254
Gia na xrhsimopoieite ayth thn pulh (gateway) ka8e fora poy epanekkineite ton Linux server anoijte to arxeio /etc/rc.d/rc.inet1 kai allajte thn grammh poy periexei ton orismo ths gateway se GATEWAY = "172.16.0.254". Sigoyreyteite oti h grammh h opoia pros8etei to gateway den einai se sxolia.

ENALLAKTIKA: Mporeite na pros8esete routes sta diktya apo thn allh meria toy router. Ayto ginetai ws ejhs

   route add -net 172.17.0.0 gw 172.16.0.254
Gia na ginetai ayto aytomata ka8e fora poy kanete epanekkinhsh toy Linux pros8este thn parapanw entolh sto arxeio /etc/rc.d/rc.local.

4.2 Ru8mish toy Netware server

Gia na ry8misete ton Netware server prepei na exete dikaiwmata Supervisor h toylaxiston dikaiwmata Console operator . An ayto den einai dynaton, rwthste ton Administrator toy diktuoy gia na sas boh8hsei me tis ry8miseis. Ston Server energopoihste to Ethernet_II frame sto LAN, plhktrologwntas tis parakatw entoles h symperilabete aytes sto arxeio AUTOEXEC.ncf .

   load NE2000 frame=Ethernet_II name=IPNET
   load TCPIP
   bind IP to IPNET addr=172.16.0.2 mask=FF.FF.FF.0

Isws xreiastei na ka8orisete to slot h to board number ka8ws fortwnetai o NE2000 driver, ejartatai apo tis ry8miseis toy mhxanhmatos sas. (p.x.: load NE2000 slot=3 frame=.....)

4.3 Ry8mizontas ton Netware Client

Sto PC exete na epilejete metaju twn Win3.1,WFWG h Win95. H diadikasia egkatastashs diaferei anamesa se Win95 kai sta palaiotera windows, an xrhsimopoieite ton 32mpito client ths Microsoft h ths Novell. An prokeitai na xrhsimopoihsete ton 16mpito client, h diadikasia einai h idia kai mporeite na anafer8eite stis odhgies egkatastashs twn Windows 3.x . Gia na egkatasthsete ton 32mpito client gia ta Win95 phgainete kat' ey8eian sto Egkatastash twn Windows 95.

Windows 3.x

An xrhsimopoieite Win3.1 h WFWG mporeite na egkatasthsete ton Netware Client (VLMs) kai orismena epipleon arxeia poy parexontai me thn disketa toy TCP/IP, onomati

TCPIP.exe, VTCPIP.386, WINSOCK.dll and WLIBSOCK.dll

prosejte oti to arxeio WINSOCK.dll diaferei apo ayta poy parexontai apo ta Win95 kai to Trumpet. Egkatasthste to Netware Client me yposthrijh gia windows. Antigracte ta VTCPIP.386, WINSOCK.dll kai WLIBSOCK.dll ston katalogo SYSTEM, kai to TCPIP.exe ston katalogo NWCLIENT. Twra tropopoihste to arxeio STARTNET.bat ston katalogo NWCLIENT se

   lsl
   ne2000     ---> o driver ths kartes diktuoy
   c:\windows\odihlp.exe     ---->An xrhsimopoieite WFWG
   ipxodi
   tcpip        ---> Pros8este ayth thn grammh
   nwip         ---> An xrhsimopoieite Netware/IP
   vlm

Dhmioyrghste enan ypo-katalogo (estw) \NET\TCP kai antigracte ta arxeia HOSTS, NETWORKS, PROTOCOLS kai SERVICES apo /etc ston Linux server h ston katalogo SYS:ETC ston Netware server. Anoijte to antigrammeno arxeio HOSTS gia na pros8esete thn grammh gia ton neo Linux server sas. Ayto 8a sas epitrepei na anafereste ston Linux server sas, san http://linux.mydomain/ antihttp://172.16.0.1/ston WWW browser

   127.0.0.1      localhost
   172.16.0.1      linux.mydomain

Dior8wste to arxeio NET.cfg ston katalogo NWCLIENT

   Link Driver NE2000
       port 300
       int 3
       MEM D0000
       FRAME Ethernet_802.2

; ---- Pros8este aytes tis grammes ----

      FRAME Ethernet_II

   Protocol TCPIP
      PATH TCP_CFG C:\NET\TCP
      ip_address  172.17.0.5
      ip_netmask  255.255.255.0
      ip_router   172.17.0.254     ---> add the address of your gateway only
                                  ---> if you have to use this
                                  ---> gateway to reach your HTTP server

   Link Support
      MemPool 6192       ---> the minimum is 1024. Try with different values
      Buffers 10 1580    ---> this again can be fine tuned

;---------------------------------
; You may need to add lines like these if you are using Netware/IP
;
   NWIP
      NWIP_DOMAIN_NAME  mydomain
      NSQ_BROADCAST   ON
      NWIP1_1 COMPATIBILITY   OFF
      AUTORETRIES     1
      AUTORETRY SECS  10

Dior8wste to arxeio SYSTEM.ini ston katalogo WINDOWS kai pros8este to ejhs gia to VTCPIP.386
   [386Enh]
   .....
   network=*vnetbios, vipx.386, vnetware.386, VTCPIP.386
   .....

Epanekkinhste to PC, trejte to STARTNET.bat kai twra pleon mporeite na anoijete ton agaphmeno sas WWW browser gia na deite tis Web selides sas. De xreiazetai na mpeite sto Netware kai de xreiazetai na trejete to TCPMAN (an xrhsimopoieite Trumpet Winsock).

Windows 95

To tmhma ayto ejhgei pws na egkatasthsete ton 32mpito client sta Win95. Prwta prepei na egkatasthsete ta akoloy8a.

   Client for Netware Networks (apo thn Microsoft h thn Novell)
   Microsoft TCP/IP Protocol
   Network Adapter

Gia na egkatasthsete ta parapanw, klikarete sto My Computer, Control Panel, Networks. Pathste to Add. 8a prepei twra na eisaste se ena para8yro poy apeikonizei Client, Adapter, Protocol kai Service. Gia na egkatasthsete ton Client gia Diktya Netware:

  1. Diploklikarete ston Client
  2. Klikarete sto Microsoft h Novell
  3. Diploklikarete ston Client gia Diktya Netware

Gia na egkatasthsete to prwtokollo TCP/IP:

  1. Diploklikarete sto Protocol
  2. Klikarete sto Microsoft
  3. Diploklikarete sto TCP/IP

Ta Windows95 8a egkatasthsoyn aytomata kai orismena alla prwtokolla. Apomakrunete ta, klikarontas panw s'ayta kai sthn synexeia patwntas me to pontiki to koympi remove. Kanonika ta Win95 egka8istoun to prwtokollo Microsoft NetBeui, kai to symbato me IPX/SPX prwtokollo. Mporeite na sbhsete to prwtokollo NetBEUI, alla 8a xreiasteite to prwtokollo IPX/SPX, an 8elete na mpainete ston Netware Server.

Gia na ry8misete to TCP/IP klikarete sto TCP/IP, klikarete sto Properties kai sth selida IP address

  Balte thn dikh sas dieu8ynsh IP sto "Specify an IP address "
                        box as 172.17.0.5
  Sth grammh Subnet Mask balte 255.255.255.0
Epilejte to tab Gateway
  Balte thn dieu8ynsh toy gateway (router) sto koytaki New gateway
     san 172.17.0.254
  Klikarete sto koympi Add
H dieu8ynsh toy gateway prepei twra na emfanizetai katw apo ta hdh egkatesthmena gateways. Pathste OK.

8a parete ena mhnyma gia epanekkinhsh toy ypologisth sas. Kante to.8a mporeite pleon na xrhsimopoihsete enan Browser gia na synde8eite ston HTTP Server.

4.4 Ru8mish Microsoft Client

An xrhsimopoieite Microsoft Client gia prosbash sto diktyo sas, tote ayth h enothta perigrafei to pws 8a egkatasthsete to TCP/IP

Shmeiwsh: Gia na mporeite na anafereste ston Linux server san http://linux.mydomain/ antihttp://172.16.0.1/ se enan WWW browser kai se oles tis entoles toy intranet prepei na dior8wsete to arxeio hosts. Mporeite epishs na pros8esete panw apo mia eggrafes gia ka8e ena apo ta alla hosts sas (Netware, Unix, WinNT). H oikogeneia twn Windows krataei ta arxeia HOSTS ston katalogo \WINDOWS h sto \WINDOWS\SYSTEManaloga me thn ekdosh. Dior8wste to arxeio ayto kai pros8este mia grammh gia ton Linux server sas, opws:
   127.0.0.1      localhost
   172.16.0.1     linux.mydomain

   172.16.0.2     netware.mydomain
   172.16.0.3     winNT.mydomain
   172.16.0.5     ws_1

Windows gia Workgroups

H enothta ayth ejhgei pws na egkatasthsete ton 32mpito client se WFWG. Prwta prepei na katebasete toys odhgous TCP/IP gia Windows apo thn Microsoft. H version 3.11b einai dia8esimh sto ftp://ftp.microsoft.com h se alla site ws tcp32b.exe. Sigoyreyteite oti exete fortwsei taWin32s prin prospa8hsete na fortwsete ton TCP/IP-32mpito odhgo.

Exontas aposympiesei ta arxeia toy TCP/IP se enan proswrino katalogo (as poume C:\TEMP), elegjte ton katalogo \WINDOWS\SYSTEM gia antigrafa toy OEMSETUP.INF. An yparxei kapoio, metonomaste to. Twra antigracte to arxeio OEMSETUP.INF apo ton katalogo TEMP ston katalogo \WINDOWS\SYSTEM. An exete fortwsei ki alla TCP/IP stacks sto susthma sas, sbhste ta prin proxwrhsete.

Ekkinhsh toy Network Setup h toy Windows Setup/Change Network Settings

    Pathste to koympi Networks
    Pathste to Install Microsoft Windows Network.
      Dialejte yposthrijh gia epipleon diktya (An apaiteitai)
    Click OK
Prepei na sas zhth8ei network adapter - Dialejte ton katallhlo. An den sas zhth8ei:
     Click sto Adapter button
         Dialejte adapter (p.x: NE2000)
         Click OK
     Click sto Protocol button
         dialejte to MS TCP/IP-32 protocol
         click OK
Twra 8a sas zhth8ei na ry8misete to TCP/IP protocol stack. Mporeite panta na allajete thn ru8mish sas epilegontas me aplo click sto TCP/IP protocol poy fainetai sto koytaki Adapters kai kanontas click sto koympi Setup.
   Sto IP address box balte 172.17.0.5
   Sto Subnet Mask box balte 255.255.255.0
   Balte thn dieu8ynsh toy gateway (router) sto koytaki me ta gateway
     san 172.17.0.254
Pathste OK.8a sas zhth8ei na epanekkinhsete ton ypologisth sas. Kante to. 8a prepei pleon na mporeite na xrhsimopoihsete enan Browser gia na synde8eite ston HTTP Server.

Windows 95

H enothta ayth ejhgei pws na egkatasthsete ton 32bit client ths Microsoft gia Win95. Prwta prepei na egkatasthsete ta parakatw:

   Client gia Microsoft Networks
   Microsoft TCP/IP Protocol
   Network Adapter

Gia na egkatasthsete ta parapanw, kante click sto My Computer, Control Panel, Networks. Klikarete to koympi Add. Eisaste twra se ena para8yro poy deixnei tis epiloges Client, Adapter, Protocol kai Service. Gia na egkatasthsete ton Client gia Microsoft Networks:

  1. Diploklikarete ston Client
  2. Klikarete sto Microsoft
  3. Diploklikarete ston Client gia Microsoft Networks

Gia na egkatasthsete to Prwtokollo TCP/IP :

  1. Diploklikarete sto Protocol
  2. Klikarete sto Microsoft
  3. Diploklikarete sto TCP/IP

Ta Windows 95 egka8istoun aytomata diafora prwtokolla.Sbhste ta kanontas click s'ayta kai kanontas click sto koympi Remove. Kanonika ta Win95 egka8istoun to prwtokollo Microsoft NetBeui.

Gia na egkatasthsete to TCP/IP kante click sto TCP/IP, sto Properties kai sthn synexeia sto tab IP address

  Balte to diko sas IP address sto "Specify an IP address "
                        koytaki san 172.17.0.5
  Sto Subnet Mask box balte 255.255.255.0
Epilejte to tab Gateway
  Balte thn dieu8ynsh toy gateway (router) sto koytaki New gateway
     san 172.17.0.254
  Klikarete sto koympi Add
H dieu8ynsh toy gateway 8a prepei twra na emfanizetai sta hdh egkatesthmena gateways box. Klikarete sto OK.

8a sas zhth8ei na epanekkinhsete ton ypologisth sas. Kante to.8a prepei pleon na mporeite na xrhsimopoihsete enan Browser gia na synde8eite ston HTTP Server.

Windows NT

H enothta ayth perilambanei leptomereies gia to pws na egkatasthsete tonTCP/IP client gia WinNT 4.0. Phgainete sto Control Panel/ Network

    Epilejte to Adapter tab.
        Klikarete sto koympi Add gia na pros8esete neo adapter (Ean den exete hdh enan)
8a sas zhth8ei network adapter - Dialejte ton katallhlo.Gia na pros8esete prwtokolla.
    Epilejte to Protocols tab
        Klikarete sto Add
        Epilejte to TCP/IP protocol
        Klikarete sto OK
Twra 8a sas zhth8ei na ry8misete to TCP/IP protocol stack. Mporeite panta na allajete thn ru8mish sas epilegontas me aplo click sto TCP/IP protocol kai kanontas click sto koympi properties.
   Dialejte to tab IP Address
      Tsekarete sto checkbox 'Specify an IP address'
      Sto IP address box balte 172.17.0.5
      Sto Subnet Mask box balte 255.255.255.0
      Balte thn dieu8ynsh toy gateway (router) sto koytaki Default Gateway
          san 172.17.0.254
Pathste OK. 8a sas zhth8ei na epanekkinhsete ton ypologisth sas. Kante to. 8a prepei pleon na mporeite na xrhsimopoihsete enan Browser gia na synde8eite ston HTTP Server.

4.5 Egkatastash TCP/IP se Macintosh

An xrhsimopoieite Macintosh gia prosbash sto diktyo, ayth h enothta periexei leptomereies gia to pws na egkatasthsete to MacTCP gia PowerMacs.

Shmeiwsh: Gia na mporeite na anafereste ston Linux server san http://linux.mydomain/ anti http://172.16.0.1/ se kapoion WWW browser ka8ws kai se oles tis entoles toy intranet xreiazetai na kanete edit to arxeio hosts. To format toy arxeioy hosts einai diaforetiko apo ayto poy xrhsimopoieitai sto Unix. To arxeio hosts sto Mac basizetai sto RFC-1035. Mporeite epishs na xrhsimopoihsete parapanw eisodoys gia ka8e ena apo ta hosts (Netware, Unix, WinNT). To MacOS krataei to arxeio HOSTS sto Preferences folder katw apo to System folder. Kante edit to arxeio ayto kai pros8este mia grammh gia ton Linux server opws:

  linux.mydomain    A  172.16.0.1

  netware.mydomain  A  172.16.0.2
  winNT.mydomain    A  172.16.0.3
  ws_1              A  172.16.0.5

MacTCP

H enothta ayth ejhgei pws na egkatasthsete to MacTCP. Prwta prepei na katebaste ta MacTCP arxeia apo thn Apple h na to egkatasthsete apo to Internet Connection CD. Gia na ry8misete to MacTCP, kante click sto Apple Menu/ Control Panels/ TCP/IP. Sthn o8onh allajte thn ru8mish gia to'Connect via:' se 'Ethernet'

Allajte thn ru8mish 'Configure' se 'Manually'

  Sto IP address box balte 172.17.0.5
  Sto Subnet Mask box balte 255.255.255.0
  Balte thn dieu8ynsh toy gateway (router) sto koytaki 
  Router address san 172.17.0.254
Pathste OK. 8a prepei pleon na mporeite na xrhsimopoihsete enan Browser gia na synde8eite ston HTTP Server.
Next Previous Contents