• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  Linux Stuff / General Linux questions / Re: How to ssh/vnc to plug via laptop with linux mint on: August 04, 2011, 12:29:28 PM
Hello bwooster0.

Thanks for the information as to how to ssh directly from the terminal without using
PuTTY.

My major issue is that  the plug's ip address is not static, and the plug computer, if you do "$ifconfig" via the serial terminal, will not tell you what  the IP address was assigned, since without the DHCP server to assign it, it does not know what it is.

If you have the plug attached to a router - it may have a built in DHCP server, but a simple cable from the plug to my
laptop does not have this.

So I need either to assign a static IP address (I have never done this, but believe it would be possible) or I need to
get a working DHCP server on my Linux laptop (Like AntaMedia DHCP server on windows laptop ) and see what IP address was assigned to the plug.

Regards,
jm_eng
2  Linux Stuff / General Linux questions / How to ssh/vnc to plug via laptop with linux mint on: July 28, 2011, 04:12:01 PM
I have had succes using Antamedia  DHCP server and a the simple 1 to 1 ethernet cable to vnc into "NewIT" guiPlug installed on my sheevaplug.  This is for my laptop running windows vista.
Ref GUI Plug http://www.newit.co.uk/forum/index.php/board,23.html

Now if I want to go to pure linux to linux it seems I have not gotton DHCP3-server
the (non GUI)  linux equivalent to work on my linux laptop, so that I can get the sheeva plug an IP address which would allow me to ssh to it, via linux Putty ssh client or to use a vnc on linux to talk to my sheevaplug.

If you are using linux to ssh into the plug (not via the serial port, but by the ethernet port)  please respond , perhaps you could assist me.

Thanks,

JM Eng.
3  General Category / General Discussion / Re: Do it yourself Wiki on: September 14, 2010, 10:51:56 PM
Thanks to "big_ignoramus"  for the link to the gnome resources website,
http://wiki.archlinux.org/index.php/Gnome
This may come in handy in the future..

Although I do not have gnome desktop running yet,
I have to report major success using the instructions at:

http://computingplugs.com/index.php/Installing_X11#VNC_and_IceWM

I think I am using an alternative gui interface called IceWM (IceWindows Manager ??)
but wow, it works ! What I was hoping for I am beginning to have - a nice graphical windows
style way of looking at the file system and at files with "gedit" on the plugcomputer
from my vista laptop in my garage, connected via wifi to my AT&T 2-wire U-verse service
router which is connected via its hardware ethernet port  to the plug in the kitchen.

Van Nuys ! Very Nice !

Best regards
jm_eng
4  General Category / General Discussion / Re: Do it yourself Wiki on: September 14, 2010, 11:53:43 AM
Yes I am still a newbie for linux (don't quote me on that.) It looks like  tightvnc has been installed on my plug ok, but in my scrounging arround for info as to how to start gnnome I read that the command "startx" is what you must execute first. But my plug complains about things:

 debian:~# startx
*
*
Primary device is not PCI
(EE) open /dev/fb0: No such file or directory
(EE) No devices detected.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

giving up.

If I do this.

Another question is with with ms windows version of tightvnc
I assume that I must quit pUTTY to use this on my laptop
and then enter the same IP address I used with pUTTY
but I try this and tightvnc puts up some message boxes like:

TightVNCInfo: Failed to connect to server (192.168.1.69)

On the plug side after executing the vncserver command
when I do a ps I see the following processes running:

debian:~# ps
  PID TTY          TIME CMD
 1573 pts/0    00:00:00 bash
 1586 pts/0    00:00:00 Xtightvnc
 1590 pts/0    00:00:00 xstartup
 1593 pts/0    00:00:00 ck-launch-sessi
 1636 pts/0    00:00:00 x-session-manag
 1639 pts/0    00:00:00 dbus-launch
 1664 pts/0    00:00:00 gnome-power-man
 1665 pts/0    00:00:00 gnome-keyring-d
 1669 pts/0    00:00:00 metacity
 1678 pts/0    00:00:02 gnome-panel
 1679 pts/0    00:00:11 nautilus
 1688 pts/0    00:00:00 bluetooth-apple
 1690 pts/0    00:00:00 gdu-notificatio
 1691 pts/0    00:00:00 polkit-gnome-au
 1692 pts/0    00:00:00 evolution-alarm
 1733 pts/0    00:00:00 ps
debian:~#


MY INTUITION IS THAT   I AM VERY CLOSE TO HAVING IT WORKING ...


Best regards,

Joe
5  General Category / General Discussion / Re: Do it yourself Wiki - Progress and Questions.. on: September 10, 2010, 05:20:14 PM
See also that I did get apt-get to work:
http://plugcomputer.org/plugforum/index.php?topic=2207.0

Here is my latest progress and questions:

I am still lookng to contact the Kenny that runs the site
http://computingplugs.com/index.php/Main_Page

As  a side note one day I may be attaching some hardware to the plug:
I designed my own arduino like board (except arm cortex m0)
Ref:   http://www.lpc1100challenge.com/detail/836
Also check this out:
http://www.arcfn.com/2009/06/arduino-sheevaplug-cool-hardware.html


I presently own two plug computers and am finally making progress!

It looks like I have apt-get of aptitude working and have downloaded to
my plug with debian squeeze installed on a 4 gb mmc card using ESIA.

1) aptitude install gnome
2) aptitude install xfonts-base
3) aptitude install tightvncserver

After this

I DID NOT SEE GNOME ANY WHERE using bash find command SO DECIDED TO ALSO TRY

4) aptitude install gnome-core

Now lets try "df"

debian:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 256748 0 256748 0% /lib/init/rw
udev 10240 236 10004 3% /dev
tmpfs 256748 4 256744 1% /dev/shm
rootfs 3799976 1535404 2071540 43% /
debian:/#

NOW THAT DID SOME DAMAGE, MAYBE IT WORKED !

###################################

BEING A GLUTTON FOR MORE DISKSPACE PUNISHMENT LET try

5) aptitude -install gnome-desktop-environment

THIS ALSO INCLUDES vino which is the "VNC server for GNOME" (nice !)

If this works then I will have both "vino" and "tightvncserver" installed..

Lets try it:

WELL THE "-" in front of install makes it give this comment:

This aptitude does not have Super Cow Powers.

Lets retry

5)  aptitude install gnome-desktop-environment

And my disk space took another hit but survived.
NEXT TIME I WILL USE AN 8 gb MMC CARD !

End of possible sucessful install had this line:

Processing triggers for python-support ...

debian:/# df
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 256748 0 256748 0% /lib/init/rw
udev 10240 236 10004 3% /dev
tmpfs 256748 4 256744 1% /dev/shm
rootfs 3799976 2552564 1054380 71% /
debian:/#

################################
if all goes well this may come in handy:

http://www.linuxquestions.org/questions/debian-26/how-to-start-gnome-or-kde=-command-line-468648/

>>>>>>>>>>>>>>>>>>>>>>> Finally,

I hope this may all be of intererset or value to you.

At any rate, if you have any comments about what the next steps are to get
a gnome virtual VNC window on my laptop going into my plug computer.
(I think I may have just about installed everthing I need now.
But, how do I flip the on switch ??)

Also I have just installed "TightVNC" onto
my laptop. Up until now I have been using a pUTTY terminal screen to talk to my
plug via my laptop. I am hoping to see a Gnome desktop soon in it's stead.

Take care, and happy plugging

Joe

September 10, 2010 5:15 PM


6  General Category / General Discussion / Re: Still stuck at apt-get - IT WORKS ! on: September 04, 2010, 02:19:02 PM
Now let's try apt-get:

root@ubuntu:~# apt-get update
Hit http://ports.ubuntu.com jaunty Release.gpg
Get:1 http://ports.ubuntu.com jaunty-updates Release.gpg [189B]
Get:2 http://ports.ubuntu.com jaunty-security Release.gpg [189B]
Hit http://ports.ubuntu.com jaunty Release
Get:3 http://ports.ubuntu.com jaunty-updates Release [57.9kB]
Get:4 http://ports.ubuntu.com jaunty-security Release [57.9kB]
Hit http://ports.ubuntu.com jaunty/main Packages
Hit http://ports.ubuntu.com jaunty/restricted Packages
Hit http://ports.ubuntu.com jaunty/universe Packages
Hit http://ports.ubuntu.com jaunty/multiverse Packages
Get:5 http://ports.ubuntu.com jaunty-updates/main Packages [303kB]
Get:6 http://ports.ubuntu.com jaunty-updates/restricted Packages [527B]
Get:7 http://ports.ubuntu.com jaunty-updates/universe Packages [143kB]
Get:8 http://ports.ubuntu.com jaunty-updates/multiverse Packages [6882B]
Get:9 http://ports.ubuntu.com jaunty-security/main Packages [225kB]
Get:10 http://ports.ubuntu.com jaunty-security/restricted Packages [527B]
Get:11 http://ports.ubuntu.com jaunty-security/universe Packages [114kB]
Get:12 http://ports.ubuntu.com jaunty-security/multiverse Packages [630B]
Fetched 910kB in 5s (176kB/s)
Reading package lists... Done
root@ubuntu:~#

IT WORKS !
7  General Category / General Discussion / Re: Still stuck at apt-get - Progress ! on: September 04, 2010, 02:01:42 PM
I think "unknown Host" is a not working condition... That's Right !

Useful discover - My AT&T U-verse box has a local website and it's own DHCP server (I think).
Use this to get into your own AT&T installed router:  http://gateway.2wire.net/
You can use this to get the IP addresss of  your plug..

Also, make the setup more simple. My computer in the kitchen is already attached via ethernet cable
to AT&T router. There are some spare RJ45 jacks on the router. Use one of these to attach the Plug
Computer.  I can still acess Plug from my wireless laptop, in the tranquil environment of my garage !

[plug computer]--------->[Ethernet RJ45 on router]
[kitchen computer]------>[Ethernet RJ45 on router]

No longer need AntaMedia DHCP server on laptop, that is built into router .

[PuTTY on garage laptop with IP addr from http://gateway.2wire.net/ ]-------->[USB on laptop]--------->[Belkin USB antenna]
[Belkin USB antenna]->Radio wave ~~~~~~~~~~~~~~~~>[2-wire AT&T router]
[2-wire AT&T router]------>AT&T Uverse to inernet .

Does it work ?

root@ubuntu:~# ping kernel.org
PING kernel.org (149.20.20.133) 56(84) bytes of data.
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=1 ttl=56 time=37.1 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=2 ttl=56 time=36.6 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=3 ttl=56 time=36.6 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=4 ttl=56 time=36.8 ms
64 bytes from pub1.kernel.org (149.20.20.133): icmp_seq=5 ttl=56 time=36.9 ms
^C
--- kernel.org ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 5006ms
rtt min/avg/max/mdev = 36.626/36.832/37.146/0.286 ms
root@ubuntu:~#

YES !

Happy Plugging !,
jm_eng
8  General Category / General Discussion / Re: Still stuck at apt-get on: September 03, 2010, 11:19:08 PM
Here are some more attemps via the New Plugger How to Wiki

ome more attempts:

The DHCP client is configured to ignore any DNS servers returned by the DHCP server
 and use 127.0.0.1 instead, while there is no local DNS server.
Consequently, you won't be able to connect to any hosts by name until you fix this.
In order to fix it: Edit /etc/dhcp3/dhclient.conf and comment out or delete the line
 "supersede domain-name-servers 127.0.0.1;".

--- My version of ubuntu 9.04 does not have the "supersede..." line in it so I just
proceeded with

Run "dhclient eth0".
Try "ping kernel.org" - it should work.

I go instead of this for these two operations above:

root@ubuntu:/etc/dhcp3# dhclient eth0

Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:50:43:01:67:8a
Sending on   LPF/eth0/00:50:43:01:67:8a
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPOFFER of 192.168.1.3 from 192.168.1.4
DHCPREQUEST of 192.168.1.3 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.3 from 192.168.1.4
bound to 192.168.1.3 -- renewal in 40035 seconds.
root@ubuntu:/etc/dhcp3#

root@ubuntu:/etc/dhcp3# ping kernel.org
ping: unknown host kernel.org
root@ubuntu:/etc/dhcp3#

I think "unknown Host" is a not working condition...

My setup:


[plug computer]--------->[Ethernet RJ45 on laptop]

Note laptop has AntaMedia DHCP server that is set to service the
previous connection to give the plug computer an ip address.

[USB on laptop]--------->[Belkin USB antenna]
[Belkin USB antenna]->Radio wave ~~~~~~~~~~~~~~~~>[2-wire AT&T router]
[2-wire AT&T router]------>AT&T Uverse to outside my house.

9  General Category / General Discussion / Still stuck at apt-get ? on: September 03, 2010, 04:04:58 PM
Refer to my other post for the goals / obstacles wiki
http://plugcomputer.org/plugforum/index.php?topic=2201.0
 
but my problem du jour is
I can not get apt-get to work. I get:

root@ubuntu:/etc# apt-get update
Err http://ports.ubuntu.com jaunty Release.gpg
  Could not resolve 'ports.ubuntu.com'
Err http://ports.ubuntu.com jaunty-updates Release.gpg
  Could not resolve 'ports.ubuntu.com'

I was using debian squeeze, but as we see above switching to ubuntu jaunty did not solve my problem.

Best regards,
jm_eng
10  General Category / General Discussion / Re: Do it yourself Wiki on: September 03, 2010, 12:10:33 PM
This is also my quasi blog of my progress: jm_eng

So as far as ESIA is concerned, I was able to get it to progam Ubuntu 9.04 back to my nand flash and I did it With ESIA on vista.
What is helpful are the following tips. Many of these are in this document "Esia_walkthrough.doc" which is located on the docs
folder of : http://sourceforge.net/projects/esia/files/

So here are some distilled tips.
I) ESIA requires that the plug must be in bootloader mode to work, and this must be setup first before starting the ESIA progam,
As folows:  Get as serial terminal progarm (eg hyperterminal) setup on Vista 1) connect the plug computer's small USB jack, next to the SDRam MMC card slot on the sheeva plug, to a USB port on your PC. 2) Setup hyptertermina for 115.2Kb, D=8, P=No, S=1, Flowcontrol = no.

II) Once hypterminal is setup, then push the reset button on the plug, you will see output from the plug "Uboot, etc" and then immediatly enter a keypress into hypterterminal. This disrupts the boot and puts you into Uboot mode neede by ESIA
(Note the reset button is in the small hole to the right of the SDRarm MMC card slot, use a tooth pick like tool to press)
III) Prepare a thumb drives A.K.A "USB DOK" by first formating it to FAT32 (My original attempt used FAT m.b. the problem ??)
Then copy the desired unziped Linux distributions  which you downloaded zipped up from the distros directory of http://sourceforge.net/projects/esia/files/   Note one other thing - They recommend using  a max size thumb drive of 2GB..
IV) Start the ESIA program, follow as per ESIA_walkthrough.doc and , well, It worked for  me !
11  General Category / General Discussion / Do it yourself Wiki on: September 02, 2010, 06:29:30 PM
It would be nice to have a thread that provided a clear route to suceess for
the rest of us. More information that is clear and up to date.

1) Using the latest plug instalation utility available at
http://sourceforge.net/projects/esia/files/
For me It only worked on windows XP.

2) Selecting an approriate linux distribution that agrees with the wiki instructions, or if it has
its different makeing it clear what in the wiki needs to be changed.
Which one should we use, to achieve the goals 3-6 below ?

There a two places that have wiki instructions:
http://plugcomputer.org/plugwiki/index.php?title=Main_Page
and
http://computingplugs.com/index.php/Main_Page

What I would like to do is

3)  Be able to get apt-get to work.
     
I exexute "apt-get" via a Putty terminal on my vista  Laptop in the garage,
then my laptop on a separate USB connector has a USB antenna which transmits
to my AT&T U-verse wireless router in the kitchen.

apt-get does not work and wiki instructions did not seem to help me.
For example http://computingplugs.com/index.php/Fixing_apt-get
This did not help. I was using debian squeeze - is that my problem ?

I had to download a DHCP program such as: http://www.antamediadhcp.com/
in order to Putty into the Plug on my Vista PC,

I never was able to figure out how to make the Ip address of the plug static
(would it make apt-get work if I did ??)

I could try attaching the ethernet cable from my shiva plug directly to my 2-wire router
box in the kitchen (I may try this and report back, but still I'd rather have
the plug in the garage talk to my router via wireless provided by my laptop.)

4)  apt-get a usable graphical windowing system on the plug.
    lets say gnome for starters.
    Presently I have my system booting to a 4 gb mmc card in the slot.
    I think that ought to be enough room


5)  Install a VNC or Free NX client or is it server on the plug so I can use it with
    a nice shrink wraped VNC or NX remote windowing program on my laptop and now
    I have a very user friendly windowing environment to work in !

6)  Intall and setup a webserver - Use a Dynamic DNS service to get across
    my home AT&T U-Verse box and into the internet. - Make it safe and secure.
    For starters ref:

http://plugcomputer.org/plugwiki/index.php/Frequently_Asked_Questions#How_do_I_set_up_a_webserver_on_the_plug.3F_Can_I_use_php.3F

Thanks in filling in this "do it yourself wiki " !

12  General Category / General Discussion / Re: One Plug, One Ethernet cable, One Computer at other end on: October 23, 2009, 03:25:31 PM
Hello fragfutter:
I had it working with a program called  haneWIN DHCP server, but I then thought
"why not try the static ip addres way ?" and tried something like this:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet static
address 192.168.5.2
netmask 255.255.255.0
gateway 192.168.5.1

But  then I could not login at all using puTTY, I wonder if I should have not said gateway =
192.168.5.1 because this was the ip adder of my linksys router. Well I read the instr
SheevaPlug Development Kit README-Rev1.2 and was able to use hyperterminal  to get
via the tiny usb plug on the side to get back in  and try something else...
See attched .pdf for my sojourn so far.
13  General Category / General Discussion / One Plug, One Ethernet cable, One Computer at other end on: October 23, 2009, 11:23:20 AM
I would like to log into my plug in a terminal window on my pc
with just an ethernnet cable between the plug  and my  computer.
(I often have all my usb plugs on my laptop used up with other devices)

Do I really need a router  (with some kind of "DHCP" server on it)
to talk  to my plug  via the provided ethernet cable ?

How can I get DHCP server functionality on my laptop so I can talk
to my plug In a terminal window. ( without a separate router.)
I have XP, Vista, and Linux op systems available on my
laptop. Any help is appreciated for any of these op systems.

Thanks for any , help on making the plug easier to use in this simple way.

Sincerely

jm_eng

14  General Category / General Discussion / Re: First log on to out of box Sheeva-plug assistance request. on: October 22, 2009, 07:22:41 AM
I have attempted  to attach the ethernet cable between tried both a windows XP and
a Vista SP2 laptop, and  a Linux Laptop, and the Plug computer. In both cases the windows Network manager programs were not able to discover the IP address for the Sheeva Plug.

So is this just a known bug with the Plug, or am I not configuring networking properly ??

The only case I saw work is when I use my Linksys router inbetween my plug, and my PC

I sure hope this is not the only way to get to work.

Any further comment would be appreciated.
15  General Category / General Discussion / Re: First log on to out of box Sheeva-plug assistance request. on: October 19, 2009, 10:25:34 PM
I was actually able to get it to work somewhat as the original instructions said.
(The first time I hooked it up directly to my Vista Laptop it did not work,
next time  I used my kitchen computer, with a linksys wireless router hooking it
up to one of the wired jacks on the back of the router. I was also using Network magic
program  at the time and was able to get from this an IP address of 192.168.5.103.
Then I used  Putty but learned that first Putty expects you to login as "root"  , then
you enter the pw = nosoup4u.

Thanks for the tip on wireshark. I will try playing with that too. I wonder if I reattach
the sheva plug directly to my lap top it will require the same 192.168.5.103 ??
Pages: [1] 2