PDA

Visualizza la versione completa : winmodem su portatile toshiba


lion1810
09-12-2005, 13:58
ho installato linux su un portatile di un amico (toshiba).
Tutto andato liscio (+- o meno). L'unico grosso problema il winmodem. Ho gurdato un pochino con google e ho trovato il sito linmodem.
Bene; ho scaricato lo scrip per cercare il tipo di modem:


root@portatile_andrew:/home/agostini/Desktop# ./scanmo~1

UPDATE=2005_Oct_19

PCIBUS=00:07.0

Providing detail for device at 00:07.0
with vendor-ID:device-ID
----:----
Class 0780: 11c1:0441 Communication controller: Lucent Microelectroni
cs 56k WinModem (rev 01)
SubSystem 1179:0001 Toshiba America Info Systems Internal V.90 Modem
Flags: bus master, medium devsel, latency 0, IRQ 3

-----PCI_IDs------- --CompilerVer-

Feature List: Primary Subsystem Distr KernelVer kernel default
CPU
./scanModem test 11c1:0441 1179:0001 debian 2.4.21 3.2.3 3.2.3 i68
6


There are some installer packages
and also resources for compiling drivers:

The modem has a supported Lucent/Agere DSP (digital signal processing)
chipset
with primary PCI_ID: 11c1:0441
DSP=1
Native suppport for AMD x86_64 systems had NOT been implemented.
However, there is a too brief report that with under a i686 kernel
compiled with x86_64 optimization and serving an AMD x86_64 motherboar
d,
the ltmodem drivers are effective.

Agere Systems, Inc provides periodic software releases for their DSP m
odems,
which are made more Newbie friendly by volunteers or Linux distros.
Browse http://linmodems.technion.ac.il/Ltmodem.html for older informat
ion.

SuSE/Novell Linux and some other Distros provide compiled drivers +ins
tallers.
Search package lists for ltmodem
For other Distros and 2.6.n kernels, see:
http://linmodems.technion.ac.il/archive-fifth/msg04605.html
and browse
http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/
ltmodem-2.6-alk-7b.tar.gz has the most general instructions for i
nstallations,
and the core code is used in:
ltmodem-8.31b1.tar.gz , which automates the processes;
ltmodem-2.6-7alk.src.rpm can be used for rpm using Distros.
# rpmbuild --rebuild ltmodem-2.6-7alk.src.rpm
will deposit an installer at:
/usr/src/rpm/RPMS/i686/ltmodem-kv_2.4.21.rpm Chec
k with
# ls -l /usr/src/rpm/RPMS/i686/ltmodem*
Then install with:
# rpm -i /usr/src/rpm/RPMS/i686/ltmodem-kv_2.4.21.rpm
or similar.

http://ltmodem.heby.de has support for ISA card modems, Lucent/Agere c
hip PCMCIA card modems
and kernels 2.2.n through current 2.6.n (at least up to 2.6.11)
Packages for compiling drivers are:
ResourceName Use for kernel ranges
--------------------------------------------------------------- -----------------------------------
ltmodem-8.26a.tar.gz kernels 2.4.21 and earlier
ltmodem-8.30a3.tar.gz kernels 2.4.21 and subsequent 2.4.2 n kernels
which were assembled with a gcc-2.9n comiler
ltmodem-8.31a10.tar.gz beginning with 2.4.21 through and in to 2.6.n kernels
There are also numerous pre-compiled driver packages, though those for older kernels are at::
http://linmodems.technion.ac.il/packages/ltmodem/
See http://linmodems.technion.ac.il/resources.html#lucent for some spe cial cases:
Knoppix, Demudi, etc
Some additional 2.4.n installers are available from:
http://dag.wieers.com/packages/kernel-module-ltmodem/ for some other 2. 4.n installers

A PCMCIA modem is detected.

root@portatile_andrew:/home/agostini/Desktop#


e poi tanto per essere sicuri:



agostini@portatile_andrew:~$ lspci -v | grep Modem
00:07.0 Communication controller: Lucent Microelectronics 56k WinModem (rev 01)
Subsystem: Toshiba America Info Systems Internal V.90 Modem
agostini@portatile_andrew:~$


ho installato il pacchetto

ltmodem-2.4.21-5-386_8.26a9_i386.deb (il kernel 2.4.21)
----oot@portatile_andrew:/usr/src/linux-2.4.21# dpkg -i /flash/win-mo~1/ltmode~2.deb
(Lettura del database ... 93777 file e directory attualmente installati.)
Preparativi per il rimpiazzo di ltmodem-2.4.21-5-386 8.26a9 (usando /flash/win-mo~1/ltmode~2.deb) ...
Spacchetto il rimpiazzo di ltmodem-2.4.21-5-386 ...
Deleted device node /dev/ttyLT0
lrwxrwxrwx 1 root root 11 2005-12-04 09:52 /dev/modem -> /dev/ttyLT0

Finished device node cleanup.
Configuro ltmodem-2.4.21-5-386 (8.26a9) ...
Diagnostic information is being written to /usr/share/doc/ltmodem-2.4.21-5-386/LTinstall.txt


Made modem device node /dev/ttyLT0
group ownership set to dialout
with symbolic link /dev/modem --> /dev/ttyLT0

Documentation and some utilites have been seated in /usr/share/doc/ltmodem-2.4.21-5-386,
including the log of this installation, LTinstall.txt
with a symbolic link to this folder.
LTfiles is the installed filelist.
ModemData.txt and ModemData.txt2 are the ouput of scanmodem
If not familiar with these drivers read the Ltmodem.html
Also for a guided tour, now run ./checkout

Otherwise, get Online and Enjoy
Relate problems to discuss@linmodems.org
Gratitude too, to discuss@linmodems.org

e sembrerebbe tutto ok.

ho dato un'occhiata :


agostini@portatile_andrew:/usr/src/linux-2.4.21$ cat /usr/share/doc/ltmodem-2.4.21-5-386/LTinstall.txt
If you cannot resolve the problems, please send /usr/share/doc/ltmodem-2.4.21-5-386/LTinstall.txt to discuss@linmodems.org with Subject: LTinstallDEB
RECORD=/usr/share/doc/ltmodem-2.4.21-5-386/LTinstall.txt
Linux portatile_andrew 2.4.21 #1 Sun Aug 3 20:15:59 PDT 2003 i686 unknown unknown GNU/Linux
PWD=/usr/src/linux-2.4.21
ENVIR=deb
INSTALLER=/var/lib/dpkg/info/ltmodem-2.4.21-5-386.postinst configure 8.26a9
TMPM=/tmp/ltmodem/tmpfile
FAST=1
LT_VERSION=8.26a9
TARGET_VERSION=2.4.21-5-386
TARGET_CPU=
SYSTEM_CPU=i686
GCC_DRIVERS=3
GCC_NOW=3.2.3
GCC_KERNEL=3

----
root@portatile_andrew:/home/agostini# /var/lib/dpkg/info/./ltmodem-2.4.21-5-386.postinst
Diagnostic information is being written to /usr/share/doc/ltmodem-2.4.21-5-386/LTinstall.txt

The modem symbolic link is: /dev/modem -> /dev/ttyLT0
The current modem port is: /dev/ttyLT0

Made modem device node /dev/ttyLT0
group ownership set to dialout
with symbolic link /dev/modem --> /dev/ttyLT0

Documentation and some utilites have been seated in /usr/share/doc/ltmodem-2.4.21-5-386,
including the log of this installation, LTinstall.txt
with a symbolic link to this folder.
LTfiles is the installed filelist.
ModemData.txt and ModemData.txt2 are the ouput of scanmodem
If not familiar with these drivers read the Ltmodem.html
Also for a guided tour, now run ./checkout

Otherwise, get Online and Enjoy
Relate problems to discuss@linmodems.org
Gratitude too, to discuss@linmodems.org

root@portatile_andrew:/home/agostini#



ho fatto il collegamento



root@portatile_andrew:/home/agostini# ln -s /dev/ttyLT0 /dev/modem
root@portatile_andrew:/home/agostini# kppp
Opener: received OpenLock

Opener: received OpenDevice
error opening modem device !
Opener: received RemoveLock
root@portatile_andrew:/home/agostini#


ma come vedete kppp mi restiuisce sempre errore.
Dove posso aver sbagliato ??????


ho verificato anche gruppo e permessi
root@portatile_andrew:/home/agostini#. ls -al /dev/ttyLT0
crw-rw-rw- 1 root dialout 62, 64 2005-12-04 11:26 /dev/ttyLT0
root@portatile_andrew:/home/agostini#.


root@portatile_andrew:/home/agostini#. addgroup agostini dialout
The user `agostini' is already a member of dialout.


La chiamata al device rimane negativa. Non che mi son perso per strada qualche modulo da caricare?

:cry:

andy caps
09-12-2005, 14:15
prova semmai

modprobe ltmodem
prova a commentare use lock in /etc/ppp/options :bh:

lion1810
09-12-2005, 18:50
:cry: :cry:

...can't locate module ltmodem


:cry: :cry:

sul file in /etc/ppp/options
ho trovato solo
lock
l'ho commentato ma non cambiato nulla :cry:

andy caps
09-12-2005, 20:24
dai un uname -r e controllala tua versione del kernel


dai un modprobe -l | grep lt e guarda se da qualche parte
l'installazione dovrebbe installartelo in /lib/modules
se non installa il modulo difficilmente va

che distribuzione gli hai installato ?

lion1810
10-12-2005, 09:37
il postatile PIII 600 ed ho installato una libranet 2.8.1

il kernel 2.4.21.
del modulo non c' traccia.
:dh:

andy caps
10-12-2005, 10:54
provato a seguire quest istruzioni ?
http://libranet.com/support/db/2.8.1/0347

prova ad installare il sorgente o guarda se il pacchetto installato ti ha aggiunto dei comandi

digita lt e premi il tasto tab (doppie frecce ) per vedere se ha qualche tool di configurazione il pacchetto
prova un modprobe ltserial

dai comunque un modprobe -l | grep lt e guarda se lo mette nella lista

lion1810
10-12-2005, 13:36
:yuppi: grazie grazie grzie
ho fatto esattamente come indicato ed ora eccomi qui: linux, internet, linmodem :D & toshiba

lion1810
10-12-2005, 14:42
.. mmmhh non capisco ..
ora ho un problemino di (penso) permessi.
Premetto: da root funziona.
Come utente ha funzionato per la prima connessione, dopo il boot kppp mi continua a dare questo errore:


Dec 10 14:19:14 portatile_andrew pppd[985]: pppd 2.4.1 started by agostini, uid 1000
Dec 10 14:19:14 portatile_andrew pppd[985]: Using interface ppp0
Dec 10 14:19:14 portatile_andrew pppd[985]: Connect: ppp0 <--> /dev/ttyLT0
Dec 10 14:19:17 portatile_andrew pppd[985]: Remote message: Authentication failure
Dec 10 14:19:17 portatile_andrew pppd[985]: Connection terminated.
Dec 10 14:19:17 portatile_andrew pppd[985]: Exit.

i dati di connessione sono = a quelli di root. Proprio non capisco dove sia l'inghippo

:master:

andy caps
10-12-2005, 15:00
controlla che permessi ha /dev/ttyLT0

ls -ls /dev/ttyLT0

dai un occhiata ad /etc/group

se esiste il gruppo dialup aggiungici l'utente

comunque da un terminale di root anche da user puoiavviare kppp provvisoriamente

lion1810
10-12-2005, 15:55
agostini@portatile_andrew:~$ kppp
kbuildsycoca running...
Opener: received SetSecret
Opener: received SetSecret
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 1244
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
It was pppd that died
pppd exited with return value 19
Sending 1224 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
error opening resolv.conf!
Opener: received RemoveLock
Opener: received PPPDExitStatus

ho prvoto a cercare anche come da messaggio:

Il demone pppd ha interrotto la connessione in modo inaspettato!
Valore ritornato: 19
Consulta la pagina del manuale di pppd (man pppd) per verificare il significato del codice d'errore ritornato oppure leggi le FAQ di kppp a http://devel-home.kde.org/~kppp/index.html
ma non trovo sto cacchio di errore 19
:bh: :cry:

Loading