How connect 2 PC with ath in hostap mode ?

Andrey Smagin samspeedu at mail.ru
Mon Oct 3 23:26:50 PDT 2005


Hello Marcin,

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

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

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

 My most qestion - how increase speed for ad-hoc<=>ad-hoc connection. It
 mode have very small speed(40KBy/s) . For me important  bridge on both
 sides for connect 2 wired LAN segments through air. When i connect
 client<=>hostup bridging not work (but speed 2MBy/s between this hosts).
 I am will try ad-hoc<=>hostap.

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

 For me not enough for connect another WiFi clients, now configured -apbridge.

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

Thank you.

-- 
Best regards,
 Andrey                            mailto:samspeedu at mail.ru



More information about the freebsd-net mailing list