[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error configuring 2 Huawei (EC1261 model )CDMA modem at same time



Hi Guys,

Getting problem while trying to configure the 2 Huawei/Tata Photon on
DM365 ARM board.

The two modems are detected by linux kernel having ports as ttyUSB0-2
and ttyUSB3-5.
Individual single modem Configuration/setting works successfully. Gets
the interface ppp0 up with IP address.
Facing problem while trying to bring up both the modems.
The first modem gets configured successfully. The problem comes while
trying to get the second modem up.
The second pppd command gives the "LCP: timeout sending
Config-Requests" error and the modem hangs up.
At a time only one modem is configured successfully. This works with
either of the modem but not with both modems at same time

Here the commands to configure both the modems.
This command configure the modem /dev/ttyUSB0 successfully. ppp0
interface is created, IP address is assigned to it.
# pppd connect 'chat -v "" AT OK ATDT#777~' /dev/ttyUSB0 9600 crtscts
debug defaultroute
##Configuring the second modem ttyUSB3, gives LCP timeout error
#pppd connect 'chat -v "" ATDT#777~' /dev/ttyUSB3 9600 crtscts debug
nodefaultroute

Thanks,
Vandana

The pppd command for second modem configuration gives the "LCP:
timeout sending Config-Requests" error.
Snippet from /var/log/messages

Jan  1 00:13:38 dm365 daemon.notice pppd[1212]: pppd 2.4.5 started by
root, uid 0
Jan  1 00:13:39 dm365 local2.info chat[1214]: send (ATDT#777~^M)
Jan  1 00:13:39 dm365 daemon.debug pppd[1212]: Script chat -v ""
ATDT#777~ finished (pid 1213), status = 0x0
Jan  1 00:13:39 dm365 daemon.info pppd[1212]: Serial connection established.
Jan  1 00:13:39 dm365 daemon.debug pppd[1212]: using channel 5
Jan  1 00:13:39 dm365 daemon.info pppd[1212]: Using interface ppp1
Jan  1 00:13:39 dm365 daemon.notice pppd[1212]: Connect: ppp1 <--> /dev/ttyUSB3
Jan  1 00:13:40 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:13:43 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:13:46 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:13:49 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:13:52 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:13:55 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:13:58 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:14:01 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:14:04 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:14:07 dm365 daemon.debug pppd[1212]: sent [LCP ConfReq
id=0x1 <asyncmap 0x0> <magic 0xa5be6153> <pcomp> <accomp>]
Jan  1 00:14:10 dm365 daemon.warn pppd[1212]: LCP: timeout sending
Config-Requests
Jan  1 00:14:10 dm365 daemon.notice pppd[1212]: Connection terminated.
Jan  1 00:14:11 dm365 daemon.notice pppd[1212]: Modem hangup
Jan  1 00:14:11 dm365 daemon.info pppd[1212]: Exit.



---snippet of ppp0
Jan  1 00:04:53 dm365 daemon.notice pppd[1148]: pppd 2.4.5 started by
root, uid 0
Jan  1 00:04:54 dm365 local2.info chat[1150]: send (AT^M)
Jan  1 00:04:54 dm365 local2.info chat[1150]: expect (OK)
Jan  1 00:04:54 dm365 local2.info chat[1150]: AT^M^M
Jan  1 00:04:54 dm365 local2.info chat[1150]: OK
Jan  1 00:04:54 dm365 local2.info chat[1150]:  -- got it
Jan  1 00:04:54 dm365 local2.info chat[1150]: send (ATDT#777~^M)
Jan  1 00:04:54 dm365 daemon.debug pppd[1148]: Script chat -v "" AT OK
ATDT#777~ finished (pid 1149), status = 0x0
Jan  1 00:04:54 dm365 daemon.info pppd[1148]: Serial connection established.
Jan  1 00:04:54 dm365 daemon.debug pppd[1148]: using channel 1
Jan  1 00:04:54 dm365 daemon.info pppd[1148]: Using interface ppp0
Jan  1 00:04:54 dm365 daemon.notice pppd[1148]: Connect: ppp0 <--> /dev/ttyUSB0
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [LCP ConfReq
id=0x1 <mru 1400> <asyncmap 0x0> <auth chap MD5> <magic 0x9]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [LCP ConfReq id=0x1]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [LCP ConfRej
id=0x1 <asyncmap 0x0> <magic 0x97690fa3> <pcomp> <accomp>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [LCP ConfAck id=0x1]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [LCP ConfReq
id=0x2 <mru 1400> <auth chap MD5>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [LCP ConfAck
id=0x2 <mru 1400> <auth chap MD5>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [CHAP Challenge
id=0x1 <b685f33f93dc37f740f9285330ae8cf3>, name = ""]
Jan  1 00:04:55 dm365 daPPP Deflate Compression module registered
emon.debug pppd[1148]: sent [CHAP Response id=0x1
<81cf308f876b620470c2b7bcbfa8fcdb>, name = "dm365"]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [CHAP Success id=0x1 ""]
Jan  1 00:04:55 dm365 daemon.info pppd[1148]: CHAP authentication succeeded
Jan  1 00:04:55 dm365 daemon.notice pppd[1148]: CHAP authentication succeeded
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [CCP ConfReq
id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [IPCP ConfReq
id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [IPCP ConfReq
id=0x1 <addr 172.29.243.145>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [IPCP ConfAck
id=0x1 <addr 172.29.243.145>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [LCP ProtRej
id=0x35 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: Protocol-Reject for
'Compression Control Protocol' (0x80fd) received
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: rcvd [IPCP ConfRej
id=0x1 <compress VJ 0f 01>]
Jan  1 00:04:55 dm365 daemon.debug pppd[1148]: sent [IPCP ConfReq
id=0x2 <addr 0.0.0.0>]
Jan  1 00:04:56 dm365 daemon.debug pppd[1148]: rcvd [IPCP ConfNak
id=0x2 <addr 14.97.16.165>]
Jan  1 00:04:56 dm365 daemon.debug pppd[1148]: sent [IPCP ConfReq
id=0x3 <addr 14.97.16.165>]
Jan  1 00:04:56 dm365 daemon.debug pppd[1148]: rcvd [IPCP ConfAck
id=0x3 <addr 14.97.16.165>]
Jan  1 00:04:56 dm365 daemon.notice pppd[1148]: local  IP address 14.97.16.165
Jan  1 00:04:56 dm365 daemon.notice pppd[1148]: remote IP address 172.29.243.145
Jan  1 00:04:56 dm365 daemon.debug pppd[1148]: Script /etc/ppp/ip-up
started (pid 1156)
Jan  1 00:04:56 dm365 daemon.debug pppd[1148]: Script /etc/ppp/ip-up
finished (pid 1156), status = 0x0
--
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux Audio Users]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Photo]     [Yosemite Photos]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linux Resources]     [Fedora Users]

Powered by Linux