Auszug aus der Datei "config.h"

zu "Installationsschritte"

. . .  
# define DO_DEBUG 1 /* compile in debug code */
# define DO_TESTING 0 /* set this to "1" to test only */
# if DO_TESTING  
# define FILENAME_NW_INI "./nw.ini"  /* full name of ini (conf) file */
 . . .  
# else  
# define FILENAME_NW_INI "/etc/nwserv.conf" /* full name of ini (conf) file */
# define PATHNAME_PROGS "/usr/sbin" /* where to find the executables */
# define PATHNAME_BINDERY "/var/nwserv/db" /* directory for bindery-files */
# endif  
. . .  
# define MAX_CONNECTIONS 5 /* max. number of simultanous*/
  /* connections handled by mars_nwe */
# define IPX_DATA_GR_546 2 /* allow ipx packets > 546+30 Byte */ 
. . .  
# define MAX_NW_VOLS 10 /*max. number of mars_nwe-volumes */
. . .  
# define WITH_NAME_SPACE_CALLS 1  
. . .  
/* <------------------------ next is for linux only ---------------------------> */
# define INTERNAL_RIP_SAP 1 /* use internal/own rip/sap routines */
. . .  
/* <-------------------------------------------------------------------> */
# define SHADOW_PWD 1  /* change to '1' for shadow passwds */

Erläuterung zu den Einstellungen

#define DO_DEBUG 1

Hierüber wird gesteuert, ob der Debugging-Code mit compiliert werden soll.
Generell ist es besser mit debug-code, denn der Debug-Level kann dann später über die nwserv.conf eingestellt werden.

#define DO_TESTING 0

Anhand dieses Eintrags wird der MARS_NWE entweder nur lokal (im aktuellen Verzeichnis) oder endgültig installiert.

#define WITH_NAME_SPACE_CALLS 1

Um MARS_NWE mit ncpfs oder Win95 zu betreiben, sollte hier eine 1 gesetzt werden.

#define INTERNAL_RIP_SAP ..

Mars kann auf zwei Arten konfiguriert werden:

  1. Mars_nwe nur als File-Server
    #define INTERNAL_RIP_SAP 0
    in diesem Fall müssen das IPX-Routing, die Einstellung der Internal-Net Nummer und die IPX-Interfaces (nwserv-Eintrag 4) selbst erzeugt werden, zum Beispiel mit Hilfe der Programme "ipx-configure", "ipx-interface", und ein rip/sap router/daemon muß eingerichtet werden. Zusätzlich wird beim Compilieren ein Tool namens "nwrouted" erzeugt.

  2. Mars_nwe setzt die IPX-Routen automatisch
    #define INTERNAL_RIP_SAP 1
    die Internal-Net Nummer wird durch den nwserv.conf Eintrag 3, Devices durch den nwserv.conf Eintrag 4 festgelegt, und Mars_nwe arbeitet auch als RIP/SAP-Router. Hierbei sind keine zusätzlichen Tools wie "ipx-configure" oder "IPX rip/sap Daemon" nötig.

 

Erläuterung RIP/SAP

RIP: Routing Information Protocol

automatisches Verbreiten von Netzwerk-Routen in einem IPX Netzwerk,
entspricht dem RIP in TCP/IP Umgebungen

SAP: Server Advertisement Protocol

Novell Protocol um Netzwerkservices in einer Netzwerkumgebung bekannt zu machen

 

"Seitenanfang"

 


© COMPU-ART MEDIEN GmbH