Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Get information about local network adapters such as name, IP address, MAC address
C Haskell Shell Batchfile
branch: master
Failed to load latest commit information.
cbits Add DragonflyBSD support.
src/Network Updated documentation
test PORTABILITY: Hurd, Illumos (Fixes #8, #9, #10)
.dockerignore Added Dockerfile for Linux testing
.gitignore Test program only requires Cabal >= 1.6 now
Dockerfile Added Dockerfile for Linux testing
README.mkd Version
Setup.hs Fixed line endings \r\n -> \n
network-info.cabal Version



This library provides simple read-only access to the local computer's networking configuration. It is currently capable of getting a list of all the network interfaces and their respective IPv4, IPv6 and MAC addresses.


network-info has been tested and is known to work on Ubuntu 10.10, Mac OS X 10.6.4, FreeBSD 9.0 and Windows XP/7. It probably works on other flavours of Linux, OS X, FreeBSD and Windows as well.

Something went wrong with that request. Please try again.