• No results found

The same as Step 1 in modifying the server

In document N2000 System User Manual (Page 178-184)

192.168.55.1 ppp_server 192.168.55.2 ppp_client ...

Modify ppp_server and ppp_client Step 2: Change the file “/etc/asppp.cf”:

...

ifconfig ipdptp0 plumb ppp_server ppp_client up ...

Modify ppp_server and ppp_client

Note:

If the virtual network interface is ipdn, the format of the file “ asppp.c” is different from the one listed above.

Simply modify ppp_server and ppp_client.

z Modify the client (workstation):

Step 1: The same as Step 1 in modifying the server.

Step 2: The same as Step 2 in modifying the server. The virtual network interface of the client can only be ipdptpn. Do not change the format of asppp.cf.

4) Change the type of the virtual network interface of the server to ipdn Log in as a superuser, and then modify the file “/etc/asppp.cf”:

ifconfig ipdptp0 plumb ppp_server ppp_client up path

...

interface ipdptp0 ...

Change the above information to:

ifconfig ipd0 plumb ppp_server up path

...

interface ipd0

peer_ip_address ppp_client ...

5) Connect the server with multiple clients

User Manual

HUAWEI iManager N2000 Fixed Network Integrated Management System

Chapter 11 Remote Maintenance

z Change the interface type to ipdn.

z Log in as a superuser, and then add the IP addresses of the clients to the file

“/etc/hosts”.

z Log in as a superuser, and then add the description of the paths to the file

“/etc/asppp.cf”,

#Connection parameter setting of ppp_client(192.168.55.2) path

...

peer_ip_address ppp_client ...

#Connection parameter setting of ppp_client1(192.168.55.3) path

...

peer_ip_address ppp_client1 ...

For all the paths, the peer_ip_address is different but other parameters are identical.

IV. Configure the PPP server as a router 1) Add ppp network number

Log in as a superuser, and then add the ppp network number to the file “/etc/networks ”,

...

pppnet 192.168.55 ppp #ppp network

2) Set subnet mask

Log in as a superuser, and then modify the file “/etc/netmasks”.

...

192.168.55.0 255.255.255.0

3) Add PPP host name

If the virtual network interface is ipdn, create the file “/etc/hostname.ipdn”. If it is ipdptpn , create the file “/etc/hostname.ipdptpn ”.

Enter the PPP host name, and then log in as a super user.

4) Start the routing process

Check whether the routing process (in.routed, in.rdisc) of the access server has been started.

# ps -ef | grep in.routed

# ps -ef | grep in.rdisc If not, run these commands:

# /usr/sbin/ndd -set /dev/ip ip_forwarding 1

# /usr/sbin/in.routed -s

# /usr/sbin/in.rdisc -r

5) Set default route at the client

Set a default route at the PPP client, with the gateway being ppp_server.

# route add default ppp_server 6) Set default route at the host

At the LAN host side, set a route to the PPP network, with the gateway being the Ethernet IP address of the PPP server.

# route add 192.168.55.0 xxx.xxx.xxx.xxx

11.4 Remote Maintenance Schemes

The remote maintenance mode varies with the operating system platform and the remote maintenance tool software. This section details the remote maintenance modes of the iManager N2000 (Client/Server).

11.4.1 SUN workstation serves as the dial-up server

This mode is used in situations where the server of the operator is a SUN workstation.

It features high connection rate and high security. First set up the corresponding dial-up connection (see Section 10.1.3), and then follow these steps to perform the maintenance.

1) Both parties establish communication connections in between. The remote maintenance client should get information such as the telephone number of the opposite end, dial-up user name and password. Then dial in the iManager N2000 NMS Workstation of the operator.

2) The remote maintenance engineer runs the iManager N2000 Client, inputs

“192.168.55.1: 9801” in the server input box, and then the user name and password provided by the operator, and clicks <Login>. After logging in successfully, the maintenance engineer can perform remote maintenance.

User Manual

HUAWEI iManager N2000 Fixed Network Integrated Management System

Chapter 11 Remote Maintenance

Note:

z Both parties establish communication connections in between. The remote maintenance client should get information such as the telephone number of the opposite end, dial-up user name and password.

Then dial in iManager N2000 NMS Workstation of the operator.

z For the sake of security, set one TELNET connection for the SUN workstation and disable the FTP function.

11.4.2 PC/Windows2000 serves as the dial-up server

This mode is used in situations where the server of the operator is a PC. It features high connection rate and high security. First set up the corresponding dial-up connection (see Section 10.1.2), and then follow these steps to perform the maintenance.

1) Both parties establish communication connections in between. The remote maintenance client should get information such as the telephone number of the opposite end, dial-up user name and password. Then dial in the network management PC of the operator.

2) The remote maintenance engineer runs the iManager N2000 Client, inputs

“192.168.55.1: 9801” in the server input box, and then the user name and password provided by the operator, and click <Login>. After logging in successfully, the maintenance engineer can perform remote maintenance.

Note:

z If the dial-up connection at the server side is disconnected, restart the SS module of the NMS Server.

z For the sake of security, the number of the login users is limited.

11.5 Troubleshooting

I. Failed to connect to SUN workstation

1) Check whether the connections are correct, especially the connection of the SUN workstation. Check whether the modem is connected properly. The telephone line should be connected to the jacket marked “line”.

2) Make sure that connection of the modem is normal. If a message similar to

appears during the setup, it means that the modem is improperly connected. In this case, check the condition of the lines and make sure that the modem is switched on.

Use

tip termb (or terma, respectively indicates that the modem is connected to serial port b or a)

or

tip -19200 /dev/cua/b (a)

to connect the modem. If the message “connected” appears, it indicates that the modem is connected. In this case, you can input “AT”. If "OK” is returned, it indicates that the modem is normal. Input “~” to exit, and then set setup_ppp.sh again. If no “OK”

is returned after you input “AT”, input “ATE1Q0”. If still no response is returned, replace the port or re-connect the modem.

For more information about debugging modem, please see the document

“Modem_conf.pl”. You can open this file with an HTML browser.

Note:

To use terma or termb, the setup_ppp.sh must be set correspondingly. terma or termb is an entry to file

“‘/etc/remote”.

3) Make sure that the password of ppp_user input at the client side is identical to the one set at the server side. run “vi” to view the file “/etc/uucp/Systems”. The password of ppp_user is located at the last row (login: ppp_user word:) of the file.

It must be identical to the one set at the server side. To change the password of ppp_user without setting PPP again, log in as a superuser, and use

“/usr/bin/passwd ppp_user” to change the password of ppp_user.

4) The file “/var/adm/log/asppp.log” (the same as etc/log/asppp.log) records the operations performed by the PPP user. You can view the dial-up connection progress in ”tail -f /var/adm/log/asppp.log”.

5) If no change occurs in “tail -f /var/adm/log/asppp.log” when the client dials, it means that the PPP user has not logged in or the login shell is not

“/usr/sbin/aspppls”. Modify the file “/etc/passwd” directly, or change the login shell of the PPP user to “/usr/sbin/aspppls“ in “admintool”.

6) If the following message is displayed in “/var/adm/log/asppp.log”:

10:13:22 get_fifo_msg: can't find path with peer_system_name ppp_user

It means that the PPP user name set at he client side might be inconsistent with the one set in ”peer_system_name” in “/etc/asppp.cf” at the server side. Please make them consistent.

User Manual

HUAWEI iManager N2000 Fixed Network Integrated Management System

Chapter 11 Remote Maintenance

II. No display in the SUN workstation login window

The cause is possibly related to cables. Check whether the cables meet the hardware requirements.

III. Frequent problems with the PC workstation serving as the dial-up client 1) Illegible characters appear in the PC client login window. The likely reason is that

the rate of the PC client is not set to 19200.

2) Make sure that the dial-up server is correctly installed and is bound with TCP/IP.

Problems may occur if multiple dial-up servers are installed.

IV. How to check wether the PPP software has been installed

UUCP software and PPP software should be pre-installed on the workstation (currently, they are already installed on the workstation). Run this command to check whether the PPP software has been installed:

# pkginfo | grep ppp

The system prompts that the PPP software has been installed.

V. The modem at the server side does not answer.

Set the modem to auto answer mode. For Robotics, Hayes and Etek modems, run the scripts again and select a correct modem type (case-sensitive). For another modem type, set the corresponding AT commands by referring to the configuration manual.

In document N2000 System User Manual (Page 178-184)