QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 11675|回复: 24

问题问题-关于ADSL上网的问题!

[复制链接]
发表于 2002-9-8 15:03:45 | 显示全部楼层 |阅读模式
我的ADSL安装




这样安装好了后也打了adsl-start 还是不能连接上网
那里写错了。
二张网卡都是
Realtek RTL8139 Family PCI fast ehternet NIC
Realtek RTL8139 Family PCI fast ehternet NIC #2
在XP下面Realtek RTL8139 Family PCI fast ehternet NIC #2IP是192。168。0。1

访问windows硬盘时看到的中文是这样的

发表于 2002-9-8 16:29:25 | 显示全部楼层
1. 注意网卡IP设为自动取得~~~可以控制吧中设定:
  A.下栽源代码软件包
  http://www.roaringpenguin.com/pppoe/rp-pppoe-3.2.tar.gz
  B.解压缩
    #tar xvfz rp-pppoe-3.2.tar.gz
    #cd rp-pppoe-3.2
  C.进行编译和安装
    运行脚本
    #./go
  将自动进行编译和安装,最后,调用/usr/sbin/adsl-setup进行配置,具体解释见三。

2. 配置PPPOE客户端软件
  安装完软件包后,必须配置pppoe的配置文件/etc/ppp/pppoe.conf,从而让ADSL拨号时使用配置文件中的用户名、密码等参数。我们不必手工改动这个文件,可以使用adsl-setup这个工具进行配置:
    #/usr/sbin/adsl-setup
当出现
    >>> Enter your PPPoE user name :
  输入ADSL帐号的用户名(不是你给他取名)
当出现
  >>> 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 ethn, where 'n' is a number.
  (default eth0):
  输入 eth0 ,这是ADSL相连的网卡的名字。
当出现
  >>> Enter the demand value (default no):
  输入 no
当出现
  >>> Enter the DNS information here:
  输入 server ,这表示使用ADSL拨号自动获得的DNS服务器IP地址
当出现,如果还不清楚,请到windows转到dos用ipconfig/all看看你的dns是多少
  >>> Please enter your PPPoE password:
  输入ADSL帐号的密码
当出现
  >>> Choose a type of firewall (0-2):
  输入 0 ,不使用防火墙
当出现
  >>> Accept these settings and adjust configuration files (y/n)?
  如果输入的信息正确,输入 y ,完成配置,否则,输入 n 重新输入。

3、 启动PPPOE客户端软件
  使用命令:
    /usr/sbin/adsl-start
  启动PPPOE客户端软件,进行连接,如果成功,将出现Connected;
  如果不成功,请检查网线、ADSL MODEM等物理设备,并查看 /var/log/messages中的信息
    /usr/sbin/adsl-stop 关闭和ISP的连接
    /usr/sbin/adsl-status 查看当前连接的状态
  如果想在Linux系统启动时自动启动ADSL连接,输入以下命令
    #chkconfig --add adsl
  将在当前的运行级下加入ADSL的自启动脚本。

4. 测试
  当连接成功后,使用命令:
    #ifconfig -a
  在输出中应该含有关于 ppp0 的一堆信息,其中还绑定了 IP 地址,说明已经从拨号中获得了IP地址。
  使用命令
    #netstat -nr
  查看路由表信息,这时的默认路由应该是上面获得的IP地址。如果没有默认路由,我们可以手动增加:
    #route add default gw 上面获得的IP地址
  使用命令
    #nslookup www.sina.com.cn

  如果解析出新浪的IP,说明已经从拨号中正确获得了DNS服务器。
  最后,使用命令ping某个域名或IP,如果有响应,表示你已经大功告成了。
回复

使用道具 举报

发表于 2002-9-8 16:32:42 | 显示全部楼层
建意一下,发贴之前请搜索一下论坛,这个总是我发过好多次了,~~~建意版主找出来,加入技术文章里.以便会员们使用.
回复

使用道具 举报

 楼主| 发表于 2002-9-8 18:08:03 | 显示全部楼层
谢谢你写了这样多。当我还是不能成功设置。可不可以以我的电脑设置一个。
我的账号和密码都是adsl
帮我看看那里出错了。
>>> Enter your PPPoE user name : 这里不输入直接按回车

>>> 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 ethn, where 'n' is a number.
  (default eth0): 这里输入eth0 还是网卡的名字。Realtek RTL8139 Family PCI Fast Ethe

>>> Enter the demand value (default no): 这里输入no

>>> Enter the DNS information here: 这里怎么写我的DNS有二个202.96.104.18
202.101.224.68

>>> Please enter your PPPoE password:这里是不是输入adsl
>>> Please enter your PPPoE password: adsl
回复

使用道具 举报

发表于 2002-9-8 19:45:17 | 显示全部楼层
[quote:abcf2ea6ae="kook"]谢谢你写了这样多。当我还是不能成功设置。可不可以以我的电脑设置一个。
我的账号和密码都是adsl
帮我看看那里出错了。
>>> Enter your PPPoE user name : 这里不输入直接按回车

>>> 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 ethn, where 'n' is a number.
  (default eth0): 这里输入eth0 还是网卡的名字。Realtek RTL8139 Family PCI Fast Ethe

>>> Enter the demand value (default no): 这里输入no

>>> Enter the DNS information here: 这里怎么写我的DNS有二个202.96.104.18
202.101.224.68

>>> Please enter your PPPoE password:这里是不是输入adsl
>>> Please enter your PPPoE password: adsl[/quote]
------------------------------------------------------------------------------
>>> Enter your PPPoE user name : 这里输入你申请的帐号 然后按enter

>>> 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 ethn, where 'n' is a number.
  (default eth0): 这里输入你adsl所插的那个网卡,是如是第一个选eth0,第二个选eth1,如不知道就两个都试试
>>> Enter the demand value (default no): 这里输入no

>>> Enter the DNS information here: 这里写那个都可以,202.96.104.18
202.101.224.68

>>> Please enter your PPPoE password:这是输入你的密码
>>> Please enter your PPPoE password: :再次输入你的密码
回复

使用道具 举报

发表于 2002-9-8 22:38:50 | 显示全部楼层
win盘中文变成??是因为你mount时没加-o codepage=cp936参数所致
可以通过修改/etc/fstab来修整
具体方法见精华区的相应贴子
回复

使用道具 举报

 楼主| 发表于 2002-9-9 02:07:23 | 显示全部楼层
[quote:27272e0125="llc"]win盘中文变成??是因为你mount时没加-o codepage=cp936参数所致
可以通过修改/etc/fstab来修整
具体方法见精华区的相应贴子[/quote]

谢谢,可以上网了,没五笔好难打子阿

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdc9               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1             /mnt/cdrom1             iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

在这个地方我如何写才能永远加载我的硬盘并解决??这样的问题
回复

使用道具 举报

发表于 2002-9-9 08:34:06 | 显示全部楼层
请参考这里http://www.linuxcn.org/nuke/modu ... ab4effbf4a26beb32ed

或者你手工mount时加上-o iocharset=cp936这个参数(先前说错了,不好意思)[/url]
回复

使用道具 举报

 楼主| 发表于 2002-9-9 09:47:36 | 显示全部楼层
mount -t -o vfat /dev/hdc6 /mnt/e

命令是这样吗
回复

使用道具 举报

发表于 2002-9-9 12:18:50 | 显示全部楼层
mount -t vfat -o iocharset=cp936 /dev/hdc6 /mnt/e
回复

使用道具 举报

 楼主| 发表于 2002-9-9 18:43:59 | 显示全部楼层
这个搞定了。

我刚安装了智能陈桥。重启后我原来的智能输入法也没有
只能打英语了。怎么办。

我的声卡VIA AC'97 Enhanced Audio Controller (WDM)
要如何安装啊
回复

使用道具 举报

发表于 2002-9-10 10:43:44 | 显示全部楼层
安装其他的输入法试试
回复

使用道具 举报

发表于 2002-9-10 13:50:29 | 显示全部楼层
五笔建议安装G五笔,真的很不错。
声卡驱动试试ALSA,公社的论坛精华区里有。
回复

使用道具 举报

发表于 2003-4-5 17:42:59 | 显示全部楼层
我爱linux
回复

使用道具 举报

发表于 2003-6-26 16:29:01 | 显示全部楼层
我的是usb口adsl猫,装上驱动和ra pppoe拨号软件后,一切顺利,输入adsl-start后,停大概1分钟之后,什么显示都没有,也没法上网,在拨号的时候,查看网络窗口,显示激活,然后过上一会儿(半分钟),什么都没做,又显示未激活,期间一直都不能上网,请问是什么原因。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-27 21:19 , Processed in 0.089854 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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