Rick's b.log - 2014/08/04 |
|
It is the 21st of November 2024 You are 3.145.68.167, pleased to meet you! |
|
mailto:
blog -at- heyrick -dot- eu
So I send a simpler request - this:
Other useful things:
And, finally, the others I have uncovered but haven't played with.
If you're an expert at JSON, you might get somewhere. I'm not, so I'm throwing in the towel for now. A fun way to waste an evening, but that's all...
Here are the version numbers:
On the face of it, the new UI is clearer and less clunky than the older style. Here is the welcome/login screen:
Oh look:
There are maybe ten other devices known to my Livebox, but unconnected. Here is a list of them:
Sometimes you need to punch a hole in the NAT to allow a machine to run a server from within the intranet. For this, services like NoIP are useful (forget DynDNS, they sold out). My server, in the very few times it is running, is available at heyrick.ddns.net - but don't bother trying, it isn't on unless something says otherwise. Anyway, does the "new" option work? Uh, no, not really.
In the few, rare, times when the management works and stuff appears, you can configure your devices:
There's more. Ooooh so much more.
As this upgrade is forced, I can't help but feel that Orange is using us as an army of beta testers that they'll pretty much ignore. Numerous complaints in the forums about the problems with the new firmware, no further upgrade in the last fortnight. Well, the stagiaire that put together the most recent firmware has maybe moved on? :-) At any rate, it is interesting to note that the box sort of has some passing mention of IPv6 (which I think Orange wants to roll out around 2017ish), but frankly, for now, I'd really rather downgrade to the firmware that worked.
I posted a rant (one of many) on the forum and received the standard advice - to factory-reset it. Thanks, but since the UI is broken and I use some rather specific settings here (to which the UI seems incapable of dealing with now), it may be that a factory reset fixes everything. Or it may be that a factory reset breaks things even worse. I've asked on the forum if the Orange staff adviser is willing to guarantee that a factory reset will resolve these problems. I don't expect to hear a reply...
Oh, and the English translations are extremely peculiar. That said, anybody who needs this "hint" does not deserve to have a Livebox. They probably need to be placed in a small padded room instead. Or America, where you can sue because your coffee was hot (regardless of the actual temperature it was served at, who puts a hot beverage between their legs? isn't that asking for trouble?)...
Livebox 2 - attempting to hack
Orange has produced apps - for Android andfor iOS - that permit you to "manage" your Livebox. After a bit of poking around between that and the web UI, I uncovered the principle of how the Livebox communicates with the management software:
You send this:
And the server is supposed to reply with something like this:
POST /sysbus/NMC:getWANStatus HTTP/1.1
Accept:text/javascript
Accept-Encoding:gzip, deflate
Accept-Language:en-gb,en;q=0.5
Cache-Control:no-cache
Connection:keep-alive
Content-Length:17
Content-Type:application/x-sah-ws-1-call+json; charset=UTF-8
DNT:1
Host:192.168.1.1
Pragma:no-cache
Referer:http://192.168.1.1/supportSystemInformationAdsl.html
User-Agent:Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0
X-Context:R3VYXSjjkznf6Z5DzVKCKsZssHzHYOHEEqss9Czh2NmUAhnX1YozedRuJf1vRxZm
X-Prototype-Version:1.7
X-Requested-With:XMLHttpRequest
{"parameters":{}}
This taken from a snoop on the behaviour of the Firefox Javascript interpreter.
{"result":
{"status":true,"data":
{"LinkType":"dsl",
"LinkState":"up",
"MACAddress":"xx:xx:xx:xx:xx:xx",
"Protocol":"ppp",
"ConnectionState":"Connected",
"LastConnectionError":"ERROR_NONE",
"IPAddress":"xx.xx.xx.xx",
"RemoteGateway":"193.253.160.3",
"DNSServers":"80.10.246.130,81.253.149.1",
"IPv6Address":""}
}
}
(a French bloke has retrieved data with less)
My response? This, and immediately:
POST /sysbus/NMC:getWANStatus HTTP/1.1
Accept:text/javascript
Content-Length:17
Content-Type:application/x-sah-ws-1-call+json; charset=UTF-8
Host:192.168.1.1
{"parameters":{}}
You'll have to excuse me being a little bit confused as to this response.
<html><head><title>Gateway Timeout</title></head>
<body><h1>504 - Gateway Timeout</h1></body></html>
{"parameters":{}}
":
{"result":
{"status":[
{"name":"admin",
"enable":true,
"groups":["http","admin"]}
]}
}
(guess what - your login username is "admin" and you can't change it, so...)
Haha, like I'd ever squeeze 3.5mbit out of this wire. The box is locked to 2424 max, except for the (very frequent with the new firmware) times when it connects more slowly until I pull the phone plug out of the wall and put it back again. It's almost as if the box is trying it on with me...
{"parameters":{"mibs":"dsl","flag":"","traverse":"down"}}
":
{"result":
{"status":
{"dsl":
{"dsl0":
{"LastChangeTime":173007,
"LastChange":4595,
"LinkStatus":"Up",
"UpstreamCurrRate":1011,
"DownstreamCurrRate":2424,
"UpstreamMaxRate":1012,
"DownstreamMaxRate":3676,
"UpstreamNoiseMargin":60,
"DownstreamNoiseMargin":130,
"UpstreamAttenuation":223,
"DownstreamAttenuation":512,
"UpstreamPower":125,
"DownstreamPower":0,
"DataPath":"Interleaved",
"InterleaveDepth":0,
"ModulationType":"ADSL_re-adsl",
"ModulationHint":"Auto",
"FirmwareVersion":"0c1f0b09",
"StandardsSupported":"G.992.1_Annex_A,G [...many others snipped...]
"StandardUsed":"G.992.3_Annex_A",
"CurrentProfile":"",
"UPBOKLE":0}
}
}
}
}
{"parameters":{}}
") tell you link status information:
{"result":
{"status":
{"ReceiveBlocks":0,
"TransmitBlocks":0,
"CellDelin":0,
"LinkRetrain":0,
"InitErrors":0,
"InitTimeouts":0,
"LossOfFraming":0,
"ErroredSecs":0,
"SeverelyErroredSecs":0,
"FECErrors":0,
"ATUCFECErrors":0,
"HECErrors":0,
"ATUCHECErrors":0,
"CRCErrors":0,
"ATUCCRCErrors":0}
}
}
The Livebox 2 has two VoIP telephone ports. Evidently these can be different phone lines, but it doesn't appear to be supported at this time. I didn't know my phone had an email address.
{"result":
{"status":
[{"name":"SIP-Trunk",
"signalingProtocol":"SIP",
"enable":"Enabled",
"trunk_lines":
[{"name":"LINE1",
"groupId":"Group1",
"enable":"Enabled",
"status":"Up",
"statusInfo":"",
"directoryNumber":"+33xxxxxxxxx",
"uri":"+33xxxxxxxxx@orange-multimedia.fr",
"authUserName":"xxxxxxxxxx@orange-multimedia.fr",
"authPassword":"",
"event_subscribe_lines":
[{"eventSubscribeEvent":"message-summary",
"eventSubscribeAuthUserName":"",
"eventSubscribeAuthPassword":""
}]
}],
"sip":
{"proxyServer":"",
"proxyServerPort":5060,
"registrarServer":"",
"registrarServerPort":5060,
"outboundProxyServer":"10.5.6.51",
"outboundProxyServerPort":5060,
"userAgentDomain":"orange-multimedia.fr",
"userAgentPort":5060,
"subscriptionInfo":
[{"event":"message-summary",
"notifyServer":"voicemail.orange-multimedia.fr",
"notifyServerPort":5060
}]
},
"h323":{}
},
{"name":"H323-Trunk",
"signalingProtocol":"H.323",
"enable":"Disabled",
"trunk_lines":
[{"name":"LINE3",
"groupId":"Group1",
"enable":"Disabled",
"status":"Disabled",
"statusInfo":"",
"directoryNumber":"",
"uri":"",
"authUserName":"",
"authPassword":"",
"event_subscribe_lines":[]
}],
"sip":{},
"h323":
{"gatekeeper":"",
"gatekeeperPort":1719}
}
]}
}
...and undoubtably more.
Livebox 2 - Horrible new firmware
I'll come right out and say it. It's merdique. That means shitty. Yes, it is that bad.
Mine is "sip" because I don't have a real phone line, it is only there to pass ADSL data, the phone is a (SIP) VoIP phone. If you have a real phone line, I think it says "h323" instead.
Likewise, the "SG" is because it is a Sagem Livebox. The ZTE ones will say "ZT" instead.
"20" is for a Livebox 2. It'll say "30" for a Livebox 3 (Livebox Play).
Maybe the other firmware is better? Maybe it's worse?
I have a Sagem Livebox 2 that I bought from a boot sale. It is identical to the main one, except that it does not get connected to the phone line (it was intended as a spare), so the firmware was never updated. Here is a status report of transferring a file. I'm about 3-4 metres away with no obstructions.
And here is the new Livebox transferring the exact same file, with me standing right beside the Livebox.
While the older Livebox could climb up and over 800K/sec and keep it there, the new firmware bounces around from 300K/sec to about 550K/sec. I'm not sure it's actually capable of 800K/sec. Is it still using a custom build of Twonky?
How. Unbelievably. Incompetent. I actually want to punch myself in the face, that's so offensive to common sense it hurts.
Thomas, 5th August 2014, 16:06 I could not agree with you more. We use the Livebox in a "residence secondaire", and after some absence I find the new firmware installed and ready to, hm, go? No. Let's leave it at installed. Now I am trying to downgrade. Would you know how to do that?
ThomasSarah, 5th August 2014, 20:40 Hi. Is that message at the end really saying if you switch your internet box of you won't have internet?Rick, 6th August 2014, 14:32 Thomas - no point. While you could possibly downgrade with JTAG to read the old firmware off an unupgraded box to your box....as soon as you hook it into the phone line, it'll go and upgrade itself. :-/
Sarah - yup. Patronising, isn't it?
© 2014 Rick Murray |
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted. RIPA notice: No consent is given for interception of page transmission. |