Click to See Complete Forum and Search --> : Modem question
Soccerman
12-20-2000, 08:06 PM
I'm about to install Linux Mandrake 7.2 on my computer.
I don't have Linux currently installed, but I've had it on this computer once before.
however, that was with my old modem (it was an ISA 33.6 Diamond Supra Express modem, it was the best modem I've ever had, but it died, which is why I have this new one), but this new modem, the 3com 2976, is a PCI hardare modem (please don't insult my intelligence by asking if it's a winmodem or not), and uses some weird COM port in windows (COM 5 to be exact).
so WTH am I supposed to do when trying to configure my dialer?? would linux automatically force a different COM port?
------------------
[This message has been edited by Soccerman (edited 20 December 2000).]
navy-linux
12-20-2000, 10:10 PM
I had a problem like that when I first installed Linux. I also have a 3com modem. Mine has jumpers which where set for plug and play. Windows had configured the modem to comm 5. I set the jumpers on the modem for comm 2 since it is a normal modem/comm port. I have had no problems since then. If your modem does not have jumpers, then you probably can configure it with software.
Hope that helps
http://www.linuxnewbie.org/ubb/smile.gif
------------------
Bring the tools to the worker. Don't make the worker go get the tools. Go Lean
donxc2
12-20-2000, 10:34 PM
Post again if you can't set jumpers. Search help files also as there are several different ways to do it. I have pci on com 5 in win and ttyS4 in linux and cuaa2 in freeBSD.
Soccerman
12-21-2000, 12:19 AM
will do!
------------------
I AM CANADIAN
Soccerman
12-21-2000, 09:50 PM
as I suspected, there are NO jumpers whatsoever on this card. it is relatively new (technology wise) if you are wondering.
------------------
I AM CANADIAN
Soccerman
12-22-2000, 07:20 PM
bump! just in case someone has an idea, of what to do!
------------------
I AM CANADIAN
slowlearner
12-22-2000, 07:39 PM
We have the same modem on my boyfriend's new AMD/AbitKT7 setup. On his old PC I was able to disable COM2 and force the modem to use COM2 by specifying the resources. On this new MoBo, however, I don't seem to be able to disable the COM port and Mandrake 7.1 doesn't seem to have ttyS4. Anyone have any ideas? Should there be a ttyS4? Maybe I've done something wrong in this install? If anyone knows the resource range for COM3 maybe I could force it on to that one? Barring any of that, a reinstall of Linux is no problem, since he hasn't really done anything with it yet.
donxc2
12-22-2000, 10:30 PM
ok its long
As root from CLI or in a terminal from desktop:
root# mknod /dev/ttyS4 c 4 68
root# ln -s /dev/ttyS4 /dev/modem
root# chmod 666 /dev/ttyS4
root# chmod 666 /dev/modem
root# cat /proc/pci
You should see output that lists all pci devices. Find the one for the communications controller and make note of the first io port and the irq numbers for the next step.
root# setserial /dev/modem uart 16550A port ( your port number ) irq ( your irq number)
DO NOT ENTER PARENTHESIS. Mine as example:
root# setserial /dev/modem uart 16550a port 0xf600 irq 11.
You should be able to set KPPP or your dialer to use dev/modem under the device tab and query the modem.
If it is now working you probably want to start it during boot.
as root open your /etc/rc.d/rc.local file and add the following line to the end of the file.
setserial /dev/modem uart 16550A port (your port number) irq ( your irq number )
Again do not enter the parenthesis.
Hope this helps
Don
[This message has been edited by donxc2 (edited 22 December 2000).]
Soccerman
12-23-2000, 07:06 PM
thank you! I'll try it out..
exactly what does that list of commands do (I AM new to Linux, I barely understand it)..
------------------
I AM CANADIAN
slowlearner
12-28-2000, 03:13 AM
donxc2: I've tried the above instructions, but they didn't work. So, I tried the instructions I got from http://www.pla.net.py/home/oliver/3com.html
still no luck! I know this modem works under Linux because I was able to use it on another PC. I know the IRQ is 5 and the I/O port is 0xe000. This is what I tried:
setserial /dev/ttyS4 irq 5 port 0xe000 ^fourport ^auto_irq skip_test autoconfig spd_vhi
It's the same script I used in his old PC except I had to change the device and irq and I/O to match his new PC.
Anyone know why this isn't working? The MoBo , by the way, is an Abit KT7.
------------------
We do not inherit the Earth, we borrow it from our children.
slowlearner
12-28-2000, 11:13 PM
Still no luck with this stupid modem! I've been able to force it on to COM2 and now I can get as far as querying the modem. But when I try to connect, it just hangs at 'initializing modem...' and won't go any further. I think I saw someone else having the same problem. Anybody got any ideas?
sagefrost
12-29-2000, 12:34 AM
I am having the same problem...I am running Linux-Mandrake 7.2 on my IBM Thinkpad i series. I also clueless of what to do.
Originally posted by slowlearner:
Still no luck with this stupid modem! I've been able to force it on to COM2 and now I can get as far as querying the modem. But when I try to connect, it just hangs at 'initializing modem...' and won't go any further. I think I saw someone else having the same problem. Anybody got any ideas?
donxc2
12-29-2000, 07:06 AM
Originally posted by slowlearner:
Still no luck with this stupid modem! I've been able to force it on to COM2 and now I can get as far as querying the modem. But when I try to connect, it just hangs at 'initializing modem...' and won't go any further. I think I saw someone else having the same problem. Anybody got any ideas?
How about posting the output of
setserial -g /dev/ttyS*
BTW, I quit updating Mandrake at 7.0 and went back to 6.5 due to automated hardware stuff such as DrakConf that seemed to cause more trouble than worth. I will try to work through this with you. If anyone running newer versions of MDrake want to help out, feel free.
[This message has been edited by donxc2 (edited 29 December 2000).]
slowlearner
12-31-2000, 03:11 AM
Originally posted by donxc2:
How about posting the output of
setserial -g /dev/ttyS*
BTW, I quit updating Mandrake at 7.0 and went back to 6.5 due to automated hardware stuff such as DrakConf that seemed to cause more trouble than worth.
I'm not on that machine right now, but I will get that output and post it here in a few days. I'm using Mandrake 7.1, myself, but I've been tempted more than once to go back to 7.0
donxc2
01-02-2001, 07:05 PM
How about putting under Technical Support so it won't be so hard to find?
Don