Page 1 of 1

VoCore2: Web and SSH Stop Working after IP Address Changed

Posted: Sat Apr 08, 2017 11:20 am
by joechen
Can some there tell me how I can rescue my little vocore2?

Just got my new vocore2, and it was running great. However, after I changed the IP address from 192.168.1.1 to 192.168.33.1, via the web interface, it no longer provides the web and SSH connections.

Also, I have tried logging in with the serial console, but it is not very usable for me, because it spills so repeating error messages as shown below.

Thanks,

--Joe

1668.630000] mmc0: error -22 whilst initialising MMC card
[ 1668.680000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1668.690000] mmc0: error -22 whilst initialising SDIO card
[ 1668.690000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1668.700000] mmc0: error -22 whilst initialising MMC card
[ 1668.750000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1668.760000] mmc0: error -22 whilst initialising SDIO card
[ 1668.760000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1668.770000] mmc0: error -22 whilst initialising MMC card
[ 1669.820000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1669.830000] mmc0: error -22 whilst initialising SDIO card
[ 1669.830000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1669.840000] mmc0: error -22 whilst initialising MMC card
[ 1669.890000] mtk-sd 10130000.sdhci: no support for card's volts
[ 1669.900000] mmc0: error -22 whilst initialising SDIO card
[ 1669.9

Re: VoCore2: Web and SSH Stop Working after IP Address Chang

Posted: Sat Apr 08, 2017 6:53 pm
by noblepepper
That error message is because you don't have a SD card slot, harmless except for the aggravation.

Here's how to get going:

1. Put things back like when you got it -
Power up the VoCore2.
Watch the bootup in the serial console for a message about failsafe mode, it will pause for a second or so. When you see this, type f and hit enter.
Now type
Code: Select all
firstboot -y
hit enter, wait for a response then type
Code: Select all
reboot
and hit enter.


2. Eliminate the SD card error - When it boots back up it will be like when you got it. Connect to the AP and use the Luci web interface to load the 20161224.bin image which eliminates the SD card nonsense.

If you can't catch failsafe you can power up wait a minute or so to be sure it is booted up. Hit enter, you may see the openwrt banner. Blindly type
Code: Select all
mtd erase rootfs_data
while the nonsense streams and hit enter. Wait a minute or so and reboot. This will also put it back like when you got it.

Re: VoCore2: Web and SSH Stop Working after IP Address Chang

Posted: Mon Apr 10, 2017 4:41 am
by joechen
Thanks @noblepepper! Using the command "mtd erase rootfs_data" in the console, I was able to restore the default configuration.

Re: VoCore2: Web and SSH Stop Working after IP Address Chang

Posted: Mon May 08, 2017 3:12 pm
by cycleops
I had exactly the same problem! Noblepepper's solution (method #1) did return the VoCore to original state. So, thank you very much!!
I still need to change the IP as it conflicts with another device -- any advice?

Re: VoCore2: Web and SSH Stop Working after IP Address Chang

Posted: Tue May 09, 2017 4:37 pm
by Vonger
try modify /etc/config/network

Re: VoCore2: Web and SSH Stop Working after IP Address Chang

Posted: Tue May 09, 2017 6:07 pm
by avigeilpro
or with this command in console :
Code: Select all
uci set network.lan.ipaddr=192.168.3.1
uci commit
/etc/init.d/network restart


;)