www.8devices.com
View unanswered posts | View active topics It is currently 26 Apr 2024, 05:37



Reply to topic  [ 9 posts ] 
 Following the cheat sheet 
Author Message

Joined: 28 Dec 2012, 06:54
Posts: 9
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


12 Jan 2013, 15:08
Profile

Joined: 08 Dec 2011, 09:35
Posts: 138
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


13 Jan 2013, 07:19
Profile

Joined: 28 Dec 2012, 06:54
Posts: 9
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)


13 Jan 2013, 13:09
Profile

Joined: 08 Dec 2011, 09:35
Posts: 138
Can you login with ssh to this computer?


13 Jan 2013, 13:13
Profile

Joined: 28 Dec 2012, 06:54
Posts: 9
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


13 Jan 2013, 13:22
Profile

Joined: 08 Dec 2011, 09:35
Posts: 138
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


13 Jan 2013, 13:34
Profile

Joined: 28 Dec 2012, 06:54
Posts: 9
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


13 Jan 2013, 13:49
Profile

Joined: 08 Dec 2011, 09:35
Posts: 138
By default SSH is disabled. Use Telnet instead.


13 Jan 2013, 14:23
Profile

Joined: 28 Dec 2012, 06:54
Posts: 9
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?


13 Jan 2013, 16:48
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.