06-03-2016, 01:32 PM
(06-03-2016, 11:45 AM)longsleep Wrote: Thanks. @braynshock - my Kernel builds have CONFIG_VLAN_8021Q=y - thus you do not need to the module.
See https://github.com/longsleep/linux-pine6...onfig#L259
What Kernel build do you use? "uname -a"
So if you ask me it should just work.
oh, well.. maybe I'm trying to enable it wrongly.
i installed vlan package (apt-get install vlan)
Code:
root@firewall:~# uname -a
Linux firewall.localdomain 3.10.65-7-pine64-longsleep #28 SMP PREEMPT Sat Apr 23 20:13:25 CEST 2016 aarch64 aarch64 aarch64 GNU/Linux
when I try to enable module I get:
Code:
root@firewall:~# modprobe 8021q
modprobe: FATAL: Module 8021q not found in directory /lib/modules/3.10.65-7-pine64-longsleep
i added an interface in interfaces file
Code:
# eth0.100
auto eth0.100
allow-hotplug eth0.100
iface eth0.100 inet static
address 10.0.0.100
netmask 255.255.255.0
broadcast 10.0.0.255
gateway 10.0.0.1
then doing ifup gives me this:
Code:
root@firewall:/etc/network# ifup eth0.100
WARNING: Could not open /proc/net/vlan/config. Maybe you need to load the 8021q module, or maybe you are not using PROCFS??
ERROR: trying to set name type for VLAN subsystem, error: Package not installed
WARNING: Could not open /proc/net/vlan/config. Maybe you need to load the 8021q module, or maybe you are not using PROCFS??
ERROR: trying to add VLAN #100 to IF -:eth0:- error: Package not installed
Cannot find device "eth0.100"
Failed to bring up eth0.100.
thanks for the reply
I don't have a lot of experience with these stripped down kernels, so I expect I'm doing something wrong.