Author Topic: nmap installation on C860 fails  (Read 3817 times)

bb

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
nmap installation on C860 fails
« on: February 21, 2004, 09:01:05 am »
I\'m trying to get nmap working on my C860 with no luck so far, since I cannot even install!
I have these two files:

libpcre3_4.3-4_arm.ipk
nmap_3.50-1_arm.ipk

and I understand that I should install libpcre first, then nmap. When I try installing either, I get:
# ipkg -force-depends -d sd install ./libpcre3_4.3-4_arm.ipk
zcat: ./libpcre3_4.3-4_arm.ipk: not in gzip format
zcat: stdin: unexpected end of file
ipkg_install_file: ERROR unpacking control.tar.gz from ./libpcre3_4.3-4_arm.ipk

The issue with \"not in gzip format\" is contradicted when I run \'file\' on the file from a prompt on a desktop Linux system:
david@dt:~/Zaurus/ipk$ file libpcre3_4.3-4_arm.ipk
libpcre3_4.3-4_arm.ipk: Debian binary package (format 2.0), uses gzip compression

Has anyone seen this behaviour before?
Best regards,
bb
SL-C860, Cacko 1.23 ROM
512MB SanDisk SD, Origo CF WiFi

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
nmap installation on C860 fails
« Reply #1 on: February 21, 2004, 10:18:11 am »
It may be an ar file. Try \'ar -x ipkgfilename.ipk\' and see if that works (you may not have ar on your C860 - use a desktop box). If that\'s not the case, the file has probably been truncated (corrupted download).


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

RichS

  • Full Member
  • ***
  • Posts: 146
    • View Profile
    • http://
nmap installation on C860 fails
« Reply #2 on: February 21, 2004, 11:27:28 am »
bb, try this thread. It should help...
http://www.zaurususergroup.com/index.php?n...iewtopic&t=1791

lardman, thanks for the \'ar\' info. That prbably answers my question...
SL-5600 Sharp v.1.32 ROM
CE-AG06 camera
Linksys WCF-12 wireless CF
D-Link DCF-660W wireless CF (dead!)
Sandisk 64meg SD, 256meg CF
Kingston 512meg CF
Viking 128meg SD, 1 gig CF

bb

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
nmap installation on C860 fails
« Reply #3 on: February 21, 2004, 02:52:40 pm »
Quote
bb, try this thread. It should help...
http://www.zaurususergroup.com/index.php?n...iewtopic&t=1791
.

I ended up with the nmap from zutilsvol2 which tumnus mentioned in that thread. That works nicely.
Thanks for your responses.
Best regards,
bb
SL-C860, Cacko 1.23 ROM
512MB SanDisk SD, Origo CF WiFi

Mort

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • http://
nmap installation on C860 fails
« Reply #4 on: February 21, 2004, 04:53:02 pm »
By any chance is OS detection working for you?

bb

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
nmap installation on C860 fails
« Reply #5 on: February 22, 2004, 03:13:25 pm »
Quote
By any chance is OS detection working for you?

I had to copy an os fingerprints and services file to the Zaurus from another system, but then it worked so-so:

# nmap -O 192.168.1.4
Starting nmap V. 2.53 by fyodor@insecure.org ( www.insecure.org/nmap/ )
Interesting ports on <HOSTNAME OMITTED> (192.168.1.4):
(The 1538 ports scanned but not shown below are in state: closed)
Port       State       Service
<OUTPUT OMITTED>
TCP Sequence Prediction: Class=random positive increments
                         Difficulty=1749042 (Good luck!)
Remote operating system guess: Linux Kernel 2.4.0 - 2.4.17 (X86)
Nmap run completed -- 1 IP address (1 host up) scanned in 3 seconds

I don\'t get uptime like I get when nmap\'ing that system from another LAN host and the OS kernel is not accurately recognized (it\'s Linux 2.4.22 on a Sun Ultra I), but hey - it\'s usable.
Best regards,
bb
SL-C860, Cacko 1.23 ROM
512MB SanDisk SD, Origo CF WiFi