Port Based MAC Address Filtering on a Zyxel GS1900 Switch

 

In this post we’ll show how to lock down a port on a Zyxel GS1900 network switch to only allow traffic for specific MAC address. The Zyxel documentation is very lacking when it comes to the port security features so we figured we’d share these details in hopes that others could benefit from the time we put into getting this working. Here at the office we have one of these switches and a recent need arose to ensure that only some owned devices could plug into a port and get on the private network. Thus far the switch has been a great piece of equipment for the price, performs well, and met our minimal needs. I knew that it supported port security such as this but once logged into the web interface the options didn’t make much sense at first. But after a little trial and error I figured it out and we now have a port secured to only allow two specific MAC addresses to connect to it.

For this example we’ll assume that we have the following two devices/MAC addresses that we want to grant access for them to connect to port 8. In our scenario we have one physical device which is running a Virtual Box VM in Bridged Networking mode so the VM access the port just like any other device would. So we specify both the physical MAC and the MAC for the virtual machine’s network card.
72:BE:E0:07:23:95
72:BE:E0:07:23:96

1. First, login to the web administration tool for your switch and navigate to the Configuration section in the left hand navigation as shown here:

2. Next, click on the MAC Table navigation item. Then add your two MAC addresses to the MAC Table as Static MAC entries on port 8. For example:

3. Next, expand the Security tree in the navigation and click on the Port Security navigation item. On the Global tab, select the Enable radio button and click Apply. For example:

4. Next, click on the Port tab on the same page. Check the box next to port 8 and click the Edit button. On the subsequent page, select the Enable radio button and change the Max MAC Entry Number field to 0 and click the Apply button. This is important and the part that would really have been nice to have been better documented by Zyxel. When finished it should look similar to this:

5. You should now be able to plug in either of the devices to port 8 and they can access the network. On the flip side, you should be able to plug in a device with a different MAC address and it not be able to access the network. In our case, both the physical computer and the Virtual Box VM can now access the network.

 

Source: 07/02/2017 by Brian Carey KISS IT Consulting Pittsburgh’s.

Clp-315 Toner waste bin error

My Samsung Clp-315 color laser printer showed me a red online led.  Because this means general error you need to connect it to the pc to see what the problem is in the Samsung Smart Panel.  My printer is normally connected to a printer server so the it’s not right away clear what the error was.

Smart Panel told me that there was “Toner waste bin full or not present” error, strange because there was a bin and it wasn’t full.
In the past the printer was transported without the cap on the waste bin, during that moment there was some toner spilled in the printer.

This toner was now blocking the light sensor and therefore the printer was thinking that the bin was full.
After cleaning it all was working fine again.

I think this same solution can work for other Samsung printers from the CLP-3xx series, give it a try.

Clp315 sensor
Tonercartridge
PlayPause
previous arrow
next arrow
 
Clp315 sensor
Tonercartridge
previous arrow
next arrow

 

 

Kymco light control bypass

For the second time the light controller of my Kymco S8 is broken.
You expect that Kymco improves bad designed parts, but unfortunately the replacement part is broken now again. The light controller will cost here in The Netherlands around €65, a lot of money for something you not really need.
The light controller will dim you light’s when the engine is running at idle speed. It’s not exactly clear why this is done but they say that it is to comply with the Euro 2 norm. Less pollution when the engine is running at idle speed.
When the controller breaks down you don’t have light anymore, no dim light and no high beam. When the blue high beam light on your dashboard is working you can almost be sure that the controller is broken.
To bypass the light controller and not alter your cable wiring you can insert some 8mm (outside measured) “fork crimp socket” in the plug that was going to the controller.
Be sure to bridge the blue wire with the blue wire and the white one with the white one.
Fork should insert easy, but you should feel that it’s making perfect contact.
The other 3 wires are for the power supply for the controller and the 3e single wire is coming from your cdi to tell the controller the rpm.
You don’t need them anymore.
To get it all mechanical stable and to prevent short circuit to some metal parts, finish it with some tape or heat shrinking tube.

 

Fork bridge connector
Fork bridge connector
Fork bridge ready
Some shrink tube for protection
The bad light controller
PlayPause
previous arrow
next arrow
 
Fork bridge connector
Fork bridge connector
Fork bridge ready
Some shrink tube for protection
The bad light controller
previous arrow
next arrow

 

Restore IP cam password

I was forgotten the password and ip address for my Chinese Ip Camera. Tried everything, but it was impossible to enter the camera again.
Most cams and other ip device’s have a reset button to “reset to factory default” but this cam not.
With the help of Wireshark the ip adres was found looking at the broadcast the cam did.

Looking at this youtube clip is was clear it can be done with a tool called ResetConfig_V2.

Easier said then done. Looking for this tool trough all Chinese webpages was not that easy because I can’t read any word Chinese and google translate also not.
After some search finally I found the tool.
It worked great for me, was not that difficult to reset the ip camera after I changed the language to English in the config.ini file.

Have fun.

2160 Downloads