Hola empanada, con todas las herramientas que me diste (y despues de formatear para hacer una particion fat32)he estado probando con algun éxito, pero, tovavia queda un pero....
Para empezar he creido que el no estar asociado no deberia ser muy bueno:
root@core:~# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 802.11b/g link.. ESSID:"tele2"
Mode:Managed Channel=11 Access Point: Not-Associated
Bit Rate=11 Mb/s
Retry:on Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
sit0 no wireless extensions.
#AQUI TAMBIEN HICE UN FILTRADO POR MAC EN EL ROUTER (con lo cual el emule, bajo W2, se puso un poco mas contento, dejo de fluctuar la estadistica de subidas, es un buen termometro).
Despues intente fijar la mac del router a wlan0
:
root@core:~# iwconfig wlan0 ap 00:03:6F:78:22:0C
root@core:~# iwconfig
lo no wireless extensions.
wlan0 802.11b/g link.. ESSID:"tele2"
Mode:Managed Channel=11 Access Point: 00:03:6F:78:22:0C
Bit Rate=11 Mb/s
Retry:on Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
sit0 no wireless extensions.
root@core:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:AF:01:F5:8C
inet addr:192.168.0.67 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:148 errors:0 dropped:685 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8330 (8.1 KiB) TX bytes:0 (0.0 b)
root@core:~# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:03:6F:78:22:0C
ESSID:"tele2"
Protocol:IEEE 802.11bg
Mode:Master
Channel:11
Encryption key:off
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality:13 Signal level:0 Noise level:11
Extra: Last beacon: 9ms ago
Cell 02 - Address: 00:12:A9:11:EB:E6
ESSID:"3Com"
Protocol:IEEE 802.11bg
Mode:Master
Channel:11
Encryption key:off
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 22 24 36 48 54
Quality:13 Signal level:0 Noise level:18
Extra: Last beacon: 326ms ago
root@core:~# gedit /etc/network/interfaces
(gedit:5578): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
# CONTENIDO DE /interfaces EN ESE MOMENTO
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
#iface wlan0 inet dhcp
iface wlan0 inet static
address 192.168.0.67
netmask 255.255.255.0
gateway 192.168.0.1
wireless-essid tele2
wireless-bssid 00:03:6F:78:22:0C
wireless-channel 11
wireless-mode managed
root@core:~# iwlist wlan0 scan
#AHORA NO SALE LA OTRA RED (3Com) sera por el filtrado MAC
wlan0 Scan completed :
Cell 01 - Address: 00:03:6F:78:22:0C
ESSID:"tele2"
Protocol:IEEE 802.11bg
Mode:Master
Channel:8
Encryption key:off
Bit Rates:54 Mb/s
Extra: Rates (Mb/s): 1 2 5.5 6 9 11 12 18 24 36 48 54
Quality:14 Signal level:0 Noise level:7
Extra: Last beacon: 17ms ago
#CAMBIO EL CANAL EN LA CONF. WEB DEL ROUTER DE 11 AL 8 Y PARRECE QUE LO CAMBIA AUTAMATICO EN EL “IWCONFIG”
root@core:~# iwconfig
lo no wireless extensions.
wlan0 802.11b/g link.. ESSID:"tele2"
Mode:Managed Channel=8 Access Point: 00:03:6F:78:22:0C
Bit Rate=11 Mb/s
Retry:on Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
sit0 no wireless extensions.
#MANUALMENTE NO DEJA
root@core:~# iwconfig wlan0 Channel 8
Error : unrecognised wireless request "Channel"
root@core:~# man iwconfig
Dando formato a iwconfig(8); aguarde, por favor...
root@core:~# iwlist wlan0 ap
# ESTA SALIDA NO SE QUE SIGNIFICA
wlan0 Interface doesn't have a list of Peers/Access-Points
root@core:~# man iwconfig
Dando formato a iwconfig(8); aguarde, por favor...
root@core:~# psaux
bash: psaux: orden no encontrada
root@core:~# ps
PID TTY TIME CMD
4971 pts/0 00:00:00 su
4972 pts/0 00:00:00 bash
7152 pts/0 00:00:00 ps
root@core:~# ps -h
#:D :D:D ¡NOVATO /NOVATO!
root@core:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1632 540 ? Ss 02:55 0:01 /sbin/init spla
root 2 0.0 0.0 0 0 ? S 02:55 0:00 [migration/0]root 5688 0.0 0.1 3932 1756 pts/1 S+ 03:33 0:00 bash
dhcp 5727 0.0 0.0 2396 740 ? Ss 03:34 0:00 dhclient wlan0
jaleos 7083 0.3 2.9 114124 30832 ? Sl 04:43 0:00 /usr/lib/firefo
root 7169 0.0 0.0 2476 984 pts/0 R+ 04:48 0:00 ps aux
#SALIAN MUCHAS MAS PERO LAS HE QUITADO. MATO EL DHCP 5727
root@core:~# kill 5727
root@core:~# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1632 540 ? Ss 02:55 0:01 /sbin/init splash
root 2 0.0 0.0 0 0 ? S 02:55 0:00 [migration/0]
root 5688 0.0 0.1 3932 1756 pts/1 S+ 03:33 0:00 bash
jaleos 7083 0.2 2.9 114124 30832 ? Sl 04:43 0:00 /usr/lib/firefox/fi
root 7208 0.0 0.0 2476 984 pts/0 R+ 04:50 0:00 ps aux
# MATADO EL DHCP
root@core:~# iwconfig
lo no wireless extensions.
wlan0 802.11b/g link.. ESSID:"tele2"
Mode:Managed Channel=8 Access Point: 00:03:6F:78:22:0C
Bit Rate=11 Mb/s
Retry:on Fragment thr:off
Encryption key:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
sit0 no wireless extensions.
#POR SI ACASO
root@core:~# iwconfig wlan0 essid tele2
root@core:~# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:15:AF:01:F5:8C
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:583 errors:0 dropped:685 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27810 (27.1 KiB) TX bytes:0 (0.0 b)
root@core:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
#¡VAYA HOMBRE, A CURRAR EN GOOGLE!
root@core:~# ifconfig wlan0 192.168.0.1 netmask 255.255.255.0 up
root@core:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
root@core:~# route add default gw 192.168.0.1
root@core:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0
root@core:~# ping -c1 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=64 time=0.019 ms
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.019/0.019/0.019/0.000 ms
#!EURECAAAAAAA¡
#PERO SIGO SIN PODER NAVEGAR CON FIREFOX
En el router no estoy ni autenticado, ni asociado, ni autorizado, en algun momento de estos si se veia la mac asociada, incluso salio otra desconocida para mi.
#CONTENIDO DE /etc/resolv.conf :
nameserver 80.58.0.97
nameserver 80.58.0.33
192.168.0.1
root@core:~# ping -c1 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=64 time=0.015 ms
--- 192.168.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.015/0.015/0.015/0.000 ms
root@core:/home/jaleos# ping -c1 80.58.0.97
PING 80.58.0.97 (80.58.0.97) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
--- 80.58.0.97 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
root@core:/home/jaleos# ping -c1
www.google.es ping: unknown host
www.google.esHe observado que el resultado de “iwlist” da Mode:Master y de “iwconfig” Mode:Managed son compatibles estos modos? El Rate y la frecuencia influiran? Las que aparecen en W2 son diferentes, con la aplicación que trae la targeta wifi.
A lo mejor es una tonteria pero tengo curiosidad, ¿en que archivo escribe el "iwconfig"?, en /interfaces no verdad?
Bueno, un nuevo atranco. Alguna luz?
Saludos