| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
6.2 Setting up kppp from KDE
Many Linux distros allow you to enter network details during installation; doing so makes a working connection available as soon as the installation is complete. Or, you can add or change an internet connection at any time. This is particularly easy to do using a KDE tool named kppp. But first, you'll need to know a little about modems....
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
If you still have trouble configuring your modem, read
Modem-HOWTO,
for more information.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
kppp. In the main
KDE menuNow hit `setup' (For the first time you run kppp there will be no phone number in the `Connect To' list ).
Select `Device' , here just specify where your modem is located (e.g. com1 or com2 ) in the `Modem Device' drop down list. Now, Linux sees com1 & com2 in a different way . It refers to com1 as /dev/ttyS0 , com2 as /dev/ttyS1 and so on. So select the suitable device name (i.e. /dev/ttyS0 if com1) here. If you are using an internal modem select `/dev/modem' from the drop down list.
Next, select `Modem' from the tab and click on `Modem Query' , your modem will be queried. If everything goes right you will see a pop up window with some text in it , just hit `Okay' here. If you don't get any response from the modem, check that you have the Device section described above properly configured - you can use trial and error to find the right setting if you don't know which port your modem is on.
Now select `Account' from the tab window and hit `New'. You will get a message box asking you `Do you want wizard ' or `Dialog base setup'. Choose `Dialog base setup' if you are an Indian ( as I am). You can try the wizard setup if you can find your country or network there or else just use the dialog base setup.
Another tabbed window will appear , select `Dial' from tab, give the name of the connection (this can be anything as it is just to allow you to identify the account0, then the phone number which must be dialed to get your ISP & the authentication type. See your ISP manual for the type of authentication (usually PAP), for VSNL user choose terminal based.
Then select `DNS' tab here you have to provide the DNS server domain name or ip addresses. Now if you do not know the ip address then choose automatic & give the domain name (it is generally the part after the "&suml;ign in your email address which you obtain from your ISP. i.e if your email address is [email protected] then the DNS server's domain name is cal2.vsnl.net.in .)
If you know the IP address (it is generally provided with your ISP manual) select manual & add each of them (for cal2.vsnl.net.in server i.e the VSNL server in Kolkata for cal2 user are 202.54.30.1 & 202.1.30). You may also provide both i.e. domain name as well as the ip addresses.
You will also see an "Accounting" tab. This gives you the option of keeping an account of the time or data you use with your ISP, and can be especially useful if you are billed by the hour or megabyte. If you decide to use this feature, click on the "Account" tab and you will see a list of different countries. You will be surprised to find that even India is listed. Tick the checkbox to enable accounting (you won't find this even in WinXP). Select it and you will see different types of accounts available in India (or your country). Choose accordingly and then choose the type of accounting (time, volume etc.)to suit your ISPs billing arrangement. Now hit `Ok'.
Your account is set up & you will see the entry in the list. Click `Ok' again. Now you are back to the starting window.
What are you waiting for? Hit `Connect', and after some screaming of the modem a connection will be made (you can turn the volume down by selecting the "Modem" tab and adjusting the slider in the setup process). A pop up window will appear. Give your user name and password and hit connect. The window will disappear after some time (actually it will be minimized)
Congratulations, you are now connected to the Internet! Select your favourite browser or email client from the "Internet" list in the main menu. Mozilla and Konqueror are popular Linux web browsers, while kmail and Evolution are good email clients. There is also an email client built into Mozilla.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
chmod a+s /usr/bin/kpppThe other method is more complex, but it has the advantage of allowing you to specify who can or cannot connect. It entails making a group, giving this group permission to connect, and then adding the users who will be permitted 'net access to the group. Again, you'll have to be running as root to do this:
1.Add a group called dialout (or any other funky name you can think of)
2.Add the specific users (who want to use kppp) accounts to this group.
3.Now execute the following in a terminal:
chown root.dialout /usr/bin/kppp
then
chmod 4750 /usr/bin/kppp
4.Finally, create a file named /etc/kppp.allow and put in the
users who are in the new group (dialout), one user name per line.
The first two steps can be done graphically using a GUI user manager tool - you will find such a program inside the kontrol panel at the desktop or in Main menu--->system--->user manager. To learn how use the interface click on its "help".
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |