Connecting two computers through WIFI



Hello.

Could anybody help me connect my two laptops through WIFI?

Each has a functional WIFI card (drivers loaded and OK, if I do

iwlist $INTERFACE scanning

on both computers, I see the nearby access point).

One has an atheros chpiset card, I configure it with

modprobe ath_pci
wlanconfig ath0 destroy
wlanconfig ath0 create wlandev wifi0 wlanmode adhoc
iwconfig ath0 rate 54M channel 10 essid "airforce-one" key "s:***" mode Ad-Hoc
ifconfig ath0 up 192.168.1.3

and the other (which has an intel chipset card) with

iwconfig wlan0 rate 54M channel 10 essid "airforce-one" key "s:***" mode Ad-Hoc
ifconfig ath0 up 192.168.1.4

When I try to ping one from the other, nothing happens (I get "Network
Unreachable" errors).

Any hint? Thanks!

--
Fabrice DELENTE
.



Relevant Pages

  • Re: Connecting two computers through WIFI
    ... Each has a functional WIFI card (drivers loaded and OK, ... wlanconfig ath0 create wlandev wifi0 wlanmode adhoc ... wireless-essid RouterSSID ...
    (comp.os.linux.hardware)
  • Connecting two computers through WIFI
    ... Each has a functional WIFI card (drivers loaded and OK, ... wlanconfig ath0 create wlandev wifi0 wlanmode adhoc ... route add default gw 192.168.1.4 wlan0 ...
    (comp.os.linux.networking)