Hi, <div><br></div><div>This is just to share how we can find out which serial to be used with gsmopen</div><div><br></div><div><br></div><div>Install wvdial :</div><div><br></div><div>yum install wvdial </div><div><br></div>
<div>then run :</div><div><br></div><div>wvdialconf /etc/wvdial.conf</div><div><br></div><div>It will display output like :</div><div><br></div><div><div>Editing `/etc/wvdial.conf'.</div><div><br></div><div>Scanning your serial ports for a modem.</div>
<div><br></div><div>ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud</div><div>ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud</div><div>ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.</div>
<div>ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud</div><div>ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud</div><div>ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.</div>
<div>Modem Port Scan<*1>: S2 S3</div><div>WvModem<*1>: Cannot get information for serial port.</div><div>ttyUSB3<*1>: ATQ0 V1 E1 -- OK</div><div>ttyUSB3<*1>: ATQ0 V1 E1 Z -- OK</div><div>ttyUSB3<*1>: ATQ0 V1 E1 S0=0 -- OK</div>
<div>ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK</div><div>ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK</div><div>ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK</div><div>ttyUSB3<*1>: Modem Identifier: ATI -- Manufacturer: huawei</div>
<div>ttyUSB3<*1>: Speed 9600: AT -- OK</div><div>ttyUSB3<*1>: Max speed is 9600; that should be safe.</div><div>ttyUSB3<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK</div><div>WvModem<*1>: Cannot get information for serial port.</div>
<div>ttyUSB4<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud</div><div>ttyUSB4<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud</div><div>ttyUSB4<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.</div>
<div>WvModem<*1>: Cannot get information for serial port.</div><div>ttyUSB5<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud</div><div>ttyUSB5<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud</div>
<div>ttyUSB5<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.</div><div>WvModem<*1>: Cannot get information for serial port.</div><div>ttyUSB6<*1>: ATQ0 V1 E1 -- OK</div><div>ttyUSB6<*1>: ATQ0 V1 E1 Z -- OK</div>
<div>ttyUSB6<*1>: ATQ0 V1 E1 S0=0 -- OK</div><div>ttyUSB6<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK</div><div>ttyUSB6<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK</div><div>ttyUSB6<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK</div>
<div>ttyUSB6<*1>: Modem Identifier: ATI -- Manufacturer: huawei</div><div>ttyUSB6<*1>: Speed 9600: AT -- OK</div><div>ttyUSB6<*1>: Max speed is 9600; that should be safe.</div><div>ttyUSB6<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK</div>
<div><br></div><div>Found a modem on /dev/ttyUSB3.</div><div>Modem configuration written to /etc/wvdial.conf.</div><div>ttyUSB3<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"</div><div>
ttyUSB6<Info>: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"</div></div><div><br></div><div><br></div><div><br></div>