Bananian Linux - Bananian Linux
View Issue Details
0000188Bananian Linux[All Projects] Networkpublic2016-02-12 08:392016-06-20 08:38
resolvedno change required 
0000188: Can't connect through ssh
My laptop: win7, auto ip in ethernet Lan
Banana pi.
Tried with raspbian for banana pi - works fine.
Tried with bananian(1508) - got trouble(also 1504 doesn't work(edited uEnv.txt)):
Ping bananapi - node unavailable
Ssh(via putty) - connection refused
Write bananian1508 image to SD card
Open sd card in explorer on laptop(laptop ethernet ip - ip=
Edit boot.cmd:(add ip=
edit line 9: setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline ip= rootwait
edit line 17 setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 disp.screen0_output_mode=EDID:1680x1050p60 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline ip= rootwait

Connect bananapi to laptop via ethernet cable
Insert SdCard into bananapi
PowerOn bananapi

No tags attached.
Issue History
2016-02-12 08:39banedosNew Issue
2016-02-19 21:08NicoNote Added: 0000324
2016-02-19 21:08NicoAssigned To => Nico
2016-02-19 21:08NicoStatusnew => assigned
2016-02-21 18:45banedosNote Added: 0000325
2016-03-20 22:06NicoNote Added: 0000338
2016-03-20 22:06NicoStatusassigned => resolved
2016-03-20 22:06NicoResolutionopen => unable to reproduce
2016-05-08 03:29banedosNote Added: 0000379
2016-05-08 03:29banedosStatusresolved => feedback
2016-05-08 03:29banedosResolutionunable to reproduce => reopened
2016-05-08 10:46NicoNote Added: 0000380
2016-05-08 10:47NicoStatusfeedback => resolved
2016-05-08 10:47NicoResolutionreopened => unable to reproduce
2016-06-20 04:18banedosNote Added: 0000385
2016-06-20 04:18banedosStatusresolved => feedback
2016-06-20 04:18banedosResolutionunable to reproduce => reopened
2016-06-20 08:38NicoStatusfeedback => resolved
2016-06-20 08:38NicoResolutionreopened => no change required

2016-02-19 21:08   
Please verify when using DHCP.

Your Putty version?
2016-02-21 18:45   
Putty version: 0.66

Bananian 1508 also doesn't work with DHCP router :(

Finally it works with bananian 1504 with DHCP router and win7 laptop. (I edited not only uEnv.txt, but also and
2016-03-20 22:06   
we cannot reproduce the issue. Neither with 15.08 nor with 15.04.

DHCP works fine and SSH also.
2016-05-08 03:29   
I found this in TTL log:
"Warning - bad CRC, using default environment"
So does it mean that uEnv configs doesn't work?

Also I still can't get it to work.
How you modified uEnv.txt or loader script?
2016-05-08 10:46   
See [^]

Please connect a display and verify:
- you have a valid ip address
- sshd is running and listening on port 22
- ssh host keys are generated (check for /etc/ssh/ssh_host_*)
- try verbose mode (ssh -v ip, or check putty logs when using windows
- try ssh localhost and ssh ip on Bananian

Please set your ip adress using the Debian way (/etc/network/interfaces) and it will work.
Using boot.cmd/uEnv.txt for this is not tested at all in Bananian. (btw: have you recompiled boot.src after changing boot.cmd?)

I will close this ticket again.
2016-06-20 04:18   
For all other users - this is trouble with SD card. Just change it and everything will be okay.