Ubuntu wireless connection to pppoe

Source: Internet
Author: User
Tags nameserver

Users who use wireless dial-up Internet access can often view wireless signals such as Chinanet in the top-right corner of the desktop, but cannot find where to enter the account and password. If you log on through the web page, you may have to install ActiveX plug-ins. In fact, solving the problem is very simple. The following is a method of Liberation:

First open the terminal and enter:

sudo pppoeconf

However
A text menu guide page appears. Follow the prompts. Enter the account and password provided by the ISP, and press Enter. Basically, press enter all the way. Log on to the system or not.
Line connection. Generally, wireless Internet access is billed for hours. We can choose not. Finally, we asked whether to connect immediately. We chose "yes '. Now, you should be able to access the Internet by enabling Firefox.

The following are some common commands:

Sudo Pon DSL-provider # connect to the network
Sudo poff # Disconnect the network

Generally, after the system is restarted for the first time, you will find that not only does the Internet access fail, but the NetworkManager icon displaying signals in the upper right corner cannot be found. One solution:

Enter the following command in the terminal to configure the network connection management file:

sudo gedit /etc/NetworkManager/nm-system-settings.conf

After opening, find

[ifupdown]
managed=false

Modify:

[ifupdown]
managed=true

Terminal input:

sudo gedit /etc/network/interfaces

Retain only

auto lo
iface lo inet loopback

Delete the DNS settings file:

sudo mv /etc/resolv.conf /etc/resolv.conf_backup

Then restart the network-Manager Service:

sudo service network-manager restart

 

 

 

# The online configuration path is as follows:

/Etc/Network/interfaces

 
The content is similar:

Auto lo <br/> iface lo Inet loopback </P> <p> iface DSL-provider Inet PPP <br/> pre-up/sbin/ifconfig eth0 up # line maintained pppoeconf <br/> provider DSL-provider </P> <p> auto eth0 <br/> iface eth0 Inet DHCP

If the configuration takes effect, restart the NIC:

Ifconfig eth0 down ifconfig eth0 up

 

# DNS configuration path:

/Etc/resolv. conf

 
The content is similar:

Nameserver 202.101.172.46 <br/> nameserver 202.101.172.47

 

# Run the following command to restart the built-in Network Management Program:
/Etc/init. d/networking restart

 

# Path of the network management program configuration file

/Etc/NetworkManager/nm-system-settings.conf

 
# Default pppoe configuration file path
/Etc/PPP/peers/DSL-provider

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.