OpenWrt support for Vodafone Gigacube (B157)

ssh should be open in port 42000, have you tried connecting to that port? Also, did the script gave any error? If everything else fails, share the configure.bin file and I can take a look at it.

Latest build from mkrle works fine (and much better than the Vodafone branded firmware) but please be aware that if you don’t have a serial console, any minor mistake in the installation will get you a nice brick.

Thank you very much for fast responce, have a look: “root@debianGR:/home/george# ssh root@192.168.2.1 -p 42000
Unable to negotiate with 192.168.2.1 port 42000: no matching host key type found. Their offer: ssh-rsa”.

root@debianGR:/home/george# ssh -p 42000 root@192.168.2.1
Unable to negotiate with 192.168.2.1 port 42000: no matching host key type found. Their offer: ssh-rsa

So, it works! You just need to add -o ‘HostKeyAlgorithms +ssh-rsa’

Can you give the whole command please?

ssh root@192.168.2.1 -p 42000 -o 'HostKeyAlgorithms +ssh-rsa'

WORKED!!! Now let’s see what can I do from this….

root@HH500V:~#

Can I access some settings from here?

Pressing “tab” lists a lot of files, know must learn how to “modify” these settings, if you have any suggestions or links to learn some, please post, THANK YOU VERY MUCH

Well, you have full access to the OEM firmware. Being a Chaos Calmer (old OpenWrt) derivative, it isn’t too difficult to do changes, but there’re a few custom Vodafone scripts that get on the way and you’ll need to find and disable them.

For me, it was an stepping stone to upgrade the firmware to a full OpenWrt. mkrle did a great job with the port, but trying the upgrade without a serial console is kind of risky.

You can confirm that flash partitions (smeminfo) and boot variables (fw_printenv) are similar to ours before even thinking of attempting such an upgrade.

I have a serial to usb PL2303 USB UART Board, with selection for 5V and 3.3V, but for time must learn a lot more for making the OpenWRT flash, I’ll try to find above information about partitions and post back soon as I find them

root@HH500V:~# smeinfo
-ash: smeinfo: not found
root@HH500V:~# fw_printenv
baudrate=115200
bootargs=console=ttyMSM0,115200n8
bootcmd=bootipq
bootdelay=0
ethact=eth0
ethaddr=00:03:7f:ba:db:ad
fdt_high=0x4A400000
fdtcontroladdr=4a970820
flash_type=2
ipaddr=192.168.10.10
machid=8010008
netmask=255.255.255.0
serverip=192.168.10.1
soc_version_major=2
soc_version_minor=0
stderr=serial@78B3000
stdin=serial@78B3000
stdout=serial@78B3000

It’s smeminfo. Typos will kill you in a flash attempt. Also, please remember that the serial port is 1.8 volts, so you’ll need to divide output voltage.

Apart from that, bootvars look fine.

1 Like

Searching foe smeminfo have no results, typing smeminfo no luck

You can try cat /proc/mtd

root@HH500V:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "0:SBL1"
mtd1: 00100000 00020000 "0:MIBIB"
mtd2: 00080000 00020000 "0:BOOTCONFIG"
mtd3: 00080000 00020000 "0:BOOTCONFIG1"
mtd4: 00300000 00020000 "0:QSEE"
mtd5: 00300000 00020000 "0:QSEE_1"
mtd6: 00080000 00020000 "0:DEVCFG"
mtd7: 00080000 00020000 "0:DEVCFG_1"
mtd8: 00080000 00020000 "0:APDP"
mtd9: 00080000 00020000 "0:APDP_1"
mtd10: 00080000 00020000 "0:RPM"
mtd11: 00080000 00020000 "0:RPM_1"
mtd12: 00080000 00020000 "0:CDT"
mtd13: 00080000 00020000 "0:CDT_1"
mtd14: 00080000 00020000 "0:APPSBLENV"
mtd15: 00100000 00020000 "0:APPSBL"
mtd16: 00100000 00020000 "0:APPSBL_1"
mtd17: 000a0000 00020000 "0:ART"
mtd18: 06500000 00020000 "rootfs"
mtd19: 00900000 00020000 "0:WIFIFW"
mtd20: 06500000 00020000 "rootfs_1"
mtd21: 00900000 00020000 "0:WIFIFW_1"
mtd22: 00080000 00020000 "0:ETHPHYFW"
mtd23: 005ef000 0001f000 "kernel"
mtd24: 01bda000 0001f000 "ubi_rootfs"
mtd25: 03abb000 0001f000 "rootfs_data"
mtd26: 0020f000 0001f000 "wifi_fw"

After ssh to router tried to copy the / directory so that work on it locally, but getting following error:

root@HH500V:/# scp -r /*.* george@192.168.2.70:/home/george/router/

/usr/bin/dbclient: Connection to george@192.168.2.70:22 exited: No matching algo hostkey
lost connection
root@HH500V:/#

The same if I try for a whole folder.

???

Please, I want to replace the factory firmware from Vodafone HH500V (Greece region), which has a sim card unlocked and working with other provider. Do you think your mod will work? At the end of the page are some posts of information about my router, have I look please and tell me if it is possible to go on trough ssh or to wait. Thank you