May 17 2018

Browser Driver has Received Too many Illegal Datagrams

Published by under AS400

I was getting tons of events ID 8016 labelled “bowser” in the Windows system event log. These are generated by IBM i (AS400) servers:
“The browser driver has received too many illegal datagrams from the remote computer AS400 to name DOMAIN on transport NetBT_Tcpip_{356179F8-4CA4-48CA-92C2-AFEA87D1F884}. The data is the datagram. No more events will be generated until the reset frequency has expired.”
Here’s how to get rid of them:
Open Navigator for i
Browse Network, Servers, TCP/IP Servers
Select IBM i NetServer, clic on the Actions tab and select Properties

In the new window, go into the Advanced tab, click on “Next Start”
and untick “Send browse announcements”


No responses yet

Jul 05 2017

Auto Update Devices in GLPI

Published by under GLPI

Having loads of physical sites, it is extremely difficult to keep track of device’s locations, and even if you do, you may not be aware some people moved computers or printers around to a new place without telling; It can also be useful to know where a device was last seen.
– Add network switches in GLPI making sure Name (DNS name), brand, location and type fields are filled in
– Generate an SSH key pair on the server from where you are going to run the script, install the public key on the switches so you can log on automatically on each one of them
Supported switches include Cisco Catalyst, HP Procurve* and 3com but could be ported easily to other brands.
Check Cisco, HP and 3com official documentation to install the public key on each device.
– Edit GLPI settings (in the script) and run the script

– Gets the switch list from GLPI (registered as “switch” in network devices)
– Connects to the switches and gets a list of mac addresses
– If the mac is found in GLPI (within Computer, Printers or Network devices), updates Last modified date and location
– If not, gets the mac’s vendor from Internet. A cache makes it faster if the 6 digits were found before
– Tells percentage of known macs
– tells if duplicates are found in GLPI (mac found on the network matching multiple devices in GLPI)
– Works on Cisco, HP* and 3com switches and could be easily modified for other brands that support SSH auto-connect. Some gears like Cisco Small Business don’t support it.
% gets better as you register more and more macs in GLPI
You have no idea how many devices connect to the network!

* in combination with rancid

Download for free


No responses yet

May 29 2017

Determine OS within FTP Session

Published by under Networking

The “QUOTE” FTP keyword is essential to allow a user to run system-specific commands on servers (eg SITE or ALLO)
Most FTP clients send a NOOP – that actually is a dummy packet – to keep the connection up

ftp> quote noop
200 NOOP ok.

QUOTE SYST returns the Operating System the FTP server runs on, or at least gives you a hint.
Check these 2 examples on Linux Redhat and IBM i, the second giving more details than the first

ftp> quote syst
215 UNIX Type: L8

ftp> quote syst
215  OS/400 is the remote operating system. The TCP/IP version is "V7R1M0".

No responses yet

Next »