当前位置:Linux教程 - Linux资讯 - 在redhat 9下用modem(intel536ep)上网

在redhat 9下用modem(intel536ep)上网

查看硬件的芯片# lspci -v

发现modem能找到,显示如下02:01.0 Communication controller: Intel Corp. 536EP Data Fax ModemSubsystem: Intel Corp.: Unknown device 1005Flags: bus master, medium devsel, latency 32, IRQ 5Memory at ea000000 (32-bit, non-prefetchable) [size=4M]Capabilities: [e0] Power Management version 2

去intel下载536ep的驱动来,我下载了http://downloadfinder.intel.com/scripts-df-external/ProdUCt_Filter.ASPx?ProductID=977&lang=zho三个版本(我的是rh9,主要安装是rh9),然后按照readme提示,如下操作。

1. login as ROOT#以root登录

2. extract the archive into a Directory with "tar -zxvf <archivename>.tgz"#解压缩档案文件

3. cd into the directory it created.#进入刚解压缩创建的文件夹

4. Type: make clean#输入make clean,将那些个文件的后缀什么的都去掉了。

5. Type: make 536#make 536编译536

6. Type: make install#执行安装

可是问题出现了输入make clean 如下:[root@localhost intel-536EP-2.56.76.1]# make cleancd coredrv; make cleanmake[1]: Entering directory `/root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.1/coredrv'rm -f *.ko *.o *~ coremake[1]: Leaving directory `/root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.1/coredrv'rm -f *.o *.ko

输入make 536就报错了。说/lib/modules...没有 autoconf.h这个文件,我用find查下/lib/modules目录,有一堆这种文件。[root@localhost intel-536EP-2.56.76.1]# make 536Module precompile checkCurrent running kernel is: 2.4.20-8/lib/modules... autoconf.h does not existplease install kernel sourcemake: *** [check] Error 1

虽然报错,但学是抱着一线希望试下能否安装,,结果还是出错了。(有时装mysql时也报错,但最后都能行的:P)然后再执行 make install[root@localhost intel-536EP-2.56.76.1]# make installrm -f /etc/hamregistry.binbash Intel536_instrunning kernel 2.4.20-8installing hamregistry, used for persistant storageinstalling Intel536 driverinstall: stat‘Intel536.o’失败: 没有那个文件或目录make: *** [install] Error 1

用调制解调器上网,Linux系统提示说还是找不到驱动,重启也没有用。三个版本均安装过。我的系统是redhat 9,内核是2.4.20.8。

不知道是什么原因导致问题的出现。盼望解答!谢谢!虽然出现了问题,但总的说来还是进步了的,至少知道此款猫是Intel Corp. 536EP Data Fax Modem,而且是有驱动的,并不是厂商所言无接口之类。我想在Linux下拨号上网一定会实现了。。。感谢各位的帮助,,学习linux的确是件快乐的事。。


[1] [2] [3] [4] [5] 下一页 

我已经正确编译了intel 536ep modem,可是还是上不了网。用互联网配置工具还是检测不到modem,可惜啊。再找些资料来看,完了把过程分享给大家。[root@localhost dev]# /usr/bin/wvdial --chat bellsouth也可以执行一下步骤,第一行就显示Intel536模块已加载[root@localhost root]# lsmodModule Size Used by Tainted: PFIntel536 1040516 0 (unused)再执行一下# dmesg命令,查看硬件及相关信息.[root@localhost root]# dmesg grep tty[root@localhost dev]# dmesgPCI: Found IRQ 5 for device 02:01.0PCI: Found IRQ 5 for device 02:01.0

[root@localhost root]# /usr/bin/wvdial --chat bellsouth查看网络配置,[root@localhost root]# ifconfig[root@localhost root]# wvdial--> WvDial: Internet dialer version 1.53--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.

--> Initializing modem.--> Sending: ATZATZOK

以下是安装过程无法查到 localhost 的互联网地址,这将妨碍 GNOME 正常操作。把 localhost 加到 /etc/hosts 文件中也许能解决这个问题。

第一步,查看硬件信息,找到Intel Corp. 536EP Data Fax Modem,这一步很重要,凡是装硬件都应该先查看是什么芯片.而不只是理所当然的认自己购买时的牌子.[root@localhost root]# lspci找到536ep的猫02:01.0 Communication controller: Intel Corp. 536EP Data Fax ModemSubsystem: Intel Corp.: Unknown device 1005Flags: bus master, medium devsel, latency 32, IRQ 5Memory at ea000000 (32-bit, non-prefetchable) [size=4M]Capabilities: [e0] Power Management version 2

第二步,找出redhat的第二张安装光盘安装内核,如果装了就不用在装.[root@127 root]# cd /mnt/cdrom/RedHat/RPMS[root@127 RPMS]# find ker*kernel-doc-2.4.20-8.i386.rpmkernel-source-2.4.20-8.i386.rpmkernel-utils-2.4-8.29.i386.rpm[root@127 RPMS]# rpm -ivh kernel-source-*Preparing... ########################################### [100%]package kernel-source-2.4.20-8 is already installed

第三步,下载Intel 536EP驱动,Intel官方下载地址:http://downloadfinder.intel.com/scri...??搜搜,Intel 536EP driver,结果多的是,找到与自己内核(# uname -a 查看内核)相同的安装包.http://www.intel.com/design/modems/s...ep,537ep等等)http://linmodems.technion.ac.il/packages/Intel/ (Linux下modem驱动下载地址,支持intel 536ep,537ep等等)

第四步,解压缩安装包,安装536EP Modem驱动1. login as ROOT#以root登录 [root@127 root]# cd /root/.gnome-desktop/Software/drivers2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"#解压缩档案文件 [root@127 drivers]# tar -zxvf intel-536ep-4.69-rh9-up.tgz3. cd into the directory it created.#进入刚解压缩创建的文件夹,仔细阅读readme.txt文件,这里有详悉说明[root@127 Intel536-460]# cd /root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.0-rh9-UP4. Type: make clean#输入make clean5. Type: make 536#make 536编译5366. Type: make install#执行安装

这样执行以上三步后,一般就没问题了.但我一开始还是遇到了如下错误:

[root@127 intel-536EP-2.56.76.0-rh9-UP]# make cleancd coredrv; make cleanmake[1]: Entering directory `/root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.0-rh9-UP/coredrv'rm -f *.ko *.o *~ coremake[1]: Leaving directory `/root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.0-rh9-UP/coredrv'rm -f *.o *.ko[root@127 intel-536EP-2.56.76.0-rh9-UP]# make 536Module precompile checkCurrent running kernel is: 2.4.20-8/lib/modules... autoconf.h does not existplease install kernel sourcemake: *** [check] Error 1[root@127 intel-536EP-2.56.76.0-rh9-UP]# make installrm -f /etc/hamregistry.binbash Intel536_instrunning kernel 2.4.20-8installing hamregistry, used for persistant storageinstalling Intel536 driverinstall: stat‘Intel536.o’失败: 没有那个文件或目录make: *** [install] Error 1[root@127 intel-536EP-2.56.76.0-rh9-UP]#


上一页 [1] [2] [3] [4] [5] 下一页 

可能是前面装内核是有问题.之前我采取过如下措施.

安装内核时也试了一下方法.可依然没有用.redhat下面的安装方法(估计)应该是这样的:1 确认已经安装kernel-source,版本和当前运行的内核一致2 cd /usr/src/linux-2.4vi Makefile把Makefile文件最前面和kernel version相关的4行内容根据现在运行内核版本修改好,一般把最后的custem去掉就行了3 make mrproper4 cp configs/xxxx.config .config xxxx根据你当前的内核选择CPU型号以及是否smp5 make dep6 然后再按照intel文档编译modem驱动

最后在红旗社区Subbo的帮助下,强制安装一次内核源码,就成功了.# rpm -ivh kernel-source-2.4.20-8.i386.rpm --force然后再执行前面的.Type: make clean#输入make cleanType: make 536#make 536编译536Type: make install#执行安装starting module and utilitiesdepmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/char/536ep.odepmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/char/Intel536.odepmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/video/nvidia.odone

第四步,接下来第四步就是上网了.通过系统工具>互联网配置工具,通过调置解调器,让系统自动找到modem.或在终端输入# minicom来上网.[root@localhost root]# /usr/bin/wvdial --chat bellsouth查看网络配置,[root@localhost root]# ifconfig[root@localhost root]# wvdial--> WvDial: Internet dialer version 1.53--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.

--> Initializing modem.--> Sending: ATZATZOK返回OK表示猫可以拨号了.[root@localhost dev]# /usr/bin/wvdial --chat bellsouth也可以执行一下步骤,第一行就显示Intel536模块已加载[root@localhost root]# lsmodModule Size Used by Tainted: PFIntel536 1040516 0 (unused)再执行一下# dmesg命令,查看硬件及相关信息.[root@localhost root]# dmesg grep tty[root@localhost dev]# dmesgPCI: Found IRQ 5 for device 02:01.0PCI: Found IRQ 5 for device 02:01.0

lspci能检测到是intel 536ep modem

用wvdialconf自动创建.conf文件.会自动检测modem[root@localhost bin]# wvdialconf /etc/wvdial.confScanning your serial ports for a modem.###自动创建是到USB15就停至了.[root@localhost root]# wvdialconf /etc/wvdial.confScanning your serial ports for a modem.

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baudttyS0<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baudttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 4800 baudttyS1<*1>: ATQ0 V1 E1 -- failed with 4800 baud, next try: 9600 baudttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 19200 baudttyS1<*1>: ATQ0 V1 E1 -- failed with 19200 baud, next try: 115200 baudttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.Port Scan<*1>: S2 S3 S4 S5 S6 S7 S8 S9Port Scan<*1>: S10 S11 S12 S13 S14 S15 S16 S17Port Scan<*1>: S18 S19 S20 S21 S22 S23 S24 S25Port Scan<*1>: S26 S27 S28 S29 S30 S31 SA0 SA1Port Scan<*1>: SA2 SC0 SC1 SC2 SC3 SI0 SI1 SI2Port Scan<*1>: SI3 SI4 SI5 SI6 SI7 SI8 SI9 SI10Port Scan<*1>: SI11 SI12 SI13 SI14 SI15 SR0 SR1 SR2Port Scan<*1>: SR3 SR4 SR5 SR6 SR7 SR8 SR9 SR10Port Scan<*1>: SR11 SR12 SR13 SR14 SR15 SR16 SR17 SR18Port Scan<*1>: SR19 SR20 SR21 SR22 SR23 SR24 SR25 SR26Port Scan<*1>: SR27 SR28 SR29 SR30 SR31 SR256 SR257 SR258Port Scan<*1>: SR259 SR260 SR261 SR262 SR263 SR264 SR265 SR266Port Scan<*1>: SR267 SR268 SR269 SR270 SR271 SR272 SR273 SR274Port Scan<*1>: SR275 SR276 SR277 SR278 SR279 SR280 SR281 SR282Port Scan<*1>: SR283 SR284 SR285 SR286 SR287 USB0 USB1 USB2Port Scan<*1>: USB3 USB4 USB5 USB6 USB7 USB8 USB9 USB10Port Scan<*1>: USB11 USB12 USB13 USB14 USB15


上一页 [1] [2] [3] [4] [5] 下一页 

自己加个conf文件如下,结果出现没有拨号音.#wvdial.conf文件[Dialer Defaults]Modem = /dev/modemBaud = 115200Init1 = ATZInit2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0Init3 = AT+GCI=20Dial Command = ATDTPhone = 95788Username = 95788PassWord = 95788#Ask Password = 1Stupid Mode = 0

#############[root@localhost root]# wvdial--> WvDial: Internet dialer version 1.53

--> Initializing modem.--> Sending: ATZATZOK--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0OK--> Sending: AT+GCI=20AT+GCI=20OK--> Modem initialized.--> Sending: ATDT95788a--> Waiting for carrier.ATDT95788NO DIALTONE--> No dial tone.--> Disconnecting at Sat Jul 2 10:06:17 2005[root@localhost root]#

###################配置向导激活时出错(如图),无法激活,能听见嘀的一声响然后有嘀的一声响,前一声与windows下拨号声音同,后一声与挂断声音相同.Failed to activate ppp0 with error 8

[root@localhost dev]# /usr/bin/wvdial --chat bellsouth也可以执行一下步骤,显示Intel536模块已加载[root@localhost root]# lsmodModule Size Used by Tainted: PFIntel536 1040516 0再执行一下# dmesg命令,查看硬件及相关信息.[root@localhost dev]# dmesg grep ttyttyS0 at 0x03f8 (irq = 4) is a 16550AttyS1 at 0x02f8 (irq = 3) is a 16550A[root@localhost dev]# dmesgPCI: Found IRQ 5 for device 02:01.0PCI: Found IRQ 5 for device 02:01.0要查看/dev/modem指向了何处[root@localhost sbin]# file /dev/modem/dev/modem: symbolic link to /dev/536ep

问题终于彻底解决,我现在就是在linux 9下上的网,很方便的喔. 特地过来高速大家一声,激动啊!!我想在windows下能用的东西,linux肯定也能用.的确这个过程让我回味...太感谢大家了.可惜原来的linux删除了,好多配置都要重来......但仍然很高兴....我去http://linmodems.technion.ac.il/packages/Intel/537/ 下载intel-537SP-2.37.50.1.tgz版本的驱动(其他版本估计也可以,我没有都试).安装后就能正常拨号,用互联网配置向导或wvdial或kppp都行.速度也很正常.同时也适用其他linux系统或版本.用这支猫的朋友不用担心在linux下上网了.

以下是查询ifconfig的信息.与windows下ipconfig一样噢.

[root@localhost intel-537SP-2.37.50.0]# ipconfigbash: ipconfig: command not found[root@localhost intel-537SP-2.37.50.0]# ifconfiglo Link encap:Local Loopbackinet addr:127.0.0.1 Mask:255.0.0.0UP LOOPBACK RUNNING MTU:16436 Metric:1RX packets:29491 errors:0 dropped:0 overruns:0 frame:0TX packets:29491 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:2022507 (1.9 Mb) TX bytes:2022507 (1.9 Mb)

ppp0 Link encap:Point-to-Point Protocolinet addr:211.159.156.232 P-t-P:192.168.254.19 Mask:255.255.255.255UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1RX packets:917 errors:1 dropped:0 overruns:0 frame:0TX packets:810 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:3RX bytes:469114 (458.1 Kb) TX bytes:96427 (94.1 Kb)


上一页 [1] [2] [3] [4] [5] 下一页 

(出处:http://www.sheup.com)


上一页 [1] [2] [3] [4] [5] 

(出处:http://www.sheup.com)


上一页 [1] [2] [3] [4] [5] [6]