Author Topic: Cheap way to develop with Linux on Z-SL-5600? Anyone?  (Read 7977 times)

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #15 on: March 25, 2004, 09:05:49 pm »
Quote
Quote
Hi Clint,

http://ccrma-www.stanford.edu/planetccrma/...elandsound.html

My current kernel is now 2.4.24-1.ll.rh80.ccrma

It may not be the best kernel to get, but it was the 1st one I found as an rpm, and it enabled me to connect to my Z for the 1st time.

<snip>

But now I have a C860, and I haven\'t had any problems at all.
Connection to my laptop always works.
telnet worked straight away.
ftp worked after I installed an ftp server onto the C860.

- Mark

Thanks Mark!

I just tried the kernel to which you linked.  It seems to have worked well so far.  My PC detects the Z as such, and pings it after I follow the instructions in the \"generic USB\" how-to!

It hasn\'t been long, so I don\'t want to waste your time with this:  I\'ve been getting \"connection refused\" for ssh and ftp.  Maybe I need to install an ftp server on the SL-5600?  I need to look into it, I guess.

Many thanks!

Clint Reese

Hurray! I followed the instructions at
http://www.ossh.com/zaurus/mirrors/docs.za...ers_howto.shtml
and they worked for getting telnet working on the SL-5600!

Now, if the instructions for ssh work, I should be all set!

Thanks again!

Clint Reese
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #16 on: March 26, 2004, 04:10:42 pm »
Quote
Hi Clint,

ftp worked after I installed an ftp server onto the C860.

- Mark

May I ask which ftp server worked for you?

Telnet and ssh are now seem to be working on my systems.  I\'m having trouble with scp though.  It keeps telling me that

[root@localhost clint]# scp 192.168.129.1:/home/clint/test3 192.168.129.201:home/zaurus
root@192.168.129.1\'s password:
Permission denied, please try again.
Permission denied, please try again.
Permission denied.
lost connection
[root@localhost clint]# scp clint@192.168.129.1:/home/clint/test3 192.168.129.201:home/zaurus
clint@192.168.129.1\'s password:
Host key verification failed.
lost connection

So, I thought that ftp might be simpler.  I did find Trolltech\'s ftp for the Z and Pureftpd, but I\'m not sure which to try first.

I thought about using the \"mac\" script shown in an earlier post for ssh, but I\'m a little nervous about trying it because I don\'t understand all of it.

Does anyone have any hints on any of this?

Clint Reese
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope

markb

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
    • http://
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #17 on: March 26, 2004, 04:51:24 pm »
Hi Clint,

I\'m happy to hear you\'ve got your PC talking to your Z.

I used pure-ftpd.
I installed it from the ipk and then edited my /etc/inetd.conf file.
The line for ftp looks like:

Code: [Select]
ftp   stream  tcp  nowait  root  /usr/sbin/pure-ftpd

- Mark

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #18 on: March 26, 2004, 07:12:16 pm »
Quote
Hi Clint,

I\'m happy to hear you\'ve got your PC talking to your Z.

I used pure-ftpd.
I installed it from the ipk and then edited my /etc/inetd.conf file.
The line for ftp looks like:

Code: [Select]
ftp   stream  tcp  nowait  root  /usr/sbin/pure-ftpd

- Mark

It works!  

Many thanks everyone!

Clint Reese
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #19 on: April 04, 2004, 11:26:30 am »
Quote
Hi Clint,

<snip>

Another thing I\'ve been doing lately is writing my stuff in Python with PyQt.  I don\'t know how attached to C++ you are, but even though I\'m a C++ developer at work, it\'s kind of refreshing being able to write Python code that interacts with the Zaurus almost exactly like a C++/Qt app would.  Plus it\'s nice because I can do 99% of my development on my linux box and (like others have said) transfer it to my Zaurus when I want to test it and use it.

And of course, in a pinch you can always load up Kate on the Zaurus and edit your python script in a meeting (or class) if something goes wrong

Good luck!

jason

It works! Hurray! Python rules!  That was so much easier than trying to get the QT environment building native code on a regular basis!   Thanks so much for suggesting Python, jh! Riverbank rules!  I\'m so joyous!

I know that this is a QT forum, but after I prototype in Python, if my applications run too slowly, then I may learn how to get QT to build native code for the Z.  Isn\'t that the natural way?   Learn to do something slowly, then more quickly?

Now, I\'m off to go post my success on any forum related to general development or Python development in this group which has a \"success stories\" thread.  I think this must be one of the easiest and fastest ways to write programs for the Z-SL-5600 on Linux quickly, assuming one has Red Hat and a Sharp ROM.  New ccrma kernel rpm, telnet configuration on the Z, PureFTP installation, install Python package from Riverbank (which they seem to say is free software) on the Z, and start writing very simple programs in no time!

Thanks to everyone for their help and encouragement!

Clint Reese
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #20 on: April 04, 2004, 11:55:34 am »
Quote
<snip>

Now, I\'m off to go post my success on any forum related to general development or Python development in this group which has a \"success stories\" thread.

<snip>

Thanks to everyone for their help and encouragement!

Clint Reese

Hmm.  I didn\'t find an appropriate forum.  This will have to do.

To write a \"Hello World\" application quickly for the Z-SL-5600 using RH9, Linux box, default Sharp ROM, and Python, or something similar, see above.  You can also email me for help or the open-source files which I\'ve burned to CD\'s locally, if I can find a convenient way to transfer them to you.  Warning:  I\'m a newbie, but I\'ve done it before with help.

Clint Reese
mobilethinking@earthlink.net
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope

jh

  • Full Member
  • ***
  • Posts: 115
    • View Profile
    • http://
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #21 on: April 05, 2004, 01:58:55 pm »
Hi Clint,

Glad you got things working... I\'ve been really happy doing most of my development work in python + Qt.  Sure, the app takes a few seconds longer to start up, but it\'s perfectly acceptable to me.  Plus, I\'m running off my SD card, so if I was really worried about it I could move things off of that.

I\'m even to the point where I\'ve got a C library I want to use so I might just try my hand at creating a python interface for it and still use python on the Z for the main app.  I\'ve never been a huge python guy (just started using it with the Z), but I\'m too lazy to go back to C++/Qt on the Z

If you build any interesting apps, please let us know!

jason

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #22 on: April 05, 2004, 02:12:40 pm »
Quote
Hi Clint,

<snip>

If you build any interesting apps, please let us know!  

jason

Thanks!  I definitely intend to do so!

Clint Reese
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope

ClintReese

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Cheap way to develop with Linux on Z-SL-5600? Anyone?
« Reply #23 on: April 25, 2004, 10:22:19 am »
Quote
Hi Clint,

If you build any interesting apps, please let us know!  

jason

OK.  Maybe it isn\'t interesting to you, but it is to me.

http://www.zaurususergroup.com/index.php?n...iewtopic&t=3432

I\'ve now done my duty, right?  

Thanks again.

Clint Reese
Clint Reese
C.H.E.I.F. - Cyborgs Having & Encouraging Individual Freedom
http://books.lulu.com/content/70176
Yahoo ID: justphilanthrope