You are not logged in.

#1 2012-07-01 15:57:14

chrisjenx
Member
Registered: 2012-07-01
Posts: 3

VLAN + RasberyPi

Hi I'm trying to setup openvpn on my RasPi.

I need to set up VLAN's (so I tag frames in and out of the single eth port)

I've been following VLAN - ArchWiki but to no success.
Every-time i try to add I get:

RTNETLINK answers: Operation not supported

By running:

ip link add link eth0 name eth0.10 type vlan id 10

I can only assume the module is not installed/compiled/avaliable?

Any suggestions? modprobe 8021q returns nothing hmm

Cheers,
Chris

Offline

#2 2012-07-01 23:16:37

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,283
Website

Re: VLAN + RasberyPi

chrisjenx wrote:

Any suggestions? modprobe 8021q returns nothing hmm

Does `lsmod` confirm that the module 8021q is loaded?

Isn't RaspPi ARM based? You're using Arch Linux ARM?

Offline

#3 2012-07-01 23:23:30

chrisjenx
Member
Registered: 2012-07-01
Posts: 3

Re: VLAN + RasberyPi

fukawi2 wrote:
chrisjenx wrote:

Any suggestions? modprobe 8021q returns nothing hmm

Does `lsmod` confirm that the module 8021q is loaded?

Isn't RaspPi ARM based? You're using Arch Linux ARM?

lsmod:

Module                  Size  Used by
ipv6                  221660  10 

So no its not loaded... humm.

Yeah RasPi is ARM, I'm using the RasPi build from here: Arch Linux Rasp

So next stupid question, how do i enable/build the VLAN module, I'll happily follow a tut if there is one?

Offline

#4 2012-07-02 23:07:16

fukawi2
Forum Moderator
From: .vic.au
Registered: 2007-09-28
Posts: 5,283
Website

Re: VLAN + RasberyPi

chrisjenx wrote:

So next stupid question, how do i enable/build the VLAN module, I'll happily follow a tut if there is one?

You're more likely to get better answers by asking on the ARM forums; many people here (including myself) have no experience with the ARM port.

In theory, if 8021q isn't built-in to the kernel (check /proc/config.gz) then you should be be able to compile your own kernel using ABS
On a stock arch -lts kernel, 8021q is a module:

$ zgrep 8021Q /proc/config.gz 
CONFIG_VLAN_8021Q=m

Offline

#5 2012-07-02 23:59:36

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,840
Website

Re: VLAN + RasberyPi

fukawi2 is correct: this belongs on the ARM forums... There is a Pi board there
http://archlinuxarm.org/forum/


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#6 2012-07-13 11:43:38

chrisjenx
Member
Registered: 2012-07-01
Posts: 3

Re: VLAN + RasberyPi

Apologies I should of checked, I thought archlinux was intrinsically arm. My mistake smile

Cheers all!

Offline

Board footer

Powered by FluxBB