github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

gderosa / onboard

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 14
    • 3
  • Source
  • Commits
  • Network (3)
  • Issues (23)
  • Downloads (7)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Switch Branches (9)
    • AAA
    • brand
    • config
    • fwnat
    • ifrename
    • iproute
    • margay
    • master ✓
    • openvpn
  • Switch Tags (7)
    • 2010.08
    • 2010.07
    • 2010.06
    • 2009.12.03
    • 2009.12.02
    • 2009.12.01
    • 2009.12
  • Branch List
Sending Request…

Ruby OnBoard - A Web Interface to manage Linux-based network appliances. — Read more

  Cancel

http://dev.vemarsas.it/onboard/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

ifrename: failed attemp to use udev, but rearrange the code anyway 
gderosa (author)
Wed Sep 01 11:37:14 -0700 2010
commit  d067d7c323294cb8d835
tree    d281aff6e0e93aa13fec
parent  c44c29158ffcb6f789c4
onboard /
name age
history
message
file .gitignore Mon Aug 16 01:01:37 -0700 2010 "minimize" .gitignore [gderosa]
file Changelog Fri Aug 20 07:14:35 -0700 2010 Changelog [gderosa]
file README Thu Jul 01 08:52:25 -0700 2010 ifrename [gderosa]
file common.sh Wed Aug 18 10:54:40 -0700 2010 config: fix a permission issue on upgrade [gderosa]
file config.ru Tue Sep 22 17:03:41 -0700 2009 first commit [gderosa]
file config.yml Tue Aug 17 01:17:04 -0700 2010 do not write pids and logs in the code dir [gderosa]
file config6.yml Tue Aug 17 01:17:04 -0700 2010 do not write pids and logs in the code dir [gderosa]
file controller.rb Tue Jul 20 09:15:26 -0700 2010 view: meaningful HTML <title>s (needs a lot of ... [gderosa]
directory controller/ Tue Aug 31 09:19:11 -0700 2010 sort net interfaces consistently after GET or PUT [gderosa]
directory doc/ Tue Aug 31 03:05:26 -0700 2010 added examples to doc/ [gderosa]
directory etc/ Wed Sep 01 11:37:14 -0700 2010 ifrename: failed attemp to use udev, but rearra... [gderosa]
directory i18n/ Wed Nov 25 10:11:00 -0800 2009 Easy-RSA: display cert. info (HTML view) [gderosa]
directory lib/ Tue Aug 31 00:57:26 -0700 2010 Network::Interface::PREFERRED_ORDER + utf8 fix [gderosa]
directory modules/ Thu Aug 19 07:44:43 -0700 2010 migrate-config: symlink for better beckward compat [gderosa]
file onboard.rb Tue Aug 31 08:56:34 -0700 2010 re-define OnBoard::LOGGER [gderosa]
directory public/ Tue Jul 20 01:02:33 -0700 2010 view: keep the default branch as minimalistic a... [gderosa]
file restore.sh Mon Jul 05 04:39:29 -0700 2010 new init system and bind6only compatibility [gderosa]
file start.sh Tue Aug 31 00:57:26 -0700 2010 Network::Interface::PREFERRED_ORDER + utf8 fix [gderosa]
file stop.sh Tue Aug 17 06:37:41 -0700 2010 remove a debug line from stop.sh [gderosa]
directory views/ Mon Aug 30 02:34:47 -0700 2010 firewall page uses Network::Interface::PREFERRE... [gderosa]
README
ruby OnBoard -- http://dev.vemarsas.it/onboard/ .

Except where otherwise stated, this work is
Copyright 2009 Guido De Rosa <guido.derosa at vemarsas.it>
License: GPLv2 

Some artworks from the GNOME project are included, see 
public/icons/gnome for details and Copyright info.

---

A web interface to configure Linux-based network appliances. It's been
developed and tested on Debian GNU/Linux and its derivative for
embedded systems, Voyage Linux (http://linux.voyage.hk/). It should work on 
other distros too, altough untested right now. Feel free to contribute and 
test.

---

For any web page, you may change .html extension into .json or .yaml to
get machine-readable data. 

An .rb extension is also available for debugging purposes when in 
Sinatra 'development' environment. 

---

Software requirements for "core" (check individual directories under modules/
for module-specific, additional requirements): 

* ruby 1.9 (preferably >=1.9.1)
* sudo
* iproute2
* iptables (with proper kernel support)
* bridge-utils (brctl)
* pciutils (lspci command)
* dhcpcd 
  * Also, resolvconf is recommended
* dnsmasq >= 2.46 
  ## removed ISC-style leasefile format, which is assumed when no
  ## dhcp-range is provided -- and leads to troubles
* locales 
  ## and generate (UTF8) locales for languages/countries you want to support
* ifrename (optional) 

Gems:

(some gems are written in C or C++ , so you need a reasonably complete 
C/C++ build environment; and, if you installed a pre-packaged ruby, you
will need header files from a package named ruby-dev or something alike)

gem install rubytree sinatra i18n_data locale thin r18n-core sinatra-r18n escape facets --no-ri --no-rdoc

--

Please read carefully doc/sysadm/example/etc/sysctl.conf and copy and/or append 
the configuration to the Linux machine /etc/sysctl.conf file.

--

Optional add-ons:

You can get pretty-printed JSON output via JsonPrinter 
by Mark McGranaghan. To get it, change to the lib/ directory (or your
system's site_ruby dir), then:

git clone git://github.com/techcrunch/json_printer.git

You can also take advantage of Ya2YAML by Akira FUNAI to get native 
UTF-8 YAML ouptut (i.e. no need to treat Unicode Strings as binary data
and encode them in base64). 

gem install ya2yaml

---

This Free/Open Source Software project is sponsored by 
VEMAR sas, Paterno (PZ), Italy -- http://www.vemarsas.it/ 


Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Српски
  • Svenska
  • 中文