Use a modem (intel536ep) to access the Internet in redhat9

Source: Internet
Author: User
Tags tainted dmesg
Article title: use modem (intel536ep) to access the Internet under redhat9. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

View hardware chips
# Lspci-v

The modem can be found, as shown below:
. 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 = 4 M]
Capabilities: [e0] Power Management version 2

Go to intel to download the 536ep driver, I download the http://downloadfinder.intel.com/scripts-df-external/Product_Filter.aspx? ProductID = 977 & lang = zho
Three versions (rh9 for me and rh9 for main installation), and follow the readme prompt to perform the following operations.

1. login as ROOT
# Log on as root

2. extract the archive into a directory with "tar-zxvf. tgz"
# Decompress an archive file

3. cd into the directory it created.
# Enter the folder you just created

4. Type: make clean
# Input make clean to remove all the suffixes of those files.

5. Type: make 536
# Make 536 compile 536

6. Type: make install
# Install

But the problem arises.
Enter make clean as follows:
[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

Input make 536 to report an error. The file/lib/modules... does not contain autoconf. h. I used find to check the/lib/modules Directory. There are a bunch of such files.
[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

Although an error is reported, I want to try to install it on the first line. The result is still wrong. (An error is reported when mysql is used, but P can be used at the end)
Then execute 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' failed: no file or directory
Make: *** [install] Error 1

When I use a modem to access the Internet, the linux system prompts that the driver still cannot be found and the restart is useless. All three versions have been installed. My system is redhat 9 and the kernel is 2.4.20.8.

I don't know what causes the problem. Hope to answer this question! Thank you!
Although there was a problem, it was still improved in general. at least we knew that this cat was an Intel Corp. 536EP Data Fax Modem, and it was driven, not the interface that the vendor said. I think dial-up Internet access in Linux will definitely be realized... Thank you for your help. it is indeed a pleasure to learn about linux ..

I have compiled the intel 536ep modem correctly, but it still cannot be accessed. The modem still cannot be detected using the Internet configuration tool. Unfortunately. Find some more information and share the process with you.
[Root @ localhost dev] #/usr/bin/wvdial -- chat bellsouth
You can also perform the following steps. The first line shows that the Intel536 module has been loaded.
[Root @ localhost root] # lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0 (unused)
Run the # dmesg command to view the hardware and related information.
[Root @ localhost root] # dmesg | grep tty
[Root @ localhost dev] # dmesg
PCI: Found IRQ 5 for device 0:01. 0
PCI: Found IRQ 5 for device 0:01. 0

[Root @ localhost root] #/usr/bin/wvdial -- chat bellsouth
View network configurations,
[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

The installation process is as follows:
The Internet address of localhost cannot be found, which will impede normal operations of GNOME.
Adding localhost to the/etc/hosts file may solve this problem.

Step 1: view the hardware information and find Intel Corp. 536EP Data Fax Modem, this step is very important. you should first check what chip is installed with hardware. rather than simply recognizing the brand you purchased.
[Root @ localhost root] # lspci
Find the cat with 536ep
. 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 = 4 M]
Capabilities: [e0] Power Management version 2

Step 2: find the second redhat installation disc to install the kernel. if installed, you do not need to install it.
[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

Step 3, download the Intel 536EP driver, Intel official: http://downloadfinder.intel.com/scri ...?? Search for the Intel 536EP driver, and find the same installation package as your kernel (# uname-a check kernel.
Http://www.intel.com/design/modems/s..ep,537ep, etc)
Http://linmodems.technion.ac.il/packages/Intel/ (modem driver in Linux, support intel 536ep, 537ep, etc)

Step 4: extract the installation package and install the 536EP Modem driver
1. login as ROOT
# Log on to [root @ 127 root] with root # cd/root/. gnome-desktop/Software/drivers
2. extract the archive into a directory with "tar-zxvf. tgz"
# Decompress the archive file [root @ 127 drivers] # tar-zxvf intel-536ep-4.69-rh9-up.tgz
3. cd into the directory it created.
Read the readme.txt file in detail.
[Root @ 127 Intel536-460] # cd/root/. gnome-desktop/Software/drivers/intel-536EP-2.56.76.0-rh9-UP
4. Type: make clean
# Enter make clean
5. Type: make 536
# Make 536 compile 536
6. Type: make install
# Install

In this way, after the above three steps are executed, it is generally okay. but at first I encountered the following error:

[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' failed: no file or directory
Make: *** [install] Error 1
[Root @ 127 intel-536EP-2.56.76.0-rh9-UP] #

It may be that there is a problem with kernel installation. I have taken the following measures before.

I tried this method when installing the kernel. it is still useless.
The installation method (estimation) below redhat should be like this:
1. check that the kernel-source has been installed. the version is the same as that of the currently running kernel.
2 cd/usr/src/linux-2.4
Vi Makefile
Modify the four lines at the beginning of the Makefile file related to the kernel version according to the current kernel version. generally, remove the final custem file.
3 make mrproper
4 cp configs/xxxx. config. config xxxx select the CPU model based on your current kernel and whether or not the smp
5 make dep
6. Compile the modem driver according to the intel documentation.

Finally, with the help of Subbo in Hongqi community, the kernel source code is installed once forcibly, and the installation is successful.
# Rpm-ivh kernel-source-2.4.20-8.i386.rpm -- force
Then execute the preceding.
Type: make clean
# Enter make clean
Type: make 536
# Make 536 compile 536
Type: make install
# 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

Step 4: go online.
Use System Tools> Internet configuration tools, and enable the system to automatically find the modem by adjusting the modem.
Or enter # minicom on the terminal to access the Internet.
[Root @ localhost root] #/usr/bin/wvdial -- chat bellsouth
View network configurations,
[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
If OK is returned, the cat can dial.
[Root @ localhost dev] #/usr/bin/wvdial -- chat bellsouth
You can also perform the following steps. The first line shows that the Intel536 module has been loaded.
[Root @ localhost root] # lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0 (unused)
Run the # dmesg command to view the hardware and related information.
[Root @ localhost root] # dmesg | grep tty
[Root @ localhost dev] # dmesg
PCI: Found IRQ 5 for device 0:01. 0
PCI: Found IRQ 5 for device 0:01. 0


Lspci can detect intel 536ep modem

Wvdialconf is used to automatically create the. conf file. the modem is automatically detected.
[Root @ localhost bin] # wvdialconf/etc/wvdial. conf
Scanning your serial ports for a modem.
### Automatic creation stops at USB 15.
[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 i2
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 USB 4 USB 5 USB 6 USB 7 USB 8 USB 9 USB 10
Port Scan <* 1>: USB 11 USB 12 USB 13 USB 14 USB 15

Add the conf file as follows, and no dialing sound is displayed.
# Wvdial. conf file
[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] #

################## An error occurred while activating the Configuration Wizard, you can hear a bang, and then there is a bang. The former sound is the same as the dial-up sound in windows, and the latter sound is the same as the hanging sound.
Failed to activate ppp0 with error 8


[Root @ localhost dev] #/usr/bin/wvdial -- chat bellsouth
You can also perform the following steps to display that the Intel536 module has been loaded.
[Root @ localhost root] # lsmod
Module Size Used by Tainted: PF
Intel536 1040516 0
Run the # dmesg command to view the hardware and related information.
[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 0:01. 0
PCI: Found IRQ 5 for device 0:01. 0
To view where/dev/modem points
[Root @ localhost sbin] # file/dev/modem
/Dev/modem: symbolic link to/dev/536ep

Finally, the problem was completely solved. I am now working on the network under linux 9, which is very convenient. I came here to express my excitement !! What I want to use in windows can certainly be used in linux. indeed, this process reminds me of it... thank you very much. unfortunately, the original linux has been deleted and many configurations have to be re-configured ...... but still very happy ....
I go to the http://linmodems.technion.ac.il/packages/Intel/537/ to download the intel-537SP-2.37.50.1.tgz version of the driver (other versions are also possible, I don't have to try ). after the installation, you can dial normally. use the Internet Configuration Wizard, wvdial, or kppp. the speed is normal. it is also applicable to other linux systems or versions. friends who use this cat don't have to worry about surfing the Internet in linux.

The following is the information for querying ifconfig. it is the same as ipconfig in windows.

[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.20.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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.