8devices Community
https://www.8devices.com/community/

Following the cheat sheet
https://www.8devices.com/community/viewtopic.php?f=1&t=331
Page 1 of 1

Author:  srinath [ 12 Jan 2013, 15:08 ]
Post subject:  Following the cheat sheet

Hi

I am following the cheatsheet
http://www.8devices.com/wiki_carambola/ ... heat_sheet

Have connected via putty. Connection works.

I am at the upload firmware stage and give the following command.

scp srinath@192.168.0.104:/home/srinath/carambola/bin/ramips/ope
nwrt-ramips-rt305x-vmlinux.bin /tmp

But i get the error
/usr/bin/dbclient: Exited: Error connecting: Network is unreachable

So what am i doing wrong?

Regards
Srinath

Author:  Saulius [ 13 Jan 2013, 07:19 ]
Post subject:  Re: Following the cheat sheet

Well,
First, 192.168.0.104 should be your local computer build firmware.
Second, check if you can see this computer by pinging it and adjust /etc/config/network or /etc/config/wireless settings.
Third, check if you have installed ssh server on this computer.

Hope this helps.

--
Saulius

Author:  srinath [ 13 Jan 2013, 13:09 ]
Post subject:  Re: Following the cheat sheet

So i have an ethernet cable connection between the devBoard and my router.
Also have a serial cable between devBoard and PC and use putty to establish a serial link.

My router has assigned 192.168.1.2 to my PC
I believe it has assigned 192.168.1.1 to the Carambola
This is what ifconfig on the Carambola reveals

root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr C4:93:00:00:0B:15
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1158 (1.1 KiB)

eth0 Link encap:Ethernet HWaddr C4:93:00:00:0B:15
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4002 (3.9 KiB) TX bytes:2382 (2.3 KiB)
Interrupt:5

Pinging 192.168.1.1 works in putty, but i get no response to pinging 192.168.1.2(my PC)

Author:  Saulius [ 13 Jan 2013, 13:13 ]
Post subject:  Re: Following the cheat sheet

Can you login with ssh to this computer?

Author:  srinath [ 13 Jan 2013, 13:22 ]
Post subject:  Re: Following the cheat sheet

root@OpenWrt:/# ssh 192.168.1.2
ssh: Exited: Error connecting: No route to host

srinath@ubuntu:~/carambola$ ssh 192.168.1.1
ssh: connect to host 192.168.1.1 port 22: Connection refused

Author:  Saulius [ 13 Jan 2013, 13:34 ]
Post subject:  Re: Following the cheat sheet

There is your problem :)

As long as I have no information on what OS you have nor what's installed it is difficult to help. Please use your favorite search engine with keywords like "ubuntu ssh connection refused" or "ubuntu install configure ssh server".

--
Saulius

Author:  srinath [ 13 Jan 2013, 13:49 ]
Post subject:  Re: Following the cheat sheet

After i restarted the lan connection on carambola it works and i am able to ping Carambola from PC and PC from Carambola.

But i am unable to ssh from PC to Carambola
srinath@ubuntu:~$ ssh 192.168.1.1
ssh: connect to host 192.168.1.1 port 22: Connection refused
srinath@ubuntu:~$ ssh root@192.168.1.1
ssh: connect to host 192.168.1.1 port 22: Connection refused

I am able to ssh from Carambola to my PC

Author:  Saulius [ 13 Jan 2013, 14:23 ]
Post subject:  Re: Following the cheat sheet

By default SSH is disabled. Use Telnet instead.

Author:  srinath [ 13 Jan 2013, 16:48 ]
Post subject:  Re: Following the cheat sheet

Ok, so the scp works. Finished the sysupgrade.

The next step according to the cheat-sheet seems to be to get wireless working so i commented out the following line in /etc/config/wireless
#option disabled 1
Is this correct?

What next?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/