Modify

Opened 5 years ago

#12463 new enhancement

The netifd error "Error setting WWAN mode!" Huawei E398 (LTE/WCDMA)

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

r34122
TL-WDR4300 v1.3
E398 u-1

Netifd incorrectly initiates the Huawei E398 u-1, the env "$MODE" is set invalid.
The good enhancement to netifd is to use the AT command from config option mode, if it is set.

Manufacturer: Huawei Technologies Co., Ltd.
Model: E398
Revision: 11.335.31.00.000

config interface 'wan2'

option ifname 'ppp0'
option proto '3g'
option service 'umts'
option apn 'internet'
option device '/dev/ttyUSB0'
option mode 'ATSYSCFGEX="0302",2000000400000,1,1,4000000004,"",""'
option mobile_isp 'Poland - Plus'
option pppd_options 'debug noipdefault local'

# option defaultroute '1'
# option demand '1200'

Jan 1 01:01:13 OpenWrt daemon.notice netifd: wan2 (2023): Trying to set mode
Jan 1 01:01:14 OpenWrt daemon.notice netifd: wan2 (2023): Error setting WWAN mode!
Jan 1 01:01:14 OpenWrt daemon.notice pppd[2168]: pppd 2.4.5 started by root, uid 0
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: abort on (BUSY)
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: abort on (NO CARRIER)
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: abort on (ERROR)
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: report (CONNECT)
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: timeout set to 10 seconds
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: send (AT&FM)
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: expect (OK)
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: AT&F
MM
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: OK
Jan 1 01:01:14 OpenWrt local2.info chat[2172]: -- got it

Jan 1 01:01:14 OpenWrt daemon.info pppd[2168]: Using interface 3g-wan2
Jan 1 01:01:14 OpenWrt daemon.notice pppd[2168]: Connect: 3g-wan2 <--> /dev/ttyUSB0

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.