Home sweet home
Portal for News from Nepal
This new website looks promising. नेपाली समाचार श्रोतका समाचारहरूलाई एकै ठाँउमा नियाल्न: http://7baje.com Mobile device friendly. Fast. News Aggregation. News from Nepal. नेपालको समाचार, छिटो, छरितो, एकै ठाँउमा धेरै श्रोतको समिक्षा। Most news websites from Nepal low awfully slow most of the time. This site is very interesting as it loads very fast, shows the […]
Allowing +trace in Unbound
By default, +trace works when querying Bind server as it returns root hints as NS-list for “.”. However, +trace disables RD flag and the first query (dig +norecurse NS .) is REFUSED by unbound. The fix: In unbound.conf, change access-control: 10.0.0.0/8 allow to access-control: 10.0.0.0/8 allow_snoop Change allow to allow_snoop for all subnets served by […]
Finally got my website online after a very long break. Thanks for visiting the site. Please leave your comments and suggestions. More contents will come gradually as I get more time to update it.
Ubuntu – GRE Tunnel
Creating a tunnel on Ubuntu Edit /etc/network/interface file and add this code auto gre1 iface gre1 inet static address netmask pointopoint pre-up iptunnel add gre1 mode gre local remote ttl 255 up ifconfig gre1 multicast post-down iptunnel del gre1 You might also need to “modprobe ip_gre” in some cases before activating the tunnel.
Ubuntu – disable USB automount
Hate it when Ubuntu unnecessarily mounts USB drives when you are doing some R&D. Here’s a quick way to disable it. $ gconftool-2 –type bool –set /apps/nautilus/preferences/media_automount false You can also use gconf-editor to set it to false. Once done, just set it to true again to make it auto-mount.
Ubuntu – reset root password
If you forgot your root password or to login to Ubuntu (for recovery) without the root password, follow these simple steps: While the computer boots, press ‘Esc’ as soon as the Grub loads to go into the menu. Press ‘e’ to edit the boot menu Select the kernel line and again press ‘e’ remove the […]
Hide Apache Server Signature
To hide the detailed information about your Apache web server, OS and plugins, you disable the ServerSignature directive by modifying your Apache configuration file: On CentOS vi /etc/httpd/conf/httpd.conf On Ubuntu vi /etc/apache2/apache2.conf Search for ServerSignature and change it to off ServerSignature Off Save the config and reload Apache to apply the change: On CentOS service […]
OSX Startup keys
Some useful startup keys for Mac: C : Force boot from the CD-Rom drive D : Force boot from the internal hard drive Option : System picker show all bootable disks Space Bar : Apple extension manager Command-S : Boots Mac OS X into “Single User” mode Command-V : Boots Mac OS X into “Verbose […]
Major fiber cut in KTM
Thursday evening’s brief fire on a pole was much more severe than I would have imagined. It severed dozens of fiber and other cables. It took the ISPs whole night plus the following day to fix the mess. If you’ve noticed the way the cables are pulled across the city, it won’t take you much […]
Playing with RoundCube, so far looking good. Open Source, Ajax, no frame, cool interface, nice layouts and pretty easy to install. Beginning to think about migrating from Squirrelmail to RoundCube.
Got any book recommendations?