Use the pppoeconf command to dial
Enable Wired connection:
Sudo ifconfig eth0 up
Enter:
Sudo pppoeconf
A text menu-basedProgramWill guide you through the following steps:
1. confirm that the ethernet card has been detected.
2. Enter your user name (provided by the ISP). Note: when entering the user name, clear "username" in the input box. Otherwise, verification errors may occur ).
3. enter your password (provided by the ISP ).
4. If you have configured a pppoe connection, you will be notified that the connection will be modified.
5. A pop-up option is displayed: Whether you need the 'noauth' and 'defaultrotu' options and remove 'nodetach '. Here, select "yes ".
6. Use peer DNS-select "yes ".
7. Limited MSS problem-select "yes ".
8. When you are asked whether to automatically connect to the system when you enter the system, you can select "yes ".
9. Finally, you will be asked whether to establish a connection immediately.
Start the ADSL connection as needed. You can enter the following in the terminal:
Sudo Pon DSL-provider
Disconnect the ADSL connection. You can enter the following in the terminal:
Sudo poff
If you find that the connection works properly, try to manually adjust the configuration of your ADSL connection (refer to the previous section ).
To view logs, enter:
Plog
Obtain the interface information. You can enter the following information in the terminal:
Ifconfig ppp0
After using pppoeconf for dialing, network manager displays the solution that the device is not hosted:
Enter the following command in the terminal to configure the network connection management file:
After sudo gedit/etc/NetworkManager/nm-system-settings.conf is turned on, find [ifupdown] managed = false to: [ifupdown] managed = true
The terminal runs sudo gedit/etc/Network/interfaces and only keeps
Auto lo iface lo Inet loopback
Delete DNS settings sudo mV/etc/resolv. CONF/etc/resolv. conf_backup
Restart the network-Manager Service: sudo service network-manager restart.
Certificate ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I used the above method to enable Ubuntu to access the Internet at home, but I didn't need to go back to school. I used a router directly.
I want to modify the auto start option, so I will modify the following sh:
#! /Bin/shpath =/usr/local/sbin:/usr/local/bin:/usr/bin: /binexport path # modprobe-Q pppoe # exec pppd call DSL-provider
The last two lines are commented out.