Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nmap - Failed to open device eth0
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
GoLaB
n00b
n00b


Joined: 14 Jul 2004
Posts: 36

PostPosted: Thu Dec 29, 2005 10:22 am    Post subject: nmap - Failed to open device eth0 Reply with quote

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
View user's profile Send private message
nelchael
Retired Dev
Retired Dev


Joined: 20 Mar 2004
Posts: 1948
Location: /dev/drzewo

PostPosted: Thu Dec 29, 2005 10:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Zwierzak
Veteran
Veteran


Joined: 19 Sep 2003
Posts: 1012
Location: /dev/null

PostPosted: Thu Dec 29, 2005 11:05 am    Post subject: Re: nmap - Failed to open device eth0 Reply with quote

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
View user's profile Send private message
GoLaB
n00b
n00b


Joined: 14 Jul 2004
Posts: 36

PostPosted: Thu Dec 29, 2005 11:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Kajan
Guru
Guru


Joined: 23 Dec 2004
Posts: 321
Location: Warsaw, Poland

PostPosted: Thu Dec 29, 2005 11:24 am    Post subject: Reply with quote

Zobacz z dodatkowym parametrem:
Code:

nmap -P0 -sS 192.168.0.1



Pozdro
_________________
Powered By Gentoo Linux !!!
Back to top
View user's profile Send private message
GoLaB
n00b
n00b


Joined: 14 Jul 2004
Posts: 36

PostPosted: Thu Dec 29, 2005 12:37 pm    Post subject: Reply with quote

Kajan wrote:
Zobacz z dodatkowym parametrem:
Code:

nmap -P0 -sS 192.168.0.1


Pozdro

ciagle to samo
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum