Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 09:57:43 +0200
From:      Marcin Jessa <lists@yazzy.org>
To:        SAMU <samspeedu@mail.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: How connect 2 PC with ath  in hostap mode ?
Message-ID:  <20050930095743.402e56cd.lists@yazzy.org>
In-Reply-To: <584642479.20050930101019@mail.ru>
References:  <20050926195807.GD95971@sandvine.com> <17208.30606.117170.36398@khavrinen.csail.mit.edu> <20050927001650.GA9994@sandvine.com> <20050927180021.GB9994@sandvine.com> <433A2882.4030003@freebsd.org> <433A2D6E.7020205@freebsd.org> <20050928152112.GC9994@sandvine.com> <2262110.20050928194326@mail.ru> <584642479.20050930101019@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Sep 2005 10:10:19 +0400
Andrey Smagin <samspeedu@mail.ru> wrote:

> Hi ALL,
Hi Andrey.
 
>  People please say it possible under FreeBSD ?
>  Any body have sucess stories about it ?
>  What manual I must read to do it ? :)
> 

man ifconfig should be the place to start.
Anyway, you can connect two PCs when one of them runs in
hostap and the other one in ad-hoc mode.
This will set up one of them as AP:
ifconfig_ath0="inet 12.23.34.1 netmask 255.255.255.0 ssid Andrey mode
11g mediaopt hostap"

And one in adhoc:
ifconfig_ath0="inet 12.23.34.1 netmask 255.255.255.0 ssid Andrey
channel 6 mode 11g mediaopt adhoc"

You can also run both atheros nics in ad-hoc mode and bridge their
interfaces with wired nics.

And you can set up your atheros access point as apbridge which will
pass packets between wireless clients directly.

You cannot connect two APs in hostap mode as they will never associate
to one another.

Cheers
Marcin.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050930095743.402e56cd.lists>