PDA

View Full Version : NEWBIE: Help getting modem work



ica
02-14-2004, 07:15 PM
I'm new in Linux. I had a sound problem but I manage to solve it.
My last problem is to manage to connect to internet. I'm writing this lines from Windows and I would like to do it from Linux.
I'm using Knoppix 3.2 installed on hard disc with "knx-hdinstall"
My modem is AGERE SYSTEM PCI SOFT MODEM. In windows it is installed on COM3.
In KPPP I choose ttyS2 but system says : Modem is busy , and doing nothing. If I choose ttyS0 and Querry modem it recognized it but all ATI fields are blank and modem not working.
I didn't installed any Linux drivers for it becouse don't now WHAT?
Can somebody tell me what to download and how to install it and make it work.
THANKS

cyKeMatica
02-15-2004, 02:52 PM
try this :)

http://www.knoppix.net/forum/viewtopic.php?t=8146

ica
02-15-2004, 08:02 PM
I tried the link above but it want work.
When I type CAT /PROC/VERSION I got numbers - 2.4.20. Is that my kernel version for wich should I find the driver.

In Windows my modem port is COM3, so as I understand I should choose ttyS2 in KPPP.
I did that but it says -MODEM BUSY.
If I choose ttyS0 or S1 when I start connecting it says MODEM READY and then INITIALIZING MODEM and freez at that point doing nothing.

What should I do. PLEASE HELP.
noppix.net/forum/viewtopic.php?t=8146[/url][/quote]

ica
02-17-2004, 08:58 PM
I’m almost there, so PLEASE if anyone can, help me:
This is what I did so far:

Download Ltmodem-8.26a9.tar.gz
Type as root:

tar xvfz ltmodem-8.26a9.tar.gz
cd ltmodem-8.26a9
./build_module
./ltinst2
./autoload

In that final step (autoload) I recieved error message something like:
The drver version is .... gcc=3
The kernel version.... gcc=2
And that conflict of this two could crash the kernel and that I
should avoid this somehow

Then I typed:
mknod /dev/ttyLT0 c 62 64 (I had copy this ,should I change the numbers)
chmod a+rw /dev/ttyLT0
ln –sf /dev/ttyLT0 /dev/modem
insmod –f lt_modem.o
insmod –f lt_serial.o

After starting KPPP and connect button modems says: Modem ready
Then: initializing modem and starting to dial numbers.
But nothings happend. I do not heare modem dialing (I have a pulse dialing set in modem command from ATDT to ATDP)
While doing that entire system seems to be crash becouse everything seem to be slower and my mouse movements are slow too and cuting.

I’m trying for days to fix the problem and only thing connecting me to Windows XP is networking witch I can’t enable in Linux.

ica
02-17-2004, 10:21 PM
I had skip the autoload part and everything seem to be at the right place and responding with right answers but I can't get modem to detect and have a dial tone. I tried everything. Any sugestions.

mightydavefish
02-19-2004, 07:36 AM
The GCC warning when you were compiling the modem means that your kernel was compiled with 2.95 and you just compiled your modules with 3.something. This is no good, since you shouldn't (or can't) mix major version numbers when you are compiling kernels and modules. You can edit the makefile to use gcc-2.95 or you can permanently change which compiler is used by doing:
rm /usr/bin/gcc
ln -s /usr/bin/gcc-2.95 /usr/bin/gcc

and recompiling the modules. Then they should install and work just hunky dory.

ica
02-19-2004, 04:19 PM
Thank you for help.
After few days with no replays,I was beggining to think that maybe there is no solution. But you solve only half of my problem. I did as you said:
rm /usr/bin/gcc
ln –s /usr/bin/gcc-2.95 /usr/bin/gcc
and then :

./build_module
./ltinst2
./autoload

This time „autoload“ part went with no error messages and modules are load OK.
But again when I try to connect everything seems fine and on the end I recieved „No dialton“ message.

After autoload I typed: ./checkout
And the part about my modem is:

Found PCI_DEVICE=11c1:048c MODEM_ID=11C1:048c
00:0a.0 Communication controller: Lucent Microelectronics: Unknown device 048c
00:0a.0 Class 0780: 11c1:044c
Subsystem: 11c1:044c
Flags: Bus master,medium devsel,latency 32,IRQ 18
I/O ports at d000
I/O ports at d400

As you see modem is at IRQ18, but if I type: setserial ttyLT0 I get IRQ 10. Why is that ? What is right command to change it?

Report from scanModem show that 11c1:048c is still NOT supported under Linux but with few exeptions. How can I be sure that my modem is really dead for Linux ?
Any replay even with no real solution is welcome.