LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Lucent/Agere Win won't become linmodem (https://www.linuxquestions.org/questions/mandriva-30/lucent-agere-win-wont-become-linmodem-165183/)

gpit2286 04-01-2004 09:05 PM

Lucent/Agere Win won't become linmodem
 
If someone could help me with this, it would be much appreciated. Here are the steps I have done thus far.
[I]
Get the source-code for Lucent Agere Modem to Kernel 2.6 from:
ttp://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/ltmodem-2.6-alk-2.tar.bz2

Then do this:
1)Unzip to a dir
2)Untar the archive
3)Go to The Ltmodem Directory created
4)Create /dev/ttyLT0 - mknod --mode=0640 /dev/ttyLT0 c 62 64
5)Change owner and group owner to match /dev/ttyS0
6)Create symbolic link /dev/modem to it - ln -s /dev/ttyLT0 /dev/modem
7)Edit KERNEL_DIR variable in Makefile to reflect your 2.6 kernel dir
8)Then just run make

You will get ltmodem.ko & ltserial.ko.

9)Copy them to /lib/modules/2.6.3-4mdk/ltmodem
10)run depmod -a
11)Edit your modprobe.conf to load ltserial (not lt_serial)
for /dev/ttyLT0
11.1)Insert this lines in your modprobe.conf:
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tts/LT0 ltserial

12)add the following lines to both /etc/modules and /etc/modprobe.preload:
ltmodem
ltserial

I'm running Mandrak 10.0 ran by the 2.6.3 Kernel.
Thanks again

DavidPhillips 04-02-2004 03:23 AM

So what's it doing?

So far all I can say is check the /dev/modem link if your using it.


ls -l /dev/modem
lrwxrwxrwx 1 root root 10 Mar 3 15:30 /dev/modem -> /dev/ttyLT0

Tormented 04-02-2004 11:29 AM

The instructions in the tarball aren't quite right.
I got mine working by adding a section like this to modprobe.conf:

install winmodem /sbin/modprobe ltserial
alias /dev/modem ltserial
alias char-major-62 ltserial
alias /dev/tts/LT0 ltserial

Then I just added this to modprobe.preload:

winmodem

And /dev/modem should be linked to /dev/ttySLT0, not /dev/ttyLT0.
The /dev/ttySLT0 won't appear until the ltserial module is loaded, so
you can either reboot or modprobe ltserial to get it.

gmoque 04-03-2004 11:25 PM

Well look, I don't know how works exactly the /etc/modules stuff, you just need to load the modules with "modprobe ltserial", I had a similar trouble but my problem it's exactly to autoload the modules when I start my box!!

Any suggestion??

PS. I have the same driver (ltmodem-2.6-alk) and I'm running mandrake 10.0 with kernel 2.6.3

Tormented 04-04-2004 06:29 AM

Quote:

Originally posted by gmoque
... I had a similar trouble but my problem it's exactly to autoload the modules when I start my box!!

Any suggestion??

Add those lines to modprobe.conf and modprobe.preload like I said in my post above and the modules will autoload at boot.


All times are GMT -5. The time now is 03:46 PM.