#[SOLVED] Macvlan module missing

27 messages · Page 1 of 1 (latest)

brisk reef
#

i am trying to create a macvlan type network device on a clean arch install but i get the error
Error: Unknown device type

i am running the following command

sudo ip link add macv0 link eth0 type macvlan mode passthru

PS. this works in the arch running on WSL with linux: 5.15.133.1-microsoft-standard-WSL2

merry ridge
#

have you loaded the module before creating the macvlan device?

brisk reef
#

i have not

#

sudo modprobe macvlan says the module is missing

#

but it says that in wsl too

brisk reef
merry ridge
#

want to try installing the linux headers sudo pacman -S linux-headers

#

after installing them try loading the module

merry ridge
#

and it still doesnt work?

#

oki

brisk reef
merry ridge
#

load the module using the following command:

sudo modprobe macvlan

brisk reef
#

sudo modprobe macvlan still gives the same error

merry ridge
#

oki

#

please provide

#

Arch Linux version
Kernel version
Network device name
sudo ip link show output

#

also try to rebuild the initramfs with sudo mkinitcpio -P then gibe the machine a reboot and try to load the module

brisk reef
merry ridge
#

let me know if that works

brisk reef
#

yay that worked!

#

thank you so much!

merry ridge
#

👍

#

I’m glad

merry ridge
#

... solved

ionic pulsarBOT
#

#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.

  • You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
  • You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".

Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you