請問我在網頁去執行遠端主機nmap的時後
因為有些指令需要root的權限
所以我用了chmod 4755 /usr/bin/nmap
但顯示
Starting Nmap 5.00 ( http://nmap.org ) at 2010-04-24 16:28 CST
NSE: Loaded 0 scripts for scanning.
nexthost: failed to determine route to XXX.XXX.XXX.XXX
QUITTING!
看這訊息好像跟路由器有關?!
請問有辦法解決嗎?
下面是一些資訊
[root@L1006 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 1 0 0 eth0
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
default 192.168.3.254 0.0.0.0 UG 0 0 0 eth0
[root@L1006 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0c:76:e0:0e:aa
IPADDR=192.168.3.20
NETMASK=255.255.255.0
ONBOOT=yes
GATEWAY=192.168.3.254
--
因為有些指令需要root的權限
所以我用了chmod 4755 /usr/bin/nmap
但顯示
Starting Nmap 5.00 ( http://nmap.org ) at 2010-04-24 16:28 CST
NSE: Loaded 0 scripts for scanning.
nexthost: failed to determine route to XXX.XXX.XXX.XXX
QUITTING!
看這訊息好像跟路由器有關?!
請問有辦法解決嗎?
下面是一些資訊
[root@L1006 ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 1 0 0 eth0
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
default 192.168.3.254 0.0.0.0 UG 0 0 0 eth0
[root@L1006 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:0c:76:e0:0e:aa
IPADDR=192.168.3.20
NETMASK=255.255.255.0
ONBOOT=yes
GATEWAY=192.168.3.254
--
All Comments