On Tue, Dec 7, 2010 at 1:11 PM, Tomas Vavrys <[email protected]> wrote:
> This problem has already occured in NetBSD.
> http://lists.shmoo.com/pipermail/hostap/2009-August/020080.html
>
> I have created a new diff for OpenBSD patch-driver_wired_c
> (wpa_supplicant) which works fine.
>
> --- original/driver_wired.c     Sun Dec 31 04:28:05 2006
> +++ driver_wired.c      Fri May 18 02:06:07 2007
> @@ -18,7 +18,7 @@
>  #ifdef __linux__
>  #include <netpacket/packet.h>
>  #endif /* __linux__ */
> -#ifdef __FreeBSD__
> +#if defined(__FreeBSD__) || defined(__OpenBSD__)
>  #include <net/if_dl.h>
>  #endif /* __FreeBSD__ */
>
> @@ -132,6 +132,15 @@
>                os_memcpy(LLADDR(dlp), addr, ETH_ALEN);
>        }
>  #endif /* __FreeBSD__ */
> +#ifdef __OpenBSD__
> +       {
> +               struct sockaddr *sap;
> +               sap = (struct sockaddr *) &ifr.ifr_addr;
> +               sap->sa_len = sizeof(struct sockaddr);
> +               sap->sa_family = AF_UNSPEC;
> +               os_memcpy(sap->sa_data, addr, ETH_ALEN);
> +       }
> +#endif /* __OpenBSD __ */
>
>        if (ioctl(s, add ? SIOCADDMULTI : SIOCDELMULTI, (caddr_t) &ifr) < 0) {
>                perror("ioctl[SIOC{ADD/DEL}MULTI]");

Thanks,
but our wpa_supplicant port only works with 802.1X authentication over ethernet.
OpenBSD lacks *in kernel* support for 802.1X auth over 802.11b/g.

Btw, your diff seems fine: can it be committed?

ciao,
David

> 2010/11/17 David Coppa <[email protected]>:
>> On Wed, Nov 17, 2010 at 4:38 PM, Tomas Vavrys <[email protected]> wrote:
>>> Hello,
>>>
>>> I would like to use OpenBSD at school, but current documentation is
>>> only for Windows, Linux. Could you please guide me what is different
>>> and what man pages should I read?
>>> What bothers me is WPA supplicant. PF should not be a problem.
>>>
>>> Link to translated documentation, I know it is not perfect but I
>>> actually read it and it's fine to get the fundamental meaning.
>>> http://translate.google.cz/translate?hl=cs&sl=auto&tl=en&u=http://www.kolej.mff.cuni.cz/faq/connect_linux.html%23mac
>>
>> Sorry, no way.
>> 802.1X authentication is currently unsupported on OpenBSD.
>>
>> ciao,
>> david
>
>

Reply via email to