13 Other messages written to the system log

Contents of this section

13.1 Alarm

This is not a problem. It means that a timer has expired. Timers are a necessary part of the protocol establishment phase.

13.2 SIGHUP

The pppd process has received a HUP signal. The HUP signal is generated by the tty software when the remote system has disconnected the modem link. It means that the modem has put the 'telephone receiver back on the hook', or, 'Hung UP' the connection.

The kill program may also be used to send this signal to the pppd process.

The pppd process will terminate the link in an orderly fashion when it receives this signal.

13.3 SIGINT

The pppd process has received an INT signal. The INT signal is generated by the console software when you press the Ctrl-C key combination and pppd is the foreground process.

The kill program may also be used to send this signal to the pppd process. In fact, the recommended method to terminate the pppd link is to send the process an INT. See the question relating to "dip -k" for a script which will perform this task.

The pppd process will terminate the link in an orderly fashion when it receives this signal.

13.4 Unknown protocol (c025) received!.

The remote wishes to exchange Link Quality Reporting protocol with the Linux system. This protocol is presently not supported. This is not an error. It is merely saying that it has received the request and will tell the remote that "I can't do this now. Don't bother me with this!"

The Morning Star PPP package will always try to do LQR protocol. This is normal.

13.5 The connection fails with an ioctl(TIOCSCTTY) error.

Use the ppp-2.1.2c.tar.gz package. This was a bug which was not caught before the `a' package was released.

13.6 The connection fails with errors "ioctl(TIOCGETD): I/O error" or "ioctl(PPPIOCSINPSIG): I/O error". What now?

Look at the boot messages when you boot the kernel. If it says "PPP version 0.1.2" then you have an old version of the PPP.c driver.

If it says "PPP version 0.2.7" then you have the current driver, however, it was not built with the same set of defines for the ioctl numbers. Ensure that you have only one file called "PPP.h". It should be located in the kernel's include/linux directory. Once you have done this, rebuild the kernel and the pppd process.

13.7 Sometimes the messages "ioctl(PPPIOCGDEBUG): I/O error", "ioctl(TIOCSETD): I/O error" and "ioctl(TIOCNXCL): I/O error" occur. Why?

The remote system has disconnected the telephone. The tty drivers will re-establish the proper tty discipline and these errors are the result of the pppd process trying to do the same thing. These are to be expected.

13.8 My ifconfig has strange output for PPP.

Usually the ifconfig program reports information similar to the following:

ppp0      Link encap UNSPEC  HWaddr 00-00-00-00-00-00-00 ...
          inet addr 192.76.32.2  P-t-P 129.67.1.65  Mask 255.255.255.0
          UP POINTOPOINT RUNNING  MTU 1500  Metric 1

The information is for display purposes only. If you are using a recent 1.2 kernel then update the nettools package with the current one on sunacm.swan.ac.uk in the directory /pub/Linux/networking/nettools.

13.9 The file /proc/net/dev seems to be empty

Did you just issue the command "ls -l /proc/net" and are wondering why the size is zero? If so, this is normal. Instead, issue the command:

cat /proc/net/dev

You should not find the file empty. The size is always shown as zero, but that is the 'proc' file system. Don't believe the size. Do the command.

The 'more', 'less', and 'most' programs may not be used to view the file directly. If you wish to use these programs, use it as follows:

cat /proc/net/dev | less

Next Chapter, Previous Chapter

Table of contents of this chapter, General table of contents

Top of the document, Beginning of this Chapter