LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   intel 537 modem and serial port for vgetty (https://www.linuxquestions.org/questions/linux-hardware-18/intel-537-modem-and-serial-port-for-vgetty-249187/)

PAB 10-30-2004 03:01 PM

intel 537 modem and serial port for vgetty
 
I am trying to get my intel537 modem to work with vgetty. I have gone through vocpsystem.com, and have found that (based on their tutorial) my modem is recognized, it is a voice modem, and supports caller id (I found this out utilizing minicom).

I want to be able to know what serial port it is connect to, and if necessary, create a symbolic link to it. when i currently type "ls -l /dev/modem", i get the following:

lrwxrwxrwx 1 root root 8 Oct 30 12:59 /dev/modem -> /dev/537

I don't think that /dev/537 will work in the vgetty configuration files, and would like to know which serial port to assin to the modem.

Not sure if this makes sense - I am a newbie and am trying to configure the serial port for vgetty within webmin, and even when I add serial port 1 to 5 (i've tried them all) and /dev/modem (the modem is listed as com4 on windows), the phone doesn't pick up.

Any suggestions? Thanks

PAB

PAB 10-31-2004 03:46 PM

bump

urka58 10-31-2004 05:41 PM

It should be /dev/537ep[*]...(as far as I know).
If you're are using 2.4 series Kernel simply link to /dev/modem by (as root)
ln -s /dev/537ep /dev/modem
On 2.6 kernel series is a bit more difficult to have a persistent link as /dev directory is managed dinamically.
You should create your own udev.rules in order to create a persistent link to /dev/modem.
If you find it too compicate simply edit your /etc/rc.d/rc.local (or equivalent on your distro) adding the lines

if [ -c /dev/537ep0 ]; then
/usr/bin/ln -s /dev/537ep0 /dev/modem
fi

Hope this helps
Ciao


All times are GMT -5. The time now is 03:42 PM.