What Changed after build 28815 to cause Huawei modem problem

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
izzner1
DD-WRT Novice


Joined: 15 Jun 2016
Posts: 5

PostPosted: Sat Jul 09, 2016 4:21    Post subject: What Changed after build 28815 to cause Huawei modem problem Reply with quote
Hi,
My modems Huawei EC306 and EC315(both CDMA) are working fine upto build 28000(28015) but any build after that and they don't work. I have tested every and i mean every build released after that.
Even ZTE CDMA modems are affected like AC8700 and AC2746.

Code:
My test procedure is simple
1)Flash the updated firmware using webUI and Reboot
2)Enable telnet/Connect with telnet and "erase nvram"
3)Reboot
4)Setup > Mobile Broadband
user : cdma
pass :cdma
dial string : #777
Auto 4G/3G/2G
Apply and Reboot
5)After reboot in approx 1 min internet get connected.
6)If no internet i wait for 10mins and do a reboot and again wait for 10 mins.



here are the log files

Build28815 WORKING
https://drive.google.com/file/d/0B4Mg22SPeA8LelUzVGZTN2NmODQ/view?usp=sharing

Build30000 Notworking
https://drive.google.com/file/d/0B4Mg22SPeA8LSGNDVjhFOUl6LTA/view?usp=sharing



Combined.jpg
 Description:
 Filesize:  704.17 KB
 Viewed:  1401 Time(s)

Combined.jpg



30000NotWorking.txt
 Description:

Download
 Filename:  30000NotWorking.txt
 Filesize:  38.19 KB
 Downloaded:  58 Time(s)

Sponsor
izzner1
DD-WRT Novice


Joined: 15 Jun 2016
Posts: 5

PostPosted: Sat Jul 09, 2016 6:11    Post subject: Reply with quote
Ok

did some searches and found the following


stalonge wrote:
Try a build prior to 286**

for example ..

ftp://ftp.dd-wrt.com/betas/2015/12-24-2015-r28598/


it will work ..

I have here a WZR1750 .. which i have same problem if i use version after 29600 .. Something done in the code broke usb modem Huawei ..

Very Happy Very Happy



Click this link for further details
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1029690&sid=a47e1396ea135ff91225513f5b8e09c9


I can confirm that unlike the above Huawei/ZTE CDMA modems work fine upto build 28800
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 7:18    Post subject: Reply with quote
Check to see if the serial device created by module acm.ko is "/dev/usb/acm/0" or any other new serial device name, instead of "/dev/usb/ttyACM0". If that's the case just do symbolic link from /dev/usb/acm/0 to /dev/usb/ttyACM0.

Either that or you can manually create the ttyACM0 device file with this (provided the module has been loaded):

mknod /dev/ttyACM0 c 166 0; chmod 660 /dev/ttyACM0

izzner1 wrote:
Ok

did some searches and found the following


stalonge wrote:
Try a build prior to 286**

for example ..

ftp://ftp.dd-wrt.com/betas/2015/12-24-2015-r28598/


it will work ..

I have here a WZR1750 .. which i have same problem if i use version after 29600 .. Something done in the code broke usb modem Huawei ..

Very Happy Very Happy



Click this link for further details
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=1029690&sid=a47e1396ea135ff91225513f5b8e09c9


I can confirm that unlike the above Huawei/ZTE CDMA modems work fine upto build 28800

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
izzner1
DD-WRT Novice


Joined: 15 Jun 2016
Posts: 5

PostPosted: Sat Jul 09, 2016 9:33    Post subject: Reply with quote
tou.manokat@gmail.com wrote:
Check to see if the serial device created by module acm.ko is "/dev/usb/acm/0" or any other new serial device name, instead of "/dev/usb/ttyACM0". If that's the case just do symbolic link from /dev/usb/acm/0 to /dev/usb/ttyACM0.

Either that or you can manually create the ttyACM0 device file with this (provided the module has been loaded):

mknod /dev/ttyACM0 c 166 0; chmod 660 /dev/ttyACM0




I am no linux guru but can you kindly help me with steps..

This is my output comparison between working and non working setup



Combined2.jpg
 Description:
 Filesize:  518.9 KB
 Viewed:  1342 Time(s)

Combined2.jpg


tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 13:18    Post subject: Reply with quote
In newer DD-WRT linux disribution, the character special files (nodes) are /dev/ttyUSB0 and /dev/ttyUSB1, not /dev/ttyACM0 and /dev/ttyACM1. It is more than likely however that the scripts and option file to do PPP on the newer DD-WRT linux distribution still reference to /dev/ttyACM0 or /dev/usb/acm/0. So, just create symlinks from ttyUSB* to ttyACM*

chmod 777 /dev/ttyUSB*
ln -s /dev/ttyUSB0 /dev/ttyACM0
ln -s /dev/ttyUSB1 /dev/ttyACM1


izzner1 wrote:
tou.manokat@gmail.com wrote:
Check to see if the serial device created by module acm.ko is "/dev/usb/acm/0" or any other new serial device name, instead of "/dev/usb/ttyACM0". If that's the case just do symbolic link from /dev/usb/acm/0 to /dev/usb/ttyACM0.

Either that or you can manually create the ttyACM0 device file with this (provided the module has been loaded):

mknod /dev/ttyACM0 c 166 0; chmod 660 /dev/ttyACM0




I am no linux guru but can you kindly help me with steps..

This is my output comparison between working and non working setup

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)


Last edited by tou.manokat@gmail.com on Sat Jul 09, 2016 17:19; edited 5 times in total
tou.manokat@gmail.com
DD-WRT User


Joined: 07 May 2016
Posts: 111

PostPosted: Sat Jul 09, 2016 14:59    Post subject: Reply with quote
On DD-WRT beyond 28815 (the broken PPP option file and scripts), check what device is used by PPPDaemon:

cat /jffs/etc/ppp/peers/isp | grep dev

If PPP option declaration file is using CDMA modem device "/dev/usb/acm/0", change that to "/dev/ttyUSB0:

sed -i -e 's/\/dev\/usb\/acm\/0/\/dev\/ttyUSB0/g' /jffs/etc/ppp/peers/isp

Another thing you could do is this:

comgt -d /dev/ttyUSB0

if it hangs and does not give anything, move to the next:

comgt -d /dev/ttyUSB1

If it gives somethings like this:

[root@server dev]# comgt -d /dev/ttyUSB1
SIM ready
Waiting for Registration..(120 sec max).^C

That means the device is on /dev/ttyUSB1 or /dev/usb/tts/1 (for devfs)

You can then change the parameter in nvram:

nvram set 3gdata=/dev/usb/tts/1

And in PPPD option file:

sed -i -e 's/\/dev\/usb\/acm\/0/\/dev\/ttyUSB1/g' /jffs/etc/ppp/peers/isp

As for your CDMA modem, positively the devices bound by the modules are: /dev/ttyUSB0 and /dev/ttyUSB1 as per first screen shot you posted above.

_________________
Linksys 54G v2
Linksys 54G v6
Linksys 54GS v6
Linksys 120N
Linksys Valet-M10 Tomato v132
Linksys Valet-M20 Tomato V132
Netgear WNR3400 Advanced Tomato
Netgear WNR3400 Advanced Tomato
TRENDNet TEW-632BRP DD-WRT r22118
TRENDNet TEW-632BRP DD-WRT r22118
Buffalo G300NH DD-WRT r22118
TPLINK WNDR1043ND DD-WRT r22118
TPLINK WNDR1042ND Stock
TPLINK WNDR841ND r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-835 A1 r22118
DLINK DIR-501 Stock firmware
DLINK WBR-2310 Stock firmware
Linksys E3000 Shibby Tomato
Linksys E2500 Advanced Tomato
Netis WF-2404 Stock
Netis WF-2404 Stcck
Belkin N600 Extender (Bricked on its own)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum