ADSL dialing in Linux and fast linux Internet access

Source: Internet
Author: User
Tags string methods
In Linux, ADSL dialing and its star-speed linux Internet access-general Linux technology-Linux technology and application information. The following is a detailed description. I also checked several articles and found that the original Star speed only adds a hidden account character and a carriage return asc code to the front of your account by China Telecom. Others are no different from general pppoe dialing.

After knowing this principle, dialing in linux is easy to solve. The main problem now is to understand how to input the carriage return. Different linux releases have different shell versions, but the string methods in the processing script are different. For this carriage return, if you press a carriage return directly in front of the configuration file, some shells will consider it as two statements. In this case, two solutions are provided:

If you do not know how to configure pppoe or how to extract the original password of the star or other dial-up software, check other websites first. Here we only provide reference solutions for dual-line accounts in linux.

1. After you have run the pppoeconf wizard settings, a dsl-provider configuration file will be generated in/etc/ppp/peers/. The user column will be changed to a format similar to this:

# The quotation marks indicate your complete adsl account. Enter them directly by pressing enter here.
User"
99eedd40zalan00000@dhlg.xx"
# Add a line of password (no password is added. If you have set pppoeconf, you do not need to add it)
Passwords "314218"

After that, do not forget to change the chap-secrets and pap-secrets configuration files in the/etc/ppp/directory. There are also your account and password:

Then start dialing.
$ Sudo pon dsl-provider
Or
$ Sudo pppd call dsl-provider

View the connection log: $ plog

Disconnect: $ sudo poff

(I don't need to teach you this. This method has been tried in Ubuntu 7.10. Everything works)

2. If you cannot press enter, try the \ r \ n escape character.

User "\ r \ n99eedd40zalan00000@dhlg.xx"

(This method has been tried on Kubuntu7.10 (KDE). Everything works)

PS: By the way, you can remember to modify the options in/etc/ppp/after you dial the 710 normal number. The default connection downtime is 4 seconds.

Lcp-echo-failure 4

Change to 40 or higher. Otherwise, after 30 retries, it will take you two minutes to disconnect the Internet. If you don't change it, you will suffer.

Author: п щ from: Jerry_MCH
Related Article

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.