OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: BerndS on March 27, 2007, 04:55:27 pm
-
Hi again,
I can't get nmap to work in pdaXrom1.1.0beta3:
root@/mnt/ide3/new> nmap -O -sS 192.168.178.195
Starting Nmap 4.20 ( http://insecure.org (http://insecure.org) ) at 2005-03-27 10:08 CEST
dnet: Failed to open device eth0
QUITTING!
root@/mnt/ide3/new>
root@/mnt/ide3/new> nmap -e /dev/eth0 -O -sS 192.168.178.195
Starting Nmap 4.20 ( http://insecure.org (http://insecure.org) ) at 2005-03-27 09:53 CEST
I cannot figure out what source address to use for device /dev/eth0, does it even exist?
QUITTING!
root@/mnt/ide3/new> ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:E0:98:B0:58:1C
inet addr:192.168.178.9 Bcast:192.168.178.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:35536 errors:0 dropped:22 overruns:0 frame:14
TX packets:38401 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:5918427 (5.6 Mb) TX bytes:36598693 (34.9 Mb)
Interrupt:135 Base address:0x300
irda0 Link encap:IrLAP HWaddr 62:4d:00:00
UP RUNNING NOARP MTU:2048 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6246 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:8
RX bytes:0 (0.0 b) TX bytes:195409 (190.8 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:33847 errors:0 dropped:0 overruns:0 frame:0
TX packets:33847 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:44900528 (42.8 Mb) TX bytes:44900528 (42.8 Mb)
root@/mnt/ide3/new> ipkg status nmap
Package: nmap
Status: install ok installed
Root: /mnt/ide2
Version: 4.20
pcre is also installed:
root@/mnt/ide3/new> ipkg status pcre
Package: pcre
Status: install ok installed
Root: /
Version: 5.0
root@/mnt/ide3/new> uname -a
Linux zaurus 2.4.20 #1 Sat, 25 Mar 2006 15:03:52 +0000 armv5tel unknown
root@/mnt/ide3/new> nmap -e /dev/eth0 -O -sS 192.168.178.195
root@/mnt/ide3/new> which nmap
/usr/bin/nmap
root@/mnt/ide3/new> ldd /usr/bin/nmap
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40028000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4005d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x40165000)
libm.so.6 => /lib/libm.so.6 (0x40244000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x402f3000)
libc.so.6 => /lib/libc.so.6 (0x40304000)
libdl.so.2 => /lib/libdl.so.2 (0x40424000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Running on the SharpROM nmap runs without problems.
The network card is 10/100 Apollo ethernet card :
eth0: NE2000 (DL10022 rev 05): io 0xf6000300, irq 135, hw_addr 00:E0:98:B0:58:1C
eth0: found link beat
eth0: autonegotiation complete: 100baseT-FD selected
Bernd