s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
4. Connecting to the Linux ServerPlease refer to the diagram shown in the chapter Introduction for the addressing scheme used. Workstation 1 (W/S1) is on network 172.16.0.0 and can access the Linux server directly whereas Workstation 2 (W/S2) is on network 172.17.0.0 and needs to use the gateway (router) 172.17.0.254 to access the Linux box. This gateway information needs to be provided while configuring the clients only on W/S2. Netware refers to the gateway as 'ip_router'. I am using W/S2 to illustrate the client setup. To setup W/S1 just change the address 172.17.0.5 to 172.16.0.5 and ignore all references to the gateway/router. If you do not have a router you can skip the next section and proceed to
4.1 Setup the Linux serverYou may skip this section if you do not have a router. You have to configure the Linux server to recognise the router thus allowing Workstation 2 to connect to the Web server. In order to setup the Linux server you should login as root. At the server prompt type
To use this gateway everytime you boot the Linux server edit the file /etc/rc.d/rc.inet1 and change the line containing the gateway definition to GATEWAY = "172.16.0.254" . Make sure the line for adding the gateway is not commented out.
ALT: You can add routes to the networks on the other side of the router. This would be done as
To add this route everytime you boot Linux add the command to your /etc/rc.d/rc.local file.
4.2 Setup the Netware serverIn order to setup the Netware server you should have Supervisor permissions or atleast Console operator permissions. If these cannot be got, try asking your Network Administrator to help you with the setup. At the Server enable the Ethernet_II frame type on the LAN by typing these commands or include them in the AUTOEXEC.ncf file.
You might have to specify the slot or board number while loading the NE2000 driver depending on your machine configuration. (eg: load NE2000 slot=3 frame=.....)
4.3 Setup the Netware ClientOn the PC you have the choice of Win3.1,WFWG or Win95. The installation procedure differs between Win95 and the older windows if you are using the 32bit client from Microsoft or Novell. If you are going to use the 16bit client, the procedure is the same and you can refer to the Windows 3.x installation instructions. For installing the 32bit client for Win95 skip to Windows 95 installation.
Windows 3.xIf you are using Win3.1 or WFWG you can install the Netware Client (VLMs) and some additional files which are provided with the TCP/IP diskette, namely TCPIP.exe, VTCPIP.386, WINSOCK.dll and WLIBSOCK.dll Note that the WINSOCK.dll file is different from the ones provided with Win95 and Trumpet. Install the Netware Client with the support for windows. Copy VTCPIP.386, WINSOCK.dll and WLIBSOCK.dll to the SYSTEM directory and TCPIP.exe to the NWCLIENT directory. Now modify the STARTNET.bat in the NWCLIENT directory to
Create a subdirectory (say)
Edit the NET.cfg file in NWCLIENT directory
Edit the SYSTEM.ini file in the WINDOWS directory and add this entry for VTCPIP.386
Reboot your PC, run STARTNET.bat and you can now use your favorite WWW browser to access your Web pages. You need not login to Netware and you don't have to run TCPMAN (if you use Trumpet Winsock).
Windows 95This section explains how to install the 32bit client on Win95. Firstly you must install the following
To install these items, click on My Computer, Control Panel, Networks. Click Add. You will now be in a window that displays Client, Adapter, Protocol and Service. To install the Client for Netware Networks:
To install the TCP/IP Protocol:
Windows 95 by default installs several other protocols automatically. Remove them by clicking on them and clicking the Remove button. Typically Win95 installs the Microsoft NetBeui protocol, and IPX/SPX compatible protocol. You can delete the NetBEUI protocol, but you will need the IPX/SPX protocol if you wish to login to the Netware Server. To setup TCP/IP click on TCP/IP, click on Properties, click on the tab IP address
select the tab Gateway
The gateway address should now appear under the installed gateways box. Now Click OK.
You should get a message to reboot. Do so. You should now be able to use the Browser to connect to your HTTP Server.
4.4 Setup Microsoft ClientIf you are using the Microsoft Client for accessing your network, then this section details how to install TCP/IP for Note: To enable you to refer to the Linux server ashttp://linux.mydomain/ instead of http://172.16.0.1/ in the WWW browser and all your intranet commands you need to edit the hosts file. You can add more entries for each of your other hosts (Netware, Unix, WinNT) as well. The Windows family keeps its HOSTS file in \WINDOWS or in \WINDOWS\SYSTEM depending on the version. Edit this file and add a line for your Linux server as:
Windows for WorkgroupsThis section explains how to install the 32bit client on WFWG. Firstly you must
download the TCP/IP drivers for Windows from Microsoft. The current version is 3.11b and is available at
ftp://ftp.microsoft.com or other sites as Having expanded the TCP/IP files into a temporary directory (say Start Network Setup or Windows Setup/Change Network settings
You should be prompted for your network adapter - select the appropriate one. If you are not prompted, then
You will now be prompted to configure the TCP/IP protocol stack. You can always reconfigure this by highlighting the TCP/IP protocol shown in the box Adapters
and clicking the Setup button.
Click OK. The computer will ask you to restart. Do so. You should now be able to use the Browser to connect to your HTTP Server.
Windows 95This section explains how to install the 32bit client for Microsoft on Win95. Firstly you must install the following
To install these items, click on My Computer, Control Panel, Networks. Click Add. You will now be in a window that displays Client, Adapter, Protocol and Service. To install the Client for Microsoft Networks:
To install the TCP/IP Protocol:
Windows 95 by default installs several protocols automatically. Remove them by clicking on them and clicking the Remove button. Typically Win95 installs the Microsoft NetBeui protocol. To setup TCP/IP click on TCP/IP, click on Properties, click on the tab IP address
select the tab Gateway
The gateway address should now appear under the installed gateways box. Now Click OK.
You should get a message to reboot. Do so. You should now be able to use the Browser to connect to your HTTP Server.
Windows NTThis section details how to Install the TCP/IP client for WinNT 4.0. Start Control Panel/ Network
You should be prompted for your network adapter - select the appropriate one. To add the protocols.
You will now be prompted to configure the TCP/IP protocol stack. You can always reconfigure this by highlighting the TCP/IP protocol and clicking the Properties button.
Click OK. The computer will ask you to restart. You can now use any Browser to connect to your HTTP Server.
4.5 Setup TCP/IP on MacintoshIf you are using the Macintosh for accessing your network, then this section details how to install MacTCP for the PowerMacs. Note: To enable you to refer to the Linux
server as
MacTCPThis section explains how to install MacTCP. Firstly you must download the MacTCP files from Apple or install it from the Internet Connection CD. To configure MacTCP, click the Apple Menu/ Control Panels/ TCP/IP. In the screen change the setting for 'Connect via:' to 'Ethernet' Change the 'Configure' setting to 'Manually'
Click OK. You should now be able to use the Browser to connect to your HTTP Server.
Next Previous Contents |