Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3
7 posts

Wannabe Geek
+1 received by user: 1


  Reply # 1630980 15-Sep-2016 14:38
One person supports this post
Send private message quote this post

Thank you solutionz for your very helpful post, especially the config decrypting part at the end. It allowed me to quickly move the stupid wifi guest to a different subnet just by editing the xml file!


1876 posts

Uber Geek
+1 received by user: 119

Trusted
Subscriber

  Reply # 1720197 14-Feb-2017 20:41
Send private message quote this post

solutionz:

 


 

 

Otherwise if you want to give it a crack yourself:

 

 

 

 

Anyone tried this with a recent Vodafone firmware?

 

 

 

@solutionz tried your guide but once I'd enable Telnet I could no longer SSH in, plus port 23 didn't open on the modem for remote access.

 


Any other pointers / tips or should I try a Spark or BigPipe firmware?





Generally known online as OpenMedia, now working for Red Hat New Zealand as a Solution Architect for all things Linux, Virtual and of course Cloud. Still playing with MythTV and digital media on the side.

 
 
 
 


404 posts

Ultimate Geek
+1 received by user: 83

Subscriber

  Reply # 1720588 15-Feb-2017 12:53
Send private message quote this post

Try BigPipe.


1876 posts

Uber Geek
+1 received by user: 119

Trusted
Subscriber

  Reply # 1721003 16-Feb-2017 08:40
Send private message quote this post

solutionz:

 

Try BigPipe.

 

 

 

 

Cheers. Got telnet via that firmware. Interesting that it doesn't appear to have dropbear/ssh access





Generally known online as OpenMedia, now working for Red Hat New Zealand as a Solution Architect for all things Linux, Virtual and of course Cloud. Still playing with MythTV and digital media on the side.

6 posts

Wannabe Geek


  Reply # 1734261 10-Mar-2017 10:11
Send private message quote this post

Thanks heaps for this. 

 

I've just used the v20 firmware from Vodafone for a HG659 (not B) and then the python script to edit the config. 

 

Then can ssh (with appropriate cipher/key settings) and run xdslcmd. 


1 post

Wannabe Geek


  Reply # 1772388 29-Apr-2017 12:01
Send private message quote this post

solutionz:

 

In case anyone's still wondering about this:

 

HG659 supports 'xdslcmd':

 

 

biggal:

 

I would like to know too

 

 

 

i can log in with the Admin password with ssh 

 

but all commands fail

 

 

 

login as: Admin
Admin@192.168.1.1's password:

-------------------------------
-----Welcome to ATP Cli------
-------------------------------
ATP>sh
sh
Command failed.
ATP>

 

 

 

 

This is because your settings file has TelnetEnable="1" however ConsoleEnable="0".

 

I've built a config file to BigPipe V100R001C297B011 which enables Telnet and Console here: http://www.geekzone.co.nz/forums.asp?forumid=158&topicid=201985

 

I've built another one for Spark which *should* work too: http://filebin.ca/2uyUZGXdCUd6/SPARK_HG659_enable_telnet.conf

 

(WEB: admin / admin, CLI: !!Huawei / @HuaweiHgw)

 

If you want me to build one for VF firmware you'll need to send me a settings backup file from your router:

 

  • Backup your current settings: Maintain > Device Management > Backup or Restore Settings > Backup
  • Reset to default: Maintain > Device Management > Factory Restore > Reset
  • Backup your default settings: Maintain > Device Management > Backup or Restore Settings > Backup (Send me this file)
  • Restore your settings: Maintain > Device Management > Backup or Restore Settings > Restore Settings

 

 

 

 

Otherwise if you want to give it a crack yourself:

 

  • Install Python (x64): https://www.python.org/ftp/python/2.6.6/python-2.6.6.amd64.msi
  • Install Pycrypto (x64): http://www.voidspace.org.uk/downloads/pycrypto26/pycrypto-2.6.win-amd64-py2.6.exe
  • Download "hg635_configtool.py": http://pastebin.com/JbZjygY3
  • Backup your current HG659 settings as: 192.168.1.1 > Maintain > Device Management > Backup or Restore Settings > Backup > downloadconfigfile.conf
  • Locate hg635_configtool.py and downloadconfigfile.conf in the same directory.
  • CMD> hg635_configtool.py decrypt downloadconfigfile.conf output.xml
  • Open output.xml and set; WanManagementEnable="0", TelnetEnable="1"; ConsoleEnable="1"; Userlevel="2"
  • CMD> hg635_configtool.py encrypt output.xml output.conf
  • Restore your settings: 192.168.1.1 > Maintain > Device Management > Backup or Restore Settings > Restore Settings > output.conf

 

 

 

Doesn't seem to be working for me. Modem complains about an incorrect confirmation being uploaded and doesn't want to restore. Link to conf: https://drive.google.com/open?id=0Bx0zYcIcA_19blRwNjYzRklOU3c


404 posts

Ultimate Geek
+1 received by user: 83

Subscriber

  Reply # 1772410 29-Apr-2017 12:58
Send private message quote this post

What are the changes you've made to your conf and what firmware you running?

78 posts

Master Geek
+1 received by user: 1


  Reply # 1777417 7-May-2017 21:27
Send private message quote this post

is it possible to turn on SNMP or NetFlow from the Console options of HG659 please?

 

Id be very interested to capture this type of traffic.


1876 posts

Uber Geek
+1 received by user: 119

Trusted
Subscriber

  Reply # 1781907 14-May-2017 13:18
Send private message quote this post

suberimakuri:

 

Thanks heaps for this. 

 

I've just used the v20 firmware from Vodafone for a HG659 (not B) and then the python script to edit the config. 

 

Then can ssh (with appropriate cipher/key settings) and run xdslcmd. 

 

 

With the Vodafone V20 firmware which username/password were you able to SSH in with?

 

 

 

I've been trying and I can't login as the Admin user over SSH.





Generally known online as OpenMedia, now working for Red Hat New Zealand as a Solution Architect for all things Linux, Virtual and of course Cloud. Still playing with MythTV and digital media on the side.

1876 posts

Uber Geek
+1 received by user: 119

Trusted
Subscriber

  Reply # 1784814 19-May-2017 16:26
Send private message quote this post

So I'm trying a freshly installed vodafone firmware.

 

 

 

<X_ServiceManage TelnetEnable="1" TelnetPort="23" KeyEquipMode="0" ConsoleEnable="1" CircleTestDevice="" CircleTestResult=""/>

 

<X_Cli>
<UserInfo NumberOfInstances="1">
<UserInfoInstance InstanceID="1" Username="Admin" Userpassword="Lp0xkiAANwcYpVPbI3D/Mn==" Userlevel="2"/>
</UserInfo>
</X_Cli>

 

 

 

Anyone got an X_Cli Username example with a working password. I can't currently login to the router over Telnet.





Generally known online as OpenMedia, now working for Red Hat New Zealand as a Solution Architect for all things Linux, Virtual and of course Cloud. Still playing with MythTV and digital media on the side.

404 posts

Ultimate Geek
+1 received by user: 83

Subscriber

  Reply # 1784859 19-May-2017 16:49
Send private message quote this post

openmedia:

 

So I'm trying a freshly installed vodafone firmware.

 

 

 

<X_ServiceManage TelnetEnable="1" TelnetPort="23" KeyEquipMode="0" ConsoleEnable="1" CircleTestDevice="" CircleTestResult=""/>

 

<X_Cli>
<UserInfo NumberOfInstances="1">
<UserInfoInstance InstanceID="1" Username="Admin" Userpassword="Lp0xkiAANwcYpVPbI3D/Mn==" Userlevel="2"/>
</UserInfo>
</X_Cli>

 

 

 

Anyone got an X_Cli Username example with a working password. I can't currently login to the router over Telnet.

 

 

jp@ubuntu:~$ echo -n "Lp0xkiAANwcYpVPbI3D/Mn==" | base64 -d | openssl enc -d -aes-128-cbc -K DBAF3361E81DA0EF5358A1929FC90A80 -iv 629EA150533376741BE36F3C819E77BA -nopad
@HuaweiHgw


6 posts

Wannabe Geek


  Reply # 1784880 19-May-2017 17:12
Send private message quote this post

For what it's worth. I changed the admin password in the regular http interface and then I could still ssh into it after doing the python script -> edit ... etc. 

 

Default ssh in Debian won't connect to router because the router uses old connection parameters. eg: 

 

ssh 192.168.1.254
Unable to negotiate with 192.168.1.254 port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

 

So I did this command to connect:

 

ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc Admin@192.168.1.254
The authenticity of host '192.168.1.254 (192.168.1.254)' can't be established...
etc.


1876 posts

Uber Geek
+1 received by user: 119

Trusted
Subscriber

  Reply # 1784996 20-May-2017 06:13
Send private message quote this post

solutionz:

 

 

 

jp@ubuntu:~$ echo -n "Lp0xkiAANwcYpVPbI3D/Mn==" | base64 -d | openssl enc -d -aes-128-cbc -K DBAF3361E81DA0EF5358A1929FC90A80 -iv 629EA150533376741BE36F3C819E77BA -nopad
@HuaweiHgw

 

 

 

 

Interesting. Thanks for that.

 

The password doesn't appear to work on my unit though. Hmm





Generally known online as OpenMedia, now working for Red Hat New Zealand as a Solution Architect for all things Linux, Virtual and of course Cloud. Still playing with MythTV and digital media on the side.

1 post

Wannabe Geek


  Reply # 1805955 24-Jun-2017 07:16
Send private message quote this post

Hello,

 

Just wondering if anyone did successfully update Samba version or was able to disable nt pipe support to mitigate against SambaCry hack (http://thehackernews.com/2017/05/samba-rce-exploit.html?m=1) on that router?


1876 posts

Uber Geek
+1 received by user: 119

Trusted
Subscriber

  Reply # 1845556 12-Aug-2017 13:35
Send private message quote this post

@solutionz have you an updated script that works with the be B26 firmware from Vodafone. Looks like the keys have changed.

 

 

 

http://help.vodafone.co.nz/app/answers/detail/a_id/27703/





Generally known online as OpenMedia, now working for Red Hat New Zealand as a Solution Architect for all things Linux, Virtual and of course Cloud. Still playing with MythTV and digital media on the side.

1 | 2 | 3
View this topic in a long page with up to 500 replies per page Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

FUJIFILM introduces X-E3 mirrorless camera with wireless connectivity
Posted 18-Sep-2017 13:53


Vodafone announces new plans with bigger data bundles
Posted 15-Sep-2017 10:51


Skinny launches phone with support for te reo Maori
Posted 14-Sep-2017 08:39


If Vodafone dropping mail worries you, you’re doing online wrong
Posted 11-Sep-2017 13:54


Vodafone New Zealand deploy live 400 gigabit system
Posted 11-Sep-2017 11:07


OPPO camera phones now available at PB Tech
Posted 11-Sep-2017 09:56


Norton Wi-Fi Privacy — Easy, flawed VPN
Posted 11-Sep-2017 09:48


Lenovo reveals new ThinkPad A Series
Posted 8-Sep-2017 14:37


Huawei passes Apple for the first time to capture the second spot globally
Posted 8-Sep-2017 10:45


Vodafone initiative enhances te reo Maori pronunciation on Google Maps
Posted 8-Sep-2017 10:40


Voyager Internet expand local internet phone services company with Conversant acquisition
Posted 6-Sep-2017 18:27


NOW Expands in to Tauranga
Posted 5-Sep-2017 18:16


Windows 10 Fall Creators Update coming Oct. 17
Posted 4-Sep-2017 14:10


Garmin introduce Garmin vivoactive 3
Posted 1-Sep-2017 18:38


Kiwibank wastes $90 million on software – Reseller News
Posted 1-Sep-2017 13:45



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.