国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

在redhat9下用modem(intel536ep)上網

2019-11-04 12:29:12
字體:
來源:轉載
供稿:網友

查看硬件的芯片
# lspci -v


發現modem能找到,顯示如下
02:01.0 Communication controller: Intel Corp. 536EP Data Fax Modem
Subsystem: Intel Corp.: Unknown device 1005
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory 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 clean
cd coredrv; make clean
make[1]: Entering directory `/root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.1/coredrv'
rm -f *.ko *.o *~ core
make[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 536
Module precompile check
Current running kernel is: 2.4.20-8
/lib/modules... autoconf.h does not exist
please install kernel source
make: *** [check] Error 1


雖然報錯,但學是抱著一線希望試下能否安裝,,結果還是出錯了。(有時裝MySQL時也報錯,但最后都能行的:P)
然后再執行 make install
[root@localhost intel-536EP-2.56.76.1]# make install
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.4.20-8
installing hamregistry, used for persistant storage
installing Intel536 driver
install: stat‘Intel536.o’失敗: 沒有那個文件或目錄
make: *** [install] Error 1


用調制解調器上網,linux系統提示說還是找不到驅動,重啟也沒有用。三個版本均安裝過。我的系統是redhat 9,內核是2.4.20.8。


不知道是什么原因導致問題的出現。盼望解答!謝謝!
雖然出現了問題,但總的說來還是進步了的,至少知道此款貓是Intel Corp. 536EP Data Fax Modem,而且是有驅動的,并不是廠商所言無接口之類。我想在Linux下撥號上網一定會實現了。。。感謝各位的幫助,,學習linux的確是件快樂的事。。



我已經正確編譯了intel 536ep modem,可是還是上不了網。用互聯網配置工具還是檢測不到modem,可惜啊。再找些資料來看,完了把過程分享給大家。
[root@localhost dev]# /usr/bin/wvdial --chat bellsouth
也可以執行一下步驟,第一行就顯示Intel536模塊已加載
[root@localhost root]# lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0 (unused)
再執行一下# dmesg命令,查看硬件及相關信息.
[root@localhost root]# dmesg grep tty
[root@localhost dev]# dmesg
PCI: Found IRQ 5 for device 02:01.0
PCI: 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: ATZ
ATZ
OK


以下是安裝過程
無法查到 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 Modem
Subsystem: Intel Corp.: Unknown device 1005
Flags: bus master, medium devsel, latency 32, IRQ 5
Memory 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.rpm
kernel-source-2.4.20-8.i386.rpm
kernel-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/drivers
2. extract the archive into a directory with "tar -zxvf <archivename>.tgz"
#解壓縮檔案文件 [root@127 drivers]# tar -zxvf intel-536ep-4.69-rh9-up.tgz
3. 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-UP
4. Type: make clean
#輸入make clean
5. Type: make 536
#make 536編譯536
6. Type: make install
#執行安裝


這樣執行以上三步后,一般就沒問題了.但我一開始還是碰到了如下錯誤:


[root@127 intel-536EP-2.56.76.0-rh9-UP]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/.gnome-desktop/Software/drivers/intel-536EP-2.56.76.0-rh9-UP/coredrv'
rm -f *.ko *.o *~ core
make[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 536
Module precompile check
Current running kernel is: 2.4.20-8
/lib/modules... autoconf.h does not exist
please install kernel source
make: *** [check] Error 1
[root@127 intel-536EP-2.56.76.0-rh9-UP]# make install
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.4.20-8
installing hamregistry, used for persistant storage
installing Intel536 driver
install: stat‘Intel536.o’失敗: 沒有那個文件或目錄
make: *** [install] Error 1
[root@127 intel-536EP-2.56.76.0-rh9-UP]#



可能是前面裝內核是有問題.之前我采取過如下措施.


安裝內核時也試了一下方法.可依然沒有用.
redhat下面的安裝方法(估計)應該是這樣的:
1 確認已經安裝kernel-source,版本和當前運行的內核一致
2 cd /usr/src/linux-2.4
vi Makefile
把Makefile文件最前面和kernel version相關的4行內容根據現在運行內核版本修改好,一般把最后的custem去掉就行了
3 make mrproper
4 cp configs/xxxx.config .config xxxx根據你當前的內核選擇CPU型號以及是否smp
5 make dep
6 然后再按照intel文檔編譯modem驅動


最后在紅旗社區Subbo的幫助下,強制安裝一次內核源碼,就成功了.
# rpm -ivh kernel-source-2.4.20-8.i386.rpm --force
然后再執行前面的.
Type: make clean
#輸入make clean
Type: make 536
#make 536編譯536
Type: make install
#執行安裝
starting module and utilities
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/char/536ep.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/char/Intel536.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o
done


第四步,接下來第四步就是上網了.
通過系統工具>互聯網配置工具,通過調置解調器,讓系統自動找到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: ATZ
ATZ
OK
返回OK表示貓可以撥號了.
[root@localhost dev]# /usr/bin/wvdial --chat bellsouth
也可以執行一下步驟,第一行就顯示Intel536模塊已加載
[root@localhost root]# lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0 (unused)
再執行一下# dmesg命令,查看硬件及相關信息.
[root@localhost root]# dmesg grep tty
[root@localhost dev]# dmesg
PCI: Found IRQ 5 for device 02:01.0
PCI: Found IRQ 5 for device 02:01.0



lspci能檢測到是intel 536ep modem


用wvdialconf自動創建.conf文件.會自動檢測modem
[root@localhost bin]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
###自動創建是到USB15就停至了.
[root@localhost root]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.


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



自己加個conf文件如下,結果出現沒有撥號音.
#wvdial.conf文件
[Dialer Defaults]
Modem = /dev/modem
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+GCI=20
Dial Command = ATDT
Phone = 95788
Username = 95788
PassWord = 95788
#Ask Password = 1
Stupid Mode = 0



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


--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+GCI=20
AT+GCI=20
OK
--> Modem initialized.
--> Sending: ATDT95788a
--> Waiting for carrier.
ATDT95788
NO 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]# lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0
再執行一下# dmesg命令,查看硬件及相關信息.
[root@localhost dev]# dmesg grep tty
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
[root@localhost dev]# dmesg
PCI: Found IRQ 5 for device 02:01.0
PCI: 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]# ipconfig
bash: ipconfig: command not found
[root@localhost intel-537SP-2.37.50.0]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:29491 errors:0 dropped:0 overruns:0 frame:0
TX packets:29491 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2022507 (1.9 Mb) TX bytes:2022507 (1.9 Mb)


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




發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 嵊州市| 平泉县| 贡觉县| 双牌县| 朝阳县| 定南县| 东港市| 韶山市| 小金县| 梁河县| 绥江县| 介休市| 蓬莱市| 连江县| 陈巴尔虎旗| 麻江县| 凤阳县| 麟游县| 辽宁省| 周至县| 凤庆县| 太原市| 阳新县| 陆良县| 大港区| 阜平县| 观塘区| 紫云| 呼图壁县| 连江县| 错那县| 巴南区| 巴林左旗| 霍林郭勒市| 安塞县| 乐都县| 馆陶县| 盱眙县| 龙井市| 肇州县| 馆陶县|