Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

rbMode

Tool for setting LAN/WAN mode on riverbed servers

Modes

  • n(oline): physically disconnect ethernet
  • b(ridge): bridge interfaces (bypass mode)
  • u(niversal): use interfaces as normal network interfaces

Installation

aptitude install python2
wget https://raw.githubusercontent.com/c0d3z3r0/rbmode/master/rbmode.py
cp rbmode.py /usr/local/sbin/rbmode
chmod +x /usr/local/sbin/rbmode
echo i2c-dev >>/etc/modules

cat <<"EOF" >/etc/systemd/system/rbmode.service
[Unit]
Description=rbMode
Before=network-pre.target
Wants=network-pre.target

[Service]
Type=oneshot
ExecStart=/usr/local/sbin/rbmode <mode>  # Change <mode> to n, b or u

[Install]
WantedBy=network.target
EOF

systemctl enable rbmode.service
  • Load i2c-dev and set the mode manually

     modprobe i2c-dev
     rbmode u

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.