[Haskell-cafe] wlan library

Don Stewart dons at galois.com
Fri Dec 12 21:41:20 EST 2008

>    Hi *^o^*,
>    I am writing [1]a network manager as a replacement for some broken,
>    already existing knetworkmanager for a friend's computer.
>    I was looking for some haskell libraries that provide access to wlan cards
>    but could not find any on hackage. Maybe I missed something. Currently my
>    tool is using linux the commands: modprobe, ifconfig, iwconfig, iwlist,
>    dhclient etc.. Can a library calling external stand-alone linux commands
>    be considered good enough as is? Or should one definitely write a wrapper
>    around a more low-level, stable, POSIX-compliant foreign library to access
>    and configure, control WLAN cards? I'd love to hear your comments.

Hmm. For the long run, using the C FFI is probably more robust (a few
less points of failure). A binding to the shell commands will be cheaper
and more cheerful.

Go for it!

-- Don

More information about the Haskell-Cafe mailing list