Page 2 of 3

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 1:22 am
by shm0
I cant tell if fail safe isn't working because i cant get the timing right.
How long did you wait after you power on ? 30 seconds?

I think the openwrt wiki is wrong about wrt1200 port layout?
WRT1900
LAN
0 1 2 3 5
WAN
4 6

WRT1200
LAN
0 1 2 3 6
WAN
4 5

Maybe that was the problem.

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 1:23 am
by Lantis
failsafe you should be able to just spam one of the buttons after you turn the device on until it enters the fail safe mode.

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 1:48 am
by shm0
Okay this seems very strange.
It seems Router config got reseted. DHCP not working.
With Static IP Set on my client im able to access the web Interface. But i cant login because of wrong password?
Or is this the fail safe mode?

//edit
Okay the password is password xD

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 1:53 am
by Lantis
Sounds like it's halfway between fail safe and broken lol.
Did you try the default password "password"

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 1:59 am
by Lantis
If it did get back to the GUI for you, the best bet is to reflash the firmware to get it all happy again, then restore your backup

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 2:12 am
by shm0
Yes got it working again :D
Thanks for your help!

I flashed openwrt again to check vlan config there just for testing.
But there is nothing in the gui for vlans?
Maybe vlans aren't supported on the marvell platform?

And how to flash firmware to the secondary flash?

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 2:34 am
by Lantis
When you flash it automatically flashes the secondary flash. The router then boots into it.
The next time you flash it will also go to the alternative flash (the original primary).

So to get the same version on both, you need to flash twice in a row with the same image.

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 2:37 am
by shm0
Thanks again :D

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 3:03 am
by shm0
I found this in the ddwrt forum:
<Kong> wrote:
E.g. working example for the 1900AC V1:
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "5t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5t 4"
swconfig dev switch0 set apply
ifconfig eth0 up
ifconfig eth1 up
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 2
it should work exactly he way it does under openwrt.
But this doesnt work either. I tested all kind of combinations.
5t 0 1 2 3
5t 4
6t 0 1 2 3
6t 4
6t 0 1 2 3
5t 4
5t 0 1 2 3
6t 4

im a bit lost here...

Re: How to create separate network / vlan

Posted: Mon Jan 25, 2016 3:34 am
by Lantis
No idea sorry mate.
Possibly best to ask at the openwrt forums at this stage