What's new

3.0.0.4.374.5656 fixes 3G Dongles Huawei ?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Is there any firmware version that is compatible with E3276s-150?

Or is it just better to get a Dovado Tiny? :)
 
Is there any firmware version that is compatible with E3276s-150?

Or is it just better to get a Dovado Tiny? :)

well the Firmware Version 3.0.0.4.374.40_alpha4 will work fine for you as I have the same stick. Also Asus confirmed that the Huawei Sticks will be fixed in the next release from them. So some days / weeks more and the latest version will be again working with the Huawei Sticks.
 
well the Firmware Version 3.0.0.4.374.40_alpha4 will work fine for you as I have the same stick. Also Asus confirmed that the Huawei Sticks will be fixed in the next release from them. So some days / weeks more and the latest version will be again working with the Huawei Sticks.

Ok, thanks! I'll give the FW a spin!
 
I'll also got some progress with FW 374.42_2

1) E3276s-150 successful connection
2) Get IP from ISP via DHCP to WAN interface
3) Bind WAN to usb0

So far so good but can not get no internet route, below my routing table

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.24.3.213     0.0.0.0         255.255.255.255 UH        0 0          0 usb0
10.24.3.212     0.0.0.0         255.255.255.252 U         0 0          0 usb0
192.168.100.0   0.0.0.0         255.255.255.0   U         0 0          0 br0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         10.24.3.213     0.0.0.0         UG        0 0          0 usb0
 
@ plun:

try this

Code:
echo -e "AT^NDISDUP=1,1,\"internet\"\r" > /dev/ttyUSB1

internet = ISP specific

when both command executed, the led on your E3276 should turn constant blue. You can check if you have wan with nvram show | grep wan (you should see gateway and dns etc.)

Then:

Code:
udhcpc -i usb0 -p /var/run/udhcpc1.pid -s /tmp/udhcpc

check that usb0 iface has got ip with

Code:
ifconfig

now check routing table

Code:
netstat -nr

if default route missing, add it with

Code:
route add default gw YOUR_GATEWAY_HERE usb0

And that should be it more or less.
 
Last edited:
if default route missing, add it with

Code:
route add default gw YOUR_GATEWAY_HERE usb0

And that should be it more or less.

This must be the key, I will test tomorrow, late evening in Sweden!

It works just fine with Shibby/Tomato, N66U, I haven't flashed my AC68U with Shibbys firmware, is waiting for ASUS:eek:.... but your tip looks great! ;)
 
Var så god, inga problem plun ;-)

Disabled Watch Dog and rebooted. Now routing table seems ok without any modifications after connected to ISP. Let's see if the connection still up and running in the morning before I'll go to work :)
 
Well, sleep when I can test this!

Success :D

ASUSWRT-Merlin RT-AC68U_3.0.0.4 Fri May 9 21:20:01 UTC 2014
admin@RT-AC68U:/tmp/home/root# echo -e "AT^NDISDUP=1,1,\"internet.telenor.se\"\r
> " > /dev/ttyUSB1
admin@RT-AC68U:/tmp/home/root# udhcpc -i usb0 -p /var/run/udhcpc1.pid -s /tmp/ud
udhcpc (v1.20.2) started
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
Sending select for 79.102.42.XXX...
Lease of 79.102.42.XXX obtained, lease time 518400

Thanks!!



:D

EDIT svensk magi!

EDIT usb log is a little strange but for later investigation

[usb_dbg: asus_usb_interface] (2-1.1:1.2): Runing USB serial with (0x12d1/0x1506)...
[usb_dbg: asus_tty] (ttyUSB1): action=add.
[usb_dbg: asus_tty] (ttyUSB1): interface_name=2-1.1:1.1, current_act=usb0, current_def=.
[usb_dbg: asus_tty] (ttyUSB1): got_Int_endpoint(0)!
[usb_dbg: asus_tty] (ttyUSB1): No Int endpoint!
[usb_dbg: asus_tty] (ttyUSB0): action=add.
[usb_dbg: asus_tty] (ttyUSB0): interface_name=2-1.1:1.0, current_act=usb0, current_def=.
[usb_dbg: asus_tty] (ttyUSB0): got_Int_endpoint(1)!
[usb_dbg: asus_tty] (ttyUSB0): current_act=usb0, device_name=ttyUSB0.
[usb_dbg: asus_tty] (ttyUSB0): cur_val=-1, tmp_val=0.
[usb_dbg: main] Couldn't get disk list when writing smb.conf!
[usb_dbg: asus_usb_interface] (2-1.1:1.1): Success!
[usb_dbg: asus_usb_interface] (2-1.1:1.0): Success!
[usb_dbg: asus_usb_interface] (2-1.1:1.2): Success!
[usb_dbg: init_3g_param] 12d1:1506 Already had the usb_modeswitch file.
[usb_dbg: asus_tty] (ttyUSB0): Success!
[usb_dbg: get_usb_node_by_device] (lp0): Fail to get link: /sys/class/usb/lp0/device.
[usb_dbg: get_usb_node_by_device] (lp1): Fail to get link: /sys/class/usb/lp1/device.
[usb_dbg: get_usb_node_by_device] (lp2): Fail to get link: /sys/class/usb/lp2/device.
[usb_dbg: get_usb_node_by_device] (lp3): Fail to get link: /sys/class/usb/lp3/device.
[usb_dbg: get_usb_node_by_device] (lp4): Fail to get link: /sys/class/usb/lp4/device.
[usb_dbg: get_usb_node_by_device] (lp5): Fail to get link: /sys/class/usb/lp5/device.
[usb_dbg: get_usb_node_by_device] (lp6): Fail to get link: /sys/class/usb/lp6/device.
[usb_dbg: get_usb_node_by_device] (lp7): Fail to get link: /sys/class/usb/lp7/device.
[usb_dbg: get_usb_node_by_device] (lp8): Fail to get link: /sys/class/usb/lp8/device.
[usb_dbg: get_usb_node_by_device] (lp9): Fail to get link: /sys/class/usb/lp9/device.
[usb_dbg: asus_sd] (sda): Had other interfaces(modem) on Port 2-1.

Syslog keypart

Jan 1 01:01:33 rc_service: wanduck 543:notify_rc restart_wan_if 1
Jan 1 01:01:33 stop_wan(): perform DHCP release
Jan 1 01:01:37 rc_service: wanduck 543:notify_rc restart_wan_if 0
Jan 1 01:01:37 dnsmasq[542]: read /etc/hosts - 5 addresses
Jan 1 01:01:37 stop_wan(): perform DHCP release
Jan 1 01:01:38 kernel: ADDRCONF(NETDEV_UP): usb0: link is not ready
Jan 1 01:01:38 kernel: cdc_ncm: usb0: 150 mbit/s downlink 150 mbit/s uplink
Jan 1 01:01:38 kernel: cdc_ncm: usb0: network connection: connected

Jan 1 01:01:38 kernel: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
Jan 1 01:01:41 dnsmasq[542]: read /etc/hosts - 5 addresses
Jan 1 01:01:41 WAN Connection: Fail to connect with some issues.
Jan 1 01:01:41 dnsmasq[542]: read /etc/hosts - 5 addresses
Jan 1 01:01:41 dnsmasq[542]: using nameserver 195.54.122.221#53
Jan 1 01:01:41 dnsmasq[542]: using nameserver 195.54.122.211#53
Jan 1 01:01:42 kernel: nf_conntrack_rtsp v0.6.21 loading
Jan 1 01:01:42 kernel: nf_nat_rtsp v0.6.21 loading
Jan 1 01:01:42 rc_service: udhcpc 1291:notify_rc stop_upnp
Jan 1 01:01:42 rc_service: udhcpc 1291:notify_rc start_upnp
Jan 1 01:01:42 rc_service: waitting "stop_upnp" via udhcpc ...
Jan 1 01:01:43 ddns: clear ddns cache file for server/hostname change
Jan 1 01:01:44 miniupnpd[1344]: HTTP listening on port 45507
Jan 1 01:01:44 miniupnpd[1344]: Listening for NAT-PMP/PCP traffic on port 5351
Jan 1 01:01:44 ddns update: ez-ipupdate: starting...
Jan 1 01:01:45 dnsmasq-dhcp[542]: DHCPINFORM(br0) 192.168.1.76 00:0a:cd:23:eb:49
Jan 1 01:01:45 dnsmasq-dhcp[542]: DHCPACK(br0) 192.168.1.76 00:0a:cd:23:eb:49 Dad-Dator
Jan 1 01:01:46 WAN Connection: WAN was restored.
Jan 1 01:01:46 start_nat_rules: apply the nat_rules(/tmp/nat_rules_usb0_usb0)!
Jan 1 01:01:46 dnsmasq[542]: exiting on receipt of SIGTERM
Jan 1 01:01:47 dnsmasq[1351]: started, version 2.69 cachesize 1500
Jan 1 01:01:47 dnsmasq[1351]: warning: interface tun21 does not currently exist
Jan 1 01:01:47 dnsmasq[1351]: asynchronous logging enabled, queue limit is 5 messages
Jan 1 01:01:47 dnsmasq-dhcp[1351]: DHCP, IP range 192.168.1.2 -- 192.168.1.254, lease time 1d
Jan 1 01:01:47 dnsmasq[1351]: read /etc/hosts - 5 addresses
Jan 1 01:01:47 dnsmasq[1351]: using nameserver 195.54.122.221#53
Jan 1 01:01:47 dnsmasq[1351]: using nameserver 195.54.122.211#53
 
Last edited:
I'll also got some progress with FW 374.42_2

1) E3276s-150 successful connection
2) Get IP from ISP via DHCP to WAN interface
3) Bind WAN to usb0

So far so good but can not get no internet route, below my routing table

Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.24.3.213     0.0.0.0         255.255.255.255 UH        0 0          0 usb0
10.24.3.212     0.0.0.0         255.255.255.252 U         0 0          0 usb0
192.168.100.0   0.0.0.0         255.255.255.0   U         0 0          0 br0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         10.24.3.213     0.0.0.0         UG        0 0          0 usb0

So how you got the modem in the stage to get connected ? I would like to try this also.

Update: for me this was completly OK with the command in service-start:
echo -e "AT^NDISDUP=1,1,\"data\"\r" > /dev/ttyUSB1
sleep 5
udhcpc -i usb0 -p /var/run/udhcpc1.pid -s /tmp/udhcpc

3527476067.png


After this is started working fine and the speed is very good for HSDPA+DC :)
 
Last edited:
Nice that you both got it working! I also can confirm that connection is still alive nor has the RT-AC68U rebooted over night :)
 
Sweden rocks :)
good work boys ( bra jobbat killar):p
 
Well, I'm actually a Finn living in Finland but speak swedish fluently so, yeah, close enough :)

Undercover? Go Skandinavia * ;)
 
Does anyone know where the connection scripts are located, can these be edited? It would be nice to update these and get it working automatically after a reboot.

Another option to add own script that is executed during boot, if BusyBox supports runlevels or does it need to be done before compiling? Perhaps we can use rc.sysinit?
 
Does anyone know where the connection scripts are located, can these be edited? It would be nice to update these and get it working automatically after a reboot.

Another option to add own script that is executed during boot, if BusyBox supports runlevels or does it need to be done before compiling? Perhaps we can use rc.sysinit?

they are in the ROM, so we can not modify them. But you can add this to the /jffs/scripts/service-start :

echo -e "AT^NDISDUP=1,1,\"data\"\r" > /dev/ttyUSB1
sleep 5
udhcpc -i usb0 -p /var/run/udhcpc1.pid -s /tmp/udhcpc

Forgot: you need to change the APN which is by me "data" to your provider APN.
This works for me and after reboot the internet gets connected automatically.
 
Last edited:
a betafw fix

Is it possible for mr Merlin to make a beta fw with this fix?;)

for us how dont no a sh***t about this and how it works:confused:

regards
 
Is it possible for mr Merlin to make a beta fw with this fix?;)

for us how dont no a sh***t about this and how it works:confused:

regards

well probably it would ne possible but first you need to tell what fix this issue. I believe this is the issue here:

Code:
:set_apn
system "nvram set g3state_apn=1"
let $x=$rpipe("nvram get modem_apn")
let l=len($x)
if l=0 goto apnerror
if l>32 goto apnerror
send "AT+CGDCONT=1,\"IP\",\""
send $x
send "\"^m"
waitfor 10 "OK","ERR","ERROR"
if % = -1 goto apntimeerror
if % = 0 goto set_dial

I don't understand the script and the Problem is that we would need probably a different stuff for the Huawei cards. When we would change this that probably we`ll destroy some dialing from ZTE for example.

All of the modem configs are going to :set_apn and using this stuff so there would be lot of changes.....

For the above Part I think it should be like this from this what I use now and sow in the post:

Code:
:set_apn
system "nvram set g3state_apn=1"
let $x=$rpipe("nvram get modem_apn")
let l=len($x)
if l=0 goto apnerror
if l>32 goto apnerror
send "AT^NDISDUP=1,1,\"IP\"\r"
send $x
send "\"^m"
waitfor 10 "OK","ERR","ERROR"
if % = -1 goto apntimeerror
if % = 0 goto set_dial

But still there need to be changed the references in the script in :mode_huawei or / and :mode_huawei_ex .....
 
But still there need to be changed the references in the script in :mode_huawei or / and :mode_huawei_ex .....

Another solution is to use userdefined scripts.....maybe?

https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts

Never tested it but going to take a look.

-------------------------------------------------------
Came home from work and everything is fine, up and running since yesterday evening! :D

Ping is also broken from the router and I have seen this before with Shibby/Tomato

Is it a sort of firewall inside udhcpc??

About:
http://en.wikipedia.org/wiki/Udhcpc

Nevertheless this is great!
 
Last edited:

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top