SOLVED: Fon 2.0n Huawei E353 on "3" network in the UK

Discussions regarding FON's WiFi routers

SOLVED: Fon 2.0n Huawei E353 on "3" network in the UK

Postby m1bxd » Fri Mar 30, 2012 11:38 am

I cannot work out how to add things on the wiki, so here goes for other lost souls...

Huawei E353 (Cribbed from Huawei E169)

Fonera 2.0n Firmware Version: 2.3.7.0 Beta 1 - Developer's version
You have to install the developer firmware to obtain ssh access with a tool like putty on windows.
Login in as "root" with you web gui password

root@Fonera:/etc# vi /Apps/umtsd.lua

local f = io.open("/tmp/chat_umts", "w")
if f then
f:write("ABORT \"NO CARRIER\"\n"..
"ABORT \"NO DIALTONE\"\n"..
"ABORT \"ERROR\"\n"..
"ABORT \"NO ANSWER\"\n"..
"ABORT \"BUSY\"\n"..
"\"\" \"ATZ\"\n"..
"OK \"ATH\"\n"..
"OK AT+CGDCONT=1,\"IP\",\""..apn.."\"\n"..
"OK \"ATD*99#\"\n".. ########## change from ATD*99***1# (cribbed from E169)
"\"CONNECT\" \"\"")
f:close()



-- some dummy data
local model
local vendor

local data = "/dev/ttyUSB0"
local cmd = "/dev/ttyUSB0" ############# this did read USB1 at the end (cribbed from E169)
local user = ""
local pass = ""
local apn = "3internet" ########### added this, I didn't test it without, but it certainly does work
local pin = "0000" ########### added this (the default PIN), I didn't test it without, but it certainly does work
local since = 0
local mode


######################################################################################
Note that on the dashboard the Gateway address is not defined, but all appears to work
######################################################################################
m1bxd
 
Posts: 1
Joined: Fri Mar 30, 2012 11:05 am

Re: SOLVED: Fon 2.0n Huawei E353 on "3" network in the UK

Postby Matthijs » Tue Apr 10, 2012 10:21 am

Cool, thanks for investigating this. I'll keep your findings in mind for the next umtsd update.

As for the changes you made: The apn name and pin can also be set through the dashboard, instead of hardcoding them in umtsd.lua.

As for the gateway address not being shown, I think that's bug #886, which should be fixed in beta2.
User avatar
Matthijs
 
Posts: 418
Joined: Fri Apr 09, 2010 6:47 pm


Return to Fonera Routers

Who is online

Users browsing this forum: No registered users and 0 guests