Install and configuring a Rockwell HCF modem

This document will explain how to install a Rockwell HCF Modem into a Compaq Deskpro server running Red Hat Linux 9. There are a number of issues when installing a Rockwell HCF Modem in Red Hat, the main one being what drivers to obtain.

Obtain Modem information

In order to find out what driver was required you need to obtain the following information: This will then provide the information required to obtain the correct driver.
  1. Install the modem into a spare PCI slot and power on the computer.

  2. Red Hat normally fails to recognise the card during the “found new hardware phase”

  3. Run the following command to obtain the location of the card
  #lspci –v

02:08.0 Serial controller: Rockwell International HCF 56k Data/Fax/Voice/ Spkp (w/Handset) Modem (rev 01) ( prog-if 00 [8250])
       Subsystem: Rockwell International HCF 56k Data/Fax/Voice/ Spkp (w/Handset) Modem
       Flags: bus master, medium devsel, latency 64, IRQ 5
       Memory at 10000000 (32-bit, non- prefetchable) [size=64K]
       Capabilities: [40] Power Management version 1
  1. Now tie the location number 02:08.0 with the vendor id and drive id from the following command lspci –n
  #lspci –n

02:08.0 Class 0700: 127a:1005 (rev 01)
Vendor ID: 127a
Driver ID: 1005
  1. Using the Vendor and Driver IDs you can check at to see if a driver exists and download if it does.

  2. In this case Download HCF driver based on running kernel, etc:

Installing the Drivers
  1. Remove any old existing HCF packages
  # rpm –e hcfpcimodem
# rpm –e hcplinmodem
  1. Install the HCF drivers package
#rpm – Uhv hcfpcimodem-1.01lnxt04051300full_k2.4.20_31.9-1rh.i686.rpm

Configuring the Modem
  1. Configure the modem, this will create a link from /dev/ttySHCF0 to /dev/modem
  1. Reboot the server and apon restarting the o/s should now recognise the modem. Check the message files for the modem entry
  1. Now to test the modem via the wvdial program we need to create a wvdial.conf file.
  #wvdialconf /etc/wvdial.conf
basic wvdial.conf file
  1. Edit the /etc/ wvdial.conf file and add your ISP information, the file should end up looking like below:
Modem = /dev/modem
Baud = 56000
SetVolume = 4
Dial Command = ATDP
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
FlowControl = CRTSCTS
[Dialer plusnet]
Username = <ISP Login>
Password = <ISP Password>
Phone = <ISP telephone number>
Stupid Mode = 1
Inherits = Modem0
  1. Now to dial out using the above configuration file type the following:
  # wvdial plusnet
  1. Hopefully you should a connect to your ISP, check that you have by typing the following command:
  # ifconfig –a
put ppp entry in here.
  1. All that is left to do is to change the /etc/ resolv.conf file to reflect the DNS servers. The DNS servers should be obtained via you ISP
  1. Once the /etc/ resolv.conf has been updated you favourite web browser should be able to connact to the internet.