Announcement

Collapse
No announcement yet.

Configuring an External Faxmodem

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Configuring an External Faxmodem

    I live in Japan and posted this to my local LUG's website, too. I think I removed all of the local references, but if I have missed any, please accept my apologies.

    My troubles go back about a week to my feeble attempts to set up Kubuntu 11.04.amd64 to send and receive faxes for a client who pays well; pays on time; and does not want to hear the word "Internet" uttered in their collective presence. Let's stipulate that any discussion of how to teach them connectivity is off topic and an irritant only.

    I had several cheapie internal Conexant-powered softmodems and installation required recompiling the kernel ... which I reduced to the computing equivalent of glowing molten radioactive slag five times in five tries.

    So, I carefully read the *buntu manpages, which all said that if I installed an RS232C port on my PC and got an external faxmodem, setup would be a breeze.

    The manpages lied. And I have to keep checking my calendar to make sure it isn't 1986 and my OS isn't DOS 3.1. It is deja vu all over again.

    1. Instead of digging through the Magic Closet (a.k.a. The Legacy Hardware Repository), I bought a shiny new RS232C and plugged it into my motherboard. The other end went into a holder that occupies one of the slots in the back of my case.

    2. I bought an external serial modem which turned out to be basically the same modem as the internal one I had except with an RS232. The tech guys at the manufacturer (RATOC) assured me they had a bunch of them running on Fedora machines without having to recompile their kernel(s). They sort of smiled condescendingly when I told them I was using Debian and suggested that even a lesser OS should have no trouble.

    3. I connected modem to box via cable to new RS232C.

    4. Despite the extremely contradictory online instructions I have reached the following point:

    # sudo dmesg | grep tty
    # [ 0.000000] console [tty0] enabled
    # [ 1.991465] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    # [ 2.320739] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
    # sudo ln -s /dev/ttyS0 /dev/modem
    # ln: creating symbolic link `/dev/modem': File exists
    # setserial /dev/ttyS0
    # /dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

    5. Stop me if I am mistaken but, it appears that I have a box and modem on speaking terms with one another and a faxmodem with a name. The faxmodem is connected to the Rest of the World through a line that is both a Softbank BBphone (050-x) and NTT (0291-x after dialing "0000" for access).

    6. The Next Big Question is "How do I get from where I am to where I want to be?"

    - Every help page I have tried wants me to next set up a connection to my ISP using wvdial.

    - I want to set up a fax machine as a printer. I don't want to dial my ISP. At all. Ever.

    - I have hplip installed for my Photosmart Premium printer and it appears as though it can be set up for faxing if the faxmodem can have a device identifier consistent with a USB, URL, or LPT. Having the fax installed as a printer (like WIN) is the preferable choice. E-fax doesn't seem to be a viable option.

    - If I use a serial <-> USB adapter, it appears as though I am back to recompiling the kernel and the attendant joys of doing so.

    Has anyone been here and done this? How do I make the next step? Any URLs for self-help especially appreciated.

    #2
    Re: Configuring an External Faxmodem

    It's some 10 years ago I last had to deal with a (fax)modem so I might be way off...

    But once you are able to see the modem it should be enough to tell it what number to dial.
    Something like efax should do.

    Comment


      #3
      Re: Configuring an External Faxmodem

      Try this - connect the modem to a phone line and so this in a terminal window -

      echo ata > /dev/modem

      You should be able to hear a dialtone through the modem's speaker.

      echo ath > /dev/modem

      will hang it up.

      Either that or install minicom and see if the modem works
      we see things not as they are, but as we are.
      -- anais nin

      Comment


        #4
        Re: Configuring an External Faxmodem

        Thanks for the suggestions. The connection works. I was able to send and receive a fax from Kubuntu using the stone axe efax program, which has all the mod cons of a 1984 DOS routine. I was then able to path /dev/ttyS0 to my WIN XP virtualbox, then send and receive a fax through the WIN fax console system, but I had to manually receive.

        What I want to do now is to find a faxing program that allows me to print to fax / send directly from LibreOffice / OpenOffice.org -- like I could in WIN with any of about 30 different packages. About the best I can find, so far, is efax, which requires the user to save the file to PostScript or .pdf and then send through a procedure that is practically command line. I've looked into automating the process, but it is pretty arcane and still requires about five steps when WIN just needs a phone number and a click on the Send button.

        So far, the only other option that looked promising is hplip, the print program for my H-P Photosmart Premium but it wants to see the faxmodem on a USB connection. I have the hardware to make the RS232C <-> USB conversion and an open USB 2.0 port, but it appears as though Kubuntu needs to have me recompile the kernel ... and I am no good at recompiling.

        Comment

        Working...
        X