On Wednesday 15 January 2003 10:22 pm, Pradnyesh Sawant wrote:
i have borrowed an external d-link modem, which i've configured thru wvdial (thanx 4 answering my previous mail 2 help me do that) when i try 2 use kppp, it says "sorry, can't open modem"
how do i configure the modem (d-link dfm 560-e (external)) in kppp. also i was able 2 configure my internal modem thru kppp in rhl 7.1 but every time i ran kppp, it asked me for the root passwd. i tried changing the access permissions of /usr/bin/kppp & also /usr/sbin/kppp to 777, but it did not make the problem go. b'coz of the need 2 provide the root passwd every time it is reqd 2 connect 2 the net, i can't have my younger brother access the net thru linux
There is only one problem... kppp uses "/dev/modem" as the default modem device, whereas an external modem on Linux is identified by /dev/ttySx port. ( /dev/ttyS0 => COM1, /dev/ttyS1 => COM2, /dev/ttyS2 => COM3 etc..) Any external modem in Linux does not need to be "installed" (like Windows) explicitly. Hence, there is nothing which will create this symlink for you.
You have two choices to solve the problem. 1. Create the symlink manually by logging in as root and doing #ln -si /dev/ttySx /dev/modem Replace ttySx with your com port.
2. Configure kppp to use the serial port device instead of the standard /dev/modem. Go to kppp setup. Go to "device" tab. Select the "Modem device" as the serial port where your modem is connected.
You don't need any superuser rights to do this(except if you're creating the symlink manually).... Also, the program kppp is run under consolehelper about which I guess Philip has already discussed. So for running kppp as well you don't need any su permissions.