LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1072|回复: 6

昨天装上 fedora 5,但不懂怎样拨号上网~~求教

[复制链接]
发表于 2006-9-1 14:02:53 | 显示全部楼层 |阅读模式
我在网络配置里设置好 IP、DNS 之类,然后新建 XDSL 连接,设好 ISP 名称、账号、密码,但却无法正确拨号。。。只能激活其中一个网卡,XDSL 无法激活,请问 激活 是不是就相当于 windows 下的连接?

然后我再到 应用程序 里的 Internet 那里找到 KPPP,我的 所在地 和 ISP提供商 都不在列表中,于是只能手动设置,但却又没看到哪有设置 账号密码 的地方,而且 KPPP 首界面里 账号、密码、连接 都是灰色不可选的。。。

信息:我双网卡,但在 windows 下用来拨号那个主网卡不认(列表中有,但却无法探测到),只认副的(该网卡在windows下要手动安装驱动)

在首页 和 Google 找了很久都没找到解决方法,只能发帖求助了

起码能先在 Fedora 中上网,否则象现在这样在另一台电脑上用 windows 找资料学习,太不方便了

多谢各位!
发表于 2006-9-1 22:57:53 | 显示全部楼层
KDE桌面我未用过,我只用GNOME桌面,是在管理-网络中配置的xDSL,与你讲的也差不多。服务是网通的512Kb,帐号密码都可保存,之后有个新的设备ppp0,激活就可以用了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-2 00:46:52 | 显示全部楼层
哦,我 Gnome 和 KDE 都装了,比 Windows 华丽多了

现在就是 Gnome 里的 PPP0 无法激活、 KDE 里的 KPPP 账户密码连接 不可选,郁闷
回复 支持 反对

使用道具 举报

发表于 2006-9-2 02:52:20 | 显示全部楼层
请问楼主时PPPoE方式的连接吗?

建议用命令行的adsl-setup。

如果可能,请参看我的网站中的相关设置方法,可能会对你有帮助。

http://myserver.digeast.com/install.html

网页下部有“建立PPPoE连接”的方法。

还是不忘做广告:http://myserver.digeast.com
回复 支持 反对

使用道具 举报

发表于 2006-9-2 09:13:49 | 显示全部楼层
我是这样解决的,在 /usr/sbin 目录下, 有 adsl-setup,adsl-connect,
现运行 adsl-setup, 一步步的照着提示做,如下:
Welcome to the ADSL client setup.  First, I will run some checks on
your system to make sure the PPPoE client is installed properly...

The following DSL config was found on your system:

  Device:      Name:
  ppp0         DSLppp0

Please enter the device if you want to configure the present DSL config
(default ppp0) or enter 'n' if you want to create a new one:

LOGIN NAME

Enter your Login Name (default xxxxxxxxxx):

INTERFACE

Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where 'X' is a number.
(default eth0):

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped.  If you want the link to
stay up permanently, enter 'no' (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses.  You may have some problems with demand-activated links.
Enter the demand value (default no):

DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic DNS addresses',
enter 'server' (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: server

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter 'yes' (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes

FIREWALLING

Please choose the firewall rules to use.  Note that these rules are
very basic.  You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security.  If you
are running any servers on your machine, you must choose 'NONE' and
set up firewalling yourself.  Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc.  If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules.  You are responsible
          for ensuring the security of your machine.  You are STRONGLY
          recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
                for a LAN
Choose a type of firewall (0-2): 0

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):

** Summary of what you entered **

Ethernet Interface: eth0
User name:          xxxxxxxxxxx
Activate-on-demand: No
DNS addresses:      Supplied by ISP's server
Firewalling:        NONE
User Control:       yes
Accept these settings and adjust configuration files (y/n)?

设置正确以后, 每次上网运行命令 adsl-connect 就可以了.
但是还有一个问题,手动断开以后在运行adsl-connect就不能连接了, 正在解决中 !
回复 支持 反对

使用道具 举报

发表于 2006-9-2 09:14:00 | 显示全部楼层
晕 发了两遍! ff不给提示啊!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-2 14:09:20 | 显示全部楼层
搞定了,我把多余的网卡删除了就能激活,但不知为何明明设置了开机自动激活 XDSL 但还要手动激活才行,再摸索摸索
楼上两位前辈的方法我之前试过,和在网络里新建差不多啊,但还是非常感谢,也收藏了 Chao 的网站。。。
现在就是在 Fedora 中上的网,太华丽了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表