Difference between revisions of "FAX Modem Troubleshooting Notes"

From OpenEMR Project Wiki
 
(4 intermediate revisions by the same user not shown)
Line 33: Line 33:
<pre style="font-size: 130%;">
<pre style="font-size: 130%;">
setserial -g /dev/ttyS*
setserial -g /dev/ttyS*
<pre style="font-size: 130%;">
</pre>


<br>
<br>
Line 40: Line 40:
==Finding the Device==
==Finding the Device==
====dmesg====
====dmesg====
<pre style="font-size: 130%;">
dmesg | grep tty
</pre>
<br>
<br>
*Look inside "/var/log/dmesg" after plugging in modem.
*Look inside "/var/log/dmesg" after plugging in modem.
::Device should start with "tty".
::Device should start with "tty".
::'''cat /var/log/dmesg | grep tty'''
::'''ps -lax | grep getty'''
<br>


*List USB Devices
::lsusb
<br>
<br>
==Starting & Stopping==
*sudo /etc/init.d/hylafax stop
*sudo /etc/init.d/hylafax start
<br>
==Testing the Modem==
====cu====
<pre style="font-size: 130%;">
<pre style="font-size: 130%;">
sudo cu -l ttyACM0
cat /var/log/dmesg | grep tty
ps -lax | grep getty
</pre>
</pre>


<br>
<br>
{| style="margin: 0 2em 0 2em;"
====lsusb====
|-
*List USB Devices
| width="100" | <tt style="font-size: 120%">~</tt>
| width="300" | Escape key.
|-
| <tt style="font-size: 120%">~.</tt>
| Terminate session.
|-
| <tt style="font-size: 120%">~.</tt>
| Terminate session.
|-
| <tt style="font-size: 120%">~?</tt>
| List escape commands.
|-
| <tt style="font-size: 120%">~v</tt>
| List variables.
|-
| <tt style="font-size: 120%">ATE1</tt>
| Enable echo.
|-
| <tt style="font-size: 120%">ATE0</tt>
| Disable echo
|-
| <tt style="font-size: 120%">ATD5551212</tt>
| Dial 555-1212.
|-
| <tt style="font-size: 120%">ATH</tt>
| Hangup.
|-
| <tt style="font-size: 120%">AT</tt>
|
|}

Latest revision as of 13:49, 1 June 2014

Ubuntu

General Modem Information



Modem Troubleshooting Software

scanModem

Software that scans modem, identifies it, and gives instructions on how to configure it.


wget "http://132.68.73.235/linmodems/packages/scanModem.gz"
gunzip scanModem.gz
chmod +x scanModem
sudo ./scanModem
gedit Modem/ModemData.txt

wvdialconf

sudo apt-get install wvdial
sudo wvdialconf /etc/wvdial.conf
less /etc/wvdial.conf


setserial

setserial -g /dev/ttyS*



Finding the Device

dmesg

  • Look inside "/var/log/dmesg" after plugging in modem.
Device should start with "tty".
cat /var/log/dmesg | grep tty
ps -lax | grep getty


lsusb

  • List USB Devices