Using Win Modem under linux

Using Win Modem under linux

I am a Linux enthusiast. Like many players, I have installed Linux+Windows dual systems on my computer and use the built-in Modem. The machine works normally under Windows, but cannot access the Internet under Linux. I am using Red Hat linux 7.2, kernel 2.4.7-10. Linux detects that my Modem is Win Modem, the so-called "soft cat", which is only suitable for Windows systems. After some research, I found that my "cat" is using Intel's Ambient main chip, the model is MD5628D. In KDE's control center, the communication device with PCI and the chip used can also be detected, but it cannot be driven. So, I went to Windows again to drive the "cat" to the Internet. There is a driver for linux on Intel's website (http://developer.intel.com/design/m...ivers_linux.htm). After downloading the driver, there is a file named Intel-v92ham.tgz under Windows, only 298KB, you can use a floppy disk to copy or copy the Intel-v92ham.tgz file to any directory (such as the Root directory) under Linux . Open the terminal window and enter the Root directory: 1. Use the "ls -a" command, you can see that the Intel-v92ham.tgz file is displayed in green, which indicates that it is an executable file. 2. Execute the command to unpack the tgz archive: tar -zxvf Intel-v92ham.tgz At this point, a file list will appear, indicating which files have been successfully decompressed. 3. Then you will find a blue folder named Intel-v92ham-425 in the root directory. 4. Enter the Intel-v92ham-425 directory and execute the command to compile the driver. First delete all existing compiled files: make clean Then compile the ham file: make ham Then install the compiled files: make install At this point, the driver is compiled. This module is then loaded into the kernel. 5. Import hamcore. o module: insmod -f hamcore.o 6. Import the ham.o module: insmod -f ham.o 7. Delete the /dev/ham device: rm /dev/ham 8. Recreate the ham device in the /dev directory: mknod /dev/ham c 240 1 The 240 here is the default. If it doesn't work, please check the major number of ham in the /proc/devices/ file. 9. Link /dev/ham to /dev/modem: ln -s /dev/ham /dev/modem In linux, the /dev/modem device is the default Modem device. In this way, linux can recognize my "soft cat". Then, use the software such as "minicom" to test the Modem, and if "OK" is displayed, it means that the Modem is set correctly, can be recognized by linux, and can work normally. Try entering "AT" again, and if you answer "OK", you can start dialing. Input "ATD163", after hearing the "kitten" chirping for a while, you can see the connection information and the information prompt of the remote system: ATD163 CONNECT 115200 The above codes indicate that the Modem is ready to use. Because different Modem drivers are different, it is impossible to explain them one by one. This article only introduces the installation ideas for your reference. Link /dev/ham to /dev/modem: ln -s /dev/ham /dev/modem In linux, the /dev/modem device is the default Modem device. In this way, linux can recognize my "soft cat". Then, use the software such as "minicom" to test the Modem, and if "OK" is displayed, it means that the Modem is set correctly, can be recognized by linux, and can work normally. Try entering "AT" again, and if you answer "OK", you can start dialing. Input "ATD163", after hearing the "kitten" chirping for a while, you can see the connection information and the information prompt of the remote system: ATD163 CONNECT 115200 The above codes indicate that the Modem is ready to use. Because different Modem drivers are different, it is impossible to explain them one by one. This article only introduces the installation ideas for your reference. Link /dev/ham to /dev/modem: ln -s /dev/ham /dev/modem In linux, the /dev/modem device is the default Modem device. In this way, linux can recognize my "soft cat". Then, use the software such as "minicom" to test the Modem, and if "OK" is displayed, it means that the Modem is set correctly, can be recognized by linux, and can work normally. Try entering "AT" again, and if you answer "OK", you can start dialing. Input "ATD163", after hearing the "kitten" chirping for a while, you can see the connection information and the information prompt of the remote system: ATD163 CONNECT 115200 The above codes indicate that the Modem is ready to use. Because different Modem drivers are different, it is impossible to explain them one by one. This article only introduces the installation ideas for your reference.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326400726&siteId=291194637