Re: Configuración de red inalambrica
Saludos de nuevo,
El Jueves, 19 de Julio de 2007 12:00, esclarecio@gmail.com empezó a aporrear
el teclado, y esto fue lo que salio:
> Rub?n G?mez Antol? escribió:
>> [...]
>> Configuración de la red:
>>
>> Punto de acceso inalámbrico: 192.168.0.150
>> Pasarela hacia internet: 192.168.0.1
>> Dirección de la máquina: 192.168.0.4
>>
Supongo que se entendía, pero por si acaso aclaro. El punto de acceso se une
por red ethernet a la dirección 192.168.0.1. O sea esta configurado en la
dirección 192.168.0.150 para utilizarlo como si fuera una pasarela «red
inalambrica» <-> ethernet
>> [...]
Con respecto a tu otro correo:
mac-lobo:~# iwconfig eth2 nickname "mac-lobo" essid XXX key XXXX open
mac-lobo:~# ifconfig eth0 down
mac-lobo:~# ifconfig eth2 192.168.0.4 netmask 255.255.255.0
mac-lobo:~# route add default gw 192.168.0.1
mac-lobo:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
>From 192.168.0.4 icmp_seq=1 Destination Host Unreachable
>From 192.168.0.4 icmp_seq=2 Destination Host Unreachable
>From 192.168.0.4 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5017ms
, pipe 3
mac-lobo:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth2
mac-lobo:~# iwconfig
lo no wireless extensions.
eth2 IEEE 802.11b/g ESSID:"XXXXX" Nickname:"mac-lobo"
Mode:Managed Frequency=2.437 GHz Access Point: 00:11:2F:09:0F:67
Bit Rate=24 Mb/s Tx-Power=15 dBm
RTS thr:off Fragment thr:off
Encryption key:XXXXXXXXXX Security mode:open
Link Quality=41/100 Signal level=-81 dBm Noise level=-69 dBm
Rx invalid nwid:0 Rx invalid crypt:55 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
> Perdona se me pasaba:
>
> La clave la metes en ascii "key s:XXXXXXx" o hexadecimal "key XXXXXX"?
> a mi a veces me falla en ascii y la tengo que meter en hexadecimal
>
En hexadecimal.
> una vez hecho el iwconfig, mira el estado de la interfaz con iwconfig,
> te aparece algo en link quality?
Esto esta respondido arriba.
Si pruebo con una tarjeta pcmcia que tengo observad:
mac-lobo:~# sh oficina_pcmcia.sh
(oficina_pcmcia.sh es gemelo del anterior, cambiando eth2 por wlan0)
mac-lobo:~# 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=64 time=18.0 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=14.5 ms
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 14.549/16.306/18.064/1.762 ms
mac-lobo:~# ping barrapunto.com
mac-lobo:~# iwconfig
[--------- corte ---------]
" Nickname:"mac-lobo".11b ESSID:XXXXXXXXX
Mode:Managed Frequency:2.437 GHz Access Point: 00:11:2F:09:0F:67
Sensitivity=1/3
Retry short limit:8 RTS thr:off Fragment thr:off
Encryption key:XXXXXXXX Security mode:restricted
Power Management:off
" Nickname:"mac-lobo" ESSID:XXXXXXX
Mode:Managed Frequency:2.437 GHz Access Point: 00:11:2F:09:0F:67
Sensitivity=1/3
Retry short limit:8 RTS thr:off Fragment thr:off
Encryption key:XXXXXXXXXXXX Security mode:restricted
Power Management:off
Link Quality=10/70 Signal level=-89 dBm Noise level=-100 dBm
Rx invalid nwid:0 Rx invalid crypt:1 Rx invalid frag:0
Tx excessive retries:10 Invalid misc:108 Missed beacon:0
mac-lobo:~# ifconfig
[----------- corte --------------]
wifi0_ren Link encap:UNSPEC HWaddr
00-60-B3-68-F6-E0-10-0E-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:176 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19076 (18.6 KiB) TX bytes:22423 (21.8 KiB)
Interrupt:53
wlan0 Link encap:Ethernet HWaddr 00:60:B3:68:F6:E0
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::260:b3ff:fe68:f6e0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:74 errors:0 dropped:0 overruns:0 frame:0
TX packets:173 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17744 (17.3 KiB) TX bytes:22345 (21.8 KiB)
Interrupt:53
mac-lobo:~# traceroute -i wlan0 barrapunto.com
mac-lobo:~# traceroute -i wlan0 -v barrapunto.com
mac-lobo:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0
wlan0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0
wlan0
Y hace apenas unos meses, la última vez que lo probé, funcionaba sin
problemas, que tiene narices la cosa.
Gracias por vuestra ayuda.
Salud y Revolución.
Lobo.
--
¿Libertad? ¿Quien ha dicho libertad?
Reply to: