[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ad hoc wireless network problem



Hi all,

I've just tried to build an ad hoc wireless network between two OpenBSD machines (3.7, Generic Kernel) for the first time (while using 2 Linksys WUSB11 802.11b v2.8 adapters) and i've encountered difficulties to configure the network. As i'm far from being a wireless network expert i've read the atu driver man to set up the network :

# ifconfig atu0
atu0: flags=8802<BROADCAST, SIMPLEX, MULTICAST> mtu 1500
    address: 00:0c:41:58:ed:c1
    ieee80211: nwid ""
    media: IEEE802.11 autoselect
    status: no network

# ifconfig atu0 192.168.0.1 netmask 0xffffff00 nwid foo mediaopt ibss

# ifconfig atu0
atu0: flags=8843<UP, BROADCAST, RUNNING, SIMPLEX, MULTICAST> mtu 1500
    address: 00:0c:41:58:ed:c1
    ieee80211: nwid foo chan 1 bssid 02:0c:41:58:ed:c1
    media: IEEE802.11 autoselect ibss
    status: active
    inet: 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
    inet6: fe80::20c::41ff:fe58:edc1%atu0 prefixlen 64 scopeid 0x6


I've done the same thing on each machine (192.168.0.1 and 192.168.0.2), network seems ok (status: active) but the machines can't reach each other (pf inactive).


Any idea about what's wrong with my network configuration ?


Thanks in advance.

Yannick.