Kitz Forum

Broadband Related => Broadband Hardware => Topic started by: michty_me on June 05, 2018, 10:24:36 AM

Title: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 05, 2018, 10:24:36 AM
I'm looking at going back to a two box solution after having issues with my D7000.
Looking through threads, It appears this device is the go to unit.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 05, 2018, 06:13:15 PM
Very pleased with mine. Have just bought four of them.


Am using them as modems only, so have no experience with router, firewall, wireless etc. Nor experience with VDSL2 usage, but there must be plenty of other kitizens who can comment in that respect.

There are a few on eBay at the moment and I think there is even a new boxed one. Watch out because one that is advertised has no power supply brick so you would have to find something suitable 12V 1A min.

Oh and use our own hero johnson's firmware.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 05, 2018, 08:40:27 PM
Hi Weaver. Thanks for the heads up. I already put in a bid for the one without a supply but it got declined so just left it.
I have been in contact with someone on Facebook market place and bought a BNIB one for £40, Slipped him an extra few quid for quick shipping too so hopefully that is ok when it arrives.

Anything I should be aware of or special flashing advice (In a link is fine if it is already posted elsewhere)

My line is still banded but has been up for 12 days now. Looks fine as I have 1 ES over that 12 days!!!
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 05, 2018, 10:42:18 PM
@michty_me God, you did well then £40 is more like a sensible price and it's a new one too. Well, done yourself. Is math a rinn sibh. As my next door neighbour might say, when he’s in a good mood, which he always is.

About flashing, it's really easy, no problems with it. An http upload.

In fact if you push something really bad into it and it will not boot afterwards, a bad image file that you chose to reflash with, then you can just do some kind of pin-in-the-hole while drinking a glass of water upside down thing, instructions are in the manual on the ZyXEL website, and up comes a web thing to let you recover and do another upload to put a good image in instead. This is possible because the boot loader detects the doubly special paperclip thing and fires up a built-in simple separate web server, and the boot loader is not overwritten when reflashinf so it is always left alone and safe.

Because yours is new, it won't require something called "clearing ROM-D" which you might read about, which is where ISPs have customised the thing so that when the user selects "factory defaults" it goes back to the ISP's custom defaults not ZyXEL’s.

Burakkucat, Johnson and others know a lot more about it than me.

Johnson has excellent updated custom firmware that allows the use of full-length 1500+8=1508 byte long messages (MTU) and I recommend you use that. A link to Johnson’s image file is in the latter part of the thread about this modem and "MTU".

As regards config files, the config file is in lovely readable XML, although it is extremely long winded. That is just an http upload too. I can give you a config file, if you wish, or you could ask Burakkucat nicely perhaps.

I didn't know about Facebook market place. My wife does the Facebook thing, I will take a look.

The reason I have several modems is that I have three lines plus I always keep spares because of the alarming frequency of equipment damage due to lightning strikes and GPR/EPR due to thunderclouds, given the extreme length of my line and the isolation and altitude.

[Unforgiveable digression: I am actually wondering if mine is the highest house in Skye, it is actually not impossible, now I come to think about it. Made me think, now, so I went off and checked it and I think there is one other place, that is ~20 ft higher up than mine, right up at the North End of the Island, at Geàrraidh on the east side of the Bhatairnis peninsula. I am it seems only a mere 367 ft above sea level. My wife is inconsolable.]

Anyway that is part of the reason for all the lightning, that plus the ~7300m long line length.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 06, 2018, 07:00:45 AM
Hi Weaver  ;D

I have been reading up on your threads the past couple of days to be honest. Some of which goes over my head but interesting reading none the less!
This is the first time I have used Facebook marketplace so you have to change location around the country and select the maximum distance. I think I may have found the only one on it from what I can see. I initially offered more but the seller lowered it slightly.
I've taken note of the ROM-D which possibly might need done. As far as I can tell, It appears like an unbranded device but I'll know when it arrives.
I've also read about TR-069 (I believe it was called) to kill the auto updates. Is that for ISP branded ones or would an unbranded one require this also?

I shall download Johnsons custom firmware this evening and have everything prepared for its arrival.

If you could give me a config file too, That would be great and very much appreciated! Shall I PM your good self my email address?

I now understand why you have so many modems, It did make me wonder if you were just hoarding them  :lol:

Now off to go and read the MTU thread and download what I need!!
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 06, 2018, 12:46:49 PM
Sorry if things were unclear. I do ramble on, and a notorious windbag, it is genetic, on my mum’s side.  ;)  Do ask if you should need anything explaining.

TR-069 as you said is a system used by ISPs to remotely configure routers or modems and I think it might be able to push software updates into them too. You should not have a problem with it anyway if yours is a new one. In any case, it can just be turned off. I have attached my config file, which does just that.

* Note after loading up this config file the admin account’s password will become set to password1 not password which is the standard default. Username is admin as usual.

See attached, which is just a plain text file written in XML. (A stricter, more regular thing otherwise identical to HTML.) You can just edit it with a plain text editor, which is very useful. In case you ever feel the urge to put XML comments in it for yourself, I think the modem squawks then due to slack programming on their part. Burakkucat might be able to confirm this because I can't remember exactly.

Due to restrictions imposed by the forum on file names of attachments I have renamed the file to .txt. I am sure the modem doesn't care though. You might want to rename it to .xml for convenience if you have a smart editor that speaks xml.

Burakkucat and others will be able to tell you about the ”clearing ROM-D” thing, ie getting rid of non-standard defaults. It might be in a previous thread. You should not need to bother since it is a new one. To do the procedure you would iirc need to log in with the hidden supervisor account, username supervisor and I think the password should be set to 71ca956e after that config file has been applied. If that turns out to be wrong then Burakkucat might remind us of the procedure for digging it out of them modem. Just try that anyway.

Note for Kitizens reading this: no security worries about me revealing these passwords, the modems are not accessible from the internet anyway.

Any questions, I will try and help, but I am very new to this device. Burakkucat, Johnson and others are all old hands and will I am sure pitch in too.



Stop press : doh. I have just realised that when I saved that config file it had some settings in it which will not be correct for you. It is set up for my line, so the settings are ADSL2 only and you should change it to be right for you enable ADSL2+ as an option and VDSL2 as an option of course if you are on FTTC by ticking the tickboxes in the web GUI. My stupid fault.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 06, 2018, 01:50:23 PM
Thanks for the info Weaver.

Once I receive the modem, I'll have a proper look at it and see if I can think of any questions, I'll probably stick up a separate thread.
Is the config file just used for setting a connection i.e. I could create my own one which just stores my ISP details and settings I have selected from the GUI or does the config file store other information?
The config you posted just shows as a 0kb file and has no information included in it anyway.

The seller has stated the device isn't in his house and needs to retrieve it from storage so will be delayed in getting it already. We shall see but I sent the money by Paypal to be on the safe side!
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 06, 2018, 02:18:05 PM
Something screwed up in the upload of the attachment. Try again now - I have edited the original post above.

Because it is also a router and firewall and wireless access point and forty other things the config file is absolutely vast with a ton of stuff which is irrelevant for use as a modem but would be used if you turned it back into a wireless router. So it has got settings for more stuff than the parson preached about.

When you are using any PPPoE modem only the router knows about ISP settings such as PPP login usernames and passwords. The modem knows nothing about these.

For our purposes the config file has DSL line type settings in it and these need to be right for you.

But it also still has all the settings that you can set in the GUI, stores everything there is in the case of this modem, so it also stores usernames and passwords, enables features, such as turning on or off http or https web admin access, admin access via telnet and ssh, turns on or off ftp access iirc, and enables SNMP management. The list is still very long even when used as a modem anyway. Unfortunately all the router and wireless related default stuff is still all in there which makes it all very long.

The config is readable text so you will be able to guess what a lot off it means anyway, and I edit mine with a text editor.

My three modems have slightly different config, they have different names and different admin IP addresses for ease of access, which is a nuisance, so I have written a program for the iPad that takes one file and can make customised altered copies of it for modem 2 or 3 just to take the drudgery and errors out of this repetitive process whenever I make a change to the saved base master config for modem 1.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 06, 2018, 03:24:47 PM
If you just plug the modem in direct to your PC temporarily to set it up then you can talk to it for admin purposes at the default address of 192.168.1.1. Your own machine will need to have an address such as 192.168.1.99 or anything in that /24 range provided it does not clash with the modem itself at 192.168.1.1 obviously. As described in the ZyXEL manual.

Now. The question is do you bother setting up admin access through your router to the modem or not, for example using a web browser or using telnet or to get stats out of it. If you do, be aware that you expose your modem to tampering from the LAN. You may decide not to bother with the hassle.

A PPPoE-speaking modem and router do not need IP addresses at all for internet access to work, IP addresses aren't used in PPPoE, it just uses raw straight ethernet only. Now if there are no IP addresses set up associated with the two cable end points or if they are wrong then that doesn't matter much as the modem will still connect your router to the internet. So nothing to think about.

So with the current config it should just connect to the internet without any IP config changes to anything, provided you have changed the config to enable VDSL2 and ADSL2+ because of my earlier mistake. PPPoE modems connect you to the internet and just work with no tweaking required provided the DSL service type is auto and it just auto-detects. There is nothing to do just to get it working because absolutely no ISP-specific config is ever needed.

Some settings that I have put in the config file are just performance improving tweaks for my line and I should have put them back to defaults, so it will work with any DSL type by auto detect, as I mentioned in an earlier post.

In order to get admin access to the modem _through_ your router then some config will need to be done on the router. If you just want internet access to work and don't mind plugging the modem directly into a PC as mentioned above then there is nothing more to do though.

If you do decide to get access going through your router you might want to ask for some assistance on the forum because the how-to if it is router specific.

Btw the cable linking modem and router is always a separate LAN to the main LAN. (Unless your router can bridge that cable to the main LAN, that is.)

* There is an address 192.168.1.254 mentioned in the config file, which is the address I chose for the interface of _my particular router_ that is facing towards the modem on the linking ethernet cable. To get admin access through the router going, you might want to set up your router with an additional subnet interface defined for the modem to router cable and an ip address in that subnet set to 192.168.1.254. If need be edit the config file and change 192.168.1.254 to some suitable value within 192.168.1.* that is ≠ .1 as you don't want it to clash with that of the modem. Or change all mentions of the modem’s 192.168.1.1 address found in the config file to whatever you wish.



Also, I have just realised that there is a mention of an ISP-specific IP address in that config. The address 90.155.53.93 is time.aa.net.uk, the NTP server for the ISP AA. It does no harm but you might want to change it to something equivalent for your own ISP because that is close or else just delete it.

I can not get the NTP service working with mine because of problems working out how to set up the routing and I would have to use NAT too which I don't know how to do, well am also to lazy to work it out.

There is a very recent post in another thread about how to get NTP working and I would definitely recommend you look at that and try out those changes.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: johnson on June 06, 2018, 05:57:26 PM
While using config files is probably the best way of maintaining a complicated setup (and great if you have multiple modems that all need similar settings), I'd say for the initial set up something a little less daunting might be better? Just to get a feel for all the settings without hunting through a massive text file. Like:

Update to latest firmware
Acquire supvervisor password
Clear rom-d
Reset
Plug a PC directly in and configure - Disable wifi, set up VDSL bridge/vlan, interface groups etc

Having a GUI to do the VDSL settings, interface groups and the like will probably lead to understanding them better than fields in an XML file, no?


Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 06, 2018, 07:05:45 PM
Better find the supervisor password before upgrading firmware as you will be able to use dumpmdm in telnet which is the simplest and ofc  you'll know what password your device always generates to replace the default password of zyad1234

If your device was a branded one and also happend to have ROM-D restrictions that got in the way, then you can upload a config file to completely get around ROM-D as if it doesn't exist, and for that you can simply get the firmware zip file and inside you have the .rom aka the config that is the factory default already inside whichever firmware it belongs to, and you upload the configuration file as any other. Note you should get the zip file that matches the firmware the device came with [for example AAJZ.3].

ftp://ftp.zyxel.fr/ftp_download/VMG1312-B10A/firmware


If you use command prompt to send "dumpmdm" in telnet you'll need to increase buffer height to 9999 in order to be able to copy all the text & search for "supervisor" & find the password [you write "telnet" to start telnet and "open 192.168.1.1" to request login] :
https://windowswizardry.files.wordpress.com/2017/03/windows-features-enable-disable-telnetclient.jpg
https://www.isunshare.com/images/article/windows-10/change-screen-buffer-size-of-cmd-in-windows-10/right-tap-title-bar-and-choose-properties.png
https://www.isunshare.com/images/article/windows-10/change-screen-buffer-size-of-cmd-in-windows-10/change-screen-buffer-size.png
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 06, 2018, 07:31:40 PM
Thank you all for the piles of details.
I think for now, What I'll do is make sure it works when it arrives first!!! :lol:

My line is still currently banded due to the D7000 locking up and I suspect causing errors to be generated which then gave me a speed cap. That's my theory (I'll create a new thread for that)
My main use for it is wanting to set it up the VMG 1312-B10A so it handles the modem side of things whilst my D7000 handles the WiFi side of things for now.

All I'm thinking about at present is that it handles the modem side well with a fast but reliable speed and minimal errors but also able to access DSLstats easily.

Much like I had my HG612 prior to buying the D7000.
-Flashed the unlocked firmware
-Connected an Asus router and set it up.
-DSLStats worked through Lan2 (I believe thinking back long ago)

Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 06, 2018, 10:27:19 PM
https://forum.kitz.co.uk/index.php/topic,21532.0.html



ROM-D is cleared when you log in with supervisor-only at 192.168.1.1 on the web browser, you'd see a Clean option in the ROM-D tab at Management>Configuration , or send "save_default clean" in telnet as admin/supervisor [browser better, supervisor better].
Edit: After clearing ROM-D perform a pin-reset in the same boot session [restarts count as a different session].


"best firmware" [me and weaver are using 1312-B10A-from-zyxel-jumboframes-3925adsl_phy.bin, I have no problems so far and only gains]: https://forum.kitz.co.uk/index.php/topic,21273.msg373268.html#msg373268
I'm fairly sure it has the same configuration file as original v14 embedded in it, in case you want to flash to it first, in fact from my findings I have found the password to be in plain text on v14.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 07, 2018, 07:49:08 AM
Ok thanks for the tips.

Once I receive the device.
I'll start off by getting the firmware which Weaver and yourself had posted in the link from Johnson then follow the steps Johnson suggested in his earlier post. What is the difference between the two 1312 firmwares? Is one ADSL and one VDSL?

My only concern is that I'm unsure if I want to swap to the 1312-B10A just now as I'm trying to keep as much uptime as possible due to a previous issue I have experienced with my current setup.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 07, 2018, 08:50:11 AM
I think you should swap it if the current one ran for over 2 weeks, turning it off from the button after you prepared the transition but waiting 35 minutes before turning on the b10a hooked to the dsl socket.

The difference in his post is one is with a mod that updated the dsl driver and one has just the +8 mtu [jumboframes] mod. I recommend using the name I mentioned. About telnet sessions, if you need more than 1 at a time you can instead take the similarly named mod from page 11 on that thread.

About firmware I suggest you simply log in telnet first, once you connected a LAN cable to it, with user "admin" pass "1234" and write "dumpmdm" and see if it works, if not simply upload configuration .rom file from the firmware that matches your device in the web GUI, then it would work, and login with the password in the browser, clear rom-d and pin reset, and flash the firmware on the web browser then reset another time at Management>Configuration and you can use the gui to configure it. you should only edit the config if such an option is not available in the gui or alternatively telnet.

Also while the dsl socket is disconnected, you can test the bridge with the D7000. While connecting/disconnecting the DSL cable that modem should be turned off.

ftp://ftp.zyxel.com/VMG1312-B10A/user_guide/VMG1312-B10A_1.00.pdf

https://support.aa.net.uk/images/6/6c/VMG1312-B10A_CLI_Reference_Manual.pdf
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 07, 2018, 09:22:02 AM
Ok thanks. I'll maybe leave it a while longer. I am wanting to see if the lockup is going to occur again after roughly 30 days.
Is there a sticky thread with individual steps for setting up the Zyxel like there was with the HG612?
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 07, 2018, 09:44:32 AM
https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm


https://imgur.com/a/3kSM3hb
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 07, 2018, 09:57:07 AM
Fantastic! Thank you Spring!!
I've just been reading through the manual you attached a link to. It seems a very informative bit of writing compared to what I have seen in previous purchases.
One question, On page 84 of the user manual, Would you suggest to disable all ADSL functions and just leave all VDSL and DSL capabilities set to enabled?
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 07, 2018, 10:03:13 AM
I've edited my post too late I guess but there's a screenshot there, I posted some settings that are least to catch your eye, I altered the settings to match yours like PhyR on rather than off like on my ECI, and QoS off since QoS can only be done on the router or between the router and modem [not on the actual modem when it's in Modem-only as opposed to Modem-Router mode].

UPnP can be off with 0 side effects because the router has the firewall set to WAN>LAN block. [upnp also got a port stuck open once on my b10a, but that's in case it wasn't redundant].


Since bridge mode can't tick igmp snooping on the WAN page I think you should set it to off in the LAN page. I think.



There are cases that the firewall being on [should it be on? hm..] prevented static routes from working/being set. so there's that.
Edit: But for bridge mode it is not relevant, since it's router thing. But there's a page about adding it from the CLI when the GUI doesn't work [an example that in special cases you use commands instead of gui]: https://support.aa.net.uk/VMG1312-B10A:_Static_Routes

While at it there's another bug that if in router mode the WAN interface is deactivated, the next time it's re-activated the "Add as Default Gateway" box needs to also be re-ticked.

Quote
PPPoE Session-ID caching bug (In Bridge mode)
Issue Description

Last year we had an problem with Huawei FTTC modems, the standard ones that Openreach supply The bug appears to be that the modem manages to "blacklist" some UDP packets after a PPP restart. Typically this affects VPN tunnels. The short term fix is to unplugged and plugged back in!

We now have what looks to be the same fault on the ZyXELs - both on ADSL and VDSL.

When a PPPoE session finishes and a new one starts, ethernet frames containing IP packets with the same source and destination IP and port combination that were used in the previous session are received with the PPPoE Session-ID from the earlier session.

This affects long running sessions using protocols which use the same source port for all communications. This includes IPsec and (in some circumstances) SIP.

Our understanding of this, having talked to Huawei last year to get a very similar bug fixed is that the problem is with the packet accelerator feature in the Broadcom chipset. It is caching frame headers including the PPPoE Session-ID, but not checking if the Session-ID is the same when searching for the entry in the cache for subsequent packets. Unplugging the ethernet cable from the VMG1312 momentarily resolves the problem - that action must trigger a cache flush in the Broadcom chipset.

Possible fixes would be to either not store the Session-ID in the packet accelerator cache at all, or to check the Session-ID in addition to the IP and ports when searching the cache. A workaround would be to disable the packet accelerator.

(Side note for other ISPs looking at this: This does not affect lines that have dynamic WAN addresses, which none of our service do.)

https://support.aa.net.uk/images/7/7b/VMG1312-Menus-Admin.png
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 07, 2018, 10:42:56 AM
Ah brilliant!! Thank you for doing that for me. When I get home, I'll save your screenshots to the desktop and use them as a small guide to assist me with the settings. Now, Lets just hope it gets shipped soon. I've been told today but we shall see!!!
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 07, 2018, 10:48:09 AM
I use it as a modem-router without bridge so you disable DHCP [and add a static dhcp for the router] on the B10A and leave it on at the router.

About static routes, I've seen Weaver adding them, and I'm confused if those are needed for bridge but it seems it's just recommended and not needed.

Code: [Select]
Advantages

Static routing, if used without dynamic routing, has the following advantages:[citation needed]

    Static routing causes very little load on the CPU of the router, and produces no traffic to other routers.
    Static routing leaves the network administrator with full control over the routing behaviour of the network.


Disadvantages

Static routing can have some potential disadvantages:[3]

    Human error: In many cases, static routes are manually configured. This increases the potential for input mistakes. Administrators can make mistakes and mistype in network information, or configure incorrect routing paths by mistake.
    Fault tolerance: Static routing is not fault tolerant. This means that when there is a change in the network or a failure occurs between two statically defined devices, traffic will not be re-routed. As a result, the network is unusable until the failure is repaired or the static route is manually reconfigured by an administrator.
    Administrative distance: Static routes typically take precedence over routes configured with a dynamic routing protocol. This means that static routes may prevent routing protocols from working as intended. A solution is to manually modify the administrative distance.[4]
    Administrative overhead: Static routes must be configured on each router in the network(s). This configuration can take a long time if there are many routers. It also means that reconfiguration can be slow and inefficient. Dynamic routing on the other hand automatically propagates routing changes, reducing the need for manual reconfiguration.


About the sound of something loose inside the B10A that you might hear when handling it, see: https://forum.kitz.co.uk/index.php/topic,20460.msg357219.html#msg357219
Mine is brand new and came loose.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 07, 2018, 11:16:45 AM
Yes I did read about the rattle which people believe is from the PCB just resting inside. I shall see what my new purchase arrives like anyway. I think I have a good idea on how to set it up anyway going forward now. Thanks everyone!
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 07, 2018, 11:28:25 AM
Well DHCP on the modem off and no static dhcp needed since the router is the one assigning DHCP.

In case you want to have two seperate LANs [if it works on a 1312]: https://forum.kitz.co.uk/index.php?topic=20072.0


Static routes saving issue [context of different subnets but good to know, in case]: https://forum.kitz.co.uk/index.php?topic=20996.0
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 07, 2018, 02:01:35 PM
All I have is one router that covers the whole house and the Zyxel will be modem only, So should be nice and simple for me  ;D
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 06:16:15 PM
Ok, I have now received my Zyxel device. It is an iTalk branded device. Not too sure if that changes the process for flashing. I assume I have to kill the function for auto updating? It is all still in the plastic seal so never been used.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Deathstar on June 12, 2018, 06:26:18 PM
Do a hard reset and upload standard firmware. Mine was an iTalk device, now all clean and factory.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 06:46:56 PM
What I have done so far is:

-Pushed reset button for 30 sec+ to put into recovery mode.
-Downloaded Johnstons firmware (1312-B10A-from-zyxel-jumboframes-3925adsl_phy.bin)
-Gone into Broadband settings and changed to bridge, VLAN active and left 802.1p at 0, Changed 802.1q to 101 (Is that correct??)
-Followed the rest of Springs recommendations here https://imgur.com/a/3kSM3hb.

Anything else I need to do other than set router up?
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: burakkucat on June 12, 2018, 07:02:53 PM
Log in as "supervisor" and from the "Maintenance --> Configuration --> ROM-D" page, press the "Clean" button to ensure that a pure, vanilla, ZyXEL configuration is being used.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 07:31:29 PM
Log in as "supervisor" and from the "Maintenance --> Configuration --> ROM-D" page, press the "Clean" button to ensure that a pure, vanilla, ZyXEL configuration is being used.

I'll need to go through the steps of gaining the supervisor password first. Just doing some research

Edit: Do I need to be on a lower firmware to be able to use dumpmd?
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 08:11:34 PM
Log in as "supervisor" and from the "Maintenance --> Configuration --> ROM-D" page, press the "Clean" button to ensure that a pure, vanilla, ZyXEL configuration is being used.

Am I confused or does holding the reset button to wipe clean the device then uploading a bin file not the same? I flashed a config file from AAJZ.14 and all the menus look the same as before or am I missing something here?

This is what I see now

(https://i.imgur.com/wJqQxDy.jpg)
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: johnson on June 12, 2018, 08:13:12 PM
Without clearing rom-d the long reset press loads the configuration stored there instead of a totally clean one.

Its not a big issue but for peace of mind most people choose to clear it.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 08:24:36 PM
Ahh I see, Can the "dumpmdm" command not be used with the latest firmware?
I've tried to "open 192.168.1.1" but get an invalid command error.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: johnson on June 12, 2018, 08:32:21 PM
dumpmdm should work on all firmwares.

By "open 192.168.1.1" do you mean telnet-ing into the device? Are you on windows? You need a program to do so and I believe putty (https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) is the client of choice.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 08:46:31 PM
Ok. I've heard of Putty before.
I was following steps from spring on page one using windows 10 telnet.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: johnson on June 12, 2018, 09:02:33 PM
Oh does windows 10 have a built in client? By all means use it if it works.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: banger on June 12, 2018, 09:08:23 PM
Telnet in windows 10 needs to be enabled in settings.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 09:21:12 PM
I did have it enabled in windows 10 settings but it wouldn't work however, I managed to get it to work in Telnet and got a massive dump file but it appears that I may only be getting half??

The first line of the copied clipboard file is <SNRpsus>None</SNRpsus>
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 12, 2018, 09:46:50 PM
you've been given a load of misinformation, you simply use dumpmdm in telnet and search for the supervisor password, thought i said it clearly, and neither would i count on a hard reset [30-30-30 on-off-on without letting go] as there's no need

did you follow this and set line height to 9999?
https://forum.kitz.co.uk/index.php/topic,21676.msg374530.html#msg374530

i'll also go with johnson about hard reset not working, and assume that to de-brick a device that, was bricked by a bad rom-d, you'd have to serial connect to it.


if dumpmdm doesn't work then upload v11 along with its .rom config file after you uploaded it. see, it overwrites the running config that was loaded by the rom-d effectively letting you be temporarily [until a reset to default settings] be free of its italk settings. firmware is uploaded in the gui not the 30 sec recovery mode, that is only if the gui can't be used.

ftp://ftp.zyxel.fr/ftp_download/VMG1312-B10A/firmware/VMG1312-B10A_1.00(AAJZ.11)C0.zip


Edit: I just re-read and realized telnet didn't work for you, enable telnet on the device. ill screenshot where.


Edit2: https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-xp/bb491013%28v=technet.10%29
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 10:09:28 PM
Telenet is already enabled on the device.
I followed your screenshot, Typed "telnet" to launch windows telnet in cmd which works fine.
It is the next part to open "192.168.1.1" which isn't working.



EDIT::: Hold the bus!!!!! I may be onto something here.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 10:14:57 PM
Done!!! My goodness! That was cracking me up. My brain is not functioning with a dose of man flu just now. I made a mistake in putting something in.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: johnson on June 12, 2018, 10:38:39 PM
Great stuff  :drink:
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 12, 2018, 10:39:48 PM
That's enough tinkering for tonight. I'll play about with it for the next few days. Currently still waiting to see if the D7000 trips over once it reaches the time it normally falls over before removing the modem side of it for the Zyxel.

I've set it up following all your settings Spring and made a backup of my config now. Hopefully it will just be a case of plug in and then sort out the Netgear to deal with the routing side.

Can someone confirm this?
Gone into Broadband settings and changed to bridge, VLAN active and left 802.1p at 0, Changed 802.1q to 101 (Is that correct??)
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: johnson on June 12, 2018, 10:44:22 PM
Gone into Broadband settings and changed to bridge, VLAN active and left 802.1p at 0, Changed 802.1q to 101 (Is that correct??)

Sounds good to me, I use 802.1p 2 on TTB, but I'm not entirely sure it makes much difference.

One more thing would be settings up the interface groups to have the bridged connection on one port and stats available on the rest, but probably something for mañana.  ;D
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 12, 2018, 10:48:42 PM
I'd say make 802.1p 1

1 and 101 is probably it, but you can check your current router settings in case. It may be 0 and 101 there, but unless the router uses 2, that you would keep 2, then 1 is most likely more compatible/better than 0.

One more thing would be settings up the interface groups to have the bridged connection on one port and stats available on the rest, but probably something for mañana.  ;D
https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm  ?


 :fingers: hope the bridge works out of the box
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 12, 2018, 11:09:27 PM
Dare you try responding by uploading the config file that I posted, remembering that you will have to make a few changes because of my mistakes which I listed afterwards in the thread?
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 13, 2018, 07:00:13 AM
I'll potter about with the bridge settings a later date. I have saved the link from Springs earliers post on how to setup a Zyxel in bridge mode.
Can someone explain what those numbers are for 0-9 in 802.1p? In my Netgear settings it shows priority 0-9 in the drop down settings so assume it is that and VLan ID is where I would put 101 which is what I assume 802.1q?

Weaver - I can easily load in your config. Will it not be vastly different to my requirements though i.e. ADSL setup, Multi-modem use in your case etc. I'll load it later for a nosey though.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 13, 2018, 09:52:46 AM
Looks like it is 0 and 101 according to an article I found on the Zen website.

https://support.zen.co.uk/kb/Knowledgebase/ZyXEL-VMG1312-Fibre-Optic-VDSL-Broadband-Setup
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 13, 2018, 10:12:15 AM
Give 1 a shot, what can happen xd, and kitz and everyone here say 1 is most times better (https://kitz.co.uk/routers/zyxel_VMG8324-B10A_vdsl_setup.htm). They didn't mention 802.1p, just 802.1q, so Sam didn't say xD


Yeah that config is for learning from Weaver not for using it, but for now it's not the time to load it unless there's something that can't be fixed on your own config [you can post any issues].
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 13, 2018, 10:43:02 AM
Ah, I have no idea what priority does. Probably nae much.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 13, 2018, 11:15:19 PM
The priority is a QoS (quality of service) thing: when packets are queuing to be transmitted, the 802.1p priority number should determine which packets should go out first. Highest number goes first, ahead of others. Many many systems do not bother to speak QoS properly or even at all.

    https://en.wikipedia.org/wiki/IEEE_P802.1p
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 14, 2018, 07:10:59 AM
Thanks for the info guys. Looks like I'm all ready to plug in and get going. I'll update when I get round to installing.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: Weaver on June 14, 2018, 06:19:31 PM
[Just switch off for a minute and ignore the following]
To confuse matters even more, there are three priority marking systems.

1. 802.1p at layer 2 (ethernet) - for use with all kinds of ethernet frames not just IPv4 or IPv6 packets up with other protocols too.
2. With wireless LANs there is a priority system for marking wireless frames called WMM_something eg WMM_BACKGROUND for low priority and various others, important when controlling different things fighting for time on the wireless LAN. Also at layer 2.
3. at layer 3 = IP there is a label called DSCP or DIFFSERV (»differentiated services”) similar kind of thing for indicating the priority of IP packets.

It all gets a bit weird if things are marked with more than one of these things at once. Does the lowest layer’s marking determine what happens ? So maybe L2 markings are considered, and then if L2 markings are equal, then the L3 marking may or may not be considered next?

And apps or operating systems have to somehow decide how to mark PDUs and at which layer or layers do they apply marking? Perhaps someone could enlighten me?

Perhaps in o/s <blah> apps that send eg IP packets find it difficult to specify what kinds of L2 priority marking should be applied to L2 PDUs on wireful ethernet II or wireless 802.11n/a/ac/whatever, because L2 PDUs are one level too many removed, too far down the stack. Could anyone tell me?
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 22, 2018, 06:11:12 PM
All up and running now with the Zyxel. A couple of Mb better max attainable speed but until my line is reset, I won't know for sure what the final outcome is.

On another note, I followed this guide to get DSL stats working.

https://kitz.co.uk/routers/zyxel_VMG8324-B10A_bridge.htm

It works but I then lose the network until I delete the added extra line. I must be doing something wrong.

Edit: Odd, It seems to be running now after I deleted that line and only have the default line in for my connection.

Edit 2: No, Its gone  :lol: after I unplugged my network cable from the PC to the Zyxel.
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: spring on June 22, 2018, 08:21:10 PM
https://forum.kitz.co.uk/index.php/topic,20226.msg353554.html#msg353554
Title: Re: Looking for a ZyXEL VMG1312-B10A
Post by: michty_me on June 22, 2018, 08:25:11 PM
Thanks. Will have a play about with it later tonight or tomorrow.