

It is important to set up a route for additional services within the StudNet, to be able to connect to all services and other people in other dormitories. Debug output to the console can be received by pppd call internetlogin nodetach. The file should contain the following * PASSWORD *īy executing pppd call internetlogin as user root, you should be able to start the connection.

The file should be protected using chmod 600 /etc/ppp/chap-secrets, so that it can only be read by the root user. Insert your user name and password in clear text into the file /etc/ppp/chap-secret.

Pty "pptp -nolaunchpppd" # Verschluesselungsoptionen Create a new file as user root in /etc/ppp/peers/internetlogin with the following content If you are using 'pap-secrets' (or 'chap-secrets') you should most likely comment out the 'Username:' and 'Password:' lines in your '/etc/ppp/chat-serialmodem' config.With a ppp peers file you can set up a connection which is restarted automatically after a disconnect.įirst of all create a new peers file. Your file might look something like this: You might need to use a pap-secrets file (or chap-secrets depending on what pppd reports in the logs). If your pppd log reports something like this:ĭbug pppd: rcvd (The filename 'chat-serialmodem' can be changed, but you will need modify the config file shown above to reflect your choice) ABORT 'BUSY' (The filename 'serialmodem' can be changed, but you will need to remember it when running pon/poff command) debugĬonnect '/usr/sbin/chat -v -f /etc/ppp/chat-serialmodem' Load the required modules and make sure they're automatically loaded at next rebootĮcho "ppp_generic" > /etc/modules-load.d/ppp.conf Config files /etc/ppp/peers/serialmodem (/dev/ttyS0 is the same as COM1, ttyS1=COM2, ttyS2=COM3, ttyS3=COM4. In the example below, replace ttyS0 with ttyS X where X matches your com port number. Install alpine-2.1.3 or newer (see these notes if you are unsure how to do it).ĭecide which serial port to use and connect your modem to it.
