next up previous
Next: IP-Filter Up: DP Previous: Configuring DP

Subsections

Testing the DP System

Once you have DP up and running, you should be able to connect up to your ISP via the Solaris system (only). To test the system, you can use the telnet and ftp programs to see if you can make connections to the outside world.

Routing Problems

If nothing seems to happen, you may have a routing problem. You can get the routing table by using the netstat -rn command, which should give you an output like:



Routing Table:
  Destination           Gateway           Flags  Ref   Use   Interface
-------------------- -------------------- ----- ----- ------ ---------
127.0.0.1            127.0.0.1             UH       01214730  lo0
203.30.77.152        203.30.77.2           UH       3      7  dp0
10.5.3.0             10.5.3.1              U        3    666  le0
224.0.0.0            10.5.3.1              U        3      0  le0
default              203.30.77.152         UG       0   1737


If you are missing an entry, then your routing table has probably not initialised correctly. Using netstat -r will cause the DNS name server to try to look up the names of the various IP addresses. Not very useful, since it also needs a route to the outside.

Another possible source of routing problems is IP forwarding being turned off for some reason. You can check this by running the command ndd -get /dev/tcp ip_forwarding If this command prints a 1, then the forwarding is turned on and everything is OK. If this command prints a 0, then the forwarding is turned off for some reason. You can turn forwarding on by using the command ndd -set /dev/tcp ip_forwarding 1 You may wish to add this command to the /etc/init.d/dpconfig file to ensure that forwarding is always on at startup.

Tracing Calls

If DP appears to be dialling out, but then noting happens, DP provides a wealth of tracing information.

The file /var/adm/dp/dp.log is the log file for DP, you can examine it by using the command tail -f /var/adm/dp/dp.log This command will print out new log lines as they come in.

The file /var/adm/dp/Trace/orac (or whatever system name you have other than orac) provides a trace of the dial-up process, both modem initialisation and login to the ISP.


next up previous
Next: IP-Filter Up: DP Previous: Configuring DP
Doug Palmer 2003-02-15