谨献给linux adsl的兄弟们

langq235 2005-01-20 10:44:51
今天看到篇文章,拿来分享。。。【转载】
『在mandrake和redhat下安装Alcatel usb adsl modem

--------------------------------------------------------------------------------


所需的软件包:
1、speedtouch-1.0-3mdk.i586.rpm这个文件是mandrake 9.1带的,比较好用
2、speedtouch-1.1这个软件包不用安装,只是需要其中的一个脚本文件adsl-conf-pppd,在speedtouch-1.1/doc-linux这个目录里边的。
3、mgmt.o这个文件。
安装步骤
1、urpmi speedtouch-1.0-3mdk.i586.rpm
2、cp mgmt.o /usr/share/speedtouch
2、运行./adsl-conf-pppd,按提示回答上网帐号、密码、uci、upi、其它的问题回答y就可以了。
我的是这样的 -vpi 8 -vci 35。
3、用vi编辑/etc/ppp/chap-secrets这个文件,把帐号,密码上边的引号去掉。
运行和检查错误
1、重启后,用su命令切换成root。
2、运行/usr/share/speedtouch/speedtouch.sh start
3、这是如果猫的指示灯一扫一扫就表名基本是安装正确的了。
4、ping一下因特网上的地址,如果通就是网络是没问题了。
5、ping一下网址,如果不通就是dns解析有问题。就运行下mandrake控制中心里的drankconnect,按提示操作,连接选adsl,猫选alcatel usb adsl就可以了,一定要填上isp提供商提供的dns服务器地址。
6、重复安装步骤里的2和3.
7、重启后一般都是能行的了。我没试过这样还不行的。
8、speedtouch.sh有4个选项,start 开始连接,stop断开连接,reload不明,restart一般是在用了stop后,再进行网络连接时用这个选项。
关于在redhat下安装
1、安装软件的步骤基本上是一样的,建议在安装redhat系统里把ppp等软件包安装上,这样就比较容易成功。
2、在redhat的网络设置里一定要填上isp提供的dns服务器地址
3、/etc/ppp/chap-secrets这个文件格式与mandrake稍微不一样的,如果这个文件格式不对的话,在运行speedtouch.sh这个命令时会提示密码不对所以连接错误的。多试一下,反正是那些引号,我记得好象是把那些星号上的引号去掉就可以了。
4、运行也是跟mandrake下一样,/usr/share/speedtouch/speedtouch.sh start
最后一点就是这些文件的下载地址我也不是记得太清了,如果管理员许可和大家需要的话我可以打包上传,如果还有些不清楚的话,我可以上传些截图,可以直观明了些。希望对大家有帮助。


原文http://www.linuxsir.com/bbs/showthread.php?s=&threadid=51698

未经试验,不过希望对大家有益处。。。
...全文
130 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
langq235 2005-01-26
  • 打赏
  • 举报
回复
英文版内容有所不同
Introduction
This how-to explains how to setup the modem during the installation of Gentoo (so that you can download the Stages and other packages) and how to get it working once Gentoo is installed.

1. Requisites
A floppy with the mgmt.o, the modem microcode for Linux, on it (you can download mgmt.o here)

2. Loading the kernel modules and getting mgmt.o
Follow the installation manual till you get to get to root ("#") prompt,where you can enter commands.

You must load a number kernel modules in order to be able to get the modem running, you can load them with the folowing commands:

modprobe floppy
modprobe ppp_generic
modprobe ppp_async
modprobe n_hdlc
modprobe ppp_synctty

(modprobe n_hdlc will output a line,but that's normal)

Now mount the floppy and copy mgmt.o (=the modem microcode) from it with the folowing commands:

mkdir /mnt/floppy
mount -t vfat /dev/fd0 /mnt/floppy
cp /mnt/floppy/mgmt.o /home/
(Replace vfat with the filesystem of the floppy)

3. Configuration of /etc/conf.d/speedtouch
Now edit /etc/conf.d/speedtouch to make it point to the mgmt.o file, you can edit the file with the Nano editor by executing the following command:

nano -w /etc/conf.d/speedtouch
Change the line that begins with # MICROCODE= to:

MICROCODE="/home/mgmt.o"
4. Configuration of PPP


Next you'll have to create the configuration file /etc/ppp/peers/adsl, luckily there is an example, so we can base our file on it. Copy adsl.sample to adsl:

cp /etc/ppp/peers/adsl.sample /etc/ppp/peers/adsl
Now open the file with Nano and find the line that begins with user and put your ADSL username between the quotes

Open the file /etc/ppp/pap-secrets with Nano and fill in your ADSL username and password. It should look like this:

<username> * <password> *
Do the same with the /etc/ppp/chap-secret file.

5. Run speedtouch
Simply run the speedtouch script to establish your internet connection:

/etc/init.d/speedtouch start
6. Getting your modem running once Gentoo is installed
Follow the Installation manual till the point where it tells you to reboot and emerge the speedtouch package:

emerge speedtouch
Now reboot and when your computer is rebooted follow the steps 2,3,4 and 5 of this how-to to get your modem running.


引自[http://home.planet.nl/~andje000/usb_modem_gentoo.html]
langq235 2005-01-26
  • 打赏
  • 举报
回复
http://home.planet.nl/~andje000/mgmt.o
langq235 2005-01-20
  • 打赏
  • 举报
回复
不是,没有网卡modem好,就是方便其实我也想不通为什么有人用usb adsl modem
hbcb 2005-01-20
  • 打赏
  • 举报
回复
没用过USB的猫,是不是比以太网卡的性能要好?
langq235 2005-01-20
  • 打赏
  • 举报
回复
http://rpmseek.com/rpm-pl/speedtouch.html?hl=com&cx=2487:S:0

上文pack下载

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧