Page 1 of 1

is my vocore2 dead? [SOVLED]

Posted: Sun Dec 18, 2016 1:07 am
by cory
I disable its wifi by mistake but now when I plug it in win10 pc using USB to USB connection, the pc doesn't show message that there is a new device. Checking device manager show no new port or new device. Same thing with Win 8.1 pc and Win XP pc.. .

Re: is my vocore2 dead?

Posted: Mon Dec 19, 2016 3:27 am
by Vonger
Check LPT/COM device in device manager. There should be one.I will upload a picture to vocore.io/v2 show that,

Re: is my vocore2 dead?

Posted: Tue Dec 20, 2016 5:50 am
by cory
I make a tiny progress. I hook up micro usb to USB of ubuntu host. it shows as /dev/ttyACM0. I also installed Putty on the host. The LED light on vocore2 is purple not green, is it ok? How do I use putty to communicate? I tried many modes, ssh, Serial , ip address, host name, nothing worked.

Re: is my vocore2 dead?

Posted: Tue Dec 20, 2016 12:07 pm
by Vonger
Ye, if there is a device, you can use linux command "screen" connect to it. This might work: screen /dev/ttyACM0 115200,cs8
You do not have internet connection, so ssh, ip all not work.

Re: is my vocore2 dead?

Posted: Wed Dec 21, 2016 3:13 am
by cory
the adventure continue...
I installed screen on ubuntu host then
from ubuntu host I type

stty -F ttyACM0 cs8 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts

screen /dev/ttyACM0 115200

root@cubepc:/# exit // I named it cubepc
Please press Enter to activate this console.
// I get in :o
BusyBox v1.23.2 (2016-09-03 09:56:08 CST) built-in shell (ash)

_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Chaos Calmer, r49378)
-----------------------------------------------------
// top command
CPU: 2% usr 2% sys 0% nic 95% idle 0% io 0% irq 0% sirq
Load average: 0.10 0.12 0.13 1/43 4049
PID PPID USER STAT VSZ %VSZ %CPU COMMAND
315 2 root SW 0 0% 1% [kworker/u2:3]
3916 2993 root R 1488 1% 0% top
1013 918 root S 1484 1% 0% udhcpc -p /var/run/udhcpc-eth0.2.pid
1310 1 nobody S 992 1% 0% /usr/sbin/dnsmasq -C /var/etc/dnsmasq
1044 2 root SW 0 0% 0% [RtmpMlmeTask]
1280 1 root S 7688 6% 0% /usr/bin/shairport-sync -c /var/etc/s
1138 1 root S 3188 3% 0% /usr/sbin/nmbd -F
1137 1 root S 3096 2% 0% /usr/sbin/smbd -F
1145 1 nobody S 2156 2% 0% avahi-daemon: running [cubepc.local]
1108 1 root S 1736 1% 0% /usr/sbin/dbus-daemon --system
4049 918 root S 1688 1% 0% /usr/sbin/pppd nodetach ipparam minic
1098 1 root S 1624 1% 0% /usr/sbin/uhttpd -f -h /www -r cubepc
883 1 root S 1568 1% 0% /sbin/rpcd
918 1 root S 1560 1% 0% /sbin/netifd
2993 1 root S 1488 1% 0% /bin/ash --login
1267 1 root S 1484 1% 0% /usr/sbin/ntpd -n -S /usr/sbin/ntpd-h
1 0 root S 1440 1% 0% /sbin/procd
933 1 root S 1192 1% 0% /usr/sbin/odhcpd
1052 1 root S 1148 1% 0% /usr/sbin/dropbear -F -P /var/run/dro
^C873 1 root S 1056 1% 0% /sbin/logd -S 16

But how do do i restore the wireless feature?

Re: is my vocore2 dead?

Posted: Wed Dec 21, 2016 4:11 pm
by Vonger
check /etc/config/wireless, fix it :)

Re: is my vocore2 dead?

Posted: Wed Dec 21, 2016 10:44 pm
by noblepepper
You can also reboot the VoCore2 and reset everything back like it was when you got it using failsafe mode
Code: Select all
# reboot
You will see the shutdown process, the uboot startup with a 10 second countdown, Linux will start booting. Watch for "Press f for failsafe" and hit f and enter.

Now you can reset to the last loaded system with
Code: Select all
# firstboot -y
after it returns
Code: Select all
# reboot
again. It will take longer than normal to boot up, be patient.

Now you will be back to then default settings like when you got it.

Re: is my vocore2 dead?

Posted: Thu Dec 22, 2016 1:30 am
by cory
:shock: success :shock:
I tried reboot, f, firstboot, reboot again and again then I suddenly saw vocore2 online. I did ctrl + D to get out of busybox session. I shutdown the Ubuntu host before unplug vocore2 from it. Now vocore2 hot spot is on again, thanks!!!! :P

Re: is my vocore2 dead? [SOVLED]

Posted: Sun Dec 25, 2016 2:43 pm
by noblepepper
I'm not sure how you got it unless you figured out that the firstboot command wasn't exactly correct. This is a bug in Chaos Calmer-

The command you need is
Code: Select all
firstboot -y
I edited my post above so it looks like I told you this originally.