Commit c04581c3 authored by Pedro Oliveira's avatar Pedro Oliveira

netkit filesystem now includes python3 and python3-pip

parent 0e03b567
...@@ -4,6 +4,6 @@ ip link set dev eth0 up ...@@ -4,6 +4,6 @@ ip link set dev eth0 up
#default route para obter conectividade internet #default route para obter conectividade internet
ip route add 0.0.0.0/0 via 10.6.6.5 ip route add 0.0.0.0/0 via 10.6.6.5
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -4,6 +4,6 @@ ip link set dev eth0 up ...@@ -4,6 +4,6 @@ ip link set dev eth0 up
#default route para obter conectividade internet #default route para obter conectividade internet
ip route add 0.0.0.0/0 via 10.7.7.6 ip route add 0.0.0.0/0 via 10.7.7.6
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -4,6 +4,6 @@ ip link set dev eth0 up ...@@ -4,6 +4,6 @@ ip link set dev eth0 up
#default route para obter conectividade internet #default route para obter conectividade internet
ip route add 0.0.0.0/0 via 10.5.5.2 ip route add 0.0.0.0/0 via 10.5.5.2
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -14,6 +14,6 @@ iptables -t nat -A POSTROUTING -s 0.0.0.0/0 -o eth4 -j MASQUERADE ...@@ -14,6 +14,6 @@ iptables -t nat -A POSTROUTING -s 0.0.0.0/0 -o eth4 -j MASQUERADE
# Zebra and OSPF # Zebra and OSPF
/etc/init.d/quagga restart /etc/init.d/quagga restart
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -18,5 +18,5 @@ done ...@@ -18,5 +18,5 @@ done
# install python # install python
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -18,5 +18,5 @@ done ...@@ -18,5 +18,5 @@ done
# install python # install python
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -19,5 +19,5 @@ done ...@@ -19,5 +19,5 @@ done
# install python # install python
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -18,5 +18,5 @@ done ...@@ -18,5 +18,5 @@ done
# install python # install python
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -18,5 +18,5 @@ done ...@@ -18,5 +18,5 @@ done
# install python # install python
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -4,6 +4,6 @@ ip link set dev eth0 up ...@@ -4,6 +4,6 @@ ip link set dev eth0 up
#default route para obter conectividade internet #default route para obter conectividade internet
ip route add 0.0.0.0/0 via 10.1.1.1 ip route add 0.0.0.0/0 via 10.1.1.1
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
...@@ -18,7 +18,7 @@ ip addr add dev br0 10.5.5.7/24 ...@@ -18,7 +18,7 @@ ip addr add dev br0 10.5.5.7/24
ip route add 0.0.0.0/0 via 10.5.5.2 ip route add 0.0.0.0/0 via 10.5.5.2
# install python # install python
apt-get update && apt-get --assume-yes install python3 python3-pip #apt-get update && apt-get --assume-yes install python3 python3-pip
# identify ports with routers (they need to receive all multicast traffic!) # identify ports with routers (they need to receive all multicast traffic!)
echo "2" > /sys/devices/virtual/net/br0/brif/eth0/multicast_router echo "2" > /sys/devices/virtual/net/br0/brif/eth0/multicast_router
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
if [ ! -d "netkit-ng" ]; then if [ ! -d "netkit-ng" ]; then
# se pasta netkit-ng nao existir descomprimir ficheiros # se pasta netkit-ng nao existir descomprimir ficheiros
wget -nc https://github.com/netkit-ng/netkit-ng-core/releases/download/3.0.4/netkit-ng-core-32-3.0.4.tar.bz2 wget -nc https://github.com/netkit-ng/netkit-ng-core/releases/download/3.0.4/netkit-ng-core-32-3.0.4.tar.bz2
wget -nc https://github.com/netkit-ng/netkit-ng-build/releases/download/0.1.3/netkit-ng-filesystem-i386-F7.0-0.1.3.tar.bz2 wget -nc https://web.ist.utl.pt/~ist177956/netkit/netkit-ng-filesystem-i386-F7.0-0.1.3.tar.bz2
wget -nc https://github.com/netkit-ng/netkit-ng-build/releases/download/0.1.3/netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2 wget -nc https://github.com/netkit-ng/netkit-ng-build/releases/download/0.1.3/netkit-ng-kernel-i386-K3.2-0.1.3.tar.bz2
tar -xjSf netkit-ng-core-32-3.0.4.tar.bz2 tar -xjSf netkit-ng-core-32-3.0.4.tar.bz2
tar -xjSf netkit-ng-filesystem-i386-F7.0-0.1.3.tar.bz2 tar -xjSf netkit-ng-filesystem-i386-F7.0-0.1.3.tar.bz2
......
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