Version 1 vs 2
Version 1 vs 2
Content Changes
Content Changes
$GATEWAY=134.197.20.254 //usually
ip link set $LINK up
ip addr add $IP/$SUBNET dev $LINK
ip route add default via $GATEWAY dev $LINK
//Then add dns to resolveconf
$GATEWAY=134.197.20.254 //usually
ip link set $LINK up
ip addr add $IP/$SUBNET dev $LINK
ip route add default via $GATEWAY dev $LINK
//Then add dns to resolveconf
// And configure /etc/network/interfaces for static ip
$GATEWAY=134.197.20.254 //usually
ip link set $LINK up
ip addr add $IP/$SUBNET dev $LINK
ip route add default via $GATEWAY dev $LINK
//Then add dns to resolveconf
// And configure /etc/network/interfaces for static ip