Configurazione eth0

Networking, configurazione della connessione, periferiche e condivisione di rete, ecc.

Re: Configurazione eth0

Messaggioda $nake » mercoledì 2 maggio 2012, 22:19

isuaami,se mi collego ad internet tramite wireless e non via cavo,l'interfaccia eth0 viene sostituita da wlan0 wlan1 e wlan2 o hanno una funziona a parte?Quello che vorrei capire più che altro come cosa fondamentale è l funzione di etho,se è la stessa funzione che hanno le altre interfaccie,o se mi è necessario configurare obblicatoriamente eth0.
eth0=wlan0?

Riguardo al comando nmap non ci siamo,anche in questo caso mi scannerizza centinaia di ip,come lo facevo prima funzionava benissimo e non capisco perchè ora non funziona più.
come vedi:
Codice: Seleziona tutto
 nmap -sS -O -v 192.168.1.1/10

Starting Nmap 5.21 ( http://nmap.org ) at 2012-05-02 23:05 CEST
Initiating Ping Scan at 23:05
Scanning 4096 hosts [4 ports/host]
Ping Scan Timing: About 12.16% done; ETC: 23:10 (0:03:44 remaining)
Ping Scan Timing: About 40.32% done; ETC: 23:08 (0:01:30 remaining)
Completed Ping Scan at 23:07, 97.12s elapsed (4096 total hosts)
Initiating Parallel DNS resolution of 4096 hosts. at 23:07
Completed Parallel DNS resolution of 4096 hosts. at 23:07, 13.00s elapsed
Nmap scan report for 192.128.0.0 [host down]
Nmap scan report for 192.128.0.1 [host down]
Nmap scan report for 192.128.0.2 [host down]
Nmap scan report for 192.128.0.3 [host down]
Nmap scan report for 192.128.0.4 [host down]
Nmap scan report for 192.128.0.5 [host down]
Nmap scan report for 192.128.0.6 [host down]
Nmap scan report for 192.128.0.7 [host down]
Nmap scan report for 192.128.0.8 [host down]
Nmap scan report for 192.128.0.9 [host down]
Nmap scan report for 192.128.0.10 [host down]
Nmap scan report for 192.128.0.11 [host down]
Nmap scan report for 192.128.0.12 [host down]
Nmap scan report for 192.128.0.13 [host down]
Nmap scan report for 192.128.0.14 [host down]
Nmap scan report for 192.128.0.15 [host down]
Nmap scan report for 192.128.0.16 [host down]
Nmap scan report for 192.128.0.17 [host down]
Nmap scan report for 192.128.0.18 [host down]
Nmap scan report for 192.128.0.19 [host down]
Nmap scan report for 192.128.0.20 [host down]
Nmap scan report for 192.128.0.21 [host down]
Nmap scan report for 192.128.0.22 [host down]
Nmap scan report for 192.128.0.23 [host down]
Nmap scan report for 192.128.0.24 [host down]
Nmap scan report for 192.128.0.25 [host down]
Nmap scan report for 192.128.0.26 [host down]
Nmap scan report for 192.128.0.27 [host down]
Nmap scan report for 192.128.0.28 [host down]
Nmap scan report for 192.128.0.29 [host down]
Nmap scan report for 192.128.0.30 [host down]
Nmap scan report for 192.128.0.31 [host down]
Nmap scan report for 192.128.0.32 [host down]
Nmap scan report for 192.128.0.33 [host down]
Nmap scan report for 192.128.0.34 [host down]
Nmap scan report for 192.128.0.35 [host down]
Nmap scan report for 192.128.0.36 [host down]
Nmap scan report for 192.128.0.37 [host down]
Nmap scan report for 192.128.0.38 [host down]
Nmap scan report for 192.128.0.39 [host down]
Nmap scan report for 192.128.0.40 [host down]
Nmap scan report for 192.128.0.41 [host down]
Nmap scan report for 192.128.0.42 [host down]
Nmap scan report for 192.128.0.43 [host down]
Nmap scan report for 192.128.0.44 [host down]
Nmap scan report for 192.128.0.45 [host down]
Nmap scan report for 192.128.0.46 [host down]
Nmap scan report for 192.128.0.47 [host down]
Nmap scan report for 192.128.0.48 [host down]
Nmap scan report for 192.128.0.49 [host down]
Nmap scan report for 192.128.0.50 [host down]
Nmap scan report for 192.128.0.51 [host down]
Nmap scan report for 192.128.0.52 [host down]
Nmap scan report for 192.128.0.53 [host down]
Nmap scan report for 192.128.0.54 [host down]
Nmap scan report for 192.128.0.55 [host down]
Nmap scan report for 192.128.0.56 [host down]
Nmap scan report for 192.128.0.57 [host down]
Nmap scan report for 192.128.0.58 [host down]
Nmap scan report for 192.128.0.59 [host down]
Nmap scan report for 192.128.0.60 [host down]
Nmap scan report for 192.128.0.61 [host down]
Nmap scan report for 192.128.0.62 [host down]
Nmap scan report for 192.128.0.63 [host down]
Nmap scan report for 192.128.0.64 [host down]
Nmap scan report for 192.128.0.65 [host down]
Nmap scan report for 192.128.0.66 [host down]
Nmap scan report for 192.128.0.67 [host down]
Nmap scan report for 192.128.0.68 [host down]
Nmap scan report for 192.128.0.69 [host down]
Nmap scan report for 192.128.0.70 [host down]
Nmap scan report for 192.128.0.71 [host down]
Nmap scan report for 192.128.0.72 [host down]
Nmap scan report for 192.128.0.73 [host down]
Nmap scan report for 192.128.0.74 [host down]
Nmap scan report for 192.128.0.75 [host down]
Nmap scan report for 192.128.0.76 [host down]
Nmap scan report for 192.128.0.77 [host down]
Nmap scan report for 192.128.0.78 [host down]
Nmap scan report for 192.128.0.79 [host down]
Nmap scan report for 192.128.0.80 [host down]
Nmap scan report for 192.128.0.81 [host down]
Nmap scan report for 192.128.0.82 [host down]
Nmap scan report for 192.128.0.83 [host down]
Nmap scan report for 192.128.0.84 [host down]
Nmap scan report for 192.128.0.85 [host down]
Nmap scan report for 192.128.0.86 [host down]
Nmap scan report for 192.128.0.87 [host down]
Nmap scan report for 192.128.0.88 [host down]
Nmap scan report for 192.128.0.89 [host down]
Nmap scan report for 192.128.0.90 [host down]
Nmap scan report for 192.128.0.91 [host down]
Nmap scan report for 192.128.0.92 [host down]
Nmap scan report for 192.128.0.93 [host down]
Nmap scan report for 192.128.0.94 [host down]
Nmap scan report for 192.128.0.95 [host down]
Nmap scan report for 192.128.0.96 [host down]
Nmap scan report for 192.128.0.97 [host down]
Nmap scan report for 192.128.0.98 [host down]
Nmap scan report for 192.128.0.99 [host down]
Nmap scan report for 192.128.0.100 [host down]
Nmap scan report for 192.128.0.101 [host down]
Nmap scan report for 192.128.0.102 [host down]
Nmap scan report for 192.128.0.103 [host down]
Nmap scan report for 192.128.0.104 [host down]
Nmap scan report for 192.128.0.105 [host down]
Nmap scan report for 192.128.0.106 [host down]
Nmap scan report for 192.128.0.107 [host down]
Nmap scan report for 192.128.0.108 [host down]
Nmap scan report for 192.128.0.109 [host down]
Nmap scan report for 192.128.0.110 [host down]
Nmap scan report for 192.128.0.111 [host down]
Nmap scan report for 192.128.0.112 [host down]
Nmap scan report for 192.128.0.113 [host down]
Nmap scan report for 192.128.0.114 [host down]
Nmap scan report for 192.128.0.115 [host down]
Nmap scan report for 192.128.0.116 [host down]
Nmap scan report for 192.128.0.117 [host down]
Nmap scan report for 192.128.0.118 [host down]
Nmap scan report for 192.128.0.119 [host down]
Nmap scan report for 192.128.0.120 [host down]
Nmap scan report for 192.128.0.121 [host down]
Nmap scan report for 192.128.0.122 [host down]
Nmap scan report for 192.128.0.123 [host down]
Nmap scan report for 192.128.0.124 [host down]
Nmap scan report for 192.128.0.125 [host down]
Nmap scan report for 192.128.0.126 [host down]
Nmap scan report for 192.128.0.127 [host down]
Nmap scan report for 192.128.0.128 [host down]
Nmap scan report for 192.128.0.129 [host down]
Nmap scan report for 192.128.0.130 [host down]
Nmap scan report for 192.128.0.131 [host down]
Nmap scan report for 192.128.0.132 [host down]
Nmap scan report for 192.128.0.133 [host down]
Nmap scan report for 192.128.0.134 [host down]
Nmap scan report for 192.128.0.135 [host down]
Nmap scan report for 192.128.0.136 [host down]
Nmap scan report for 192.128.0.137 [host down]
Nmap scan report for 192.128.0.138 [host down]
Nmap scan report for 192.128.0.139 [host down]
Nmap scan report for 192.128.0.140 [host down]
Nmap scan report for 192.128.0.141 [host down]
Nmap scan report for 192.128.0.142 [host down]
Nmap scan report for 192.128.0.143 [host down]
Nmap scan report for 192.128.0.144 [host down]
Nmap scan report for 192.128.0.145 [host down]
Nmap scan report for 192.128.0.146 [host down]
Nmap scan report for 192.128.0.147 [host down]
Nmap scan report for 192.128.0.148 [host down]
Nmap scan report for 192.128.0.149 [host down]
Nmap scan report for 192.128.0.150 [host down]
Nmap scan report for 192.128.0.151 [host down]
Nmap scan report for 192.128.0.152 [host down]
Nmap scan report for 192.128.0.153 [host down]
Nmap scan report for 192.128.0.154 [host down]
Nmap scan report for 192.128.0.155 [host down]
Nmap scan report for 192.128.0.156 [host down]
Nmap scan report for 192.128.0.157 [host down]
Nmap scan report for 192.128.0.158 [host down]
Nmap scan report for 192.128.0.159 [host down]
Nmap scan report for 192.128.0.160 [host down]
Nmap scan report for 192.128.0.161 [host down]
Nmap scan report for 192.128.0.162 [host down]
Nmap scan report for 192.128.0.163 [host down]
Nmap scan report for 192.128.0.164 [host down]
Nmap scan report for 192.128.0.165 [host down]
Nmap scan report for 192.128.0.166 [host down]
Nmap scan report for 192.128.0.167 [host down]
Nmap scan report for 192.128.0.168 [host down]
Nmap scan report for 192.128.0.169 [host down]
Nmap scan report for 192.128.0.170 [host down]
Nmap scan report for 192.128.0.171 [host down]
Nmap scan report for 192.128.0.172 [host down]
Nmap scan report for 192.128.0.173 [host down]
Nmap scan report for 192.128.0.174 [host down]
Nmap scan report for 192.128.0.175 [host down]
Nmap scan report for 192.128.0.176 [host down]
Nmap scan report for 192.128.0.177 [host down]
Nmap scan report for 192.128.0.178 [host down]
Nmap scan report for 192.128.0.179 [host down]
Nmap scan report for 192.128.0.180 [host down]
Nmap scan report for 192.128.0.181 [host down]
Nmap scan report for 192.128.0.182 [host down]
Nmap scan report for 192.128.0.183 [host down]
Nmap scan report for 192.128.0.184 [host down]
Nmap scan report for 192.128.0.185 [host down]
Nmap scan report for 192.128.0.186 [host down]
Nmap scan report for 192.128.0.187 [host down]
Nmap scan report for 192.128.0.188 [host down]
Nmap scan report for 192.128.0.189 [host down]
Nmap scan report for 192.128.0.190 [host down]
Nmap scan report for 192.128.0.191 [host down]
Nmap scan report for 192.128.0.192 [host down]
Nmap scan report for 192.128.0.193 [host down]
Nmap scan report for 192.128.0.194 [host down]
Nmap scan report for 192.128.0.195 [host down]
Nmap scan report for 192.128.0.196 [host down]
Nmap scan report for 192.128.0.197 [host down]
Nmap scan report for 192.128.0.198 [host down]
Nmap scan report for 192.128.0.199 [host down]
Nmap scan report for 192.128.0.200 [host down]
Nmap scan report for 192.128.0.201 [host down]
Nmap scan report for 192.128.0.202 [host down]
Nmap scan report for 192.128.0.203 [host down]
Nmap scan report for 192.128.0.204 [host down]
Nmap scan report for 192.128.0.205 [host down]
Nmap scan report for 192.128.0.206 [host down]
Nmap scan report for 192.128.0.207 [host down]
Nmap scan report for 192.128.0.208 [host down]
Nmap scan report for 192.128.0.209 [host down]
Nmap scan report for 192.128.0.210 [host down]
Nmap scan report for 192.128.0.211 [host down]
Nmap scan report for 192.128.0.212 [host down]
Nmap scan report for 192.128.0.213 [host down]
Nmap scan report for 192.128.0.214 [host down]
Nmap scan report for 192.128.0.215 [host down]
Nmap scan report for 192.128.0.216 [host down]
Nmap scan report for 192.128.0.217 [host down]
Nmap scan report for 192.128.0.218 [host down]
Nmap scan report for 192.128.0.219 [host down]
Nmap scan report for 192.128.0.220 [host down]
Nmap scan report for 192.128.0.221 [host down]
Nmap scan report for 192.128.0.222 [host down]
Nmap scan report for 192.128.0.223 [host down]
Nmap scan report for 192.128.0.224 [host down]
Nmap scan report for 192.128.0.225 [host down]
Nmap scan report for 192.128.0.226 [host down]
Nmap scan report for 192.128.0.227 [host down]
Nmap scan report for 192.128.0.228 [host down]
Nmap scan report for 192.128.0.229 [host down]
Nmap scan report for 192.128.0.230 [host down]
Nmap scan report for 192.128.0.231 [host down]
Nmap scan report for 192.128.0.232 [host down]
Nmap scan report for 192.128.0.233 [host down]
Nmap scan report for 192.128.0.234 [host down]
Nmap scan report for 192.128.0.235 [host down]
Nmap scan report for 192.128.0.236 [host down]
Nmap scan report for 192.128.0.237 [host down]
Nmap scan report for 192.128.0.238 [host down]
Nmap scan report for 192.128.0.239 [host down]
Nmap scan report for 192.128.0.240 [host down]
Nmap scan report for 192.128.0.241 [host down]
Nmap scan report for 192.128.0.242 [host down]
Nmap scan report for 192.128.0.243 [host down]
Nmap scan report for 192.128.0.244 [host down]
Nmap scan report for 192.128.0.245 [host down]
Nmap scan report for 192.128.0.246 [host down]
Nmap scan report for 192.128.0.247 [host down]
Nmap scan report for 192.128.0.248 [host down]
Nmap scan report for 192.128.0.249 [host down]
Nmap scan report for 192.128.0.250 [host down]
Nmap scan report for 192.128.0.251 [host down]
Nmap scan report for 192.128.0.252 [host down]
Nmap scan report for 192.128.0.253 [host down]
Nmap scan report for 192.128.0.254 [host down]
Nmap scan report for 192.128.0.255 [host down]
Nmap scan report for 192.128.1.0 [host down]
Nmap scan report for 192.128.1.1 [host down]
Nmap scan report for 192.128.1.2 [host down]
Nmap scan report for 192.128.1.3 [host down]
Nmap scan report for 192.128.1.4 [host down]
Nmap scan report for 192.128.1.5 [host down]
Nmap scan report for 192.128.1.6 [host down]
Nmap scan report for 192.128.1.7 [host down]
Nmap scan report for 192.128.1.8 [host down]
Nmap scan report for 192.128.1.9 [host down]
Nmap scan report for 192.128.1.10 [host down]
Nmap scan report for 192.128.1.11 [host down]
Nmap scan report for 192.128.1.12 [host down]
Nmap scan report for 192.128.1.13 [host down]
Nmap scan report for 192.128.1.14 [host down]
Nmap scan report for 192.128.1.15 [host down]
Nmap scan report for 192.128.1.16 [host down]
Nmap scan report for 192.128.1.17 [host down]
Nmap scan report for 192.128.1.18 [host down]
Nmap scan report for 192.128.1.19 [host down]
Nmap scan report for 192.128.1.20 [host down]
Nmap scan report for 192.128.1.21 [host down]
Nmap scan report for 192.128.1.22 [host down]
Nmap scan report for 192.128.1.23 [host down]
Nmap scan report for 192.128.1.24 [host down]
Nmap scan report for 192.128.1.25 [host down]
Nmap scan report for 192.128.1.26 [host down]
Nmap scan report for 192.128.1.27 [host down]
Nmap scan report for 192.128.1.28 [host down]
Nmap scan report for 192.128.1.29 [host down]
Nmap scan report for 192.128.1.30 [host down]
Nmap scan report for 192.128.1.31 [host down]
Nmap scan report for 192.128.1.32 [host down]
Nmap scan report for 192.128.1.33 [host down]
Nmap scan report for 192.128.1.34 [host down]
Nmap scan report for 192.128.1.35 [host down]
Nmap scan report for 192.128.1.36 [host down]
Nmap scan report for 192.128.1.37 [host down]
Nmap scan report for 192.128.1.38 [host down]
Nmap scan report for 192.128.1.39 [host down]
Nmap scan report for 192.128.1.40 [host down]
Nmap scan report for 192.128.1.41 [host down]
Nmap scan report for 192.128.1.42 [host down]
Nmap scan report for 192.128.1.43 [host down]
Nmap scan report for 192.128.1.44 [host down]
Nmap scan report for 192.128.1.45 [host down]
Nmap scan report for 192.128.1.46 [host down]
Nmap scan report for 192.128.1.47 [host down]
Nmap scan report for 192.128.1.48 [host down]
Nmap scan report for 192.128.1.49 [host down]
Nmap scan report for 192.128.1.50 [host down]
Nmap scan report for 192.128.1.51 [host down]
Nmap scan report for 192.128.1.52 [host down]
Nmap scan report for 192.128.1.53 [host down]
Nmap scan report for 192.128.1.54 [host down]
Nmap scan report for 192.128.1.55 [host down]
Nmap scan report for 192.128.1.56 [host down]
Nmap scan report for 192.128.1.57 [host down]
Nmap scan report for 192.128.1.58 [host down]
Nmap scan report for 192.128.1.59 [host down]
Nmap scan report for 192.128.1.60 [host down]
Nmap scan report for 192.128.1.61 [host down]
Nmap scan report for 192.128.1.62 [host down]
Nmap scan report for 192.128.1.63 [host down]
Nmap scan report for 192.128.1.64 [host down]
Nmap scan report for 192.128.1.65 [host down]
Nmap scan report for 192.128.1.66 [host down]
Nmap scan report for 192.128.1.67 [host down]
Nmap scan report for 192.128.1.68 [host down]
Nmap scan report for 192.128.1.69 [host down]
Nmap scan report for 192.128.1.70 [host down]
Nmap scan report for 192.128.1.71 [host down]
Nmap scan report for 192.128.1.72 [host down]
Nmap scan report for 192.128.1.73 [host down]
Nmap scan report for 192.128.1.74 [host down]
Nmap scan report for 192.128.1.75 [host down]
Nmap scan report for 192.128.1.76 [host down]
Nmap scan report for 192.128.1.77 [host down]
Nmap scan report for 192.128.1.78 [host down]
Nmap scan report for 192.128.1.79 [host down]
Nmap scan report for 192.128.1.80 [host down]
Nmap scan report for 192.128.1.81 [host down]
Nmap scan report for 192.128.1.82 [host down]
Nmap scan report for 192.128.1.83 [host down]
Nmap scan report for 192.128.1.84 [host down]
Nmap scan report for 192.128.1.85 [host down]
Nmap scan report for 192.128.1.86 [host down]
Nmap scan report for 192.128.1.87 [host down]
Nmap scan report for 192.128.1.88 [host down]
Nmap scan report for 192.128.1.89 [host down]
Nmap scan report for 192.128.1.90 [host down]
Nmap scan report for 192.128.1.91 [host down]
Nmap scan report for 192.128.1.92 [host down]
Nmap scan report for 192.128.1.93 [host down]
Nmap scan report for 192.128.1.94 [host down]
Nmap scan report for 192.128.1.95 [host down]
Nmap scan report for 192.128.1.96 [host down]
Nmap scan report for 192.128.1.97 [host down]
Nmap scan report for 192.128.1.98 [host down]
Nmap scan report for 192.128.1.99 [host down]
Nmap scan report for 192.128.1.100 [host down]
Nmap scan report for 192.128.1.101 [host down]
Nmap scan report for 192.128.1.102 [host down]
Nmap scan report for 192.128.1.103 [host down]
Nmap scan report for 192.128.1.104 [host down]
Nmap scan report for 192.128.1.105 [host down]
Nmap scan report for 192.128.1.106 [host down]
Nmap scan report for 192.128.1.107 [host down]
Nmap scan report for 192.128.1.108 [host down]
Nmap scan report for 192.128.1.109 [host down]
Nmap scan report for 192.128.1.110 [host down]
Nmap scan report for 192.128.1.111 [host down]
Nmap scan report for 192.128.1.112 [host down]

ecc ecc ecc

riguardo ngrep il comando non sembra funzionare come puoi vedere da te:
Codice: Seleziona tutto
# ngrep -d any port XX
interface: any
pcap compile: unknown port 'XX'


Codice: Seleziona tutto
# ngrep -d wlan1 port XX
interface: wlan1 (192.168.1.0/255.255.255.0)
pcap compile: unknown port 'XX'
Se insisti e persisiti raggiungi e conquisti!|||Non tutto il male viene per nuocere!|||Due cose sono infinite: l'universo e la stupidità umana, ma riguardo l'universo ho ancora dei dubbi...(Albert Einstein )|||Umuntu ngumuntu ngabantu, "io sono ciò che sono in virtù di ciò che tutti siamo".
Avatar utente
$nake Maschile
Entusiasta Emergente
Entusiasta Emergente
 
Messaggi: 2092
Iscrizione: febbraio 2012
Località: Italia
Distribuzione: Ubuntu 14.04 LTS x86_64
Desktop: Ubuntu "3D"

Re: Configurazione eth0

Messaggioda isuaami » mercoledì 2 maggio 2012, 22:27

per ngrep devi sostituire XX con la porta che vuoi controllare
Codice: Seleziona tutto
sudo ngrep -d any port 80

oppure
Codice: Seleziona tutto
sudo ngrep -d any port 25

etc..

cosa ti riporta
Codice: Seleziona tutto
sudo nmap -sS -O -v 192.168.1.1

Codice: Seleziona tutto
sudo nmap -sS -O -v 192.168.1.1/10
| Xfce | |Thunar| | Slackware |

Cresciuto con una nonna che i soldi te li metteva in mano con quel fare a metà tra una spia della Stasi e lo spacciatore di fumo al parco.
Avatar utente
isuaami Non specificato
Imperturbabile Insigne
Imperturbabile Insigne
 
Messaggi: 2814
Iscrizione: aprile 2011
Località: Terra

Re: Configurazione eth0

Messaggioda $nake » mercoledì 2 maggio 2012, 22:37

Ecco il risultato di nmap:
Codice: Seleziona tutto
nmap -sS -O -v 192.168.1.1

Starting Nmap 5.21 ( http://nmap.org ) at 2012-05-02 23:33 CEST
Initiating ARP Ping Scan at 23:33
Scanning 192.168.1.1 [1 port]
Completed ARP Ping Scan at 23:33, 0.21s elapsed (1 total hosts)
Nmap scan report for 192.168.1.1 [host down]
Read data files from: /usr/share/nmap
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 0.47 seconds
           Raw packets sent: 2 (84B) | Rcvd: 0 (0B)
root@snake-pc:/home/snake/Scrivania# nmap -sS -O -v -PN  192.168.1.1

Starting Nmap 5.21 ( http://nmap.org ) at 2012-05-02 23:33 CEST
Initiating ARP Ping Scan at 23:33
Scanning 192.168.1.1 [1 port]
Completed ARP Ping Scan at 23:33, 0.20s elapsed (1 total hosts)
Nmap scan report for 192.168.1.1 [host down]
Read data files from: /usr/share/nmap
Nmap done: 1 IP address (0 hosts up) scanned in 0.57 seconds
           Raw packets sent: 2 (84B) | Rcvd: 0 (0B)

Poi come diceva in consolle ho provato a usare anche -PN ma niente come puoi vedere.


Per ngrep scusa la distrazione ma sono un po stressato ubuntu non va come vorrei....
Vorrei chiederti con l'opzione "any" sta a significare sniffa qualsiasi ip della mia rete sotto quella porta?O cosa esattamente?
Se insisti e persisiti raggiungi e conquisti!|||Non tutto il male viene per nuocere!|||Due cose sono infinite: l'universo e la stupidità umana, ma riguardo l'universo ho ancora dei dubbi...(Albert Einstein )|||Umuntu ngumuntu ngabantu, "io sono ciò che sono in virtù di ciò che tutti siamo".
Avatar utente
$nake Maschile
Entusiasta Emergente
Entusiasta Emergente
 
Messaggi: 2092
Iscrizione: febbraio 2012
Località: Italia
Distribuzione: Ubuntu 14.04 LTS x86_64
Desktop: Ubuntu "3D"

Re: Configurazione eth0

Messaggioda isuaami » mercoledì 2 maggio 2012, 22:39

any=qualsiasi interfaccia

posta
Codice: Seleziona tutto
ip addr
| Xfce | |Thunar| | Slackware |

Cresciuto con una nonna che i soldi te li metteva in mano con quel fare a metà tra una spia della Stasi e lo spacciatore di fumo al parco.
Avatar utente
isuaami Non specificato
Imperturbabile Insigne
Imperturbabile Insigne
 
Messaggi: 2814
Iscrizione: aprile 2011
Località: Terra

Re: Configurazione eth0

Messaggioda $nake » mercoledì 2 maggio 2012, 22:41

Ottimo,credo di aver capito tutto,tranne una cosa,la cosa fondamentale,eth0.viene sostituita dalle altre interfaccie wireless se non son collegato via cavo?
Quello che vorrei sapere è se wlan0 sarebbe l'eth0 del wireless,in parole spiccie...Scusa per le troppe domande,ma ad ogni riceca leggo eth0 è la rete eternet e stop,e cosi non si capisce mai a cosa serva veramente.
Se insisti e persisiti raggiungi e conquisti!|||Non tutto il male viene per nuocere!|||Due cose sono infinite: l'universo e la stupidità umana, ma riguardo l'universo ho ancora dei dubbi...(Albert Einstein )|||Umuntu ngumuntu ngabantu, "io sono ciò che sono in virtù di ciò che tutti siamo".
Avatar utente
$nake Maschile
Entusiasta Emergente
Entusiasta Emergente
 
Messaggi: 2092
Iscrizione: febbraio 2012
Località: Italia
Distribuzione: Ubuntu 14.04 LTS x86_64
Desktop: Ubuntu "3D"

Re: Configurazione eth0

Messaggioda $nake » mercoledì 2 maggio 2012, 22:47

Codice: Seleziona tutto
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 70:5a:b6:d4:a4:94 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.0/24 brd 192.168.1.255 scope global eth0
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000
    link/ether 70:f1:a1:4e:c8:82 brd ff:ff:ff:ff:ff:ff
4: wlan1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:e0:4c:63:23:12 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.5/24 brd 192.168.1.255 scope global wlan1
    inet6 fe80::2e0:4cff:fe63:2312/64 scope link
       valid_lft forever preferred_lft forever
Se insisti e persisiti raggiungi e conquisti!|||Non tutto il male viene per nuocere!|||Due cose sono infinite: l'universo e la stupidità umana, ma riguardo l'universo ho ancora dei dubbi...(Albert Einstein )|||Umuntu ngumuntu ngabantu, "io sono ciò che sono in virtù di ciò che tutti siamo".
Avatar utente
$nake Maschile
Entusiasta Emergente
Entusiasta Emergente
 
Messaggi: 2092
Iscrizione: febbraio 2012
Località: Italia
Distribuzione: Ubuntu 14.04 LTS x86_64
Desktop: Ubuntu "3D"

Re: Configurazione eth0

Messaggioda isuaami » mercoledì 2 maggio 2012, 23:06

eth0 è la tua scheda di rete con cui ti connetti via cavo
wlan0 e wlan1 sono quelle wireless
non vengono sostituite quelle che non usi mantengono i propri nomi una volta che sono stati assegnati dal sistema
cosa ti risponde
Codice: Seleziona tutto
ping -c 3 192.168.1.1

Codice: Seleziona tutto
ping -c 3 192.168.1.0

Codice: Seleziona tutto
ping -c 3 192.168.1.145
| Xfce | |Thunar| | Slackware |

Cresciuto con una nonna che i soldi te li metteva in mano con quel fare a metà tra una spia della Stasi e lo spacciatore di fumo al parco.
Avatar utente
isuaami Non specificato
Imperturbabile Insigne
Imperturbabile Insigne
 
Messaggi: 2814
Iscrizione: aprile 2011
Località: Terra

Re: Configurazione eth0

Messaggioda $nake » mercoledì 2 maggio 2012, 23:19

isuaami ha scritto:eth0 è la tua scheda di rete con cui ti connetti via cavo
wlan0 e wlan1 sono quelle wireless
non vengono sostituite quelle che non usi mantengono i propri nomi una volta che sono stati assegnati dal sistema
cosa ti risponde
Codice: Seleziona tutto
ping -c 3 192.168.1.1

Codice: Seleziona tutto
ping -c 3 192.168.1.0

Codice: Seleziona tutto
ping -c 3 192.168.1.145


Guarda,ho fatto di meglio,era come ricordavo,ho riavviato la scheda di rete,in modo che eth0 si "deconfigurasse",ora non avendo ip se do un bel nmap guarda cosa avviene:
Codice: Seleziona tutto
nmap -v -sP 192.168.1.1-15

Starting Nmap 5.21 ( http://nmap.org ) at 2012-05-03 00:15 CEST
Initiating ARP Ping Scan at 00:15
Scanning 4 hosts [1 port/host]
Completed ARP Ping Scan at 00:15, 0.30s elapsed (4 total hosts)
Initiating Parallel DNS resolution of 4 hosts. at 00:15
Completed Parallel DNS resolution of 4 hosts. at 00:15, 0.06s elapsed
Nmap scan report for host-modem (192.168.1.1)
Host is up (0.014s latency).
MAC Address: 00:17:12:B3:4Q:22 (azienda S.p.A.)
Nmap scan report for 192.168.1.2 [host down]
Nmap scan report for host-oscurato (192.168.1.3)
Host is up (0.015s latency).
MAC Address: 00:15:88:2G:58:10 (Intel Corporate)
Nmap scan report for 192.168.1.4 [host down]
Initiating Parallel DNS resolution of 1 host. at 00:15
Completed Parallel DNS resolution of 1 host. at 00:15, 0.03s elapsed
Nmap scan report for host-oscurato (192.168.1.5)
Host is up.
Initiating ARP Ping Scan at 00:15
Scanning 10 hosts [1 port/host]
Completed ARP Ping Scan at 00:15, 0.26s elapsed (10 total hosts)
Nmap scan report for 192.168.1.6 [host down]
Nmap scan report for 192.168.1.7 [host down]
Nmap scan report for 192.168.1.8 [host down]
Nmap scan report for 192.168.1.9 [host down]
Nmap scan report for 192.168.1.10 [host down]
Nmap scan report for 192.168.1.11 [host down]
Nmap scan report for 192.168.1.12 [host down]
Nmap scan report for 192.168.1.13 [host down]
Nmap scan report for 192.168.1.14 [host down]
Nmap scan report for 192.168.1.15 [host down]
Read data files from: /usr/share/nmap
Nmap done: 15 IP addresses (3 hosts up) scanned in 0.74 seconds
           Raw packets sent: 26 (1092B) | Rcvd: 2 (84B)


EDIT:come dicevo prima,era sicuramente eth0 che non lasciava lavorare nmap,ora non capisco perchè gli sniffer sono configurati di defolut per usare eth0,se io alla fine devo usare wlan1 per monitorare le porte...Mah..Comunque mi sei stato di aiuto,anche se ancora non ho ben capito l'uso di eth0 per chi si connetta via wi-fi.
Se insisti e persisiti raggiungi e conquisti!|||Non tutto il male viene per nuocere!|||Due cose sono infinite: l'universo e la stupidità umana, ma riguardo l'universo ho ancora dei dubbi...(Albert Einstein )|||Umuntu ngumuntu ngabantu, "io sono ciò che sono in virtù di ciò che tutti siamo".
Avatar utente
$nake Maschile
Entusiasta Emergente
Entusiasta Emergente
 
Messaggi: 2092
Iscrizione: febbraio 2012
Località: Italia
Distribuzione: Ubuntu 14.04 LTS x86_64
Desktop: Ubuntu "3D"

Re: Configurazione eth0

Messaggioda isuaami » giovedì 3 maggio 2012, 0:26

ho capito che non avevo capito il senso della domanda
usa queste
Codice: Seleziona tutto
nmap 192.168.1.-15

Codice: Seleziona tutto
nmap 192.168.1.1-15

scan 192.168.1.1 e 192.168.1.15
meglio (opzioni messe a caso senza desiserio di particolare e mirata informazione, per farti provare)
Codice: Seleziona tutto
sudo nmap -sS -sV -O -T Aggressive 192.168.1.1-15 -v
 

sempre scan ma più dettagliato

per quanto riguarda l' interfaccia se vuoi usarne un' altra devi indicarla a nmap con l' opzione -e
Codice: Seleziona tutto
sudo nmap -e eth0 192.168.1.-15

ovviamente deve essere connessa
| Xfce | |Thunar| | Slackware |

Cresciuto con una nonna che i soldi te li metteva in mano con quel fare a metà tra una spia della Stasi e lo spacciatore di fumo al parco.
Avatar utente
isuaami Non specificato
Imperturbabile Insigne
Imperturbabile Insigne
 
Messaggi: 2814
Iscrizione: aprile 2011
Località: Terra

Re: Configurazione eth0

Messaggioda $nake » giovedì 3 maggio 2012, 13:25

Grazie,credo che alla fine comunque fondamentalmente eth0 sia un interfaccia di rete,che se ci si collega in wireless wlan0 e wlan2 e wlann2 sostituiscono la funzione di eth0 stesso.

Snake.
Se insisti e persisiti raggiungi e conquisti!|||Non tutto il male viene per nuocere!|||Due cose sono infinite: l'universo e la stupidità umana, ma riguardo l'universo ho ancora dei dubbi...(Albert Einstein )|||Umuntu ngumuntu ngabantu, "io sono ciò che sono in virtù di ciò che tutti siamo".
Avatar utente
$nake Maschile
Entusiasta Emergente
Entusiasta Emergente
 
Messaggi: 2092
Iscrizione: febbraio 2012
Località: Italia
Distribuzione: Ubuntu 14.04 LTS x86_64
Desktop: Ubuntu "3D"

Precedente

Torna a Connessione e configurazione delle reti

Chi c’è in linea

Visualizzano questa sezione: 0 utenti registrati e 5 ospiti