| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 38194 | 2003-09-30 05:28:00 | Is there an automatic modem configuration script for linux? | smashedlittlebugger (4397) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 179282 | 2003-09-30 05:28:00 | I have the drivers installed for my winmodem but I can't get the link between com3 and the other thing, I can't figure out how to do it. Is there a script that automaticaly configures your modem? I'm running Redhat 9.0. Cheers John |
smashedlittlebugger (4397) | ||
| 179283 | 2003-09-30 06:20:00 | You could try ln -s /dev/ttyS2 /dev/modem (the ports on *nix start at 0). Did you compile your drivers, or install an RPM? Either should have made the link --- I think :D -- if you compiled, did you "make install"? | Graham L (2) | ||
| 179284 | 2003-09-30 08:02:00 | I used the pctel driver, latest version. I started with <./configure -auto> and that did some working then finished. The Readme told me then to input the command <make>, did some more working then <make install>. Finally I was ready to use my modules with <insmod pctel.o> and <insmod ptserial.o>. Thats what I did. After I input the command you said <ln -s... something something>, then kppp wouldnt freeze, it will just hang on "Initializing modem..." and I get the "ready" dialtone when I pick up the phone to see if it is actually dialing. John |
smashedlittlebugger (4397) | ||
| 179285 | 2003-09-30 09:04:00 | Usually /dev/ttyS2 would work fine if you were using a external serial modem,but for winmodems you might have to use /dev/ttySLT0(Mandrake),/dev/ttyLT00(Suse),not sure about Redhat.You could try running KPPP-Setup-modem-Querry Modem to see if your modem is detected. Lachlan |
Lachlan (4459) | ||
| 179286 | 2003-09-30 09:37:00 | In modem querry all the boxes were empty (I didn't have it open for long). I changed some settings under my modem tab, changed it from /dev/modem to /dev/ttyS2 and now it says my modem is busy. When I run modem querry again, it also says the modem is busy. Can ya help any further? |
smashedlittlebugger (4397) | ||
| 179287 | 2003-09-30 10:30:00 | Run lsmod and make sure your driver modules are loaded.Next run dmesg,this will hopefully give you some info about your modem,ie irq , io port , and maybe /dev/ttyxxx Then setserial /dev/ttyxxxx uart 16550a port xxxxx irq xx.ln -s /dev/ttyxxx /dev/modem. If you can not get ttyxxx from dmesg,run wvdialconf /etc/wvdial.conf and with a bit of luck this will give you the info you need. Lachlan |
Lachlan (4459) | ||
| 179288 | 2003-09-30 21:42:00 | ARG! they arn't loaded. How do I get them loaded? | smashedlittlebugger (4397) | ||
| 179289 | 2003-10-01 02:00:00 | Oops, I suppose I was automatically thinking external modem on "COM3". Obviously, that's a "virtual" serial port. The "modem is busy" often means that a lock file has been left there. I think leftovers should be removed at bopt time, but have a look in /var/lock/ for a file which looks like a modem thing, and delete it. (Lock files can be removed without doing any damage ... they are to stop multiple people using the somethjing which is by its nature single-user.) | Graham L (2) | ||
| 179290 | 2003-10-01 09:01:00 | You usually load a module with either insmod ot insmod -f (force) or modprobe.If this does not work it usually comes back with a warning or file ,directory not found. Sometimes you might have to use the the full path before the drivers would load: insmod -f /lib/modules/2.4.21-0.13mdk/ltmodem/lt_serial.o(/lt_modem.o).Substitute for Redhat. Your pctel and serial drivers have to loaded before you can go any further. Lachlan |
Lachlan (4459) | ||
| 179291 | 2004-02-04 08:31:00 | The eventual solution: Convincing John his winmodem didn't have a com port, and linking /dev/modem to whatever device the drivers created, iirc, it was something like /dev/dssometherearion. |
ex-parrot (4658) | ||
| 1 | |||||