red linux - windows
Buenos dias.
Solicito un poco de ayuda par un problema con dos PC par poder eztablecer una red.
Mi PC tiene Debian 6.22 conectado a una red ADSL cableada,
compre una tarjeta WIFI usb para conectar una laptop windows7 y poder compartir datos de disco e internet
pero la Windows 7 no ve a la Debian.
hasta ahora mi configuracion wifi es la siguiente:
wlan0 IEEE 802.11g ESSID:"friendo" Nickname:"friendoo"
Mode:Ad-Hoc Frequency:2.422 GHz Cell: Not-Associated
Bit Rate:54 Mb/s
Encryption key:3971-7378-7666-737A-2D Security mode:restricted
Power Management: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
No se como configurar la ip para que sea servidor wifi por dhcp, aparte de mi red adsl.
cualquier ayuda muchas gracias
- Inicie sesión o regístrese para enviar comentarios
- 1453 lecturas


Con firestarter eso se hace bastante sencillo.
MI amigo a leer se dijo, "Samba"
Primer paso, ¿se ven las señales entre si ? ,ad hoc ,es punto a punto ,al menos debieran verse reciprocamente ,a partir de alli toda otra configuración .
Buenas, gracias por la ayuda y perdon por el retraso.
Ok, he ido revisando y haciendo cosas por la red para arreglar mi problema.
ya logro tener señales entre los equipos y el pc con windows ya navega, no le he puesto clave.
Mientra hacia que arrancara la tarjeta lei varias cosas de wifi y por lo que vi la clave WEP por defecto como que no es muy segura, asi que trate de implementar la WPA, sin embargo aqui la cosa se me vuelve a enredar.
cuando activo la tarjeta, iwconfig me dice encription key off, anexo el resultado
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Encryption key:off
Power Management: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
luego de revisar varios foros de la red me he quedado con esta configuracion en /etc/network/interfaces
#/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
auto lo eth0
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
#configuracion wlan0
auto wlan0
iface wlan0 inet static
#pre-up modprobe ndiswrapper
#post-down rmmod ndiswrapper
wpa-driver wext
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
address ???.???.???.???
netmask ???.???.???.???
network ???.???.???.???
wireless-essid ????????
wireless-mode Ad-Hoc
y por lo que vi de wpa_supplicant logre arreglar una configuracion en /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="????????"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk=????????????????????????????????????????????????????????????/
}
Que estare haciendo mal?
Gracias de antemano
wlan0 IEEE 802.11g ESSID:off/anyMode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Encryption key:off
Power Management: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
Pero ahí muestra que no detecta señal alguna ,
Buenas noches, ya por fin logre habilitar la tarjeta wifi
estos son los datos de la conexion
wlan0 Link encap:Ethernet HWaddr 00:14:78:ee:30:2f
inet addr:192.168.1.1 Bcast:192.168.XXX.XXX Mask:255.255.255.0
inet6 addr: fe80::214:78ff:feee:302f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:238 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22496 (21.9 KiB) TX bytes:7363 (7.1 KiB)
Ahora bien, ya puedo ingresar a la maquina, pero no he podido habilitar la clave, inicialmente iba usar la WPA, alguien puede decirme como instalar y habilitarla, o por lo menos darme algun buen link?
Agradecido de antemano
Buenas noches
Ya logre habilitarlo el WIFI correctamente y tengo trafico
Link encap:Ethernet HWaddr 00:14:78:ee:30:2f
inet addr:***.***.***.*** Bcast:***.***.***.*** Mask:***.***.***.***
inet6 addr: fe80::214:78ff:feee:302f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:238 errors:0 dropped:0 overruns:0 frame:0
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22496 (21.9 KiB) TX bytes:7363 (7.1 KiB)
Ahora bien, trato de usar la opcion por defecto que sale en todos lados
iwconfig wlan0 key ???
iwconfig wlan0 key s:???
pero no logro conectar, ahora si no le pongo clave si entra, y he verificado bien la clave, se le podra agregar algo de seguridad? aunque sea WEP?
Agradezco sus comentarios
De memoria no sabría decirte con seguridad si las redes ad-hoc soportan sistema de cifrado WPA, aunque pondría la mano en el fuego por el "no".
Prueba a configurar la parte de la red ad-hoc en la máquina Debian con Wicd, resulta muy sencillo securizarla con sistema de cifrado WEP.
Saludos
Ya instale wicd, pero al tratar de crear una nueva conexión me da kernel failure, se bloquea casi toda la maquina. Logre sacar el mensaje que me aparece en la consola.
El mensaje es bastante largo, al reiniciar y sacar el usb wifi todo regresa a la normalidad.
Agradezco su consejo.
Aqui esta el mensaje que saque.
Starting the Ad-Hoc Network Creation Process...
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.714888] divide error: 0000 [#1] SMP
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715034] Process ntos_wq (pid: 4850, ti=f6a96000 task=f3421900 task.ti=f6a96000)
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715038] Stack: f7895000 00000001 f8e53000 00000002 00000001 00000000 00000000 00000000
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715049] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715058] 00000000 00000000 f9480f53 00001200 f8e53000 f7895000 f968f000 f949aaea
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715069] Call Trace:
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715119] [] NdisInterlockedDecrement+0x9/0xc [ndiswrapper]
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715159] [] NdisInterlockedIncrement+0x0/0xc [ndiswrapper]
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715217] [] __switch_to+0xa5/0x125
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715228] [] hrtick_set+0x7a/0xd8
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715246] [] kdpc_worker+0x0/0xf7 [ndiswrapper]
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715278] [] kdpc_worker+0xac/0xf7 [ndiswrapper]
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715316] [] run_workqueue+0x74/0xf2
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715324] [] worker_thread+0x0/0xbd
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715330] [] worker_thread+0xb3/0xbd
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715337] [] autoremove_wake_function+0x0/0x2d
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715348] [] kthread+0x38/0x5d
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715354] [] kthread+0x0/0x5d
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715361] [] kernel_thread_helper+0x7/0x10
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715372] =======================
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715375] Code: c6 86 2e 1f 00 00 00 8b 96 74 10 00 00 0f b6 86 2e 1f 00 00 69 d2 e8 03 00 00 8b 4c 24 14 c1 ea 0a 89 44 24 2c 8d 44 0a ff 33 d2 f1 33 d2 5b 0f af c1 f7 f1 83 f8 0a 77 05 b8 0a 00 00 00 40
Message from syslogd@Killers-SA at Aug 8 23:35:52 ...
kernel:[ 3619.715434] EIP: [] 0xf947ea2e SS:ESP 0068:f6a97e24
Traceback (most recent call last):
File "/usr/share/wicd/wicd/gui.py", line 367, in update_statusbar
daemon.UpdateState()
File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, in __call__
**keywords)
File "/var/lib/python-support/python2.5/dbus/connection.py", line 607, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Buenas noches
Continuando con mi problema realice un dmesg cuando se dispara el error, a ver si nos ayuda a saber que es
solo puse el final por obvias razones
Agradezco cualquier ayuda
30004.913508] Dropped INPUT packet: IN=wlan0 OUT= MAC= SRC=192.168.1.1 DST=224.0.0.251 LEN=68 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=48
[30007.038618] Connection attempt (UNPRIV): IN=eth0 OUT= MAC= SRC=201.210.106.219 DST=255.255.255.255 LEN=137 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=17500 DPT=17500 LEN=117
[30007.042193] Connection attempt (UNPRIV): IN=eth0 OUT= MAC= SRC=201.210.106.219 DST=201.210.127.255 LEN=137 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=17500 DPT=17500 LEN=117
[30007.042193] Dropped INPUT packet: IN=wlan0 OUT= MAC= SRC=192.168.1.1 DST=192.168.1.255 LEN=137 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=17500 DPT=17500 LEN=117
[30013.815725] Dropped INPUT packet: IN=wlan0 OUT= MAC= SRC=192.168.1.1 DST=224.0.0.251 LEN=68 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=48
[30017.321050] divide error: 0000 [#1] SMP
[30017.321057] Modules linked in: ndiswrapper binfmt_misc nvidia(P) ppdev lp ipv6 acpi_cpufreq cpufreq_powersave cpufreq_userspace cpufreq_conservative cpufreq_ondemand cpufreq_stats freq_table xt_tcpudp xt_DSCP xt_TCPMSS ipt_LOG ipt_REJECT iptable_nat nf_nat iptable_mangle iptable_filter xt_multiport xt_state xt_limit xt_conntrack nf_conntrack_ftp nf_conntrack_ipv4 nf_conntrack ip_tables x_tables fuse loop snd_hda_intel snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss parport_pc parport i2c_i801 pcspkr snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq rng_core i2c_core snd_timer snd_seq_device snd soundcore button snd_page_alloc intel_agp joydev agpgart evdev ext3 jbd mbcache sg sr_mod cdrom sd_mod ata_generic ata_piix libata dock usbhid hid ff_memless floppy ide_pci_generic dc395x scsi_mod ehci_hcd piix uhci_hcd ide_core usbcore r8169 thermal processor fan thermal_sys [last unloaded: scsi_wait_scan]
[30017.321165]
[30017.321170] Pid: 9061, comm: ntos_wq Tainted: P (2.6.26-2-686 #1)
[30017.321175] EIP: 0060:[] EFLAGS: 00010246 CPU: 0
[30017.321182] EIP is at 0xf947ea2e
[30017.321185] EAX: 00000b70 EBX: e6693400 ECX: 00000000 EDX: 00000000
[30017.321189] ESI: f8e53000 EDI: 00000001 EBP: e6693400 ESP: e6657e24
[30017.321193] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[30017.321198] Process ntos_wq (pid: 9061, ti=e6656000 task=f61feea0 task.ti=e6656000)
[30017.321201] Stack: e6693400 00000001 f8e53000 00000002 00000001 00000000 00000000 00000000
[30017.321212] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[30017.321222] 00000000 00000000 f9480f53 00001200 f8e53000 e6693400 f9691000 f949aaea
[30017.321233] Call Trace:
[30017.321290] [] NdisInterlockedDecrement+0x9/0xc [ndiswrapper]
[30017.321331] [] NdisInterlockedIncrement+0x0/0xc [ndiswrapper]
[30017.321389] [] __switch_to+0xa5/0x125
[30017.321400] [] hrtick_set+0x7a/0xd8
[30017.321419] [] kdpc_worker+0x0/0xf7 [ndiswrapper]
[30017.321453] [] kdpc_worker+0xac/0xf7 [ndiswrapper]
[30017.321492] [] run_workqueue+0x74/0xf2
[30017.321499] [] worker_thread+0x0/0xbd
[30017.321505] [] worker_thread+0xb3/0xbd
[30017.321513] [] autoremove_wake_function+0x0/0x2d
[30017.321524] [] kthread+0x38/0x5d
[30017.321529] [] kthread+0x0/0x5d
[30017.321536] [] kernel_thread_helper+0x7/0x10
[30017.321547] =======================
[30017.321550] Code: c6 86 2e 1f 00 00 00 8b 96 74 10 00 00 0f b6 86 2e 1f 00 00 69 d2 e8 03 00 00 8b 4c 24 14 c1 ea 0a 89 44 24 2c 8d 44 0a ff 33 d2 f1 33 d2 5b 0f af c1 f7 f1 83 f8 0a 77 05 b8 0a 00 00 00 40
[30017.321609] EIP: [] 0xf947ea2e SS:ESP 0068:e6657e24
[30017.321631] ---[ end trace 2de86b4efeaa7968 ]---