Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pim_dm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
pim_dm
Commits
ce962a7a
Commit
ce962a7a
authored
Feb 06, 2018
by
Pedro Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
netkit filesystem now includes python3 and python3-pip
parent
007f2b5b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
emulation/router1.startup
emulation/router1.startup
+1
-1
emulation/router2.startup
emulation/router2.startup
+1
-1
emulation/router3.startup
emulation/router3.startup
+1
-1
emulation/router4.startup
emulation/router4.startup
+1
-1
emulation/switch1.startup
emulation/switch1.startup
+1
-1
script.sh
script.sh
+1
-1
No files found.
emulation/router1.startup
View file @
ce962a7a
...
...
@@ -5,6 +5,6 @@ ip link set dev eth0 up
#NAT for private ip's
iptables -t nat -A POSTROUTING -s 0.0.0.0/0 -o eth1 -j MASQUERADE
apt-get update && apt-get --assume-yes install python3 python3-pip
#
apt-get update && apt-get --assume-yes install python3 python3-pip
emulation/router2.startup
View file @
ce962a7a
...
...
@@ -6,5 +6,5 @@ ip route add 0.0.0.0/0 via 10.0.0.1
# install python
apt-get update && apt-get --assume-yes install python3 python3-pip
#
apt-get update && apt-get --assume-yes install python3 python3-pip
emulation/router3.startup
View file @
ce962a7a
...
...
@@ -7,5 +7,5 @@ ip route add 0.0.0.0/0 via 10.0.0.1
# install python
apt-get update && apt-get --assume-yes install python3 python3-pip
#
apt-get update && apt-get --assume-yes install python3 python3-pip
emulation/router4.startup
View file @
ce962a7a
...
...
@@ -6,5 +6,5 @@ ip link set dev eth0 up
ip route add 0.0.0.0/0 via 10.0.0.1
# install python
apt-get update && apt-get --assume-yes install python3 python3-pip
#
apt-get update && apt-get --assume-yes install python3 python3-pip
emulation/switch1.startup
View file @
ce962a7a
...
...
@@ -14,7 +14,7 @@ ip addr add dev br0 10.0.0.5/24
ip route add 0.0.0.0/0 via 10.0.0.1
# 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
...
...
script.sh
View file @
ce962a7a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment