-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathINSTALL
31 lines (22 loc) · 946 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
You need to patch and recompile your kernel to use this. We'll assume you
have a vanilla 2.6.16 kernel source in /usr/src/linux-2.6.16.
Untar the LiSA archive in /usr/src, then do the following:
1. Patch the kernel source:
cd /usr/src/linux-2.6.16
patch -p1 < ../lisa/linux-2.6.16-lms.patch
2. Configure the kernel using your favorite method (make menuconfig for
instance) and enable the switch module under:
-> Device Drivers
-> Networking Support
-> Networking Options
-> Ethernet switch
3. Edit /usr/src/lisa/userspace/Makefile and change
the KDIR variable to point to the right kernel location, for example:
KDIR := /usr/src/linux-2.6.16 -Wall
4. Compile the userspace tools:
cd /usr/src/lisa/userspace
make
5. Reboot with the new kernel.
6. Optionaly copy "swctl" from /usr/src/lisa/userspace/swctl
to /usr/sbin, or change your environment configuration so that you can
run swctl without specifying the full path.