Linux modem dial-up online troubleshooting

Source: Internet
Author: User
Article title: Linux modem dial-up online troubleshooting. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

At present, there are more and more users using ADSL broadband Internet access. However, in some cases, a 56 K modem is still needed (currently, the ADSL modem cannot send or receive a fax ), the following describes how to troubleshoot dial-up Internet access for modem in Linux.

Check whether the modem module is properly loaded,

You can use the following command line:

#[root@www root]# lsmod
Module                  Size  Used by    Tainted: PF
nls_iso8859-1           3484   1  (autoclean)
vfat                   11948   1  (autoclean)
fat                    36792   0  (autoclean) [vfat]
usb-storage            63860   1
scsi_mod              102616   2  [sd_mod usb-storage]
soundcore               6116   0  (autoclean)
ham                    14428   1  (used)
hamcore               616480   1  [ham]
parport_pc             17508   1  (autoclean)
lp                      8580   0  (autoclean)
parport                33952   1  (autoclean) [parport_pc lp]
autofs                 12148   0  (autoclean) (unused)
ne2k-pci                6720   1
8390                    7868   0  [ne2k-pci]
mousedev                5204   1
input                   5632   0  [keybdev mousedev hid]
usb-uhci               24652   0  (unused)
usbcore                73088   1  [usb-storage hid usb-uhci]
ext3                   64704   2
jbd                    47828   2  [ext3]

The black font above indicates that the author's Modem (omnidirectional HCF built-in 56 K Modem) has been loaded.

Whether the PPP protocol is added to the Linux kernel

We know that the use of modem connection requires support from the PPP protocol, so here we will check whether the kernel supports the PPP protocol:

#root@www cao]# grep CONFIG_PPP /usr/src/linux/.config
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
CONFIG_PPPOATM=m

The above feedback contains CONFIG_PPP = y or CONFIG_PPP = m, so the kernel supports PPP. In fact, if you are using a newer release version such as Redhat linux 9 or later, the kernel should be compiled with PPP support. Some versions of linux may not contain the. config file. if lsmod cannot be compiled into the kernel, check PPPd for verification.

[1] [2] [3] Next page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.