How do I dial-up my ISP using a modem on Linux to start browsing Internet?
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I dial-up my ISP using a modem on Linux to start browsing Internet?
I have configured my modem correctly (or maybe I think so).
In the "Network Device Control" application (in "System Tools" menu, RH Linux 9 (Shrike)), If I activate the device (ppp0), the device immediately starts up and shows in ifconfig.
No dialing tone is heard (I use pulse dialing as my ISP does not support Tone as yet).
The dial-mode is set to auto instead of manual.
Although the device is displayed as Active, when I use a browser (say Firefox), I cannot browse Internet. In the browser, I have selected "Direct connection to Internet".
If the dial-mode (in "Network Configuration") is set to manual, the dialing tone is heard but the device fails to startup. I get this error message "Failed to activate ppp0 with error 8".
NOTE: The modem device starts up and is detected ok at boot time.
You need a hardware external modem. They're available on eBay for $10. Any PCI internal modem will not work with Linux. Period.
That cannot be true as I have used a US Robotics 5610B pci modem with Red Hat Enterprise 3, Fedora, Knoppix,Mandrake to name a few. I have found that all Linux distros are not created equal and sometimes a "linux modem" may not work with a particular distro.
It sounds like your modem is recognized if you hear dial tone. I no longer use dial up but when I did kppp was used mostly to make the connection. Wish I could be of more help but you are close.
I managed to connect to my ISP using wvdial (by manually editing /etc/wvdial.conf). The baud rate is displayed correctly and the status shows connected. ifconfig also shows the PPP status as up. But I am still not able to surf the internet. Could this be a problem of the iptables firewall? If so, how do I configure iptables to allow TCP/IP packets to pass through without compromising the system to external attacks?
The modem configurations were correct and wvdial connected to the ISP. The problem was the security settings. By default Linux sets up the firewall (iptables) which denies incoming HTTP connections (except for ICMP, correct me if I am wrong). All I did was modify the firewall to allow the following incoming connections:
WWW (HTTP)
FTP
SSH
DHCP
(These were the ones I required so enabled them)
Security settings can be accessed from the RH/Start Menu->System Settings->Security Level->Customize
Restart the network service (or restart the machine) and voila! - I'm on the World Wide Web (or is it called cyberspace?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.