Eznet simplifies PPP setup on Linux for effortless configuration.
To get started, all you need to do is enter the name of your ISP, a phone number to dial, the login name, the password, and the TTY. The eznet program takes care of the rest. There are no configuration files to edit or chat scripts to design, and there's no need to figure out what a "chap-secret" is. Assuming pppd and eznet are correctly installed (which should happen automatically from your CD-ROM), the following command is all it takes to set up PPP:
eznet add service=NAME user=ABC password=XYZ phone=5551234
Note that this command must be entered as root. After the setup is complete, any user can bring up the PPP connection by simply typing:
eznet up NAME
If everything is working correctly, the PPP connection should be established within 30 seconds. The eznet up command will not return until the connection has been established or the attempt has failed. The command will also return a non-zero result code if the connection attempt fails, which makes it suitable for use within shell-scripts.
Additionally, the connection established by eznet will automatically go down after five minutes of inactivity. You can also bring it down manually by typing:
eznet down NAME
To see the current status of a connection, type:
eznet status
Eznet also supports demand dialing. If you have Eric Schenk's Diald package installed, you can start it up by typing:
eznet dialdon NAME
You can turn diald off by typing:
eznet dialdoff NAME
If you prefer to use the request-route feature of kerneld, you can write the following script into the file "/sbin/request-route":
#!/bin/sh eznet up NAME
Overall, eznet is an excellent program that simplifies the process of setting up PPP on your Linux machine. It's ideal for new users who may find traditional PPP setup methods intimidating, and it makes it easy for experienced users to quickly establish a PPP connection.
Version 1.11: N/A