:::: MENU ::::
Browsing posts in: Sci-Tech

How to fix a slow booting linux server

My debian 9 (stretch) server became slow and I was not sure what was causing it. Another thing I noticed was that it was taking longer than usual to boot. While booting, I also noticed a message showing up momentarily on the screen such as

“gave up waiting for suspend/resume device”

I also noticed that SWAP was not being utilized. Apparently, this happens when the UUID of the swap doesn’t match and swap is encrypted. I managed to fix it by the running code snippets given in this link

  1. Get the UUID of the swap by running the command: lsblk -f
  2. Note down the UUID and edit: /etc/initramfs-tools/conf.d/resume
  3. Replace the UUID with the correct one and run the command: update-initramfs -u
  4. Reboot and enjoy

This is assuming that you are a root user. You may have to use sudo prefix if you are not a root user. In case you are looking for a command to avoid typing things then you may refer to this link.

VM internet very slow in Proxmox with pfsense firewall

I noticed that the internet in one of the VM was super slow. I could not find the root cause, however, it seems to work better if I check “Disable hardware checksum offload” under System>Advance>Networking tab

Thanks to this reddit for saving the day: https://www.reddit.com/r/PFSENSE/comments/8dskri/slow_wan_speeds/

Proxmox: No internet in VMs

I struggled for about a month to fix the problem of no outward DNS resolve for my VMs. IP addresses such as of Google DNS service would ping, however, www.google.com would not ping.

Things were fine for one of the VM though. I finally noticed that the VM where things were working fine had model Intel E1000 for network devices. I edited that for the other non-working VMs as well and restarted the VM. That fixed the issue.

Therefore, while choosing network card for a VM in Proxmox with firewall (pfsense), I noticed that inward internet does not work when virtlo model is selected for the network device. Changing it to Intel E1000 fixed the problem.

Enjoy Virtualization

How to make ‘My Documents’ a Copy account

Copy is a fabulous online backup service. I was recently introduced to it and I like the fact that it gives you 15 GB free on signup (20 GB with referrals) and referral gives both people 5 GB. It is built by a seasoned network company and even have installer for Raspberry Pi (it’s so amazing!!). I’m just waiting for them to come up with a full-fledged Windows RT version so that I could sync my tablet to copy account.

copy logo

I’ve been a big fan of Dropbox and I’ll still keep using it–I have a 50 GB dropbox account with I got with my Galaxy phone. However I like to experiment. My last experiment was cubby.com and it was a nightmare. Some of the friends I recommend it to have stopped talking to me now (and I blame it on cubby).

Continue Reading