A friend has a dial-up on the Linux problem, slow to solve, yesterday night, or did not fix, this morning continue to engage, fortunately, finally fix, record the process.
Linux dial-up Internet basic Tutorial online, self-search.
The following individuals understand:
Dial-up access is available in two ways:
- Ubuntu appears to bring a DSL config interface, command line input: pppoeconf and then enter the Config GUI. OK, the first pit is here, at username, remember to delete the default username characters, otherwise the characters will be saved in the config file as your username. The password does not have this problem.
- Another is the Pppoe-setup command line, this also please self-search, you can look at these articles:
- Pppoe-setup the entire process:
52888388
-start when there is a problem:
Http://www.cnblogs.com/dczsf/archive/2011/03/05/1971404.html
In fact, these two methods, the same principle, will eventually put the configuration information into their own conf file.
Pppoeconf Way, the final conf file in:/etc/ppp/peers/dsl-provider, so the command line vim directly modify the parameters inside, finished saving exit, then run Pon Dsl-provider, and then run Plog to see if the dial is successful.
[Email protected]:~# Vim/etc/ppp/peers/dsl-provider
[Email protected]:~# pon Dsl-provider
Plugin rp-pppoe.so loaded.
[Email protected]:~# plog
June 8 10:25:47 PPPoE pppd[23343]: Using interface Ppp1
June 8 10:25:47 PPPoE pppd[23343]: Connect:ppp1 <--> eth1
June 8 10:25:47 PPPoE pppd[23343]: Remote message:authentication successful,welcome!
June 8 10:25:47 PPPoE pppd[23343]: PAP authentication succeeded
June 8 10:25:47 PPPoE pppd[23343]: Peer from calling number 00:22:93:5d:e0:20 authorized
June 8 10:25:47 PPPoE pppd[23343]: not replacing existing default route via 180.101.205.254
June 8 10:25:47 PPPoE pppd[23343]: local IP address x.x.x.x
June 8 10:25:47 PPPoE pppd[23343]: remote IP address x.x.x.x
June 8 10:25:47 PPPoE pppd[23343]: primary DNS address x.x.x.x
June 8 10:25:47 PPPoE pppd[23343]: secondary DNS address x.x.x.x
[Email protected]:~# ifconfig
Ifconfig will see a lot of a ppp1,eth1 is through this to the Internet.
The second pit came: if username and password there you lose the wrong, through the GUI interface too troublesome, direct vim below dsl-provider password configuration file. There is a description in the format, the matching on the line.
[Email protected]:~# vim/etc/ppp/pap-secrets
All right, that's it!
Ubuntu14.04 dial-up internet trampling pits