Can Not Communicate With Dialup Modem When Networked
From MEPIS Documentation Wiki
In order to communicate with your modem while networked, you need to add it to the route table. This can be done in a root console while the modem is connected to your ISP by entering the following command:
route add default ppp0
Once the above has been proven to correct the communication problem it can be automated with a simple shell script placed in directory /etc/ppp/ip-up.d What happens is that when the modem connection is made with the ISP, any scripts in that directory are executed.
- To create the script, open File Manager - Super User Mode and browse to the /etc/ppp/ip-up.d directory.
- Pull down the Tools menu and select Open Terminal.
- In the terminal, enter the following command (the script name is here assumed to be DoRoute):
Close the terminal window and click on the newly created but empty DoRoute file. The file will be opened with the text editor. Enter the following lines:
#!/bin/sh route add default ppp0
- Save the file and close the editor.
- Right-click on the file and select Properties. In the Permissions tab click to check the is executable check box, then click OK."