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. |
it might be /dev/ttyLT0, usually /dev/modem is just a symlink to that. that's LT zero.
|
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? |
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.
|
Quote:
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. ;) |
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. |
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 |
it looks like you compiled your own kernel without support for loadable kernel modules?
|
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 |
Quote:
|
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. |
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? |
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.
|
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!! |
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 |
All times are GMT -5. The time now is 09:06 PM. |