Tag Archives: LAN

View network bandwidth for each process in Linux using Nethogs

Rate this post

Have you ever been in the saturation that your Linux server is using a lot of network bandwidth, but it’s a guesswork to find the process using it all?

I just stumbled upon this tool, it’s not a new tools, but it’s extremely useful!

Let’s say you have a server running apache, mysql, ftp, btsync and a lot of other network services. and somehow that server is using up 100Mbit constantly. You want to find out what it is but only got tools like iftop, atop, iptraf and others which are all great tools, but they only show which connections are using the network bandwidth.

Continue reading

Get all new dhcp leases, but only the new leases since last check in bash

Rate this post

I needed to make a bash script for work that got the ip address of all new leases in the dhcp server, but only the new ones.
I spend some time looking for something useful, and therefore I decided to write a short post here to help others since i had a hard time finding it (maybe my google-fu is not as good as it should be)

The script had to do the following:
1. Get all new lines from a log file since last run
2. Get the ip addresses of the new leases
3. Do some stuff with the new ip addresses. This will not be part of this post
4. Run every minute in cron. This will also not be part of this post

In this post I will only cover how i did 1 and 2.

Continue reading

D-link DP-101 or other print server IP reset

D-link DP-101 or other print server IP reset
2 (40%) 4 votes

So you found an old D-link DP-101 or other printer server that you need to use, but don’t know what static IP address you gave it years ago?
The solution is simple.
This also on other D-link print server models, if you did this on models that are not listed below, please leave a comment so i can add them.

Verified to work with:

  • DP-101
  • DP-101P+
  • DP-300U

The D-link Dp-101 is a stable parallel to network print server, but it does not have the feature of a “Reset to default settings” hardware button anywhere. If you want to reset the device to default, or change the IP address without knowing what it is now, you have to do it with D-link’s tool, and it only works on 32Bit computers!

Here is how you do it, with link to the software
Continue reading

Belkin F5U103V serial to USB converter on Windows 7 64Bit

Belkin F5U103V serial to USB converter on Windows 7 64Bit
3.57 (71.3%) 23 votes

Update: I have not tested this on Windows 8, but it should work. If anyone does this on Windows 8 (i don’t have a Windows 8 machine laying around), please leave a comment to verify if it works or not.

Yes, this post is about Windows!
I had a problem yesterday, and thought I should post my solution since I had a hard time getting it to work and it might help others.

I have a D-link DGS-3324SR rack switch for my servers, and it had some random IP address on the configuration interface that I was not able to find, and I needed to get into the switch to configure some vlans.
I thought “That’s easy, just connect to the console port and thats it”, but then i came home to notice that none of my computers have a serial (RS323) port!
I then found a serial (RS323) to USB converter at work, the Belkin F5U103V and borrowed it for the day, but when i got home and plugged it into a Windows 7 64Bit laptop I noticed that there was no driver found for the device.

Continue reading