View previous topic :: View next topic |
Author |
Message |
GoLaB n00b
Joined: 14 Jul 2004 Posts: 36
|
Posted: Thu Dec 29, 2005 10:22 am Post subject: nmap - Failed to open device eth0 |
|
|
Witam...
Code: |
localhost ~ # nmap -sS 192.168.0.1
Starting Nmap 3.95 ( http://www.insecure.org/nmap/ ) at 2005-12-28 22:26 CET
dnet: Failed to open device eth0
QUITTING!
|
Code: |
localhost ~ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
inet addr:192.168.0.50 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14055 errors:0 dropped:0 overruns:0 frame:0
TX packets:12256 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10273786 (9.7 Mb) TX bytes:2116383 (2.0 Mb)
Interrupt:11 Base address:0xc000
|
Niewiem dlaczego ale nmap nie moze dostac sie do eth0, dlaczego tak sie dzieje ?
Pozdrawiam
ps. adres Mac specjalnie zmienilem |
|
Back to top |
|
|
nelchael Retired Dev
Joined: 20 Mar 2004 Posts: 1948 Location: /dev/drzewo
|
Posted: Thu Dec 29, 2005 10:52 am Post subject: |
|
|
A po co zmieniales MAC? To bez sensu
Co do problemu: `lspci | grep Eth`, pokaz fragment konfiguracji jadra odpowiedzialny za ta sieciowke oraz /etc/conf.d/net _________________ [color=gray:17697d0166]http://dev.gentoo.org/~nelchael/[/color:17697d0166]
[size=14:17697d0166]>> [b:17697d0166]Zasady na f.g.o->Polish[/b:17697d0166] <<[/size:17697d0166] |
|
Back to top |
|
|
Zwierzak Veteran
Joined: 19 Sep 2003 Posts: 1012 Location: /dev/null
|
Posted: Thu Dec 29, 2005 11:05 am Post subject: Re: nmap - Failed to open device eth0 |
|
|
GoLaB wrote: | Code: |
--- >8 cut ---
inet addr:192.168.0.50 Bcast:192.168.0.255 Mask:255.255.255.0
--- >8 cut ----
|
|
Bo twój adres to 192.168.0.50 a nie 192.168.0.1, który zresztą pewnie nie istnieje w sieci |
|
Back to top |
|
|
GoLaB n00b
Joined: 14 Jul 2004 Posts: 36
|
Posted: Thu Dec 29, 2005 11:15 am Post subject: |
|
|
Code: | localhost ~ # lspci | grep Eth
0000:02:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
|
Code: | localhost ~ # cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
|
Code: |
localhost ~ # ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=128 time=15.5 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=128 time=0.395 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=128 time=0.411 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=128 time=0.392 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=128 time=0.391 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=128 time=0.428 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=128 time=0.421 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=128 time=0.402 ms
64 bytes from 192.168.0.1: icmp_seq=9 ttl=128 time=0.412 ms
--- 192.168.0.1 ping statistics ---
9 packets transmitted, 9 received, 0% packet loss, time 8000ms
rtt min/avg/max/mdev = 0.391/2.090/15.560/4.762 ms
|
jednak istnieje, ale problem wystepuje przy skanowaniu dowolnego komputera w sieci lokalnej |
|
Back to top |
|
|
Kajan Guru
Joined: 23 Dec 2004 Posts: 321 Location: Warsaw, Poland
|
Posted: Thu Dec 29, 2005 11:24 am Post subject: |
|
|
Zobacz z dodatkowym parametrem:
Code: |
nmap -P0 -sS 192.168.0.1
|
Pozdro _________________ Powered By Gentoo Linux !!! |
|
Back to top |
|
|
GoLaB n00b
Joined: 14 Jul 2004 Posts: 36
|
Posted: Thu Dec 29, 2005 12:37 pm Post subject: |
|
|
Kajan wrote: | Zobacz z dodatkowym parametrem:
Code: |
nmap -P0 -sS 192.168.0.1
|
Pozdro |
ciagle to samo |
|
Back to top |
|
|
|