Ideasfoundry

Managing your bookmarks

Posted in productivity by ideasfoundry on August 17, 2021

Around 2004 I migrated from browser based bookmark manager to a web service called del.icio.us. I used it for quite some time and got used to it. But somehow I migrated back to browser based bookmarks, I think they were shutting it down.

Looking for alternatives I found Pinboard. Pinboard allowed import and archiving service. I bought the subscription because of archiving service as it solved the link rot problem and it served well.


But problem with all (local or web service) bookmark manager is that you forget. You forget that instead of hitting google, look in your bookmarks first.


So, now a days few options are:

Currently I am using Shaarli on RaspberryPi and its working well.

Good thing: There’s no database just one config folder. I recently updated my RPi and just moved the config folder to new SD card.

Shutdown Unifi Dream Machine – Command

Posted in unifi by ideasfoundry on August 14, 2021

Recently I was searching for a way to shutdown Unifi Dream Machine. Searched the GUI and online forum but no help. Then reddit came to the rescue and found this thread. Very useful thread and it has some other commands. But link to enable SSH on UDM is not working, get it from web archive here. Here is the screenshot from UDM. Enable SSH and it will ask you to set password. Use any SSH client, user ID is root.

Few command in that reddit link didn’t work. Like ubnt-fan-speed but sensors command gives fan speed.

Output from sensors command

I will summarise and paste commands here for my own reference.

Cisco/EdgeOS/VyOs Command/Best descriptionUDM/UDM-P SSH Command
show versioninfo
show system hardware and installed softwareubnt-device-info summary
show cpu tempetureubnt-systool cputemp
show fan speedsensors
show uptimeuptime
show ip routenetstat -rt -n
show tech-support (dump a file for tech support)ubnt-make-support-file <file.tar.gz>
show current userwhoami
show logcat /var/log/messages
show interface summaryifstat
show interfacesifconfig
show other Ubiquiti devices on local LAN segment (ubnt-discovery)ubnt-tools ubnt-discover
show config (wireless)cat /mnt/data/udapi-config/unifi
show DHCP leases (to NSname)cat /mnt/data/udapi-config/dnsmasq.lease
packet capturetcpdump
shutdownpoweroff
reloadreboot
show ipsec saipsec statusall
factory resetfactory-reset.sh
show system burnt in MAC addressubnt-tools hwaddr
restarts the UnifiOS Web interface/etc/init.d/S95unifios restart
show tunnel interfacesip tunnel show
show ip arp (show arp) and IPv6 neighboursarp -a OR ip neigh
reason for the last reboot/crashcat /sys/fs/pstore/*
play startup soundaplay /usr/share/sounds/unifi/Welcome.wav
help debug dynamic dnsgrep inadyn /var/log/messages
check unifi cloud connectionnetstat -an | grep 8883
Tagged with: ,

Notes taking applications

Posted in productivity by ideasfoundry on August 10, 2021

There are few utilities which I almost use daily but every six months I hunt for replacement. Like application for taking notes , bookmarking (with archive) and managing PDF/books.

For taking notes I have used:

Other apps (not tried):

I bought Inkdrop last year but didn’t renew it. Initially I thought of using on multiple devices (PC and Mobile) but I just used it on one or two systems.

I was using Cherrytree before Inkdrop. Now I am back to using Cherrytree. Its lightweight, clean interface, insert images/files and custom backup directory. Most of the apps these days support markdown but I don’t use it. I just want to make nodes/subnodes and type my notes. Also, when picking a notes app check out what format they support for import/export. In my case both Inkdrop and Cherrytree support import/export in Markdown. But when I imported my notes from Inkdrop to Cherrytree it messed up formatting, node names and I had to import .md file for each node. It took sometime to fix and I think now I will stay with Cherrytree.

Tagged with: ,

Windows 10 can’t update due to Sandboxie

Posted in windows by ideasfoundry on August 8, 2021

If you can’t update Windows 10 due to conflict with Sandboxie then read on.

For the past few months I couldn’t update Windows 10 due to Sandboxie. Error was something like: “Uninstall this app now because it isn’t compatible with Windows 10”. I had already uninstalled Sandboxie but still got the error.

  • Installing latest version again and uninstalling it.
  • Tried UninstallView from Nirsoft but it was not there.
  • Searched Windows event log but no clue just “Installation Failure: error 0xC1900209

Today I thought of resolving it once and for all. After some searching ended up on this link: (putting here in case it vanishes)

In step 2 I found several files matching that string.

I edited first file from the list as described in step 4 and 5. Then as in step 8 deleted the entire Sandboxie folder. In LowerCaseLongPathUnexpanded it had sbiectrl.exe path.

After this Windows was updated with no issues.

Tagged with: ,

Could not find rake-11.2.2 in any of the sources Run bundle install to install…

Posted in Uncategorized by ideasfoundry on August 16, 2016

If doing apt-get upgrade to Kali 2016.1 gives you following error:

root@kali:~# msfconsole
Could not find rake-11.2.2 in any of the sources
Run `bundle install` to install missing gems.

and then

root@kali:~# bundle install
Don’t run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all
non-root users on this machine.
Could not locate Gemfile or .bundle/ directory

Do this:

root@kali:~# cd /usr/share/metasploit-framework/

root@kali:~# apt-get install libxslt-dev libxml2-dev zlib1g-dev libpq-dev libpcap-dev ruby-dev libsqlite3-dev

root@kali:~# bundle install

 

Buy carefully from amazon.in

Posted in Uncategorized by ideasfoundry on July 11, 2016

Most of the times when we do online shopping we check how much discount is there against the price printed (as MRP may be) in that listing. This can fool you sometime as happened with me once and I noticed it today on amazon.in.

Earlier this year I was looking for a book and found it on amazon.in for Rs.535 against MRP of Rs.795. I immediately bought it but when I received the book and looked at the invoice the delivery charges were Rs.260 (it came from Delhi to Gurgaon). This makes the price exactly equal to MRP! The book is heavy but no way that a standard delivery will charge Rs.260. I posted all the details in seller’s feedback but magically amazon lost the review.

Image below shows the order amount.

Screen Shot 2016-07-11 at 8.00.34 PM

Today I was visiting amazon and saw 40% discount on WD USB Portable Hard Drive. Now, 40% is too good to be true. Here’s the listing and it is 40%

Screen Shot 2016-07-11 at 7.54.04 PM

Wow! But how do know its MRP is Rs.7980. Same drive is available in 4 colours. So, I clicked on Berry and check it out

Screen Shot 2016-07-11 at 7.54.37 PM

Just 12% discount. These two are from different sellers.

So, be careful when you buy anything from amazon.

Undersea cables in India

Posted in Tech by ideasfoundry on January 28, 2016

Frustrated by FUP of my DSL service provider, I thought of finding out all the cables coming to India and how much is actually lit. This sheet took around 2-3 weeks to complete but output was really eye opening.

Its divided into 5 worksheets, one each for landing station. If Name is in red then its covered in some other landing location worksheet.

Two items took most time to compile Cost and Lit capacity. The Lit capacity figure is from 2014. The “GBICS-MENA” cable is most confusing so, I made a separate sheet for it. The “Capacity” column is the maximum that cable can support. But I think they upgrade it as and when needed. So, if the capacity is 2Tbps then at the time of launch it may be at 100Gbps.

Sub-cables-India.xlsx

Why Netflix and like won’t work in India

Posted in Tech by ideasfoundry on January 9, 2016

I closely monitor my DSL bandwidth usage. Its 4mbps and 80GB. The reason I enabled traffic meter in my router was Plex TV. A friend of mine told me about Ogle.  I bought one month subscription to check out the collection they had. There was nothing exciting in Movies, they had few TV shows which looked interesting. I watched few movies (in fast forward) and some TV shows. After about 2 weeks I got message from Airtel that I consumed 80% of my quota. I was like who ate my bytes!

Then I thought for a second and told myself this Plex et al. will never work in India. Few days back Tata Sky was calling me up regularly to buy their WiFi dongle and watch movies from the library. I always asked the caller that who will pay for the bytes consumed and they don’t have any clue how much bytes it will eat.

Today this article on TheHindu is spot on. Given the state of quota imposed by all the ISPs its just too costly unless they cut a deal with ISPs.

about Ukraine Power Outages

Posted in attack, Infosec, Risk by ideasfoundry on January 7, 2016

Its everywhere over internet now and these two links came in my twitter feed:

http://dmcc.com.ua/uslugi/oblenergo/ http://eknis.net/en/solutions/SCADA-remote-control-systems/

Why do they put so much info over the internet? Same thing happens here also. Pick up any tender of public sector and you will find OSversion, Hardware, Network infra. Its just stupid.

The best part was:

Telemechanics systems made by Electrotechnical company “Eknis-Ukraine” are based on technical devices complex *** RTU560 by ABB*** . RTU consists of the following elements:

-    Processor module (560CMG10, 560CMD11 or 560CMU02);
-    Remote signaling module (23BI61, 23BE50 or 23BE23);
-    Remote metering module (23AI60, 23AE23 or 560CVT02);
-    Remote control module (23BA40 or 23BA20);
-    Industrial Ethernet switch, wired modem or wireless router;
-    Micro-server ItekWEB for connecting to electrical meters or
irregular substation equipment, controllers of which have interface
output.


BSA vs Firefox bicycle

Posted in bicycle, hobby, kids by ideasfoundry on September 11, 2015

I had same thought in my mind last week when I was thinking of buying for my son.

I searched but couldn’t find anything specific for kids bicycle. Finally, I bought Firefox and it is good. My daughter has BSA cycle but she never felt comfortable riding it.

So, three things which I like about Firefox are:

  1. Brakes are really soft for kids to use
  2. Build quality
  3. It doesn’t look bulky or heavy at all.

In Firefox you can adjust the height and its really easy to do it.

My daughter tried it today and she asked me to get one for her also. I asked her what’s so different in this? She told me that she can cycle it really fast and its so light to ride on. I think she nailed it!

Create your own website, free on WordPress.com.Create your own website.
Start free