Hi guys. I'm having a problem for about a month now. I tryed to do what everyone told me and i tryed everything that people told me to read. Redhat Linux 8 does not recognize my modem. I have PCTEL Platinum V. 90 modem. That is a internal winmodem. yes i do know it is possible to configure it but i don't know how. Can someone take me through this step by step?? Hold my hand all the way through. (Just kidding) but seriously i do need someone take me step by step. I have the drivers on CD and it's sitting here in front of me. Please reply back. Thanks guys.
I read the instructions so many times now. I even read them before you made the post with the instructions. They don't work. Please reply back. Thanks.
I'm going to try to do this the way i did this in the past and i'm going to post my output.
Try this:
1. Download the driver to /tmp.
2. Open a console, and from it, type tar -zxvf pctel-0.9.6.tar.gz. Then change to the directory by typing cd pctel-0.9.6.
3. Type ./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4/include. Make sure, before you do this, that you have your kernel sources in /usr/src/linux.
4. Type make and then su -c "make install"
5. Type insmod pctel and insmod ptserial.
6. Type tail /var/log/messages.
7. Compare the results to this:
May 16 23:28:17 suba kernel: PCTel initialization. Country code is 2.
May 16 23:28:17 suba kernel: PCTel device[00:11.0](0x88) found "PCTel Inc HSP MicroModem 56 (rev 01)" IOBASE 0xe800 IRQ 9.
May 16 23:28:17 suba kernel: PCTel driver version 0.9.6 [5.05c-4.27.215 (09-14-2001)]] (PCT789) (2001-08-18) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
May 16 23:28:17 suba kernel: PCTel driver built on [Linux 2.4.8 i686 unknown] with [2.95.3].
May 16 23:28:17 suba kernel: ttyS15 at 0xe800 (irq = 9) is a PCtel
Try to use kppp to dial out, using /dev/modem as your modem.
uh no did not work. I will post my output.
[dsanta@localhost dsanta]$ cp /mnt/cdrom/pctel-0.9.6.tar.gz /home/dsanta
[dsanta@localhost dsanta]$ tar zxvf pctel-0.9.6.tar.gz
pctel-0.9.6/
pctel-0.9.6/misc/
pctel-0.9.6/misc/Makefile.am
pctel-0.9.6/misc/Makefile.in
pctel-0.9.6/misc/SlackBuild.in
pctel-0.9.6/misc/build_rpms.sh.in
pctel-0.9.6/misc/pctel.spec.in
pctel-0.9.6/misc/autogen.sh
pctel-0.9.6/misc/pctel.spec
pctel-0.9.6/README
pctel-0.9.6/AUTHORS
pctel-0.9.6/COPYING
pctel-0.9.6/ChangeLog
pctel-0.9.6/INSTALL
pctel-0.9.6/Makefile.am
pctel-0.9.6/Makefile.in
pctel-0.9.6/NEWS
pctel-0.9.6/acinclude.m4
pctel-0.9.6/aclocal.m4
pctel-0.9.6/configure
pctel-0.9.6/configure.in
pctel-0.9.6/install-sh
pctel-0.9.6/missing
pctel-0.9.6/mkinstalldirs
pctel-0.9.6/cvscompile.sh
pctel-0.9.6/FAQ
pctel-0.9.6/src/
pctel-0.9.6/src/Makefile.am
pctel-0.9.6/src/Makefile.in
pctel-0.9.6/src/module/
pctel-0.9.6/src/module/Makefile.am
pctel-0.9.6/src/module/Makefile.in
pctel-0.9.6/src/module/ptmodule.c
pctel-0.9.6/src/ptserial/
pctel-0.9.6/src/ptserial/Makefile.am
pctel-0.9.6/src/ptserial/Makefile.in
pctel-0.9.6/src/ptserial/ptserial-2.4.6.c
pctel-0.9.6/src/ptserial/ptserial-2.4.7.c
pctel-0.9.6/lib/
pctel-0.9.6/lib/asus/
pctel-0.9.6/lib/asus/dsp.a
pctel-0.9.6/lib/asus/i810hal.a
pctel-0.9.6/lib/cm8738/
pctel-0.9.6/lib/cm8738/pctel-cm8738.o
pctel-0.9.6/lib/pct789/
pctel-0.9.6/lib/pct789/dsp.a
pctel-0.9.6/lib/pct789/pcthal.a
pctel-0.9.6/lib/sis/
pctel-0.9.6/lib/sis/dsp.a
pctel-0.9.6/lib/sis/i810hal.a
pctel-0.9.6/lib/via/
pctel-0.9.6/lib/via/dsp.a
pctel-0.9.6/lib/via/via686ahal.a
pctel-0.9.6/lib/Makefile.am
pctel-0.9.6/lib/Makefile.in
pctel-0.9.6/lib/control.a
pctel-0.9.6/lib/vuart.o
pctel-0.9.6/modules/
pctel-0.9.6/modules/Makefile.am
pctel-0.9.6/modules/Makefile.in
pctel-0.9.6/include/
pctel-0.9.6/include/pctel.h
pctel-0.9.6/include/halwraps.h
pctel-0.9.6/include/vuart.h
pctel-0.9.6/include/Makefile.am
pctel-0.9.6/include/Makefile.in
pctel-0.9.6/m4/
pctel-0.9.6/m4/Makefile.am
pctel-0.9.6/m4/Makefile.in
pctel-0.9.6/m4/_pctel.m4
[dsanta@localhost dsanta]$ cd pctel-0.9.6
[dsanta@localhost pctel-0.9.6]$ ./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.18-14/include
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build driver for... HAL_PCT789
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for gawk... (cached) gawk
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux-2.4.18-14/include/linux/modversions.h usability... yes
checking /usr/src/linux-2.4.18-14/include/linux/modversions.h presence... yes
checking for /usr/src/linux-2.4.18-14/include/linux/modversions.h... yes
checking for Linux kernel version >= 2.4.0... yes
checking for Linux kernel version >= 2.4.7... yes
checking for mknod... mknod
checking for chgrp... chgrp
checking for chmod... chmod
checking for depmod... no
checking for rmmod... no
checking for lsmod... no
checking for modprobe... no
checking for objdump... objdump
checking for objcopy... objcopy
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating modules/Makefile
config.status: creating include/Makefile
config.status: creating src/Makefile
config.status: creating src/module/Makefile
config.status: creating src/ptserial/Makefile
config.status: creating misc/Makefile
config.status: creating misc/pctel.spec
config.status: creating misc/SlackBuild
config.status: creating misc/build_rpms.sh
config.status: creating m4/Makefile
config.status: executing depfiles commands
config.status: executing default commands
[dsanta@localhost pctel-0.9.6]$ make
Making all in src
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/src'
Making all in module
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -I../../include -I/usr/src/linux-2.4.18-14/include -include /usr/src/linux-2.4.18-14/include/linux/modversions.h
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o
../../lib/pct789/dsp.a ../../lib/pct789/pcthal.a
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/module'
Making all in ptserial
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I../../include -I/usr/src/linux-2.4.18-14/include -include /usr/src/linux-2.4.18-14/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.5\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
Making all in lib
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/lib'
Making all in modules
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/modules'
Making all in include
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/include'
Making all in misc
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/misc'
Making all in m4
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/m4'
make[1]: Entering directory `/home/dsanta/pctel-0.9.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6'
[dsanta@localhost pctel-0.9.6]$ su
Password:
[root@localhost pctel-0.9.6]# make install
Making install in src
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/src'
Making install in module
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/module'
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src/module'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src/module'
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/module'
Making install in ptserial
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src/ptserial'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/src'
make[3]: Entering directory `/home/dsanta/pctel-0.9.6/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/src'
Making install in lib
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/lib'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/lib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/lib'
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/lib'
Making install in modules
make[1]: Entering directory `/home/dsanta/pctel-0.9.6/modules'
make[2]: Entering directory `/home/dsanta/pctel-0.9.6/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.18-14/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o /lib/modules/2.4.18-14/misc/pctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o /lib/modules/2.4.18-14/misc/ptserial.o
/bin/sh: line 1: depmod: command not found
make[2]: *** [install-exec-local] Error 127
make[2]: Leaving directory `/home/dsanta/pctel-0.9.6/modules'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/dsanta/pctel-0.9.6/modules'
make: *** [install-recursive] Error 1
[root@localhost pctel-0.9.6]# /sbin/insmod -f pctel
Using /lib/modules/2.4.18-14/misc/pctel.o
Warning: The module you are trying to load (/lib/modules/2.4.18-14/misc/pctel.o) is compiled with a gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/pctel.o will taint the kernel: forced load
Module pctel loaded, with warnings
[root@localhost pctel-0.9.6]# /sbin/insmod -f ptserial
Using /lib/modules/2.4.18-14/misc/ptserial.o
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary libraries
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: forced load
Module ptserial loaded, with warnings
[root@localhost pctel-0.9.6]# /sbin/lsmod
Module Size Used by Tainted: PF
ptserial 42468 0 (unused)
pctel 1275424 0 [ptserial]
sr_mod 18136 0 (autoclean)
i810_audio 25224 0 (autoclean)
ac97_codec 13384 0 (autoclean) [i810_audio]
soundcore 6532 2 (autoclean) [i810_audio]
autofs 13348 0 (autoclean) (unused)
8139too 17704 0
mii 2156 0 [8139too]
ipt_REJECT 3736 6 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 14936 2 [ipt_REJECT iptable_filter]
ide-scsi 10512 0
scsi_mod 107176 2 [sr_mod ide-scsi]
ide-cd 33608 1
cdrom 33696 0 [sr_mod ide-cd]
printer 8992 0 (unused)
nls_iso8859-1 3516 2 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 13084 1 (autoclean)
fat 38712 0 (autoclean) [vfat]
mousedev 5524 1
keybdev 2976 0 (unused)
hid 22244 0 (unused)
input 5888 0 [mousedev keybdev hid]
usb-uhci 26188 0 (unused)
usbcore 77024 1 [printer hid usb-uhci]
ext3 70368 2
jbd 52212 2 [ext3]
[root@localhost pctel-0.9.6]# tail /var/log/messages
Jun 22 20:16:07 localhost kernel: The failed "Send DVD Structure" packet command was:
Jun 22 20:16:07 localhost kernel: "ad 00 00 00 00 00 00 01 00 08 00 00 "
Jun 22 20:16:18 localhost xinetd[1110]: warning: can't get client address: Transport endpoint is not connected
Jun 22 20:19:00 localhost su(pam_unix)[2402]: session opened for user root by (uid=500)
Jun 22 20:19:46 localhost su(pam_unix)[2402]: session closed for user root
Jun 22 20:23:08 localhost su(pam_unix)[3787]: session opened for user root by (uid=500)
Jun 22 20:24:03 localhost kernel: PCTel device[02:0d.0](0x68) found "PCTel Inc HSP MicroModem 56 (rev 02)", iobase=0x1400, irq=5.
Jun 22 20:24:03 localhost kernel: PCTel driver version 0.9.5 [5.05c-4.27.215 (09-14-2001)] (PCT789) (2002-01-31) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled.
Jun 22 20:24:03 localhost kernel: PCTel driver built on [Linux 2.4.18-14 i686 i686 "2.4.18-14 <132114>"] with gcc-gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7).
Jun 22 20:24:03 localhost kernel: ttyS15 at 0x1400 (irq = 5) is a PCTel
[root@localhost pctel-0.9.6]# tail /var/log/messages
Jun 22 20:24:03 localhost kernel: ttyS15 at 0x1400 (irq = 5) is a PCTel
Jun 22 20:26:06 localhost userhelper: pam_timestamp: timestamp file `/var/run/sudo/dsanta/unknown:root' is too old, disallowing access to neat for UID 500
Jun 22 20:30:04 localhost userhelper: pam_timestamp: timestamp file `/var/run/sudo/dsanta/unknown:root' is only 233 seconds old, allowing access to neat for UID 500
Jun 22 20:30:21 localhost ifup-ppp: Setting up a new /etc/ppp/peers/ppp0 config
file
Jun 22 20:30:21 localhost ifup-ppp: pppd started for ppp0 on /dev/ttyS15 at 460800
Jun 22 20:30:21 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California
Jun 22 20:30:21 localhost kernel: PPP generic driver version 2.4.2
Jun 22 20:30:21 localhost pppd[3931]: pppd 2.4.1 started by root, uid 0
Jun 22 20:30:23 localhost wvdial[3949]: WvDial: Internet dialer version 1.53
Jun 22 20:30:23 localhost wvdial[3949]: Initializing modem.
[root@localhost pctel-0.9.6]#
"Please read that and then reply back. Thanks."
I don't where to start. I'm a beginner not advance user because i have a learning disability. I don't know how to fix the problem.
What error are you talikng about?? I have no clue what you are talking about.
Ok.
1.First, erase the directory where you tried to compile before. This will ensure you get a clean compilation.
2.Decompress the driver again
3.Go inside the pctel-0.9.6 folder.
4. Do the whole ./configure --with-hal=pct789 --with-kernel-includes=/usr/src/linux-2.4.18-14/include.
5. After that, go to the directory src/ptserial/, inside the pctel-0.9.6.
6. In there, open the file called Makefile on a text editor, and look for the line that says:
CFLAGS = -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\"& quot; -DGCC_VERSION=\""$(GCC_VERSION)\"&qu ot; -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversions.h
Delete that line, and copy and paste the following one on its place:
CFLAGS = -D__KERNEL__ -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D$(HAL_TARGET) $(AUDIO_ROUTING) -DBUILD_SYSTEM=\""$(BUILD_SYSTEM)\"& quot; -DGCC_VERSION=\""$(GCC_VERSION)\"&qu ot; -I$(top_srcdir)/include -I$(KERNEL_INCLUDES) -include $(KERNEL_INCLUDES)/linux/modversions.h
7.After that, you should be able to do the make & make install without problems.
Bookmarks