setting up kppp
- LinuxPPC
- comment out the lock command in /etc/ppp/options
- kppp is a pre-installed program in the KDE as installed in LinuxPPC Release 4. From a terminal window, just type kppp. A button for kppp can also be added to the KDE launcher bar.
- set-up kppp:
- click the setup button to create a new account. In the new account window, there are 6 tabs are accessible for configuration:
- under the dial tab, connection name is anything you want to call it
- under the dial tab, enter the phone number (get from ISP)
- under the dial tab, select Authentication as script-based (get requirement from ISP)
- under the IP tab, select Dynamic IP Address
- under the DNS tab, leave the domain name blank.
- under the DNS tab, enter at least one DNS server IP number into the DNS Address List via the DNS IP Address field and the Add button.
- under the Gateway tab, select Default Gateway, and select Assign the Default Route to this Gateway.
- under the account tab, enter nothing
- under Login Script tab, enter the required login sequence, for example:
- Expect ogin:
- Send username (get from ISP)
- Expect assword:
- Send password (get from ISP)
- close out of the setup. There are 4 other tabs to fill out:
- under the Device tab, select modem device as /dev/cua0 (modem serial port). /dev/modem will work only if a symbolic link exists.
- under the Device tab, select flow control as CRTSCTS (if appropriate for your modem).
- under the Device tab, select line termination as CR/LF (if appropriate for your modem).
- under the Device tab, select connection (port) speed as 115200 (if appropriate for your modem).
- under the Modem tab, selecting Query Modem should establish a query, allowing a verification of communication over the serial cable, and returning the full manufacturer's specs.
- under the Modem tab, select Modem Commands and enter the init string appropriate for the modem.
- under the PPP tab, change nothing.
- close out the configuratiuon window and in the main kpp window select connect.
- MkLinux
- identical procedure to that above for LinuxPPC
b e... t h e r o o t... s e e... t h e r o o t...
All configurations here are described for the root superuser. There are good reasons for not doing everything as root; however, it is especially important here, because the ppp daemon must run as a root process.
lan compatibility
It appears that trying to configure a LAN over ethernet may totally screw up the ability to get ppp to work via a straightforward configuration of kppp. This procedure may work only when the networking setup is initially a virgin blank. Future pages will explore how to configure so ppp and ethernet connections to the internet can coexist peacefully. The use of ezppp did not help this situation.
port speed
kppp has a setting for the serial port speed. The 6500 serial port can run at 115200 bits per sec. At boot into the console or from an xterm, the command stty returns the serial port speed. From the console it is reported as 38600, while from an xterm it appears to be set to a default value of 9600. Reset this with the command stty 115200 > /dev/cua0. If desired, set it at boot time by adding the given command line to /etc/rc.d/rc.serial. I'm not sure this procedure works; note however that kppp is supposed to set the serial port speed to begin with, so this step should not be necessary unless you run ppp by hand.
routing comments