LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HSP56 micromodem install Hell ! (https://www.linuxquestions.org/questions/linux-newbie-8/hsp56-micromodem-install-hell-43915/)

bugsbunny 02-03-2003 01:39 PM

HSP56 micromodem install Hell !
 
Hi,
I've become obsessed with getting my modem to work. That's all I do when i turn on my PC. This is where I am now:

I have compiled the pctel-0.9.6 driver and forced install the pctel and ptserial with the command insmod -f pctel and insmode -f ptserial whilst logged on as root. When I type lsmod after that i see

module size used by
ptserial 47472 0 (unused)
pctel 12118008 0 (ptserial)

I also added the following to /etc/modules.conf:
#for pctel modem
alias char-major-62 ptserial
below ptserial pctel
#country code for pctel modem
options ptserial country_code=6

Then i run depmod -a after that. After I reboot and login as myself then su to root and type lsmod, the modem drivers are not listed until i type insmod -f pctel the insmod -f ptserial.

I read that /dev/ttyS15 is or must be linked to /dev/modem. When i type bash#lspci -v, ttyS15 is listed as having no device. From my windows settings,
modem is attached to com3
pci slot 5(PCI bus 1, device 10, function 1)
speed 115200
I/O Range=C800-C83F
IRQ = 05

I re-created the device files by the commands:
rmmod ptserial
rmmod pctel
rm /dev/ttyS15 /dev/modem
mknod /dev/ttyS15 c 62 79
chgrp uucp /dev/ttyS15
chmod 666 /dev/ttyS15
ln -s /dev/ttyS15 /dev/modem

After all this when I reboot and log in as myself and i try to configure the internet connection the modem is not found. When I su to root as lspci -v, i find that the the modem modules are not loaded.

How can i ensure that the modem modules are listed? Secondly, what about this ttyS15: No such device modules message ? Can I link ttyS0 to /dev/modem instead of ttyS15 and will it work ? There must me away out for me please help me if you can.

By the way I have Redhat 8.


Thanx

rooman 02-04-2003 02:56 PM

I had one of these modems before and was often beset with connection problems under Windows. The only thing I can remember is that it had to use the country code ctr21 for it to work. Why, I cannot guess. It's a cheap pci modem but with hassle integrated...

isajera 02-04-2003 06:00 PM

well... it looks like you have the basics there. but, you don't need to restart the computer after you've loaded the modules for them to work - they get unloaded during shutdown, and aren't automatically reloaded on reboot. generally, you never need to reboot linux, unless you've done something really really really bad, and your spidey sense tells you that your paritition table is in serious peril. but loading and unloading modules is nothing the kernel can't handle all day long.

anyway, load the modules like you've been doing, and try the modem without rebooting first. if it works, just stick the insmod commands in one of your rc.d startup scripts. if not, then play around with the execute permissions a bit, and try running under root to test it out. if it still doesn't start, let us know if there are any error messages or other oddities you notice.

Netrack 02-04-2003 07:40 PM

simple solution, go buy a netgear 10/100 card -14.95

get broadband - 44.95

instant internet

bugsbunny 02-08-2003 08:36 AM

Hi,

1. When I use the command insmod -f pctel and insmod -f ptserial, insmod -f pctel loads with the usual warning about the kernel being tainted. However insmod -f ptserial does not load at all. Infact the message i get is :

[root@localhost pctel-0.9.6]# insmod -f ptserial
Using /lib/modules/2.4.18-14/misc/ptserial.o
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: non-GPL license - GPL linked with proprietary
libraries
See http://www.tux.org/lkml/#export-tainted for information about tainted modules
Warning: loading /lib/modules/2.4.18-14/misc/ptserial.o will taint the kernel: forced load
/lib/modules/2.4.18-14/misc/ptserial.o: init_module: Input/output error
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg

What can I do to fix this ?

Thanx


All times are GMT -5. The time now is 06:54 AM.