Wednesday, August 20, 2014

Proxmox updates and "no valid subscription" message

I just realized my ProxMox server hasn't been getting updates for many months now, and the same post pointed me to a simple way to remove the nagging "You have no valid subscription message" you get from logging in.

This post says that at some point I was supposed to change my repositories, but when I began getting the indicated "error" message, my searches indicated it was harmless so I ignored it.

And then this one shows how to remove the nag message.

Netcat snippets

A host of useful netcat commands can be found at some guys blog

What I was actually looking for was a way to forward a port from 80 to 22 on a local machine, this can be done according to Jonas Wagner's blog with:

nc -l -p 80 -c "sudo nc localhost 22"


Although on my gnu netcat, -c needs to be -e:

nc -l -p 80 -e "sudo nc localhost 22"

Thursday, August 14, 2014

Upload ssh certificates with ssh-copy-id

I've been doing this manually for years, and just found there is a command specifically made to add login certificate to an ssh server to allow remote login without password authentication.

ssh-copy-id -i id_rsa -p 22 $user@$host

Tuesday, August 12, 2014

Disable line wrapping in terminal

I just found this very useful at times option:

The command setterm -linewrap off will prevent lines from wrapping and messing up the beginning of the next line.

Also is using screen then Ctrl-A Ctrl-R will toggle line wrap.

Tuesday, August 5, 2014

Boot Dell Venue 11 Pro from USB

This has been frankly incredible. I have been trying for days to get a Dell Venue to boot from USB, or at least destroy the existing Win 8.0 partition. I have tried SO many different things, and every single one has failed for one reason or another.

  • Upgrade to 8.1 will not work, because I have to "turn off bitlocker" which is not on or installed (since it tells me to reboot with my install disk in order to turn it on) and has no option other than "turn on". 
  • I have been unable to boot from USB due to "invalid partition".
  • I got some sort of Win8.1 boot thing happening only to be told I was "Missing a media driver" which apparently was none of the Dell drivers I downloaded using the service tag.
  • I finally got an Ubuntu formatted USB stick to boot by going into bios, and enabling Legacy Roms, but NOT enabling legacy boot, then adding a new boot option to the uefi boot menu that was one of the random looking strings that had the word USB in it... HOORAY UBUNTU BOOTED!
  • BOOOO the display will display nothing but blackness despite the fact that it has clearly booted since I can hear volume up/down noises when pressing volume buttons.
THANKS FOR UEFI MICROSOFT NO WONDER YOU ARE ON SUCH A CLEAR UPSWING!