ssh close connection after insert password
- vbextreme
- Posts: 11
- Joined: Fri May 26, 2017 7:59 am
ssh close connection after insert password
I access on vocore2 over luci without problems but if I try to connect over ssh the connection is closed afeter insert a password. Why?
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: ssh close connection after insert password
weird issue, try mtk openwrt firmware, I guess it might be MT76 wifi driver issue.
link is here: http://vonger.cn/misc/vocore2/vocore2.mtk.bin
link is here: http://vonger.cn/misc/vocore2/vocore2.mtk.bin
- vbextreme
- Posts: 11
- Joined: Fri May 26, 2017 7:59 am
Re: ssh close connection after insert password
The board does not start anymore, this is the second time I turn it on and I have not made any changes yet.
Is the firmware good for the lite version?
Is the firmware good for the lite version?
- Vonger
- Posts: 897
- Joined: Sun Oct 19, 2014 6:00 am
Re: ssh close connection after insert password
You will need a USB2TTL to recover the firmware, please check vocore.io/v2.html
- vbextreme
- Posts: 11
- Joined: Fri May 26, 2017 7:59 am
Re: ssh close connection after insert password
ok, successfull
For those who have similar problems.
download vocore2 lite
connect serial usb
install ckermit
execute kermit
thanks for support
[edit]
add set carrier-watch off
[/edit]
For those who have similar problems.
download vocore2 lite
connect serial usb
install ckermit
execute kermit
- Code: Select all
> set line /dev/ttyUSB0
> set speed 115200
> set handshake none
> set flow-control none
> set carrier-watch off
> robust
> connect
Please choose the operation:
0: Load system code then write to Flash via SERIAL.
1: Load system code to SDRAM via TFTP.
2: Load system code then write to Flash via TFTP.
3: Boot system code via Flash (default).
4: Entr boot command line interface.
5: Load system code then write to Flash via USB Storage.
7: Load Boot Loader code then write to Flash via Serial.
8: Start Web Server to load system code.
9: Load Boot Loader code then write to Flash via TFTP.
> 0
0: System Load Linux then write to Flash via Serial.
## Ready for binary (kermit) download to 0x80100000 at 115200 bps...
press key Ctrl+\ c
> send /home/<username>/Downloads/<firmware>.bin
> q
thanks for support
[edit]
add set carrier-watch off
[/edit]
Last edited by vbextreme on Sun May 28, 2017 8:07 pm, edited 1 time in total.
- vbextreme
- Posts: 11
- Joined: Fri May 26, 2017 7:59 am
Re: ssh close connection after insert password
Once again broken.
While I was exploring the filesystem i started getting format execute error.
Try to close ssh and reconnect with same problem, connection close after insert password.
Power off and power on, now not view vocore2 wifi.
crestfallen
While I was exploring the filesystem i started getting format execute error.
Try to close ssh and reconnect with same problem, connection close after insert password.
Power off and power on, now not view vocore2 wifi.
crestfallen
- vbextreme
- Posts: 11
- Joined: Fri May 26, 2017 7:59 am
Re: ssh close connection after insert password
I have found two issues
First::
usb 2-1 It continues to make mistakes
fix temporary
Second::
Same time can't connect over wifi
this is original rc.local
It does not seem to make much sense
edit in
save and reboot, now wifi work.
You should also delete those rows and create a specific script to perform the task
Here you can find a good starting point
for example (not tested)
/root/try-sta.sh
and in rc.local add
It would be useful to blink the LED during this phase
First::
usb 2-1 It continues to make mistakes
fix temporary
- Code: Select all
# echo 'rmmod ohci_platform' >> /etc/rc.local
Second::
Same time can't connect over wifi
this is original rc.local
- Code: Select all
uci set wireless.sta.disabled=0
uci commit
/etc/init.d/network restart
sleep 10
uci set wireless.sta.disabled=1
uci commit
It does not seem to make much sense
edit in
- Code: Select all
uci set wireless.sta.disabled=1
uci commit
/etc/init.d/network restart
rmmod ohci_platform
save and reboot, now wifi work.
You should also delete those rows and create a specific script to perform the task
Here you can find a good starting point
for example (not tested)
/root/try-sta.sh
- Code: Select all
uci set wireless.sta.disabled=0
uci commit
/etc/init.d/network restart
TIMEOUT=10
SLEEP=1
sta_err=0
while [ $(iwinfo | grep -c "ESSID: unknown") -ge 1 ]; do
let sta_err=$sta_err+1
if [ $((sta_err * SLEEP)) -ge $TIMEOUT ]; then
uci set wireless.sta.disabled=1
uci commit
/etc/init.d/network restart
break
fi
sleep $SLEEP
done
and in rc.local add
- Code: Select all
/root/try-sta.sh
It would be useful to blink the LED during this phase
- vbextreme
- Posts: 11
- Joined: Fri May 26, 2017 7:59 am
Re: ssh close connection after insert password
Vocore2-lite is completely broken.
I try to download source code and try to build with this tutorial, but return error
Download LEDE, build and upload firmware, but after few minutes get strange and randomly charater from serial. Network over ap is very very slow and I can't enable AP+STA
In this situation I don't understand if is broken hardware or software.
I try to download source code and try to build with this tutorial, but return error
- Code: Select all
gdate.c: In function 'g_date_strftime':
gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral]
tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm);
^~~~~~
Download LEDE, build and upload firmware, but after few minutes get strange and randomly charater from serial. Network over ap is very very slow and I can't enable AP+STA
In this situation I don't understand if is broken hardware or software.
8 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 5 guests