LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-09-2003, 02:48 PM   #1
aiwa
LQ Newbie
 
Registered: Jun 2003
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 06-09-2003, 03:15 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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

Last edited by fancypiper; 06-09-2003 at 03:20 PM.
 
Old 07-07-2003, 12:00 AM   #3
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver Problem For PCTEL HSP 56k PCI modem thandermax Linux - Hardware 1 07-26-2005 01:00 PM
pctel modem problem paulr1984 Linux - Hardware 1 03-07-2005 05:17 AM
pctel modem - wvdial problem sridharinfinity Debian 1 08-15-2004 04:44 AM
AMR modem problem (PCTel HSP56) Mytharak Linux - Hardware 0 06-20-2004 06:39 PM
Pctel Modem problem dragoon linux Linux - Hardware 6 12-01-2003 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration