diff --git a/emulation/client0.startup b/emulation/client0.startup index f51e8e6f6bc70f2fb23e75b59dec2e4c6f60d515..418039d881965e96584083d70ae7dfcdd9f288ea 100644 --- a/emulation/client0.startup +++ b/emulation/client0.startup @@ -4,6 +4,6 @@ ip link set dev eth0 up #default route para obter conectividade internet 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 diff --git a/emulation/client1.startup b/emulation/client1.startup index 989180f8f19606ba1b3097fc2cde48d80c273252..d402bdf120f8e2641a8d52299d1cc52386ca6a1b 100644 --- a/emulation/client1.startup +++ b/emulation/client1.startup @@ -4,6 +4,6 @@ ip link set dev eth0 up #default route para obter conectividade internet 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 diff --git a/emulation/client2.startup b/emulation/client2.startup index 63b737c86d029f145cde2558e7df80b02b7b4985..ed2ed8507dae596fda92b84d26da12e7fbd7a39a 100644 --- a/emulation/client2.startup +++ b/emulation/client2.startup @@ -4,6 +4,6 @@ ip link set dev eth0 up #default route para obter conectividade internet 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 diff --git a/emulation/router1.startup b/emulation/router1.startup index 9e2754f4d9444273366cca36df3c5b1178ec89bb..f6cac3bcbaca51a49179e26febde592d3b6f3996 100644 --- a/emulation/router1.startup +++ b/emulation/router1.startup @@ -14,6 +14,6 @@ iptables -t nat -A POSTROUTING -s 0.0.0.0/0 -o eth4 -j MASQUERADE # Zebra and OSPF /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 diff --git a/emulation/router2.startup b/emulation/router2.startup index 8ffd98763ed9176494a28ba12311b55c0d7e8d0c..10c506671cc0ddc3a14b2723690341afcf41a4bd 100644 --- a/emulation/router2.startup +++ b/emulation/router2.startup @@ -18,5 +18,5 @@ done # install python -apt-get update && apt-get --assume-yes install python3 python3-pip +#apt-get update && apt-get --assume-yes install python3 python3-pip diff --git a/emulation/router3.startup b/emulation/router3.startup index 82037ff084f8870a8085f1c81a88815d222a8e01..6b4a236899d573166baa14840b25f6aaa64913b0 100644 --- a/emulation/router3.startup +++ b/emulation/router3.startup @@ -18,5 +18,5 @@ done # install python -apt-get update && apt-get --assume-yes install python3 python3-pip +#apt-get update && apt-get --assume-yes install python3 python3-pip diff --git a/emulation/router4.startup b/emulation/router4.startup index 602abdcbf869618b128c60cb01270080947b055a..5f6168a05f171de5e4f16cf68a90623d4e676a46 100644 --- a/emulation/router4.startup +++ b/emulation/router4.startup @@ -19,5 +19,5 @@ done # install python -apt-get update && apt-get --assume-yes install python3 python3-pip +#apt-get update && apt-get --assume-yes install python3 python3-pip diff --git a/emulation/router5.startup b/emulation/router5.startup index 27b67f952db895f01fc0756950919a8a81018e88..64ea73ef532b76bc132730d37b1c592e64f4150f 100644 --- a/emulation/router5.startup +++ b/emulation/router5.startup @@ -18,5 +18,5 @@ done # install python -apt-get update && apt-get --assume-yes install python3 python3-pip +#apt-get update && apt-get --assume-yes install python3 python3-pip diff --git a/emulation/router6.startup b/emulation/router6.startup index cb37338c0213f5bcf5bff86e87bf82fd8a168249..bd82deab6d3c6d5c4b7cf78d58211ca47eeec7d6 100644 --- a/emulation/router6.startup +++ b/emulation/router6.startup @@ -18,5 +18,5 @@ done # install python -apt-get update && apt-get --assume-yes install python3 python3-pip +#apt-get update && apt-get --assume-yes install python3 python3-pip diff --git a/emulation/source.startup b/emulation/source.startup index a0d7948ac1121dccbba5954b2807a96e71b747d7..5246df56b3a264ddef1bd18019b4406a0f1ad431 100644 --- a/emulation/source.startup +++ b/emulation/source.startup @@ -4,6 +4,6 @@ ip link set dev eth0 up #default route para obter conectividade internet 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 diff --git a/emulation/switch1.startup b/emulation/switch1.startup index 7ab138ffd32290bae749748ed00456838f12c1f5..5ade52864d43e23dac770061105086c16217d42b 100644 --- a/emulation/switch1.startup +++ b/emulation/switch1.startup @@ -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 # 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!) echo "2" > /sys/devices/virtual/net/br0/brif/eth0/multicast_router diff --git a/script.sh b/script.sh index fff3464f204243633af1069a18c959d8803406bc..5c23c00e072946e4602450546a8bc83ba21c38c2 100644 --- a/script.sh +++ b/script.sh @@ -3,7 +3,7 @@ if [ ! -d "netkit-ng" ]; then # 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-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 tar -xjSf netkit-ng-core-32-3.0.4.tar.bz2 tar -xjSf netkit-ng-filesystem-i386-F7.0-0.1.3.tar.bz2