Loki3
06-18-2002, 02:09 AM
Yeah, my modem doesn't work...help would be nice.
|
Click to See Complete Forum and Search --> : Modem configuration problems w/ Rhat7.3 Loki3 06-18-2002, 02:09 AM Yeah, my modem doesn't work...help would be nice. Loki3 06-18-2002, 02:10 AM The deck is definitely stacked against me... I don't know anything about my modem. I think it's a Rockwell 56k Voice/Fax/Headset or something like that according to the autodetect but I don't trust that thing. I don't know if it's a winmodem, but have reasonable evidence that's its not, because when I installed it the kudzu (i think that’s how it's spelled) recognized it as the above modem. I don't know which serial port it is using (it's internal), but I think my computer is already using the first two serial ports for hardware (integrated motherboard serial ports). When dev/ttys3 (I think this is the serial port the modem is using) is set in kppp and I try to connect it replies that the modem is busy. I've heard that there could be two programs trying to call the modem at the same time conning each other into thinking that the modem is busy, could this be happening? Is there a configuration file where I could check to see dev/ttys assignments? Is there a modem test program comparable to the one that comes with windows diagnostics? Anyhoo, any advice is welcome. _Loki mdwatts 06-18-2002, 07:56 AM Since I've never used a modem with Linux, all I can do is give you a few suggestions. First disable PnP OS in the bios as that alone may help with the 'device is busy' error. Next try the Modem How-To NHF (http://www.linuxnewbie.org//nhf/intel/modems/modem-how-to.html). There are also lots of previous posts on configuring modems that may help. Try www.linmodems.org (http://www.linmodems.org) to see if your modem is mentioned. fancypiper 06-18-2002, 09:00 AM You could try: cat /proc/pci | less and scroll up and down until you find your modem. I use a pci modem that is not a winmodem and I get: Bus 2, device 2, function 0: Communication controller: PCI device 151f:0000 (TOPIC SEMICONDUCTOR Corp) (r ev 0). IRQ 5. I/O at 0xc400 [0xc407] I then put: setserial /dev/ttyS2 uart 16550a irq 5 port 0xc400 in my last startup script (/etc/rc.d/rc.local for RedHat) and then execute it. [ 18 June 2002: Message edited by: fancypiper ] Loki3 06-18-2002, 09:14 PM Bus 2, device 2, function 0: Communication controller: PCI device 151f:0000 (TOPIC SEMICONDUCTOR Corp) (r ev 0). IRQ 5. I/O at 0xc400 [0xc407] ------------------------------------- Well my /proc/pci file was a little different than yours, I noticed my bus was zero and there was no mention of an irq. Is there a way I could assign one? I posted the relevant data below. Bus 0, device 14, function 0: Communication controller: Rockwell International HSF 56k Data/Fax/Voice/Spkp (w/Handset) Modem (rev 1). Master Capable. Latency=32. Non-prefetchable 32 bit memory at 0xf6000000 [0xf600ffff]. I/O at 0xd400 [0xd407]. Thanks again, _Loki fancypiper 06-18-2002, 10:05 PM Did you try setserial with the values returned? I guess you would leave out the irq but since it didn't return a slot number, it sounds suspiciously like a winmodem. If it doesn't work with that, check the modem howto (http://www.tldp.org/HOWTO/Modem-HOWTO-2.html) and see if you have a winmodem and if a driver is available. Another way to get info is to use the Linux Google (http://www.google.com/linux) search engine with your modem stuff from /proc/pci. [ 18 June 2002: Message edited by: fancypiper ] windoze killa 06-18-2002, 10:22 PM Originally posted by The original mdwatts: [QB]Since I've never used a modem with Linux, all I can do is give you a few suggestions. [QB] So what do you connect with???? 2 tin cans and a wet piece of string??? :D Loki3 06-19-2002, 04:00 AM Well, when I try to connect using kppp I still get the looking for modem, sorry modem is busy shmuck. I added the following lines of code to my /etc/rc.d/rc.local file: setserial /dev/ttyS3 vart 16550a port 0xc400 I went over and checked at http://www.grapevine.net/~gromitkc/winmodem.html to see If the current modem I was using was a winmodem, but couldn't find it. However another modem I have sitting around was registered there as a linmodem and it said there where drivers and documentation to setting it up. I figure ditch whatever is in there now, and I try this modem, and if it doesn't work can you recomend some linux-healthy modems i could purchase? _Loki [ 19 June 2002: Message edited by: Loki3 ] mdwatts 06-19-2002, 07:33 AM Originally posted by windoze killa: <STRONG>So what do you connect with???? 2 tin cans and a wet piece of string??? :D</STRONG> Actually 2 tin cans and a piece of rope. I have broadband. ;) mdwatts 06-19-2002, 07:35 AM Loki3... I just posted this in General. Adjust for your /dev Do you have a symlink from /dev/ttysHSF0 to /dev/modem? ls -l /dev/modem If /dev/modem is not found, then create a symlink ln -s /dev/ttysHSF0 /dev/modem If /dev/modem is linked to another device other than /dev/ttysHSF0, then first delete /dev/modem rm /dev/modem and then ln -s /dev/ttysHSF0 /dev/modem Try your configuration again. mychl 06-19-2002, 09:43 AM USRobotics PCI Performance Pro is a good internal modem. Linux will use it well. windoze killa 06-19-2002, 05:18 PM Originally posted by The original mdwatts: <STRONG>Actually 2 tin cans and a piece of rope. I have broadband. ;)</STRONG> It is still a modem. :D Loki3 06-20-2002, 02:23 AM Moving right along. I decided to go with my other modem a Smart Modular Technologies with an agrea chipset. I downloaded the device driver package installed it and it now resides in the /lib/modules/2.4.18-3/ltmodem which I'm pretty sure is the right place for it to be. The next step according to my Linux for Newbies book is to use modprobe: modprobe ltmodem.o io=d407 And bash returned, "modprobe isn't a command", which is funny seeing how they have the man files for it. So then I tried using lsmod to see if it was installed properly but got the same ...isn't a command. My book recommended that a try lsmod to check to see if it's there, and then I tried to load that module with the command insmod ltmodem.o and got nothing. I also tried it with the variation of insmod ltmodem with the same result. According to my book and howtos I'm doing everything right or least in the right direction but I still get no results. Are my commands entered wrong? My /proc/pci file still returns with no interrupt value. Is it supposed to be like because it’s a winmodem? I was thinking I should just edited it by hand and add irq=x with the appropate values, but this doesn’t seem the configuration file. Should I try and find it? The modems going to be useless with an irq value. Suggestions? Thanks. _Loki mdwatts 06-20-2002, 03:38 AM Are you doing this are root? whereis modprobe whereis lsmod etc. What do they show? Loki3 06-20-2002, 02:00 PM Well, eh, I thought I was root ;-). Biggest mistake in the book. Anyhoo. Got all the modprobe and insmod to work and loaded the modules. Everything looks good, except when using kppp I get Modem is Ready and then sorry modem doesn't respond. I guess I'm making some progress though. I know I need to modify the /etc/modules.conf so it loads the modules on boot but I don't really know how to do that. I checked it out and seems insmod added them automatically but I don't really no for sure. cat /etc/modules.conf alias parport_lowlevel parport_pc alias usb-controller usb-uhci # lt_drivers: autoloading and insertion parameter usage alias char-major-62 lt_serial alias /dev/tts/LT0 lt_serial alias /dev/modem lt_serial # The next two lines are syntax examples, only Rarely Needed, to automate parameter usage during lt_drivers insertion. See documentation for details. # options lt_modem vendor_id=0x115d device_id=0x0420 # options lt_modem Forced=3,0x130,0x2f8,0 # section for lt_drivers ends # This block installed with Lucent modem drivers is for PPP related support alias /dev/ppp ppp_generic alias char-major-108 ppp_generic alias tty-ldisc-3 ppp_async alias tty-ldisc-14 ppp_synctty alias ppp-compress-21 bsd_comp alias ppp-compress-24 ppp_deflate alias ppp-compress-26 ppp_deflate Also lsmod returned lt_modem.o was added. On a sidenote I got a strange erorr message: insmod lt_modem.o. Warning: loading lt_modem.o will taint the kernel: non-GPL license - UNKNOWN What's that all about? Also after a reboot the module is no longer present. Should I add the line insmod lt_modem.o in the /etc/rc.d/rc.local file so it loads the module on every boot? _Loki [ 20 June 2002: Message edited by: Loki3 ] mdwatts 06-20-2002, 03:02 PM This is what I found with a Google for Linux search. Sounds like someone put the wrong MODULE_LICENSE() tag on it. An LGPL item combined with a GPL work gives you a GPL result (see the LGPL notes on the matter). So the kernel module tag ought to be GPL I would think you don't have to worry about the message. Do you have /etc/modules/default? I load my modules from there. If you use rc.local, then you need to include the full path to insmod. Try using modprobe instead /sbin/modprobe lt_modem Loki3 06-22-2002, 12:33 AM Okay for all you that just tuned in to Newbie 0 / Red Hat 10 here's a recap. Problems: 1.When using kppp I get the following messages in the dialing box. Modem Ready. Sorry modem isn't responding. 2.The /proc/pci file has no irq listed for my winmodem. Bus 0, device 14, function 0: Communication controller: Lucent Microelectronics LT WinModem (rev 2). Master Capable. Latency=32. Min Gnt=252.Max Lat=14. Non-prefetchable 32 bit memory at 0xf6000000 [0xf60000ff]. I/O at 0xd400 [0xd407]. I/O at 0xd000 [0xd0ff]. 3./dev/modem may or may not be set the right ttyS* channel Script started on Fri Jun 21 07:23:33 2002 [root@localhost root]# ls -a -l /dev/modem lrwxrwxrwx 1 root root 0 Jun 20 22:29 /dev/modem-> /dev/ttyS0 [root@localhost root]# ls -a -l /dev/ttyS0 crw-rw---- 1 root uucp 4, 64 Jun 21 05:55 /dev/ttyS0 [root@localhost root]# Script done on Fri Jun 21 07:24:00 2002 4.My winmodem device driver(lt_serial, lt_modem works just fine) can't be installed. [root@localhost ltmodem]# pwd /lib/modules/2.4.18-3/ltmodem [root@localhost ltmodem]# ls lt_modem.o lt_serial.o [root@localhost ltmodem]# insmod lt_serial.o Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters [root@localhost ltmodem]# My Solutions: 1.Uh, no *#$%ing clue. I guess it resulting from problems 1-4 or a combination thereof. 2.Uh, no *#$%ing clue. I'm going to need a irq for the winmodem to work. Assign one by edited a configuration file? 3. ls -a -l /dev/modem ??? How do I know that the returned /dev/ttyS* is the one assigned to my modem and not someother thing? 4.I was hoping fixing problems 2 and 3 would solve this one, but hell if I know. Your Solutions: are very welcome.... _Loki Would you like to make a donation to The Help Loki's Computer Work fund? mdwatts 06-22-2002, 07:58 AM Have you disabled PnP OS in the bios that I first suggested in my first post? Let's rule that out before continuing on. cat /proc/interrupts ? mdwatts 06-22-2002, 07:59 AM Originally posted by windoze killa: <STRONG>It is still a modem. :D</STRONG> Ethernet card and cable modem if you want to classify that as a phone line modem. Loki3 06-22-2002, 12:23 PM Problem #2 is solved. My /proc/pci file now has IRQ 11 assigned to the modem, and problem #4 is solved. By editing /etc/rc.d/rc.local both modules for my device driver are now loaded on boot. That leaves Problem #3 and #1 left. I'm hoping Problem #1 is a product of Problem #3. cat /proc/interrupts CPU0 0: 95113 XT-PIC timer 1: 455 XT-PIC keyboard 2: 0 XT-PIC cascade 6: 22 XT-PIC floppy 8: 1 XT-PIC rtc 10: 0 XT-PIC usb-uhci, usb-uhci 12: 6965 XT-PIC PS/2 Mouse 14: 15 XT-PIC ide0 15: 23003 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0 Hope that helps... Also my /proc/pci file shows that both my sound card and winmodem have the same IRQ. I know that you can share IRQs but this doesn't seem like one I should share. How do I change it? _Loki [ 22 June 2002: Message edited by: Loki3 ] windoze killa 06-23-2002, 05:39 PM Originally posted by The original mdwatts: <STRONG>Ethernet card and cable modem if you want to classify that as a phone line modem.</STRONG> It modulates and demodulates your data onto some form of carrier. I think we are getting way to technical for this time of morning. justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |