SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004364: usb_modswitch and Huawei E173S - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004364Endian FirewallNetwork related (VPN, uplinks)public2012-05-25 15:452012-08-29 09:19
Reporterdaniele-endian 
Assigned Todavide-endian 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.5 
Target VersionFixed in Version 
Summary0004364: usb_modswitch and Huawei E173S
DescriptionHi,
i've some trouble with this UMTS usb key Huawei E173s, driver in the config file (/etc/usb_modeswitch.d/12d1\:1c0b) was present but the value "TargetProductList=" was incomplete.
By adding the value 1c07 to the string (TargetProductList="1c05,1c07,1c08"
), the UMTS usb was switched to modem but the usb-serial /dev/ttyUSB* wasn't created.

To create the usb-serial i've loaded the kernel module:
modprobe usbserial vendor=0x12d1 product=0x1c07

but after e reboot the problem appears again, to fix this, i've edit this file:
/etc/udev/rules.d/40-usb_modeswitch.rules

by adding the following line at the end:
ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c07", RUN+="/sbin/modprobe usbserial vendor=0x12d1 product=0x1c07"

Now the UTMS key was properly detect but we need to modify the ppp chat.tmpl (/etc/ppp/chat.tmpl) file because this key doesn't accept the parameters (OK AT+CGQMIN=1 and OK AT+CGQREQ=1 see /var/log/messages in the additional note field)
The new file should be similar to this:

ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
ABORT 'NO ANSWER'
ABORT VOICE
ABORT 'NO DIALTONE'
ABORT 'NO DIAL TONE'
ABORT DELAYED
REPORT CONNECT
TIMEOUT 10
"" "$ATINIT"
#if $MODEMTYPE == 'hsdpa'
OK AT+CGDCONT=1,"ip","$APN",,0,0
TIMEOUT 60
"" "ATD*99***1#"
#else if $MODEMTYPE == 'cdma'
OK-AT-OK "ATDT#777"
#else
OK "$ATHANGUP"
TIMEOUT 60
"" "$ATDIAL$TELEPHONE"
#end if
CONNECT \d\c
#try
#include "/var/efw/modem/chat.custom.tmpl"
#except
#pass
#end try
Additional Information/var/log/messages

May 25 13:23:50 endian uplink[uplink1]: Starting Uplink 'uplink1'
May 25 13:23:50 endian uplink[uplink1]: Notify uplinks daemon about status change of uplink 'uplink1'. Status id FAILED
May 25 13:23:51 endian uplink[uplink1]: Uplink 'uplink1' status: 'OFFLINE'
May 25 13:23:51 endian uplink[uplink1]: Successfully shut down link 'uplink1'
May 25 13:23:56 endian pppd[8495]: pppd 2.4.4 started by root, uid 0
May 25 13:24:08 endian pppd[8495]: Connect script failed
May 25 13:24:09 endian pppd[8495]: Exit.
May 25 13:24:09 endian uplink[uplink1]: Notify uplinks daemon about status change of uplink 'uplink1'. Status id FAILED
May 25 13:24:09 endian uplink[uplink1]: Uplink 'uplink1' status: 'OFFLINE'
May 25 13:24:09 endian uplink[uplink1]: Could not successfully call pppd
Tagspurple
Attached Files

- Relationships

-  Notes
(0007886)
luca-endian (developer)
2012-06-01 12:23

probably we need only a package update
(0008030)
davide-endian (developer)
2012-08-29 09:19

Should be fixed in efw-network-2.9.9-0.endian33 and usb_modeswitch-data-20110714-1.endian3, but must be tested with the key.

- Issue History
Date Modified Username Field Change
2012-05-25 15:45 daniele-endian New Issue
2012-05-25 15:46 daniele-endian Tag Attached: purple
2012-06-01 12:23 luca-endian Note Added: 0007886
2012-08-29 09:19 davide-endian Note Added: 0008030
2012-08-29 09:19 davide-endian Status new => resolved
2012-08-29 09:19 davide-endian Resolution open => fixed
2012-08-29 09:19 davide-endian Assigned To => davide-endian

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker