Skip to content
Ruby wrapper around the ifconfig command.
Find file
Latest commit a335752 Alex Peuchert Version 1.2.3
Failed to load latest commit information.
ifconfig_examples first commit
lib added addrs_with_mask
test first commit
.gitignore added addrs_with_mask
COPYING first commit
Changelog added addrs_with_mask
INSTALL first commit
README some corrections
Rakefile first commit
TODO first commit
ruby-ifconfig.gemspec Version 1.2.3
setup.rb first commit


This is a Ruby wrapper around the ifconfig command.  The goal is to make
getting any information that ifconfig provides easy to access.

It was developed on Linux 2.6 with ifconfig from net-tools 1.60.  It also has
support for SunOS, Darwin and Open, Free, Net, and DragonflyBSD.  These have
not been thoroughly tested.  Non Linux platforms call netstat for interface
packet information

Please send me ifconfig / netstat output for platforms that don't work.

see test/*.rb for usage examples.

Thanks to Peter Johnson for the *BSD examples
Thanks to Jeremy Tregunna for Darwin and DragonflyBSD support


Please see the INSTALL file for details of how to install Ruby-Ifconfig

> rake
to run all the unit tests.


This software is offered under the GNU GENERAL PUBLIC LICENSE, a copy of which
is included.

Section 2, paragraph b and section 5 of the GNU General Public License does not apply when the Software (Ruby/Ifconfig) is included in the program Corgi.

Daniel Hobe
Something went wrong with that request. Please try again.