Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dninja

Pages: [1] 2
1
Security and Networking / No Auth Methods Could Be Used.
« on: September 29, 2005, 05:47:27 am »
Quote
Couple things:

1) What distribution of linux you trying to connect to?
Ubuntu Breezy, Hoary and FreeBSD

Quote
2) What SSH daemon is it running and the version?
debug1: sshd version OpenSSH_3.8.1p1 FreeBSD-20040419
debug1: sshd version OpenSSH_4.1p1 Debian-7ubuntu3

Quote
3) Are you able to SSH to that box from another linux box or windows box with PuTTy or that FreeBSD box?
I can quite happily ssh from every box to every other box, and from these to the Z, but not the other way round.

Quote
It seems like you don't have any authentication methods set for your sshd_config on the linux box except Rhosts authentication through PAM? Hmm... does your sshd_config file have a line that says
Code: [Select]
UsePAM yes in it?
on the Ubuntu box I have
Code: [Select]
PasswordAuthentication yes and nothing on the freebsd box

Quote
Might be you've got a funny /etc/pam.d/ssh setup. If your linux box is using PAM for handling authentication for ssh then maybe somehow the config is messed up. Hard to tell.
All I have is the default config, i've never needed to play wiht it so I haven't.

Quote
HMMM.... maybe... maybe it's your dropbear configuration? I've heard of dropbear, and tried it on my Z once on the guyhelm kernel and it just wouldn't work for some reason. I'm not sure if it uses the same configuration or not but you might check your ssh_config file on the Z as it may be that it isn't defining the right auth method to use on outgoing connections and since it can't agree with your other linux box on what auth method it wants to use it just quits.
What do you use for ssh on your Z?

2
General Discussion / Dependancy Issues With Xmms And Opie-mediaplayer2
« on: September 28, 2005, 06:44:04 am »
Quote
You need to manually install one of the opie-mediaplayer2-skin-* files -> this is a known dep bug.

You're getting the version errors on the other files because your flash image was built after the feed (so it expects later files). You should be able to ignore all of these errors (add -force-depends to the end of the ipkg command).


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=97368\"][{POST_SNAPBACK}][/a][/div]

Thanks, I found some info on adding the machine feed to the list and that got xmms installed. I'll do media player next.

3
Angstrom & OpenZaurus / Oz3.5.3 (collie) On/off Button Problem
« on: September 28, 2005, 06:19:09 am »
Quote
[span style=\'font-size:21pt;line-height:100%\']ARggghhhh![/span]

I hate users which are not able to read OpenZaurus homepage.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=97374\"][{POST_SNAPBACK}][/a][/div]

No need to get shirty!

I came across this while searching for something else. I hadn't really registered that the suspend issue was a bug as opposed to just something wrong on my machine so hadn't bothered doing any research into it to see how to fix it. Finding this post out of the blue made me realise that I wasn't the only one with the problem so I thought I'd respond. As the last poster said that they would try something and get back with results I just asked for their results.

4
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 28, 2005, 04:55:43 am »
This gets stranger....

I thought that I'd give ipkg another chance to work from the net and it installed a package fine, next one failed so I resorted to runnign wget myself, that started failing, stalling and running slow.

To check if it was at my end or the feed end I did the same get from my desktop, the file came down instantly. I then tried scp'ing the file across and that started stalling as well.

I've tried different network cables and different network ports, doesn't seem to affect it. ssh runs fine, i haven't notice anything wrong but then speed isn't usually an issue with ssh.

I thought about trying a proxy but that wouldn't help with scp being slow.

I'll keep diging, any help or suggestions appreciated.

5
Angstrom & OpenZaurus / Oz3.5.3 (collie) On/off Button Problem
« on: September 28, 2005, 04:31:49 am »
Quote
Quote
This 'fix' has been applied in the gpe-image for collie handhelds only - if you have problems resuming after suspend, try this:

-Remove the line containing /dev/apm_bios from /etc/device_table
-Reboot
...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75463\"][{POST_SNAPBACK}][/a][/div]
Thanks for the info. I just made the change and will let everyone know how it goes...

-- sojourner
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75472\"][{POST_SNAPBACK}][/a][/div]

How did it go? I'm seeing this problem 6 months after this thread so I guess that it hasn't been fixed yet.

I'm booting Opie from an SD card but the last flash I did was with GPE. I'll try this workaround and see what happens, did it work for you?

6
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 28, 2005, 04:00:54 am »
Quote
Any chance there are mulitple versions of wget on your system? Or possibly the target partition is close to full?

There are 2 wgets on there but the first isn't in the path.

 find . -name wget
./media/realroot/usr/bin/wget
./usr/bin/wget

And the target has 144M left, plenty of room for the 300K download I'm trying to get.

7
General Discussion / Dependancy Issues With Xmms And Opie-mediaplayer2
« on: September 27, 2005, 06:09:33 pm »
I'm trying to install either xmms or opie-mediaplayer2 but they both have dependancy issues.

opie mediaplayer has the following:

ERROR: Cannot satisfy the following dependencies for opie-mediaplayer2:
         opie-mediaplayer2-skin libqpe1 (>= 1.2.0) libqpe1 (>= 1.2.0) tslib-conf libqpe1 (>= 1.2.0) libqpe1 (>= 1.2.0)

xmms only has the one but it matches above.

ERROR: Cannot satisfy the following dependencies for xmms-embedded:
         libqpe1 (>= 1.2.0) tslib-conf

Do I need to change feeds or anything like that to get these working?

I'm running opie, I've done ipkg update/upgrade, can't think of anything else.

8
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 27, 2005, 06:06:04 pm »
No, direct net connection.

The odd thing is that the exact same wget line the ipkg debug prints out works if I run it from the command line.

I'm all happy I've now got vim and bash on there but disapointed that I've now hit dependancy problems with xmms and opie media player!

9
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 27, 2005, 05:39:29 pm »
Quote
What version of ipkg are you using?

[div align=\"right\"][a href=\"index.php?act=findpost&pid=97105\"][{POST_SNAPBACK}][/a][/div]

I'm using...

ipkg -v
ipkg version 0.99.148

10
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 27, 2005, 05:24:22 pm »
I've found out what the problem is!

For some reason the file download part of ipkg doesn't work, it calls wget with the correct params but, on my machine, takes ages and doesn't actually download much. It then seems to time out but still tries to process the partial file, it then fails and gives up.

This is why it still failed when I tried it with a local file rather than one from the net, the file was corrupt. If I do the wget myself the files download at correct speed then install fine. I've now got bash installed and running quite happily.

Does this need raising as a bug in OZ or somewhere else?

11
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 26, 2005, 09:45:38 am »
All I'm doing is:
Code: [Select]
ipkg install bashor whatever package. My feeds are set to the OZ site so the files are in whatever format they come off there from. I've also tried installing from a downloaded package and that didn't work either.

12
Security and Networking / No Auth Methods Could Be Used.
« on: September 25, 2005, 05:44:20 pm »
This has been asked before but the solution offered before doesn't work for me so I'm asking again...

If I try to ssh from my Zaurus to a linux box running OpenSSH I get the following error:
Code: [Select]
ssh rast

Host 'rast' is not in the trusted hosts file.
(fingerprint md5 78:3f:8e:61:1d:07:cd:31:fe:65:f1:15:34:f6:9b:df)
Do you want to continue connecting? (y/n)
y
ssh: connection to robin@rast:22 exited: No auth methods could be used.

The other threads I can find on this recommend enabling

PasswordAuthentication yes

in the sshd_config file on the openssh box. That doesn't fix it for me, I've tried it on a linux and a freebsd box and can still connect to neither.

To try to debug this I tried starting the sshd in single run mode on a different port with full debug turned on and here is the result:

Code: [Select]
/usr/sbin/sshd -p 2244 -ddd


debug2: load_server_config: filename /etc/ssh/sshd_config
debug2: load_server_config: done config len = 625
debug2: parse_server_config: config /etc/ssh/sshd_config len 625
debug1: sshd version OpenSSH_4.1p1 Debian-7ubuntu1
debug3: Not a RSA1 key file /etc/ssh/ssh_host_rsa_key.
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug3: Not a RSA1 key file /etc/ssh/ssh_host_dsa_key.
debug1: read PEM private key done: type DSA
debug1: private host key: #1 type 2 DSA
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-p'
debug1: rexec_argv[2]='2244'
debug1: rexec_argv[3]='-ddd'
debug2: fd 3 setting O_NONBLOCK
debug1: Bind to port 2244 on ::.
Server listening on :: port 2244.
debug2: fd 4 setting O_NONBLOCK
debug1: Bind to port 2244 on 0.0.0.0.
debug3: fd 4 is not O_NONBLOCK
debug1: Server will not fork when running in debugging mode.
debug3: send_rexec_state: entering fd = 7 config len 625
debug3: ssh_msg_send: type 0
debug3: send_rexec_state: done
debug1: rexec start in 4 out 4 newsock 4 pipe -1 sock 7
debug1: inetd sockets after dupping: 3, 3
debug3: Normalising mapped IPv4 in IPv6 address
Connection from 192.168.0.10 port 1042
debug1: Client protocol version 2.0; client software version dropbear_0.45
debug1: no match: dropbear_0.45
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.1p1 Debian-7ubuntu1
debug2: fd 3 setting O_NONBLOCK
debug3: privsep user:group 104:65534
debug1: permanently_set_uid: 104/65534
debug1: list_hostkey_types: ssh-rsa,ssh-dss
debug1: SSH2_MSG_KEXINIT sent
debug2: Network child is on pid 7709
debug3: preauth child monitor started
debug3: mm_request_receive entering
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-cbc,blowfish-cbc,twofish-cbc,3des-cbc
debug2: kex_parse_kexinit: aes128-cbc,blowfish-cbc,twofish-cbc,3des-cbc
debug2: kex_parse_kexinit: hmac-sha1,hmac-md5
debug2: kex_parse_kexinit: hmac-sha1,hmac-md5
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_init: found hmac-sha1
debug1: kex: client->server aes128-cbc hmac-sha1 none
debug2: mac_init: found hmac-sha1
debug1: kex: server->client aes128-cbc hmac-sha1 none
debug2: dh_gen_key: priv key bits set: 177/320
debug2: bits set: 517/1024
debug1: expecting SSH2_MSG_KEXDH_INIT
debug2: bits set: 525/1024
debug3: mm_key_sign entering
debug3: mm_request_send entering: type 4
debug3: mm_key_sign: waiting for MONITOR_ANS_SIGN
debug3: mm_request_receive_expect entering: type 5
debug3: mm_request_receive entering
debug3: monitor_read: checking request 4
debug3: mm_answer_sign
debug3: mm_answer_sign: signature 0x809d7d0(143)
debug3: mm_request_send entering: type 5
debug2: monitor_read: 4 used once, disabling now
debug3: mm_request_receive entering
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: KEX done
debug1: userauth-request for user robin service ssh-connection method none
debug1: attempt 0 failures 0
debug3: mm_getpwnamallow entering
debug3: mm_request_send entering: type 6
debug3: mm_getpwnamallow: waiting for MONITOR_ANS_PWNAM
debug3: mm_request_receive_expect entering: type 7
debug3: mm_request_receive entering
debug3: monitor_read: checking request 6
debug3: mm_answer_pwnamallow
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 7
debug2: monitor_read: 6 used once, disabling now
debug3: mm_request_receive entering
debug2: input_userauth_request: setting up authctxt for robin
debug3: mm_start_pam entering
debug3: mm_request_send entering: type 45
debug3: mm_inform_authserv entering
debug3: mm_request_send entering: type 3
debug2: input_userauth_request: try method none
Failed none for robin from 192.168.0.10 port 1042 ssh2
debug3: monitor_read: checking request 45
debug1: PAM: initializing for "robin"
debug3: Normalising mapped IPv4 in IPv6 address
debug3: Trying to reverse map address 192.168.0.10.
debug1: PAM: setting PAM_RHOST to "192.168.0.10"
debug1: PAM: setting PAM_TTY to "ssh"
debug2: monitor_read: 45 used once, disabling now
debug3: mm_request_receive entering
debug3: monitor_read: checking request 3
debug3: mm_answer_authserv: service=ssh-connection, style=, role=
debug2: monitor_read: 3 used once, disabling now
debug3: mm_request_receive entering
Connection closed by 192.168.0.10
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering
debug1: do_cleanup
debug1: PAM: cleanup
debug3: PAM: sshpam_thread_cleanup entering

and on the client:

Code: [Select]
ssh -p 2244 rast

Host 'rast' is not in the trusted hosts file.
(fingerprint md5 78:3f:8e:61:1d:07:cd:31:fe:65:f1:15:34:f6:9b:df)
Do you want to continue connecting? (y/n)
y
ssh: connection to robin@rast:2244 exited: No auth methods could be used.

Can anyone suggest any other fixes to the one I found?

Also, I seem to be running up against quite a few little bugs/features like this, I'm on the latest OZ, is it not stable enough yet to be used day to day or are these just things we have to put u pwith?

13
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 25, 2005, 01:04:29 pm »
Ok, that kind of helped, it seems to be a problem with gunzip...

Code: [Select]
root@trapspringer:/var/tmp/ipkg-cvwq84# ipkg install -V 3 xmms-embedded_20040327-r3_arm.ipk
ipkg: ***  Couldnt kill old gunzip process *** aborting
root@trapspringer:/var/tmp/ipkg-cvwq84# ps aux | grep gun
 2358 root        460 S   grep gun
root@trapspringer:/var/tmp/ipkg-cvwq84# ps aux | grep zip
 2360 root        460 S   grep zip

But as you can see, gunzip isn't running. I've tried gunzip from the command line and it seems to work.

As for memory, I'd guess I have enough:

Code: [Select]
root@trapspringer:/var/tmp/ipkg-cvwq84# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  30883840 24948736  5935104        0   643072 12525568
Swap:        0        0        0
MemTotal:        30160 kB
MemFree:          5796 kB

I'm booting from sd card so disk space shouldn't be a problem:

Code: [Select]
root@trapspringer:/var/tmp/ipkg-cvwq84# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/loop0               14.1M     13.5M    676.0k  95% /media/realroot
/dev/mmcda1             473.0M    300.9M    147.7M  67% /media/card
/dev/loop0              141.9M     29.5M    105.0M  22% /
/dev/mtdblock6           31.0M     37.0k     29.3M   0% /media/ram
tmpfs                    14.7M    196.0k     14.5M   1% /var

Any more ideas?

14
General Discussion / Ipkg Terminates Rather Than Installing
« on: September 25, 2005, 11:49:47 am »
I'm trying to install apps on my 5500, oz with opie. I've managed an ipkg update/upgrade which ran fine but now when I try to install packages the file gets downloaded and then the process gets "Terminated" e.g.
Quote
root@trapspringer:/media/card/home/root# ipkg  install  xmms-embedded
Installing xmms-embedded (20040327-r3) to root...
Downloading http://openzaurus.org/official/unstable/3....0327-r3_arm.ipk
Terminated

This happens with any package I choose, so far I've tried at least bash, xmms and vim.

Can anyone help?

15
General Discussion / Need Explanation Of Memory Split Stuff
« on: September 14, 2005, 10:36:54 am »
Thats what I figured so if I go for the 64/0 and put the boot stuff on an sd card then I'll have more memory.

Does this mean that you can't remove the sd card once booted?

Also I'm still not sure about the initrd boot image. I don't get how an image file can be updated after stuff has been installed.

I'll have a look at the Cacko stuff see if that helps.

Ta

Pages: [1] 2