Dial-up Internet with Linux
Many of my frnds recently asked me howto take internet in linux ..
And this blog entry is dedicated for them ,since I would like to give them a general idea of the matter ...
Before you start, please note that some modem manufacturers rely on Windows to operate their modem hardware (aka WinModems), and therefore your internal modem may not work. If you experience trouble then hopefully this page and this web site may help resolve the issue for you. Those with non-Winmodems and external Hayes compatible modems don't need to worry about this at all.
Step 1 Start by Connecting and Rebooting
Once you have properly connected your modem and made sure it is on, reboot your Linux system. In all likelihood, your modem will be detected by the Linux hardware detection tool and automatically installed.
Step 2 Setup an account :Setup an account:
For a dialup connection u need an account :
For Keralites Bsnl provides an accountless connection offer ..Just dial using:
username: <stdcode without zero><Phone No:>
Passwd : bsnl10
and dial to 172222
For example : username: 4872332688
Passwd : bsnl10
Or you could easily buy other accounts ..
TIP: If your ISP tech person mentions that the ISP "does not support Linux," acknowledge you understand this and repeat your questions, since you're not asking them to help provide tech support for Linux, you're asking them how they allow access to their network for your use.
You will find out shortly something I've noticed from my experiences some ISPs are far nicer about helping you do this than others!
For configuring modem you need a driver to be setup just like in any OS..
Inorder for that you need to identify your modem
If could detect modem in some other OS ..Just query modem(In xp:Control Panel->Modem options->modems->properties->diagnostics->query modem) ..and get modem info ..
Then you could easily get your driver from net ..Otherwise refer to your vendor ..
For linux users : you could get most of the drivers from here if yours' is an HSF or HCF modem ...
Installation instructions must be read before proceding to kernel compilation and all ..
Download Documentation for HxF modem from here..
Now you have to configure modem by installing the driver ..
In linux you know :
./configure
make
make install
as per directions in INSTALL file ..
Done ..Now get the corresponding software for your linux distro ..
For example : kppp will do in Fedora ..
You can also get to this tool later by typing in a terminal prompt: internet-druid
Debian has a network-admin
Suse most probably you will need to compile the kernel to use kppp or KDE network tool....
For the process of detailing we'll discuss Fedora ,Suse and Debian
Step 4:
Debian Dial-Up
In Debian you will find a tool called 'network-admin' ..with which you could easily configure and dial your modem ..
network-admin will show a modem0 icon click that and 'configure' ...It coud autodetect modem if its in the link /dev/modem
For HSF Modems usually device made will be '/dev/ttySHSF0' and it will be informed after the installation ..Carefully read the messages after 'make install' ..
Most probably you will have to make a link called /dev/modem to point to '/dev/ttySHSF0'
Sometimes (if kernel modules did not match ) you may have to compile your kernel ..If so the application installer will inform you ...
Fedora Dial-Up (for SuSe Dial-up scroll down)
In Fedora you will find a handy menu item under System Tools labeled Internet Connection Wizard.
It's actually the Internet Druid configuration tool and will simplify the process of identifying the modem and ISP details. Go ahead and start the tool by clicking on it.You can also get to this tool later by typing in a terminal prompt: internet-druid
Please notice that once in the tool you actually have the option of adding a number of new devices. For now just click once on the Modem connection and press the Forward button.
You will see the Select Modem screen. From here you should choose from the pull down top menu item the proper device for your modem. It may vary, but from my experience, in a majority of cases an external modem connected to the Serial port on the back of the PC will be /ttyS0.
I also recommend that you change the volume to ensure you can hear what the modem is doing. Set it to Medium and press Forward.
Now you will see the screen that offers the chance to input details regarding your ISP and account.
You will see a listing of preloaded ISPs on the left menu. If you reside in one of the countries where an ISP is listed, then you can choose the details from the menu, under the appropriate national flag. If you reside in other countries like the U.S. or Canada you will need to input the details.
Be sure that what you put into the Phone Number items are applicable to your calling location. In most cases, you do not need to enter anything into either Prefix or Area Code. The Provider name field, as in a number of other configurations like Debian and Mandrake, is not essential and is there for your own reference.
Make sure you type in the correct login and password! When you've finished filling out the details, press the Forward button again.
The next screen refers to your DNS settings. In most cases you should make sure that it is set to automatically receive your IP address.
Also, be sure to select automatically obtaining the DNS information!
You will now see the Network Configuration tool appear. In the future, you can access this tool again by either going to the main menu and selecting System Settings, then choosing the Network icon, or you can type into a terminal window the following:
system_config_network
Below is my screenshot of the Network Configuration tool:
By highlighting your Modem and then clicking on the Edit icon, you will be able to make changes to the configuration details. Most of the Modem configuration should already be completed and correct.
Click on each of the tabs (Router, Provider, etc.) and check. If everything looks like it matches your input then go to the Advanced tab and select the option to Let PPP do all authentication.
This allows the PPP (point to point protocol) to handle passing your login and account data to your ISP, which is the default for most situations. Press OK and return to the Network Configuration main window.
You can close your configuration window, which will give you the option to Save your changes. Click OK to save the changes you made.
Now, please reboot your Linux system. Rebooting has often resolved issues with hardware configuration and so I strongly recommend it after any new modem or network setup.
Once your Linux system is back up and running, you should be able to dialup your ISP and get online! Go to the main menu, choose System Set- tings, then Network to return to the Network Configuration tool , activate your modem
You should see a small window appear with the words:
Activating network device please wait.
When this window disappears you are ready to surf the internet. Open your Linux web browser and enjoy!
NOTE: Troubleshooting and helpful TIPS are included at the end of this article.
SuSe Dial-Up
If you use SuSe or some other flavor running the latest KDE desktop these tips will help you get online with a dial-up modem.
Remember that even though the screens may not exactly match your own (all flavors differ somewhat), the tips and information I provide, such as automatically setting DNS, will apply to all flavors.
Begin by starting up the YaST tool, or your flavor's hardware configuration tool. If you're not sure what I am referring to, please review the article Post-Installation Configuration for guidance.
To start SuSe's YaST tool from your main menu choose System and then YaST. If it's not listed there, then from your main menu choose System, then Configuration, and click on the YaST icon.
From the YaST main menu choose Network Devices, and click on the Modem icon.
The Modem configuration window will open and offer you the chance to either configure an existing modem or add a modem. In many cases SuSe hardware detection has already identified and configured your modem for you. You would see it listed under Available are:
However, for those who don't see a modem listed or who get a modem listed that does not match the one installed, I include details on adding your modem below.
ADDING A MODEM TO SUSE:
To add a modem press the Change button, not the Configure button.
You will see a window that offers the option to Add your new modem and also Add ISP related information.
First begin by clicking on the upper Add button, which will allow you to configure your dialup modem.
Once you click Add you should see the Modem Parameters window.
The device name is very important. Sometimes the device is already preset to something like /dev/modem.
In many cases this is not correct and will not work. Instead, click on the pull down menu and select /ttyS0, which is usually the correct device name for a modem connected by a serial cable to the back of the Linux PC.
On the Modem Parameters window, you should also make sure that the Speaker on setting is selected and that any dialing prefix you need to dial out (such as 9 for dial out) is entered in the Dial prefix.
Click on the Next button to open the Select ISP window.
Here you will find a very thorough listing of many available ISPs. You will find a rather thorough list and if one of the ISPs is yours, you can simply select it and press Next.
However, for those folks who did not find their ISP listed, there is a very simple solution. Press the New button to configure it manually. Don't worry, this is a quick process.
You will see the Provider parameters screen.
As I mentioned, almost all flavors I've used across the board included a "Provider Name" field. This is used exclusively for your information and is not essential to the login process. However, the phone number field must be correct! Once you finish filling out the information on this screen press Next one more time.
On the Connection Parameters screen you will find an important setting! The Modify DNS when connected option is actually allowing your ISP to set your Linux DNS and in almost every case you must select this.
Please make sure the options in the example below are set on your configuration screen as well. I've circled them for easy reference.
Selecting Firewall is another important option and will basically disable inbound connection requests. You should almost always have firewall selected. Only in cases when I'm using the Linux system as a server does the firewall sometimes impede rightful inbound requests.
Click Next and you will return to the Provider Parameters screen where all fields should now be filled in. You are ready to start your first Linux dial-up session as soon as you click Next and then the Finish button!
If you see the option to Configure Mail Now? select No. You can always do this later.
Now, reboot your Linux system
As I already mentioned earlier, rebooting can prevent many frustrating experiences with hardware configuration. I strongly recommend a reboot after any new modem or network setup. Once your Linux system has rebooted, look for the KDE Internet Tool located on the bottom right of your KDE menu. It looks like this:
You can press the right mouse button over the icon to view all of the tool's options or to manually dial-in. Otherwise, you simply click one time on the icon to begin dialing.
For Broadband:
Refer to :
Basic Guide to DSL/Cable Use
Exclusive Linux articles
http://www.reallylinux.com/docs/consult.shtml
DSL Connection
-anf
Many of my frnds recently asked me howto take internet in linux ..
And this blog entry is dedicated for them ,since I would like to give them a general idea of the matter ...
Before you start, please note that some modem manufacturers rely on Windows to operate their modem hardware (aka WinModems), and therefore your internal modem may not work. If you experience trouble then hopefully this page and this web site may help resolve the issue for you. Those with non-Winmodems and external Hayes compatible modems don't need to worry about this at all.
Configuring net in linux :
(For Dialup users:)Step 1 Start by Connecting and Rebooting
Once you have properly connected your modem and made sure it is on, reboot your Linux system. In all likelihood, your modem will be detected by the Linux hardware detection tool and automatically installed.
Step 2 Setup an account :Setup an account:
For a dialup connection u need an account :
For Keralites Bsnl provides an accountless connection offer ..Just dial using:
username: <stdcode without zero><Phone No:>
Passwd : bsnl10
and dial to 172222
For example : username: 4872332688
Passwd : bsnl10
Or you could easily buy other accounts ..
TIP: If your ISP tech person mentions that the ISP "does not support Linux," acknowledge you understand this and repeat your questions, since you're not asking them to help provide tech support for Linux, you're asking them how they allow access to their network for your use.
You will find out shortly something I've noticed from my experiences some ISPs are far nicer about helping you do this than others!
Step 3 Configure the Modem and ISP Info
For configuring modem you need a driver to be setup just like in any OS..
Inorder for that you need to identify your modem
If could detect modem in some other OS ..Just query modem(In xp:Control Panel->Modem options->modems->properties->diagnostics->query modem) ..and get modem info ..
Then you could easily get your driver from net ..Otherwise refer to your vendor ..
For linux users : you could get most of the drivers from here if yours' is an HSF or HCF modem ...
Installation instructions must be read before proceding to kernel compilation and all ..
Download Documentation for HxF modem from here..
Now you have to configure modem by installing the driver ..
In linux you know :
./configure
make
make install
as per directions in INSTALL file ..
Done ..Now get the corresponding software for your linux distro ..
For example : kppp will do in Fedora ..
You can also get to this tool later by typing in a terminal prompt: internet-druid
Debian has a network-admin
Suse most probably you will need to compile the kernel to use kppp or KDE network tool....
For the process of detailing we'll discuss Fedora ,Suse and Debian
Step 4:
Debian Dial-Up
In Debian you will find a tool called 'network-admin' ..with which you could easily configure and dial your modem ..
network-admin will show a modem0 icon click that and 'configure' ...It coud autodetect modem if its in the link /dev/modem
For HSF Modems usually device made will be '/dev/ttySHSF0' and it will be informed after the installation ..Carefully read the messages after 'make install' ..
Most probably you will have to make a link called /dev/modem to point to '/dev/ttySHSF0'
Sometimes (if kernel modules did not match ) you may have to compile your kernel ..If so the application installer will inform you ...
In Fedora you will find a handy menu item under System Tools labeled Internet Connection Wizard.
It's actually the Internet Druid configuration tool and will simplify the process of identifying the modem and ISP details. Go ahead and start the tool by clicking on it.You can also get to this tool later by typing in a terminal prompt: internet-druid
Please notice that once in the tool you actually have the option of adding a number of new devices. For now just click once on the Modem connection and press the Forward button.
You will see the Select Modem screen. From here you should choose from the pull down top menu item the proper device for your modem. It may vary, but from my experience, in a majority of cases an external modem connected to the Serial port on the back of the PC will be /ttyS0.
Now you will see the screen that offers the chance to input details regarding your ISP and account.
You will see a listing of preloaded ISPs on the left menu. If you reside in one of the countries where an ISP is listed, then you can choose the details from the menu, under the appropriate national flag. If you reside in other countries like the U.S. or Canada you will need to input the details.
Be sure that what you put into the Phone Number items are applicable to your calling location. In most cases, you do not need to enter anything into either Prefix or Area Code. The Provider name field, as in a number of other configurations like Debian and Mandrake, is not essential and is there for your own reference.
Make sure you type in the correct login and password! When you've finished filling out the details, press the Forward button again.
The next screen refers to your DNS settings. In most cases you should make sure that it is set to automatically receive your IP address.
Also, be sure to select automatically obtaining the DNS information!
You will now see the Network Configuration tool appear. In the future, you can access this tool again by either going to the main menu and selecting System Settings, then choosing the Network icon, or you can type into a terminal window the following:
system_config_network
Below is my screenshot of the Network Configuration tool:
Click on each of the tabs (Router, Provider, etc.) and check. If everything looks like it matches your input then go to the Advanced tab and select the option to Let PPP do all authentication.
This allows the PPP (point to point protocol) to handle passing your login and account data to your ISP, which is the default for most situations. Press OK and return to the Network Configuration main window.
You can close your configuration window, which will give you the option to Save your changes. Click OK to save the changes you made.
Now, please reboot your Linux system. Rebooting has often resolved issues with hardware configuration and so I strongly recommend it after any new modem or network setup.
Once your Linux system is back up and running, you should be able to dialup your ISP and get online! Go to the main menu, choose System Set- tings, then Network to return to the Network Configuration tool , activate your modem
You should see a small window appear with the words:
Activating network device please wait.
When this window disappears you are ready to surf the internet. Open your Linux web browser and enjoy!
NOTE: Troubleshooting and helpful TIPS are included at the end of this article.
SuSe Dial-Up
If you use SuSe or some other flavor running the latest KDE desktop these tips will help you get online with a dial-up modem.
Remember that even though the screens may not exactly match your own (all flavors differ somewhat), the tips and information I provide, such as automatically setting DNS, will apply to all flavors.
Begin by starting up the YaST tool, or your flavor's hardware configuration tool. If you're not sure what I am referring to, please review the article Post-Installation Configuration for guidance.
To start SuSe's YaST tool from your main menu choose System and then YaST. If it's not listed there, then from your main menu choose System, then Configuration, and click on the YaST icon.
From the YaST main menu choose Network Devices, and click on the Modem icon.
The Modem configuration window will open and offer you the chance to either configure an existing modem or add a modem. In many cases SuSe hardware detection has already identified and configured your modem for you. You would see it listed under Available are:
However, for those who don't see a modem listed or who get a modem listed that does not match the one installed, I include details on adding your modem below.
ADDING A MODEM TO SUSE:
To add a modem press the Change button, not the Configure button.
You will see a window that offers the option to Add your new modem and also Add ISP related information.
First begin by clicking on the upper Add button, which will allow you to configure your dialup modem.
Once you click Add you should see the Modem Parameters window.
The device name is very important. Sometimes the device is already preset to something like /dev/modem.
In many cases this is not correct and will not work. Instead, click on the pull down menu and select /ttyS0, which is usually the correct device name for a modem connected by a serial cable to the back of the Linux PC.
On the Modem Parameters window, you should also make sure that the Speaker on setting is selected and that any dialing prefix you need to dial out (such as 9 for dial out) is entered in the Dial prefix.
Click on the Next button to open the Select ISP window.
Here you will find a very thorough listing of many available ISPs. You will find a rather thorough list and if one of the ISPs is yours, you can simply select it and press Next.
However, for those folks who did not find their ISP listed, there is a very simple solution. Press the New button to configure it manually. Don't worry, this is a quick process.
You will see the Provider parameters screen.
On the Connection Parameters screen you will find an important setting! The Modify DNS when connected option is actually allowing your ISP to set your Linux DNS and in almost every case you must select this.
Please make sure the options in the example below are set on your configuration screen as well. I've circled them for easy reference.
Click Next and you will return to the Provider Parameters screen where all fields should now be filled in. You are ready to start your first Linux dial-up session as soon as you click Next and then the Finish button!
If you see the option to Configure Mail Now? select No. You can always do this later.
Now, reboot your Linux system
As I already mentioned earlier, rebooting can prevent many frustrating experiences with hardware configuration. I strongly recommend a reboot after any new modem or network setup. Once your Linux system has rebooted, look for the KDE Internet Tool located on the bottom right of your KDE menu. It looks like this:
You can press the right mouse button over the icon to view all of the tool's options or to manually dial-in. Otherwise, you simply click one time on the icon to begin dialing.
Once your dial-in is completed, you're ready to browse the internet! Open your Linux web browser and enjoy.
To end your dial-up connection click once more on the little KDE Internet Tool icon:
That's it!For Broadband:
Refer to :
Basic Guide to DSL/Cable Use
Exclusive Linux articles
http://www.reallylinux.com/docs/consult.shtml
DSL Connection
-anf
No comments:
Post a Comment