Commit e9f5ab68 authored by David Boddie's avatar David Boddie
Browse files

Delete files provided elsewhere

parent 1d240836
#!/bin/bash
if [ -z "$1" ] || [ -z "$2" ]; then
echo "Usage: start-net.sh <IPv4 address> <network interface>";
exit 1;
fi
sudo ip addr add $1/24 dev $2
sudo sysctl net.ipv4.ip_forward=1
#!/bin/bash
sudo ip addr add 192.168.42.2/24 dev usb0
sudo ip route add default via 192.168.42.1 dev usb0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment