Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Connecting two computers through WIFI

 
   Linux (Home) -> Hardware RSS
Next:  Something to make the wintrolls happy :p  
Author Message
fdelente

External


Since: Jan 22, 2008
Posts: 9



(Msg. 1) Posted: Fri Sep 05, 2008 5:47 pm
Post subject: Connecting two computers through WIFI
Archived from groups: comp>os>linux>hardware (more info?)

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
Back to top
Login to vote
Hactar

External


Since: Feb 18, 2007
Posts: 82



(Msg. 2) Posted: Fri Sep 05, 2008 5:47 pm
Post subject: Re: Connecting two computers through WIFI [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <48c170ca$0$4637$426a74cc@news.free.fr>,
<fdelente DeleteThis @mail.cpod.fr> wrote:
> 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!

If you want to connect them only to each other, I can't help you. But,
if you want to associate each to the router, here's how I did mine:

In the file /etc/network/interfaces I have:

....
iface eth2 inet dhcp

wireless-essid RouterSSID
wireless-key RouterKey

(eth2 is my wireless interface)

You can add a line "auto eth2" if you want it to start on boot. If you
don't have DHCP, scrap the "dhcp" and add

address put.your.address.here
netmask put.your.netmask.here
gateway put.your.gateway.here

Not sure where. I have a commented-out version directly following the
"auto eth1" line.

--
-eben QebWenE01R DeleteThis @vTerYizUonI.nOetP http://royalty.mine.nu:81
AQUARIUS: There's travel in your future when your tongue freezes to the
back of a speeding bus. Fill the void in your pathetic life by playing
Whack-a-Mole 17 hours a day. -- Weird Al, _Your Horoscope for Today_
Back to top
Login to vote
fdelente

External


Since: Jan 22, 2008
Posts: 9



(Msg. 3) Posted: Fri Sep 05, 2008 7:12 pm
Post subject: Re: Connecting two computers through WIFI [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hactar <ebenZEROONE RemoveThis @verizon.net> wrote:
> If you want to connect them only to each other, I can't help you. But,
> if you want to associate each to the router, here's how I did mine:

Yes, I want them to talk to each other directly, that's why I put them in
Ad-Hoc mode. One of them (the one that's hooked to the internet through an
ethernet cable) will later as a router for the other.

--
Fabrice DELENTE
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Wifi rtl8180 slackware 9.1 - Has anyone managed to compile the rtl8180L driver for Slackware 9.1? I bought this card some weeks ago and cannot use it... it's pre-compiled for red hat and Suse, but I didn't find anything for Slackware. Can someone send me this driver? (rtl8180_24x.o)...

APC BE500U 300 Watt UPS and two computers? - Was looking at this UPS: http://tinyurl.com/4swj4 It's an APC BE500U, 300 Watt, 500 VA UPS I found this daemon on sourceforge that even has Mandrake RPMS: http://www2.apcupsd.com/ The question is, is the UPS powerful enough to give two Mandrake boxes....

Spinnaker chipset USB wifi card - I got a D-Link DWL-120 usb adapter on a firesale (real cheap). For some silly reason, I thought getting it running would be easy.... I can get it working with NDISwrapper, but I really need channel 14 (for Japan). D-Link doesn't provide windows..

ADM8211 Based Wifi Nic with Debian Kernel 2.4.20 - Good morning. I am trying to get a Trendware 223PI wireless NIC to run in my system. Trendware provide uncompiled linux drivers. the NIC is based around the ADM8211 chipset. Just to be on the safe side I also have the latest drivers from ADMtek who make....

No sound (when connecting) from modem - I've recently installed Mandrake Linux 9.1, and after a lot of trouble and help I managed to install a modem driver for the internal "Winmodem" which the computer was equipped with, as the manufacturer had an uncompiled Linux driver for it. I c...
       Linux (Home) -> Hardware All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
  Linux Forums
 Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact