scan_ssid lo inserisco perche' avevo la rete nascosta...
Indirizzo dell'AP vuoi sapere il MAC o l'IP???
IPTABLES e' vergine... Nel senso che non ho mai toccato nessuna regola... Per sicurezza ho controllato, e sono su ACCEPT...
DHCP disabilitato dal router (Linksys WAG54GS), percio' indirizzi statici:
192.168.0.1 -> server
192.168.0.2 -> fonera (normale, ora mi sto collegando con quella)
192.168.0.3 -> fonera con dd-wrt (WPA non funziona neanche qui)
192.168.0.4 -> fisso con Win XP
192.168.0.5 -> portatile slackware
192.168.0.6 -> portatile Vista (funziona bene anche con WPA2 con la stessa rete che uso con il mio portatile)
192.168.0.9 -> serverino con slackware kernel 2.6.21.5-huge-smp collegato con WIFI USB (anche questa funziona benissimo, modulo zd1211rw)
192.168.0.254 -> router
Ecco gli output:
Codice: Seleziona tutto
root@pippone:/home/sardylan# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:165 errors:0 dropped:0 overruns:0 frame:0
TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15854 (15.4 KiB) TX bytes:15854 (15.4 KiB)
wlan0 Link encap:Ethernet HWaddr 00:13:02:2E:9B:2D
inet addr:192.168.182.11 Bcast:192.168.182.255 Mask:255.255.255.0
inet6 addr: fe80::213:2ff:fe2e:9b2d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2363 errors:0 dropped:0 overruns:0 frame:0
TX packets:2319 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2229621 (2.1 MiB) TX bytes:387226 (378.1 KiB)
wmaster0 Link encap:UNSPEC HWaddr 00-13-02-2E-9B-2D-77-6C-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
root@pippone:/home/sardylan# ifconfig -a
bond0 Link encap:Ethernet HWaddr 00:00:00:00:00:00
BROADCAST MASTER MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
dummy0 Link encap:Ethernet HWaddr 4A:31:BC:C1:FB:4B
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eql Link encap:Serial Line IP
MASTER MTU:576 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:5
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth0 Link encap:Ethernet HWaddr 00:14:22:F2:12:21
inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:18
ifb0 Link encap:Ethernet HWaddr 56:DB:E1:04:1B:69
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ifb1 Link encap:Ethernet HWaddr 4E:97:E8:83:CA:8E
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:165 errors:0 dropped:0 overruns:0 frame:0
TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15854 (15.4 KiB) TX bytes:15854 (15.4 KiB)
wlan0 Link encap:Ethernet HWaddr 00:13:02:2E:9B:2D
inet addr:192.168.182.11 Bcast:192.168.182.255 Mask:255.255.255.0
inet6 addr: fe80::213:2ff:fe2e:9b2d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2363 errors:0 dropped:0 overruns:0 frame:0
TX packets:2319 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2229621 (2.1 MiB) TX bytes:387226 (378.1 KiB)
wmaster0 Link encap:UNSPEC HWaddr 00-13-02-2E-9B-2D-77-6C-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
root@pippone:/home/sardylan# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.182.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.182.1 0.0.0.0 UG 0 0 0 wlan0
root@pippone:/home/sardylan# iptables -L -n -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
root@pippone:/home/sardylan# iptables -L -n -v -t nat
Chain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
root@pippone:/home/sardylan#
Comunque penso che sia tutto a posto per indirizzi, firewall e tutto il resto... E' solo wpa_supplicant... Provo a togliere lo scan_ssid e vediamo...