LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-20-2004, 06:42 AM   #31
Supercomputeruk
LQ Newbie
 
Registered: Jun 2004
Distribution: Gentoo 2005
Posts: 3

Rep: Reputation: 0

Ive got a question, ive tried both Tormented's and _invader's methods of installing the drivers, on Mdrake 10 community edition. The drivers install, but when it comes to dialing out using kppp, the modem responds and hangs on the expecting OK signal. I have used the query modem on kppp but that is blank. In addition to this, it says that it cannot use /dev/modem so i had to choose /dev/tty0 to use the modem.

Any ideas?
Any help will be much appreciated as this has been annoying me for the past 5 mths since i moved to linux.
 
Old 06-20-2004, 04:33 PM   #32
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
it might be /dev/ttyLT0, usually /dev/modem is just a symlink to that. that's LT zero.
 
Old 06-21-2004, 05:47 AM   #33
furfurdemon666
Member
 
Registered: Mar 2004
Posts: 171

Original Poster
Rep: Reputation: 30
Wink

Thanks to the wonderful answers provided in this thread, I've been using my Lucent Winmodem on my Linux box for some time now without any problems.

However, I now (finally) have an external 56k modem that I wish to use with Linux but the question is:

What steps do I need to take to rid my system of the drivers/links to the Winmodem now that I won't be using it anymore?

Last edited by furfurdemon666; 06-21-2004 at 06:45 AM.
 
Old 06-21-2004, 06:56 AM   #34
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
the space is so insignificant it doesn't matter. you've already linked /dev/modem to your external probably, so that doesn't matter. the /dev/ttyLT0 uses no space. you've got the modules ltserial.ko and ltmodem.ko in your /lib/modules directory that will not load anymore since the hardware isn't there, assuming you took out the modem. you can delete them if you wish.
 
Old 06-21-2004, 01:20 PM   #35
furfurdemon666
Member
 
Registered: Mar 2004
Posts: 171

Original Poster
Rep: Reputation: 30
Wink

Quote:
Originally posted by whansard
the space is so insignificant it doesn't matter. you've already linked /dev/modem to your external probably, so that doesn't matter. the /dev/ttyLT0 uses no space. you've got the modules ltserial.ko and ltmodem.ko in your /lib/modules directory that will not load anymore since the hardware isn't there, assuming you took out the modem. you can delete them if you wish.
Hi whansard, thanks for your quick and informative reply, I appreciate it.

So I shouldn't need to bother removing the lt*.ko modules even if I won't be using them?

No, I haven't "linked /dev/modem" to my external yet, I wanted to know what to do step by step here so as to not only help me but others who may eventually want to jump the Winmodem ship for a real modem.

I followed Tormented's advice when setting the drivers up, so that said, should I remove the lines I added to /etc/modprobe.conf and /etc/modprobe.preload?

How do I link /dev/modem to my external when it's linked currently to my Winmodem?

Thanks for reading.

Last edited by furfurdemon666; 06-21-2004 at 01:31 PM.
 
Old 06-21-2004, 03:56 PM   #36
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
your external modem is on ttyS0, ttyS1, ttyS2, or ttyS3. those are windows com ports 1-4. rm /dev/modem
ln -s /dev/ttyS0 /dev/modem # if it's com1

then you're done and can go online.

if you want, you can go undo the stuff you did for your lucent. remove the kernel modules you copied, and remove the lines from modules.conf and modules.preload. you probably have lots of unused kernel modules on your machine. that's why i said not to bother. something may go wrong with your external, and you'll wish you still had the lucent stuff around. probably better just to comment out the stuff in modules.conf and modules.preload. and just leave the modules alone.

Last edited by whansard; 06-21-2004 at 04:00 PM.
 
Old 06-23-2004, 07:57 AM   #37
marstell
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Hi! I'm Italian so I'm sorry if my English isn't so good...

I have Mandrake 10 Official with 2.6.3-7 kernel and a Lucent winmodem.
I followed Tormentated's instructions to setup my modem and when I type:

modprobe ltserial

then it shows me this message:


[root@localhost ltmodem-2.6-alk-2]# modprobe ltserial
FATAL: Error inserting ltserial (/lib/modules/2.6.3-7mdk/other/ltserial.ko): Kernel does not have module support

Then I tried to follow Invader's instructions but it shows me the same error.

What can I do?

Thanks
 
Old 06-23-2004, 08:40 AM   #38
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
it looks like you compiled your own kernel without support for loadable kernel modules?
 
Old 06-23-2004, 01:01 PM   #39
marstell
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Thanks, Whansard, for reply.

No, I've never compiled any kernel (or ... not yet...) . I installed my Linux Mandrake about a week ago, so I have a normal Linux installation, and all my devices work well (except for the modem and a few other)..

One thing...
When Tormentated wrote : "mkdir /lib/modules/'uname-r'/other .. What is "uname-r" ?
I replaced the "uname-r" with the version of the kernel, which is 2.6.3-7mdk.... Am I right?

Thanks
 
Old 06-23-2004, 01:54 PM   #40
furfurdemon666
Member
 
Registered: Mar 2004
Posts: 171

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by whansard
your external modem is on ttyS0, ttyS1, ttyS2, or ttyS3. those are windows com ports 1-4. rm /dev/modem
ln -s /dev/ttyS0 /dev/modem # if it's com1

then you're done and can go online.

if you want, you can go undo the stuff you did for your lucent. remove the kernel modules you copied, and remove the lines from modules.conf and modules.preload. you probably have lots of unused kernel modules on your machine. that's why i said not to bother. something may go wrong with your external, and you'll wish you still had the lucent stuff around. probably better just to comment out the stuff in modules.conf and modules.preload. and just leave the modules alone.
Thanks whansard, all went well and I notice now with my external 56k modem there's no sluggish behavior when I'm opening several tabs in konqueror, and faster smoother gameplay in on-line multiplayer games. IMO the Lucent Winmodem really appeared to slow my system down. I'm glad to be rid of it.

Last edited by furfurdemon666; 06-23-2004 at 01:55 PM.
 
Old 06-23-2004, 08:43 PM   #41
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
I replaced the "uname-r" with the version of the kernel, which is 2.6.3-7mdk.... Am I right?

it's uname <space> -r
no changes necessary.
 
Old 06-23-2004, 08:44 PM   #42
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
Thanks whansard, all went well and I notice now with my external 56k modem.


so your modem was on com1, and didn't have to do anything else?
 
Old 06-24-2004, 10:01 PM   #43
_invader
LQ Newbie
 
Registered: May 2004
Posts: 25

Rep: Reputation: 15
Looking back at the drivers, they are compiled for 2.6.3-4mdk kernel, so its obvious why 2.6.3-7 would reject the modules. In this case, you'd probably have to find the source for those drivers and recompile them again... or cross your fingers and hope for new drivers.
 
Old 06-25-2004, 04:10 AM   #44
marstell
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Thank Whansard and Invader for reply.


Before replacing "uname -r" with "2.6.3-7mdk", I tried to write 'uname -r' with and without space. In both of the cases it shows me an error message, which now I don't remember, because I'm writing on WinXP...

But is it

mkdir /lib/modules/`uname -r`/other

or

mkdir /lib/modules/uname -r/other ?

or what?

I tried writing the first one and it happened what I've just written.

Thanks again!!
 
Old 06-25-2004, 05:02 AM   #45
marstell
LQ Newbie
 
Registered: Jun 2004
Posts: 13

Rep: Reputation: 0
Sorry, my error was that I didn't type mkdir -p ... but only mkdir ... when I created 'uname -r' directory...

Now I re-tried to do everything after deleting all directories and files I created during the first try.

Unfortunately, I've still some problems.

I reported all my actions after modifying Makefile:

[root@localhost ltmodem-2.6-alk-2]# make
make -C /usr/src/linux/ SUBDIRS=/home/marco/drivers/ltmodem-2.6-alk-2 modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
[root@localhost ltmodem-2.6-alk-2]# mkdir -p /lib/modules/'uname -r'/other
[root@localhost ltmodem-2.6-alk-2]# cp -v *.ko /lib/modules/'uname -r'/other
`ltmodem.ko' -> `/lib/modules/uname -r/other/ltmodem.ko'
`ltserial.ko' -> `/lib/modules/uname -r/other/ltserial.ko'
[root@localhost ltmodem-2.6-alk-2]# mknod --mode=0640 /dev/ttyLT0 b 62 64
[root@localhost ltmodem-2.6-alk-2]# depmod -a
[root@localhost ltmodem-2.6-alk-2]# modprobe ltserial
FATAL: Module ltserial not found.
[root@localhost ltmodem-2.6-alk-2]#

As you see, now my trouble is another one!!
It seems he doesn't find ltserial.ko file? Or other?
In my /lib/modules directory, now there are three directories:
2.4.??mdk/
2.6.3-7mdk/
uname -r/
in uname -r directory there are only two files: ltserial.ko and ltmodem.ko.

Where is the mistake? Should I post other informations? Which ones?
Thanks
 
  


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
cant installltmodem(lucent) drivers(no kernel headers found) nikoz Linux - General 5 08-17-2006 03:52 PM
mandrake 10 nvidia drivers and winmodem drivers mikeymouse Mandriva 6 08-28-2004 07:57 AM
Need help with installing drivers for a Lucent Winmodem on Mandrake 9.1 .nyteshyft Linux - Newbie 2 01-21-2004 11:56 PM
lucent winmodem pslinuxnoob Linux - Hardware 8 08-29-2003 08:13 PM
Lucent PCI Winmodem Drivers for Linux Mandrake 8.1 natsmith9 Linux - Hardware 2 08-07-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:41 PM.

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