[已解决]放假了,在家如何实现拨号上网

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
wubinghui888
帖子: 26
注册时间: 2008-05-16 19:18
来自: 中国

[已解决]放假了,在家如何实现拨号上网

#1

帖子 wubinghui888 » 2008-07-31 23:39

各位朋友,在学校的时候在Ubuntu下配置了一下就可以上网了。现在放假回家。在家里用的锚连接电话线上网。在Ubuntu下怎么进行拨号上网啊?怎么进行配置哈?
希望告诉能指点一下。万分感谢。
上次由 wubinghui888 在 2008-08-03 12:39,总共编辑 1 次。
yemingkuang
帖子: 1
注册时间: 2008-07-31 19:29

#2

帖子 yemingkuang » 2008-08-01 9:28

听高手说是终端输入sudo pppoeconf 然后安装他说的填就好了。可是我的老断网,不知为什么
longpeisky
帖子: 4
注册时间: 2008-08-01 9:29

#3

帖子 longpeisky » 2008-08-01 9:44

应用程式--系统工具--终端  打开一终端,输入命令:
sudo pppoeconf
然后进行下去就行了,中途需要输入adsl用户名和密码。
以后,要手工拨号,打开终端,输入命令:
sudo pon dsl-provider
一般情况下,一次拨通后以后登陆ubuntu都会自动拨通上网的了,不用每次都输入命令拨号。
手工断线:
sudo poff
查看连接情况:
plog 和 ifconfig ppp0
ifconfig ppp0 可查询本机的上网IP
longpeisky
帖子: 4
注册时间: 2008-08-01 9:29

#4

帖子 longpeisky » 2008-08-01 9:51

查看拨号日志sudo plog

对于 拨号 ADSL 和 断开 ADSL 可以在菜单编辑器中依照以上命令行建立相应的快捷方式以方便拨号。
longpeisky
帖子: 4
注册时间: 2008-08-01 9:29

#5

帖子 longpeisky » 2008-08-01 9:53

Ubuntu对于PPPOE的友好度很差,远不及FC和Suse系列的Linux,而且我在“新立得软件管理器"中查找了半天也没有找到一个图形化的东西,如果哪位大哥找到了麻烦透露一下,在此深表感谢!

OK!废话少说了,开始配置!

首先确保你的modem连接正确,在配置过程中系统会搜索modem状态的。
开一个终端:
$sudo pppoeconf //习惯了ubuntu就会习惯于什么命令都sudo来sudo去的

系统开始搜索所有网络接口上的adsl modem,一步步的yes过来。

│ Please enter the username which you usually need for │
│ the PPP login to your provider in the input box below. │
│ If you wish to see the help screen, delete the │
│ username and press OK. │

输入你的adsl帐号。
输入密码。

Would you like to add these addresses automatically to the list of nameservers in your local /etc/resolv.conf file? (recommended)

是否自动获得DNS,选择是。

Should pppoe clamp MSS at 1452 bytes? If unsure, say yes.

数据包长度的设置,如果跟我一样不确定,选择是


Your PPPD is configured now. Would you like to start the connection at boot time?

是否启动时自动激活ADSL? 各位看着办吧。

配置结束,你可以使用 sudo pon dsl-provider 激活ADSL , 使用 sudo poff dsl-provider关闭ADSL.
wubinghui888
帖子: 26
注册时间: 2008-05-16 19:18
来自: 中国

#6

帖子 wubinghui888 » 2008-08-03 12:40

5楼的那个方法就是这个问题的解决方法。
xsuut
帖子: 15
注册时间: 2008-07-02 23:25

#7

帖子 xsuut » 2008-08-04 18:14

5楼的,我在终端里输入sudo pppoeconf后,得到的是这样一张图。没有
│ Please enter the username which you usually need for │
│ the PPP login to your provider in the input box below. │
│ If you wish to see the help screen, delete the │
│ username and press OK. │
这样的提示 :cry:
附件
1.png
compass
帖子: 2
注册时间: 2008-08-04 16:39

#8

帖子 compass » 2008-08-05 12:59

longpeisky 写了:应用程式--系统工具--终端  打开一终端,输入命令:
sudo pppoeconf
然后进行下去就行了,中途需要输入adsl用户名和密码。
以后,要手工拨号,打开终端,输入命令:
sudo pon dsl-provider
一般情况下,一次拨通后以后登陆ubuntu都会自动拨通上网的了,不用每次都输入命令拨号。
手工断线:
sudo poff
查看连接情况:
plog 和 ifconfig ppp0
ifconfig ppp0 可查询本机的上网IP


我在输入sudo pon dsl-provider 后依然不能上网
用fire fox什么网页都是无法找到
以致于中文语言包都安装不了
yyz139
帖子: 84
注册时间: 2007-01-07 15:04

#9

帖子 yyz139 » 2008-08-05 13:24

@xsuut:usb猫吗?
@compass:你确定用户名密码没错?如果在win下使用了星空急速请搜索论坛
xsuut
帖子: 15
注册时间: 2008-07-02 23:25

#10

帖子 xsuut » 2008-08-06 20:21

yyz139 写了:@xsuut:usb猫吗?
@compass:你确定用户名密码没错?如果在win下使用了星空急速请搜索论坛
我用的不是USB猫,在win下能正常上网。用户名密码都没错。曾经有一次联上网了,只联了两三分钟,我也不知道我是怎么操作了,就那一会儿联上了。现在还没联上 :(
回复