mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 06:57:57 +04:00
uml: add v6.18 as testing kernel
Check out the TESTING_KERNEL option to build OpenWrt UML with v6.18. Be aware that the old UML networking is now gone! Please checkout: https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html#setting-up-uml-networking Note: v6.12 already supported vector transports. The README.md has been updated to reflect this change. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
This commit is contained in:
1 parent
4afad52b38
commit
c817d9a34f
2 files changed
+7
-17
No files matched your search
@@ -15,6 +15,7 @@ FEATURES:=audio ext4 rootfs-part squashfs
|
||||
SUBTARGETS:=generic
|
||||
|
||||
KERNEL_PATCHVER:=6.12
|
||||
KERNEL_TESTING_PATCHVER:=6.18
|
||||
|
||||
include $(INCLUDE_DIR)/target.mk
|
||||
|
||||
|
||||
@@ -31,21 +31,10 @@ playing in the world of 'embedded routers' along with all the resource
|
||||
restrictions that come with that world.
|
||||
|
||||
To configure networking and more refer to the *user mode linux* documentation
|
||||
online. A quick start goes along this line. Install the `uml-utilities`
|
||||
packages so you have the `uml_switch` in and running, then add a command param
|
||||
to your uml start like this:
|
||||
online:
|
||||
https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html#setting-up-uml-networking
|
||||
|
||||
```shell
|
||||
eth0=daemon,00:01:01:01:01:01,unix,/<your uml switch control socket here>
|
||||
```
|
||||
|
||||
With that in, and uml networking actually functional (can be a challenge at
|
||||
times), you should be able to `ifconfig` the interface and talk to the host
|
||||
side or if you bridged the uml switch to your host network, you should be able
|
||||
to run `udhcp` and be away with networking off to the world. Again, if you are
|
||||
unfamiliar with uml and uml networking, please read the docs and how-to stuff
|
||||
available on the net. It does take some fiddling to get it started and working
|
||||
right the first time, but after that, it opens up a whole new world of virtual
|
||||
machines.
|
||||
|
||||
http://user-mode-linux.sourceforge.net/
|
||||
Actually functional uml networking can be a challenge at times. Again, if you are
|
||||
unfamiliar with uml and uml networking, please read the docs and how-to stuff available
|
||||
on the net. It does take some fiddling to get it started and working right the first
|
||||
time, but after that, it opens up a whole new world of virtual machines.
|
||||
Reference in new issue
Block a user