Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1630 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  [linux][newbi]probleme a linstall de mon modem

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

[linux][newbi]probleme a linstall de mon modem

n°75923
vincegr
Posté le 12-03-2002 à 19:04:33  profilanswer
 

jai recuperer un tutorial pour l'install d mon modem.
C'est un kortex pci 56k, avec je crois un chipset pctel.
J'execute la ligne de commande suivante :  
./configure --with-hal=pct789
tout un traitement se fait et à la fin il me met:
error : modversions.h is missing you should configure your kernel first
mais moi je sais deja pas installer un modem alors modifier mon kernel !!! fodrai deja ke je sache ce ke c.
Sinon je me connecte sous XP en ce moment en attendant ke linux marche.
Heureusement ke windows est la ??!!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 :gun:  
oki je sors
 
merci a ceux ki oront le courage de repondre

mood
Publicité
Posté le 12-03-2002 à 19:04:33  profilanswer
 

n°75926
911GT3
en roue libre
Posté le 12-03-2002 à 19:13:20  profilanswer
 

On en parle un peu là même si c'est pas le sujet.
http://forum.hardware.fr/forum2.ph [...] p=2#t70927

n°75928
911GT3
en roue libre
Posté le 12-03-2002 à 19:15:25  profilanswer
 

Google rulez
cf le 5°)
 

Citation :

FAQ - Frequently Asked Questions
   --------------------------------
   (w) 2001-05-02 J.Stifter, j.stifter@medres.ch
 
 
Table of Contents:
------------------
1. Will my modem XXX work with this driver?
2. How do I install the driver?
3. Do you work for PCTEL?
4. Country Code selection
5. Compile error: no modversions.h
6. Unresolved Symbols
 
 
1. Will my modem XXX work with your driver?
-------------------------------------------
Go to "Linux/Modem Compatibility Knowledge Base" at
http://www.idir.net/~gromitkc/winmodem.html
and follow the instructions to find your modem.
 
 
2. How do I install the driver?
-------------------------------
If you have sucessfully done "make install", the driver is located  
in /lib/modules/"your-kernel-number"/misc/
 
The driver consists of two parts:
pctel.o
ptserial.o
 
You insert these drivers with the command
insmod pctel
insmod ptserial
 
If this doesn't work, you can do
insmod /lib/modules/"your-kernel-number"/misc/pctel.o
insmod /lib/modules/"your-kernel-number"/misc/ptserial.o
 
You have to make sure, that these two commands are run every time you
reboot your machine, by adding these two commands to an init script,
according to your distribution.
 
If  you want to enable autoloading of the modules,
the following lines in /etc/modules.conf would suffice:
 
# for pctel modem
alias char-major-62 ptserial
below ptserial pctel
# country code for pctel modem
options ptserial country_code=13                                            
 
Make sure, you run "depmod -a" after you changed your /etc/modules.conf.
 
Then starting ppp would autoload the modules,
or "modprobe ptserial" will insert them.
 
 
3. Do you work for PCTEL?
-------------------------
I don't work for PCTEL, i am maintainig this driver in my free time.
 
 
4. Country Code selection
-------------------------
The PCTEL modem has the possibility to select a country code.
If the country code is not selected, the default country code,
which is USA, will be used and it should work for most countries.
However, there is a way that you can select the country code for
better performance.
 
To select the country code, instead of "insmod ptserial.o" do:
insmod ptserial.o country_code=X      
 
Table of country codes:
 
country_code  country_name
 
 1            USA
 2            FRANCE
 3            GERMANY
 4            ITALY
 5            SWEDEN
 6            UK
 7            JAPAN
 8            AUSTRALIA
 9            SPAIN
10            TAIWAN
11            SINGAPORE
12            KOREA
13            SWITZERLAND
14            NORWAY
15            NETHERLANDS
16            BELGIUM
17            CANADA
18            IRELAND
19            PORTUGAL
20            POLAND
21            HUNGARY
22            FINLAND
23            DENMARK
24            AUSTRIA
25            S.AFRICA
26            CTR21 COUNTRIES
27            CHINA
28            MALAYSIA
29            LUXUMBURG
30            GREECE
31            ICELAND
32            NEW ZEALAND
33            BRAZIL
 
 
5. Compile error: no modversions.h
----------------------------------
If you see something like:
 
gcc [....] /usr/src/linux/include/linux/modversions.h:  
No such file or directory
 
after typing "make", you have no modversions.h or you have it at the
wrong place.
 
First, make sure, your kernel source tree starts at /usr/src/linux. If
not, make a link from your kernel source to /usr/src/linux:
$ ln -s /path/to/your/kernel /usr/src/linux
 
Now, create the modversions.h by running
$ cd /usr/src/linux
$ make dep
 
this should make you a modversions.h in /usr/src/linux/include/
 
If this did not work, an ugly hack is to create an empty file there:
$ mkdir -p /usr/src/linux/include/linux
$ touch /usr/src/linux/include/linux/modversions.h
 
 
6. Unresolved Symbols
---------------------
The unresolved symbols arise when there is a mismatch between the
versions of the running kernel & the kernel-headers used to compile the
driver.  
 
These symbol differences can often be masked across flavor differences
and even some larger differences through use of Mark Speith's fixscript,
available at: www.medres.ch/~jstifter/linux/pctel.html (links section).  
 
Of course, the robust cure is too use the same kernel-headers as were used
in the compile of the running kernel.  Unfortunately the kernel-header
packages provided by some Linux distros are not exactly version matched
with the stock kernels.  
 
If you do a
  depmod -e pctel.o
or
  depmod -e ptserial.o
you can generate an "unresolved symbols" report.  
 
If you have unresolved symbols:  
 
1) download fixscript.gz
2) unpack it with "gzip -d fixscript.gz"
3) make it executable with "chmod +x fixscript"
4) run fixscript with  
 
./fixscript old_module new_module.o  
 
this will create you the new module, which you can try to insert
with "insmod new_module.o"
 
If fixscript reports an error like
objcopy: --redefine-sym: Symbol "" is target of more than one redefinition
then, fixscript can not help you.
 
In this case, you have to compile yourself a kernel. Ask the linmodems
mailing list if you have problems - it is not that hard!
---
Jan Stifter, 2001-07-06
j.stifter@medres.ch
http://www.medres.ch/~jstifter/linux/pctel.html
 

n°75930
woodyuser
Posté le 12-03-2002 à 19:17:10  profilanswer
 

moi je tourne avec un pctel sous aol et ca marche niquel
 :D  :D

n°75962
vincegr
Posté le 12-03-2002 à 19:50:21  profilanswer
 

merfi
je vais essyer et pi si ca marche pas vous zallez entendre parlez de moi  :fou:  :pt1cable:  ;)


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  [linux][newbi]probleme a linstall de mon modem

 

Sujets relatifs
[newbies] problème de configuration de pengaolProblème (très étrange) de partage de connexion internet avec linux
help sur un boot linux avec NT loader de XPnubi powa of linux kestion of webdav
LIL- empeche windows de démarrer (linux effacé)Linux au fromage c'est bon...
Faire une divx box sous linuxprobleme samba / plantage de la connec rezo
[ linux ] Muzah installe ! 
Plus de sujets relatifs à : [linux][newbi]probleme a linstall de mon modem


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR