LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   Kppp how to set in Dial up Script for PPP (https://www.linuxquestions.org/questions/red-hat-31/kppp-how-to-set-in-dial-up-script-for-ppp-158497/)

Keynote 03-16-2004 12:59 PM

Kppp how to set in Dial up Script for PPP
 
Hi

I find out that Encore PCI modem is not support so I swap it. And got new modem, it is USR 56K PCI PN: 3CP2976-OEM. But I check Linux cat /proc/pci the modem is Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 1). I don't know why 2 different model, ie: 3CP2976-OEM and US Robotics Model 5610. I need to verify it. Need help.


I am new Linux Red Hat Enterprise Basic WS. Has not successful
connect Dial up modem. I do hear modem dialing up at Mini Terminal and then input login Username: and again input Password. Then wait for second, nothing come up so I press Enter once and there is ISP start activity and pppd too. I need pppd input in KPPP Login Script to activity ppp. How?

Here is my setup, might thought helpful.

KPPP Configuration:
Setup:Account:Edit:Login Script:

In Script, I have type as shown.
Expect Username:
Send xxxxxxxx
Expect Password:
Send xxxxxxxx
Pause(sec) 5

Then I dialing Connect, here what I getting message.
Login Script Debug Window:
ATZ
OK
ATM1L3
OK
ATDT4037836400
CONNECT 28800/ARQ/V34/LAPM/V42BIS

RTT Ascend PRI 2

Username:xxxxxxx
Password:
ascend>


And compare to Mini Terminal, When I dial atd7836400 and request to input login and password, I have enter both Login and Password. I wait, wait, nothing come up so press Enter and got enter PPP Mode.

I need how to make correction on KPPP Configuration Login Script, where I can find to input (Enter) and press once time, or is there ppp input in Login Script and how do that in order to get connect Internet ISP.

Here what I getting at Mini Terminal.
Mini Terminal:
ATZ
OK
atd7836400
CONNECT 28800/ARQ/V34/LAPM/V42BIS

RTT Ascend PRI 3


Username:xxxxxxx
Password:
ascend>
Entering PPP Mode.
IP address is xxx.xxx.xx.xxx
MTU is 1500.
}#@!}!}!} }=}"}&} }*} } }'}"}(}"}1}$}%\}3}+}!RTTstackR9~}#@!}!}!} }=}"}&} }*} } }'}"}(}"}1}$}%\}3}+}!RTTstackR9~}#@!}!}!} }=}"}&} }*} } }'}"}(}"}1}$}%\}3}+}!RTTstackR9~}#@!}!}!} }=}"}&} }*} } }'}"}(}"}1}$}%\}3}+}!RTTstackR9~}#@!}!}!} }=}"}&} }*} } }'}"}(}"}1}$}%\}3}+}!RTTstackR9~


Note:
Network: Device modem, they have decide pick, ttyS4 but not on KPPP Configuration Modem where there is no ttyS4 instead I use /dev/modem. It seem work ok.

System Settings:Network:Hardware: Modem Device /dev/ttyS4, Flow Control (Hardware CRTSCTS)


Kppp Configuration: Setup,
Device: Modem Device /dev/modem
Flow Control Hardware CRTSCTS
Line Termination CR
Connection Speed 115,200
check on (use lock file)

Pardon me for English bad.

aaa 03-16-2004 01:06 PM

Try to get kppp to send a carriage return.

Keynote 03-16-2004 01:32 PM

Finally, modem do connect. That when I press Connect at KPPP. I dont know how it happen. It ok. But now I got very very very slow speed.
The KPPP Connection screen show 0 KB speed. When open Redhat site, nothing but close. Much apprentice need your help. Thanks.

aaa 03-16-2004 01:40 PM

Make sure you have the serial port speed set right (at least 57600)

Keynote 03-16-2004 02:18 PM

Change to 57600 from 115,200 on both Network and KPPP Configurment.
KPPP Connection is work excellent. And it still slow. KPPP Statistics show
0.0(max .1.0)kb/sec. When I press redhat link at Mozilla browser, nothing and see modem speed back and forth at KPPP modem light or KPPP Statistics screen, it look like speed stall or modem stall look flatline dead.
Only recived 80 kb and out 86 kb and that is then stall or stay flat.

aaa 03-16-2004 02:37 PM

Quote:

CONNECT 28800/ARQ/V34/LAPM/V42BIS
28.8kbps. Bad phone line/ISP? You didn't specifically change any settings, so there is no reason for the modem to be the problem.

Keynote 03-16-2004 03:42 PM

I change setting at System Settings/Network/Generic Modem/Hardware/Baud Rate. Was 115,200, present setting is 57600, Flow Control is None. I don't know how get there. It was suppose to be Hardware(CRTSCTS) Again I change from None to Hardware(CRTSCTS).

Also change KPPP Configuration/Setup/Device/Connection Speed. It was 115,200 and now present setting is at 57600. Recently try dial up connection, connection was good, speed still at 0 kb. kppp statistics show bytes in (80) bytes out (86).

On other hand, recently I dial up, first KPPP connection, it was fine, then Enter RedHat-Config-Network to activative my Device Modem. The result is "Cannot Activative Network Device RTTincPonoka. Fail to activative RTTincPonoka with Error 1". And other KPPP Config screen show "The pppd daemon died unexpectedly. Exit status: 16. See 'man pppd' for an explanation of error code or take a look at the kppp FAQ on http://devel-home.kde.org~kppp/index.html." Thanks for trying help. I will check this website for error and what cause it error.

Keynote 03-16-2004 04:02 PM

Amaze, I found out that just check off on KPPP Configuration/Setup/Device/Check off (Use Lock File). Then try Connection again, amaze Mozilla work and speed is excellent. Much Thanks to aaa for effort to try helpful. And also FAQ at http://devel-home.kde.org/~kppp/index.html. Just check off (Use Lock File) that all I change setting, before it was check on. Wow, Loving Linux, it amaze. Now I process learning new Linux World.


All times are GMT -5. The time now is 12:27 PM.