802.1q vlan range on E3000 - VIDs beyond 15 possible?

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 7, 8, 9, 10, 11  Next
Author Message
Malitiacurt
DD-WRT User


Joined: 16 Aug 2012
Posts: 190

PostPosted: Sat Jun 15, 2013 6:58    Post subject: Reply with quote
Tomato lets you set VID's up to 4096. It uses an offset with multiples of 16.

So for your case, set an offset of 832, so your VID would be the 3rd VLAN with a VID of 835.
Sponsor
lowjoel
DD-WRT Novice


Joined: 09 Jun 2013
Posts: 7

PostPosted: Sat Jun 15, 2013 12:04    Post subject: Reply with quote
xbr32 wrote:
The switch-robo module seems not to be loaded after an insmod. I don't see it in lsmod and the folder proc/switch is empty. I also try to make a insnmod switch-core like described in a earlier post.


For my old wrt610n:

Code:
/sbin/rmmod switch-robo
/sbin/insmod switch-core
/sbin/insmod /jffs/switch-robo.ko
xbr32
DD-WRT Novice


Joined: 11 Jun 2013
Posts: 5

PostPosted: Sat Jun 15, 2013 14:13    Post subject: Reply with quote
I tried but without success, the proc/switch folder is still empty. Here is what I've done:
-I activated jffs in dd-wrt GUI
-I downloaded the file switch-robo-e3000-gcc412.zip posted by cron2 Wed Feb 09, 2011 16:57 and extracted switch-robo.ko
-I copied it with winscp/ssh to the folder /jffs
-I ran the following commands
chmod a+r /jffs/switch-robo.ko
rmmod switch-robo
insmod switch-core
insmod /jffs/switch-robo.ko

but no folders were created in proc/switch and i don't see switch-robo with lsmod. Did I miss something?


@Malitiacurt : i read the tomato shibby website, and it seems my router (wrt610n v1) is not compatible. In the router list there is the wrt610n V2 but not the V1. Is it risky to flash my V2 with the tomato V1 build? Will it brick it?

Thanks
Malitiacurt
DD-WRT User


Joined: 16 Aug 2012
Posts: 190

PostPosted: Sat Jun 15, 2013 19:20    Post subject: Reply with quote
Yes it will brick it. They use completely different hardware.

Unfortunately looks like 610n v1 is not supported by Tomato.

You could always buy another cheap router simply to load Tomato on to get your unique VID working.
xbr32
DD-WRT Novice


Joined: 11 Jun 2013
Posts: 5

PostPosted: Tue Jun 18, 2013 12:54    Post subject: Reply with quote
Before buying another router, do you know if it is possible to use the switch robo module of this thread with a wrt610n v1? Or is it definitely incompatible?

I'm not a pro of dd-wrt so I'm just applying the procedures described in this thread, I'm not capable of modifying the code. So I wanted to know if I can use the module posted by cron2 without changes.

Thanks
xbr32
DD-WRT Novice


Joined: 11 Jun 2013
Posts: 5

PostPosted: Fri Jun 21, 2013 8:59    Post subject: Reply with quote
up?
David07
DD-WRT Novice


Joined: 31 Aug 2013
Posts: 2

PostPosted: Sat Aug 31, 2013 19:34    Post subject: Reply with quote
I all,
to start, sorry for my English.
I'm trying switch-robo.ko without success:
Code:
cd /tmp
wget http://www.dd-wrt.com/phpBB2/download.php?id=18205 -O switch-robo.ko
rmmod switch-robo;insmod /tmp/switch-robo.ko
sleep 10

The module load seems OK because I can see "roboswitch: Probing device eth0: found a 53125!" in dmesg and I can see 128 vlans in /proc/switch/eth0/vlan/

Now if I type this:
Code:
echo "4 8" >/proc/switch/eth0/vlan/2/ports
echo "1 2 3 8*" >/proc/switch/eth0/vlan/1/ports
echo "0 8" >/proc/switch/eth0/vlan/100/ports

no error messages but when I try to do
Code:
cat /proc/switch/eth0/vlan/2/ports
cat /proc/switch/eth0/vlan/1/ports
cat /proc/switch/eth0/vlan/100/ports


the files are empty (no output) Sad

My routeur is a Linksys E3200 (Bradcom BCM53125).

Can someone confirm this module is working with the Linksys E3200 ?
The firmware is DD-WRT v24-sp2 (05/27/13) big (SVN revision 21676) (dd-wrt.v24-21676_NEWD-2_K2.6_big-nv60k.bin)

Thanks for your help,
David.
David07
DD-WRT Novice


Joined: 31 Aug 2013
Posts: 2

PostPosted: Mon Sep 02, 2013 10:53    Post subject: Reply with quote
Hello !
You can forget my previous message.
I solved the problem with the Tomato firmware.

David.
Bibeu
DD-WRT Novice


Joined: 25 Jul 2008
Posts: 4

PostPosted: Sat Oct 05, 2013 17:57    Post subject: Reply with quote
Hi all
I read this thread but my limited english and null vlans skills stick me in the vlanid 4097 Confused .
So please, say me if from those days I could have the vlan id 100 working on a buffalo whr-g54s.
I flash it with the same mini-generic or voip builds than the wrt54gl, and I need to have it set up as a WAP, but it is not very important if I cannot/would not "assign wan port to switch".

Thank you very much
Wolf Kodi
DD-WRT User


Joined: 13 Jun 2010
Posts: 126

PostPosted: Mon Oct 14, 2013 0:37    Post subject: Reply with quote
xbr32 wrote:
Before buying another router, do you know if it is possible to use the switch robo module of this thread with a wrt610n v1? Or is it definitely incompatible?

I'm not a pro of dd-wrt so I'm just applying the procedures described in this thread, I'm not capable of modifying the code. So I wanted to know if I can use the module posted by cron2 without changes.

Thanks


The switch-robo module at the beginning of this thread is meant only for K2.6. Use a K2.6 built on your wrt610n and you should be able to see vlan folders in proc/switch.

_________________


YouTube | Facebook Page
Per-user Live Down/Upload Rate Monitoring [No PC needed!]
IceMan76
DD-WRT Novice


Joined: 17 Aug 2014
Posts: 7

PostPosted: Sun Aug 17, 2014 14:40    Post subject: All easy! Reply with quote
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=913752#913752
kevindd992002
DD-WRT User


Joined: 27 Feb 2009
Posts: 457

PostPosted: Fri Jun 26, 2015 2:56    Post subject: Reply with quote
So what's the latest news about this? Can I have vlan id's greater than 15 for a wrt310n v1 router?
TheDark
DD-WRT User


Joined: 08 Oct 2006
Posts: 55

PostPosted: Sat Jul 18, 2015 0:44    Post subject: VLAN ID above 15 supported on R7000 router ? Reply with quote
Hi,

I need to use VLAN 3001 with my ISP.
I use R7000 router, can you tell me if DD-WRT support this VLAN ID ?

I tried the following command :

nvram set vlan3001hwname=et0
nvram set vlan3001ports="0t 5u"
nvram set wan_ifname="vlan3001"
nvram commit
reboot

I notice that wan_ifname was not fixed properly.
Then i add it in startup like this

nvram set wan_ifname="vlan3001"
servicestart wan

It's fixed when i do a nvram show, but 0 traffic Sad

Please advise, best Regards.
maxter
DD-WRT Novice


Joined: 07 Oct 2011
Posts: 1

PostPosted: Sat Jan 30, 2016 17:36    Post subject: Patched module for ARM/ Asus RT87U Reply with quote
Hi all,
first of all thank for this thread this saved me lot of time gave me lot of inside info of vlan ddwrt. So here is my contribution.
I am from Dubai my ISP is Etislat, recently I moved to new apartment and new FTTH connection. previously I didnt have any issue with Vlan VID, for new setup I have to give VID 30 for PPPoE link. I read the whole thread and managed to recompile the kernel module for my device ( asus ac87u / Linux 4.4 ) with switch robo patched for 32 instead of 16. Everything is working fine when combined with the below jffs + startup script
Code:
rmmod switch-robo
insmod /jffs/switch-robo.ko
nvram set pppoe_wan_ifname=vlan30
nvram commit
vconfig add eth0 30
ifconfig vlan30 up
echo "0t 7t" > /proc/switch/eth0/vlan/30/ports



switch-robo.zip
 Description:
patched switch_robo mdule for 32 vlans

Download
 Filename:  switch-robo.zip
 Filesize:  7.4 KB
 Downloaded:  328 Time(s)

!Lucky
DD-WRT Novice


Joined: 30 Aug 2016
Posts: 1

PostPosted: Tue Aug 30, 2016 0:19    Post subject: Reply with quote
Is reaally neeed add patch if i need to vlans on wan .16 (ppoe) and .50 (static ip)
i have rt-ac87u can some body write commands i need for interfaces.
Goto page Previous  1, 2, 3 ... 7, 8, 9, 10, 11  Next Display posts from previous:    Page 8 of 11
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum