Page 2 of 4

Re: Add GUI for VLAN configurations

Posted: Tue Sep 29, 2015 1:59 am
by Chilling_Silence
I've been looking at this, just wondering if it's something that could be re-set via UCI or something every time the system saves and reloads?
Perhaps via a Plugin or something even?

Am I right that the following is run, every time the "Save Changes" button is clicked?
/usr/lib/gargoyle/restart_network.sh

If so, I'm sure I could figure out a way to force a VLAN on the WAN interface by having that modified.

What I'm wanting is to setup a router that can be given out to family, allowing them to change things like the WiFi name, but still at the same time forcing VLAN10 on the WAN (For UFB).
Happy to custom-compile it even if that's what's required, though I'm sure something like this could potentially even be done in the

Thoughts?

Re: Add GUI for VLAN configurations

Posted: Tue Sep 29, 2015 5:33 am
by Lantis
Nah that's not the right script as far as I know. That jus takes down the network, re-reads the config files, and then reloads the network.

The problem is that save changes in general overwrites configurations that it isn't programmed to make.

Re: Add GUI for VLAN configurations

Posted: Tue Sep 29, 2015 9:53 pm
by Chilling_Silence
Yeah my theory is if that script is called *after* the networking changes are made to the network conf, I could custom modify it so that at the _start_ of that script being run, it checks the network conf file and modifies the WAN adding VLAN10 to it.
If this were a Plugin, control of VLAN10 could be easy enough to add / remove by adding / removing this plugin. :D that's my current theory, anyways.

Time to brush up on my shell scripting I think :roll:

Re: Add GUI for VLAN configurations

Posted: Tue Sep 29, 2015 10:19 pm
by Lantis
I see what you mean now. Sure I guess that could work. Give it a go.

Re: Add GUI for VLAN configurations

Posted: Thu Oct 08, 2015 3:03 pm
by psycik
Did it work.

Re: Add GUI for VLAN configurations

Posted: Sun Oct 11, 2015 7:37 pm
by psycik
So I've spent a fair amount of time trying to get both a 1.8 and 2.1 version wr1043nd working with tagging.

Even took the 2.1 to a friend of mine that works at at isp and no combination of tagging and untagging would get tagged traffic coming out of the wan port.

I have some other options to play with the 1.8 version hardware.

Both I was currently trying to use gargoyle 1.8. But what combinations are known as working?

Even using openwrt on the 2.1 hardware we couldn't get going.

Re: Add GUI for VLAN configurations

Posted: Sun Oct 11, 2015 7:49 pm
by ericwong
psycik wrote:So I've spent a fair amount of time trying to get both a 1.8 and 2.1 version wr1043nd working with tagging.

Even took the 2.1 to a friend of mine that works at at isp and no combination of tagging and untagging would get tagged traffic coming out of the wan port.

I have some other options to play with the 1.8 version hardware.

Both I was currently trying to use gargoyle 1.8. But what combinations are known as working?

Even using openwrt on the 2.1 hardware we couldn't get going.
I am guessing you didn't configure it correctly. You must have missed/overlooked a few settings I have already posted.

Re: Add GUI for VLAN configurations

Posted: Sun Oct 11, 2015 8:36 pm
by psycik
ericwong wrote:
psycik wrote:So I've spent a fair amount of time trying to get both a 1.8 and 2.1 version wr1043nd working with tagging.

Even took the 2.1 to a friend of mine that works at at isp and no combination of tagging and untagging would get tagged traffic coming out of the wan port.

I have some other options to play with the 1.8 version hardware.

Both I was currently trying to use gargoyle 1.8. But what combinations are known as working?

Even using openwrt on the 2.1 hardware we couldn't get going.
I am guessing you didn't configure it correctly. You must have missed/overlooked a few settings I have already posted.
I wouldn't have thought so.

Anyway your v1 config, that is a 1.8 Hardware Router? And you've confirmed it on 1.6.2, what about 1.8 Gargoyle or 1.7.3?

Re: Add GUI for VLAN configurations

Posted: Sun Oct 11, 2015 9:16 pm
by ericwong
psycik wrote: I wouldn't have thought so.

Anyway your v1 config, that is a 1.8 Hardware Router? And you've confirmed it on 1.6.2, what about 1.8 Gargoyle or 1.7.3?
I have used the same VLAN configuration on both v1 and v2 Tp-1043nd. Works on both, makes no difference. Gargoyle firmware is not relevant either because this is a core Openwrt functionality which have not changed.

I am pretty certain you miss some configuration if it did not work ;)

To troubleshoot or if you unsure the correct VLAN configuration, change your router firmware to Openwrt and setup the VLAN using Openwrt's GUI. Then, download the network configuration file and use it after you have change your router firmware back to Gargoyle.

This is what I did to figure out the correct VLAN configuration for my router because Gargoyle didn't have the GUI and it can be difficult to configure it manually via plain text if you are not sure what you are doing ;)

Re: Add GUI for VLAN configurations

Posted: Sun Oct 11, 2015 10:15 pm
by psycik
ericwong wrote:
psycik wrote: I wouldn't have thought so.

Anyway your v1 config, that is a 1.8 Hardware Router? And you've confirmed it on 1.6.2, what about 1.8 Gargoyle or 1.7.3?
I have used the same VLAN configuration on both v1 and v2 Tp-1043nd. Works on both, makes no difference. Gargoyle firmware is not relevant either because this is a core Openwrt functionality which have not changed.

I am pretty certain you miss some configuration if it did not work ;)

To troubleshoot or if you unsure the correct VLAN configuration, change your router firmware to Openwrt and setup the VLAN using Openwrt's GUI. Then, download the network configuration file and use it after you have change your router firmware back to Gargoyle.

This is what I did to figure out the correct VLAN configuration for my router because Gargoyle didn't have the GUI and it can be difficult to configure it manually via plain text if you are not sure what you are doing ;)
That's what my friend did. After a bit of playing in gargoyle he switched to openwrt. He tried the combinations of 5t 6t, 5 6t, 5t 6t and included tried tagging some of the other lan ports and killing off all the firewall rules so that he could see in and out traffic on the wan port. To no avail.

How are you connecting to the ONT since you seem to be using DHCP where I've been using PPPoe