Author Topic: Terminal sesion from win 2k over USB  (Read 2881 times)

gtwod

  • Newbie
  • *
  • Posts: 4
    • View Profile
Terminal sesion from win 2k over USB
« on: August 05, 2004, 07:42:53 pm »
Hi

I know this is a basic question just bought a Zarus and installed terminal (nice). But how do I conduct a terminal session from win 2k over USB I tried ssh and telenet to the address the best result I got  is

220 Qt Palmtop QCop bridge ready!

 when I tried

telnet://192.168.129.201/port:4243

any ideas?

Geraint

soycap

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
    • http://www.tekprosystems.com/zaurus
Terminal sesion from win 2k over USB
« Reply #1 on: August 05, 2004, 10:57:46 pm »
I ssh from windows using putty:

http://www.chiark.greenend.org.uk/~sgtatha...y/download.html

Give it a try...

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Terminal sesion from win 2k over USB
« Reply #2 on: August 06, 2004, 06:30:02 am »
From your telnet message I assume you're using a Sharp based ROM.

This port is used by the sync software and I doubt it can be used.

Use the standard telnet port number, check /etc/inetd.conf to see that the telnet daemon is started. Add entries to /etc/securetty if you want to log in as root over telnet. This info is already on the board somewhere and probably in the FAQ too.

I'd recommend SSH though (but you'll probably need to install SSH on your Z. Try 'ps -a' and see whether sshd is running) as it seems far more stable and this is what I use.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

MtnMichael

  • Newbie
  • *
  • Posts: 40
    • View Profile
Terminal sesion from win 2k over USB
« Reply #3 on: August 06, 2004, 05:42:22 pm »
Here's a couple of links with telnet instructions.

Both are basically the same, but the 2nd link shows the additional step(s) needed to make the tty's available for telnet.

http://www.zaurususergroup.com/modules.php...&parent_id=0#91

http://www.zaurususergroup.com/modules.php...=Server%20Setup

As previously mentioned already, you can use the standard telnet and ssh ports.  Both methods work with old and new Sharp ROMs.  Till a couple of days ago, I was running the 2.37 ROM and just upgraded to the new v3 ROM.

The older ROMs - like I was using - require a slightly different setup (telnet_wrapper) I believe, to get telnet running.

Also, something not mentioned:  Be sure you have your USB port setup as USB TCP/IP.  Using the stock I/O port, won't allow you to telnet.  Other than that, everything else in the how-to's is pretty straight forward.

Hope that helps.

- Michael

gtwod

  • Newbie
  • *
  • Posts: 4
    • View Profile
Terminal sesion from win 2k over USB
« Reply #4 on: August 06, 2004, 08:30:32 pm »
Hi all,

thanks for your help, I have succesfully tleneted to the Z (yippee) next problem is that the first couple times I did it not ask for a password for 'root' now it does! my understanding that root has no default pass word if have not change it.

Any ideas

G.

MtnMichael

  • Newbie
  • *
  • Posts: 40
    • View Profile
Terminal sesion from win 2k over USB
« Reply #5 on: August 07, 2004, 01:44:30 am »
Correct, no password.  Should be able to just hit return <CR> at the prompt to get in.

- Michael

gtwod

  • Newbie
  • *
  • Posts: 4
    • View Profile
Terminal sesion from win 2k over USB
« Reply #6 on: August 07, 2004, 01:54:40 am »
Sorry I did not explain myself properly, it did allow me to have a couple sessions. now It is prompting me for a password I hit <CR> and it is not allowing me in  


Code: [Select]
Lineo Embedix Linux(TM)
Copyright 1999-2000 Lineo, Inc.


localhost login: root
Password:
Login incorrect

localhost login:

I just noticed that it does this if terminal is not running on Z
 is that right or have configuired something wrong?

I have created a user account and made it a super user (su), it allows me to login and what I want to do, will that solve most of my problems or end up creating more?
« Last Edit: August 07, 2004, 03:07:23 am by gtwod »

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Terminal sesion from win 2k over USB
« Reply #7 on: August 07, 2004, 05:16:25 am »
I presume you're using an old Sharp ROM then?

You don't have to make your extra user a super user, you can just su once you've logged in. Or add the entries to /etc/securetty (must be in one of those links) and root should be able to log in.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

gtwod

  • Newbie
  • *
  • Posts: 4
    • View Profile
Terminal sesion from win 2k over USB
« Reply #8 on: August 07, 2004, 05:25:27 am »
Hi

I can start telnetting but it is very tempermental. sometimes it ask for password for root and sometimes it allows me straight in.

Has anybody else come accross this?

G2d

PS. thanks all for you help so far

MtnMichael

  • Newbie
  • *
  • Posts: 40
    • View Profile
Terminal sesion from win 2k over USB
« Reply #9 on: August 10, 2004, 05:43:00 pm »
I vaguely remember something similar, but I _think_ it was after I installed ssh.  Can't remember for sure as it's been quite some time.  :-(

Anyway, I ended up putting a passwd on root (should do anyway) and the "problem" went away.  I also turned off telnet, once ssh was installed and setup.

Only other thing I can think of, is what lardman alludes to.  Specifically the /etc/securetty entries.  Were those added in?

- Michael

Guest

  • Guest
Terminal sesion from win 2k over USB
« Reply #10 on: August 12, 2004, 09:41:54 am »
Hi micheal

That seems a good idea,  I did follow the advice given to me earlier.

Thnaks All

G2d