LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   PCTEL V.90 modem problem , please help (https://www.linuxquestions.org/questions/linux-hardware-18/pctel-v-90-modem-problem-please-help-64585/)

aiwa 06-09-2003 02:48 PM

PCTEL V.90 modem problem , please help
 
I have PC Tel modem. I have to execute the commands below every time i log on
as root user to detect the modem & then connect to the internet. How can i install
the modem automatically ?

It works fine after i execute these commands .however i have to execute these everytime

Any help


[root@localhost pctel-0.9.4]# make


Making all in src
make[1]: Entering directory `/usr/pctel-0.9.4/src'
Making all in module
make[2]: Entering directory `/usr/pctel-0.9.4/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/include -include /usr/src/linux/include/linux/modversions.h
-DPACKAGE=\"pctel\" -DVERSION=\"0.9.4\" -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 `/usr/pctel-0.9.4/src/module'
Making all in ptserial
make[2]: Entering directory `/usr/pctel-0.9.4/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 `/usr/pctel-0.9.4/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`\"" -I../../include
-I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h
-DPACKAGE=\"pctel\" -DVERSION=\"0.9.4\" -c -o ptserial.o ptserial.c

make[3]: Leaving directory `/usr/pctel-0.9.4/src/ptserial'
ld -r -o ../../modules/ptserial.o ptserial.o
^[[Amake[2]: Leaving directory `/usr/pctel-0.9.4/src/ptserial'
make[2]: Entering directory `/usr/pctel-0.9.4/src'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/usr/pctel-0.9.4/src'
make[1]: Leaving directory `/usr/pctel-0.9.4/src'
Making all in lib
make[1]: Entering directory `/usr/pctel-0.9.4/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/pctel-0.9.4/lib'
Making all in modules
make[1]: Entering directory `/usr/pctel-0.9.4/modules'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/pctel-0.9.4/modules'
Making all in include
make[1]: Entering directory `/usr/pctel-0.9.4/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/pctel-0.9.4/include'
Making all in misc
make[1]: Entering directory `/usr/pctel-0.9.4/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/pctel-0.9.4/misc'
Making all in m4
make[1]: Entering directory `/usr/pctel-0.9.4/m4'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/pctel-0.9.4/m4'
make[1]: Entering directory `/usr/pctel-0.9.4'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/usr/pctel-0.9.4'


[root@localhost pctel-0.9.4]# make install



Making install in src
make[1]: Entering directory `/usr/pctel-0.9.4/src'
Making install in module
make[2]: Entering directory `/usr/pctel-0.9.4/src/module'
make[3]: Entering directory `/usr/pctel-0.9.4/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 `/usr/pctel-0.9.4/src/module'
make[2]: Leaving directory `/usr/pctel-0.9.4/src/module'
Making install in ptserial
make[2]: Entering directory `/usr/pctel-0.9.4/src/ptserial'
make[3]: Entering directory `/usr/pctel-0.9.4/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 `/usr/pctel-0.9.4/src/ptserial'
make[2]: Leaving directory `/usr/pctel-0.9.4/src/ptserial'
make[2]: Entering directory `/usr/pctel-0.9.4/src'
make[3]: Entering directory `/usr/pctel-0.9.4/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 `/usr/pctel-0.9.4/src'
make[2]: Leaving directory `/usr/pctel-0.9.4/src'
make[1]: Leaving directory `/usr/pctel-0.9.4/src'
Making install in lib
make[1]: Entering directory `/usr/pctel-0.9.4/lib'
make[2]: Entering directory `/usr/pctel-0.9.4/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 `/usr/pctel-0.9.4/lib'
make[1]: Leaving directory `/usr/pctel-0.9.4/lib'
Making install in modules
make[1]: Entering directory `/usr/pctel-0.9.4/modules'
make[2]: Entering directory `/usr/pctel-0.9.4/modules'
/bin/sh ../mkinstalldirs /lib/modules/2.4.18-3custom/misc
/usr/bin/install -c -o root -g root -m 644 pctel.o
/lib/modules/2.4.18-3custom/misc/pctel.o
/usr/bin/install -c -o root -g root -m 644 ptserial.o
/lib/modules/2.4.18-3custom/misc/ptserial.o
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/pctel-0.9.4/modules'
make[1]: Leaving directory `/usr/pctel-0.9.4/modules'
Making install in include
make[1]: Entering directory `/usr/pctel-0.9.4/include'
make[2]: Entering directory `/usr/pctel-0.9.4/include'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/include/pctel
/usr/bin/install -c -m 644 pctel.h /usr/local/include/pctel/pctel.h
make[2]: Leaving directory `/usr/pctel-0.9.4/include'
make[1]: Leaving directory `/usr/pctel-0.9.4/include'
Making install in misc
make[1]: Entering directory `/usr/pctel-0.9.4/misc'
make[2]: Entering directory `/usr/pctel-0.9.4/misc'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/pctel-0.9.4/misc'
make[1]: Leaving directory `/usr/pctel-0.9.4/misc'
Making install in m4
make[1]: Entering directory `/usr/pctel-0.9.4/m4'
make[2]: Entering directory `/usr/pctel-0.9.4/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/pctel-0.9.4/m4'
make[1]: Leaving directory `/usr/pctel-0.9.4/m4'
make[1]: Entering directory `/usr/pctel-0.9.4'
make[2]: Entering directory `/usr/pctel-0.9.4'
make[2]: Nothing to be done for `install-exec-am'.
installing FAQ as /usr/local/share/doc/pctel/FAQ
installing README as /usr/local/share/doc/pctel/README
*** Setting device file. ***
make[2]: Leaving directory `/usr/pctel-0.9.4'
make[1]: Leaving directory `/usr/pctel-0.9.4'
[root@localhost pctel-0.9.4]# cd modules
[root@localhost modules]# insmod pctel.o
Warning: loading pctel.o will taint the kernel: non-GPL license - GPL linked
with proprietary libraries
[root@localhost modules]# insmod ptserial.o
Warning: loading ptserial.o will taint the kernel: non-GPL license - GPL linked
with proprietary libraries

fancypiper 06-09-2003 03:15 PM

Did you follow ALL the instructions to install?

There is no need to re-compile the module each time, just load it.

The needed line for after the first comiple:
insmod pctel.o

Usually you can put that command in the last script run by your distro (not mentioned). Lots use /etc/rc.d/rc.local

# Modem and connection troubleshooting
Is it a PCI card? Find info about PCI cards with /cat/proc/pci
Modem NHFs
Modem HOWTO
Linmodems.org
Conexant/Rockwell modem HOWTO
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work
Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets
Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems
Connecting to AOL with Linux

shepper 07-07-2003 12:00 AM

Not sure what distro you are using but the latest version of pctel is 0.9.6 and it works better on gcc 3.x distros. You can google for the download site.


All times are GMT -5. The time now is 07:41 PM.