Nice, but it would be much better and much easier for newbies to create a connection manually with kppp, rather than messing their kppp script.
Also some strings like Flow Control etc vary from user to user/ connection to connection.
Kppp is gui based, and its really easy to create a connection with it.
My recommendation:
No need to use the script.Just create a connection manually with the gui based KPPP tool, which will auto generate the script for ya.
Also there are many other tools to connect to the internet thru PPP as well like the redhat-config-network in redhat, gtkdial and lots more.
Also, when someone wishes to use the internet on linux using a dial up modem, the first step is to make sure that his kernel has Point to POint (PPP) support.Most kernels that come on most distros by default have that support.
The next step is to configure and install the modem.
Most distros do configure and install the modem by default.
If the distro doesnt do that, you can do it manually.
The last step is to select and use a PPP tool like KPPP or wvdial etc to connect to the internet finally.
Then ofcourse you need a webbrowser like mozilla or opera to surf the web.You can use a software like Gaim r Amsn for Instant messaginag and a tool like Downloader 4 X as download manager.
LinuxFreaK wrote:Dear All PLUCian's
Salam,
As Far As i sw the post @ Connectiong Linux throught your ISP then i like to give you little script which will help every one also a Newbies to Connect their Linux Machine with their ISP's with in a minute....
Requirment:
1. Modem is Installed
2. KPPP is Installed
Kppp is basically an application made for KDE, to connect to the Internet using PPP. The reason for this document is because a lot of ISP's do not want you to connect to them using Linux (silly really), and it can be frustrating if you don't know if they are using CHAP/PAP etc. kppp can be download here
http://devel-home.kde.org/~kppp/index.html and the instructions to install it are at that page too. The information stored for your ISP that is used in kppp is stored in ~/.kde/share/config/kppprc
Here is the Example KPPP Config File.
Code: Select all
# KDE Config File
Name=
[Account0]
TotalBytes=0
AutoName=0
ExDNSDisabled=1
ScriptArguments=,ame:,CIS,ID:,999999\\,9999/noint/go:pppconnect,word:,,
AccountingEnabled=0
Phonenumber=13178603 ( Your ISP UIN )
TotalCosts=
IPAddr=0.0.0.0
Name=CubeXS ( Your ISP Name )
Domain=
VolumeAccountingEnabled=0
pppdArguments=-detach,defaultroute,noipdefault,passive,
Password= ******* ( Your Password )
Command=
ScriptCommands=Send,Expect,Send,Expect,Send,Expect,Password,
Authentication=2
SubnetMask=0.0.0.0
DNS=202.63.192.012,202.63.192.013, ( Your ISP DNS Servers )
AccountingFile=
DefaultRoute=1
Username= ******* ( Your User Name )
StorePassword=1
Gateway=0.0.0.0
DisconnectCommand=
[Modem]
BusyWait=0
NoDialToneResp=NO DIALTONE
InitDelay=1
ConnectResponse=CONNECT
Enter=CR/LF
FlowControl=CRTSCTS
InitString=ATZ
HangupString=+++ATH
Timeout=60
InitResponse=OK
DialString=ATDT
UseCDLine=0
EscapeString=+++
Device=/dev/modem
NoCarrierResponse=NO CARRIER
BusyResponse=BUSY
Lockfile=/var/lock/LCK..modem
EscapeGuardTime=50
Speed=38400
[General]
QuitOnDisconnect=0
ShowLogWindow=0
DisconnectOnXServerExit=1
DefaultAccount=CubeXS ( Your Default ISP Name, In Case You have More then one ISP Account )
iconifyOnConnect=1
AutomaticRedial=0
NumberOfAccounts=1
ShowClock=1
DockIntoPanel=0
pppdTimeout=30
All you have to do is copy the text and paste it into your ~/.kde/share/config/kppprc. Edit the file for your additional information ie login/pass, Modem etc
Remember kppp is one way to connect to Internet, but I would try connecting with scripts like ppp-up or using netcfg first.