Use the command line to set your own ADSL Modem

Source: Internet
Author: User
I realized today that my small ADSL modem can also be Telnet...
What the ISP gave me was very broken, Alcatel ADSL home plusplus 500.
Telnet your own ADSL modem through the command line. The IP addresses of different brands are different, and you can also modify them ....

Enter the user name and password to log on. You need to check your modem manual and search for it online.
Like a real vro, you can use question marks to query the command format at any time. Simply play with the dial-up on the internet cafe.
First look at the WAN port table,

The ISP here uses VPI 8 and VCI 35. VPI and VCI are the numbers of virtual channels in the ATM. You can check that the network book is part of the ATM.
This type of small router has eight channels, each of which has a bridge and a route. The bridge has been set up, and you need to set a route for dialing. Set the VPI and VCI of Channel 5 to 8 and 35. The Protocol is pppoe, not to mention. At the same time, if you want to enable Nat and automatic reconnection, other IP addresses, gateways, and DNS will be returned when dialing.
I entered the wan_set edit_router Channel 5 VPI 8 VCI 35 login_proto pppoe Nat enable auto_reconnect enable
, Returns the wan_set edit_router success.
The Wan port table has been updated.

The next step is to log on to ADSL.
Enter wan_set login router Channel 5 userid ***** PWD ***** remember true
Remember is set here, so the vro will remember the password.
Returns login successful router conneconnected pppoe.

Now let's take a look at the WAN port table. Channel 5 already has the IP address returned by the ISP. (Here, the user name, password, and IP address are kept confidential ..)
Then you can open the webpage and other network software. If it cannot be opened, you can set the IP address of the NIC to the same segment as the route, mask 255.255.255.0, and gateway and DNS to a vro. This method also prevents you from dialing each time you start the instance. Because we just set a password and automatic reconnection, as long as the route is set up and powered on, it will dial itself, suitable for monthly subscription users.
Finally, I disconnected. Then exit.
I just talked about the configuration process. Different brands of Modem methods are not the same. I have only played the router once. Just draw a picture from the gourd ~~
The VCI of your ISP (China Netcom, China Telecom, or China tietong) is different from that of VPI. different cities of the same ISP are different. You can search for the VCI on the Internet, but I didn't find it. There are eight in total, try it out. Only one dial is successful. The user name, password, and IP address of the router are well searched. Other commands can only be used for help.

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.