Starting programs on a remote linux desktop

2011-02-09 22:25:44 +0100

This was something that I was looking for a long time and finally found while looking for a completely different thing altogether!
Agreed I always wanted this only for mischief :P Basically what I wanted was to fire up any GUI so that it would show on a remote desktop and not on my local display. clearly I didn't want vnc or ssh -XCYP.

What I needed was this:

ssh -X host
export DISPLAY=:0

and then I can run any gui and it will open on the remote desktop.
would make things look like some hacky mischief ;)

okay, another thing I learnt was how to start and stop gnome screensaver remotely.

so instead of doing a killall -9 screensaver, you can do
gnome-screensaver-command -d

So there are things that are still fun!
Gosh, do I miss college!

Read More

IANA IPv4 Exhaustion

2011-02-09 10:53:32 +0100

* IANA IPv4 Exhaustion

At a ceremony held on 3 February, 2011 the Internet Assigned
Numbers Authority (IANA) allocated the remaining last five /8s of
IPv4 address space to the Regional Internet Registries (RIRs) in
accordance with the Global Policy for the Allocation of the
Remaining IPv4 Address Space. With this action, the free pool of
available IPv4 addresses is now fully depleted. To read the full
text of this announcement please go to:

http://www.nro.net/news/ipv4-free-pool-depleted

* World IPv6 Day

Facebook, Google (NASDAQ: GOOG) and Yahoo (NASDAQ: YHOO), websites
with more than one billion combined visits each day, are joining
major content delivery networks Akamai (NASDAQ: AKAM) and
Limelight Networks (NASDAQ: LLNW), and the Internet Society, for
the first global-scale trial of the new Internet Protocol, IPv6.
On June 8, 2011, dubbed World IPv6 Day, participants will enable
IPv6 on their main services for 24 hours. Cisco, Juniper,
Hurricane Electric, and Bing have also announced their
participation.

http://isoc.org/wp/worldipv6day/

Hurricane Electric's open letter to Hurricane Electric Customers,
Partners and Managers of Interconnected Networks about World IPv6
Day.

http://he.net/news/Hurricane_Electric_Letter_Regarding_World_IPv6_Day.pdf

At Hurricane Electric, every day is an IPv6 day.

* IPv6 Deployment Growth
The global IPv6 routing table has passed 4000 IPv6 prefixes.

Of the 36820 networks in the world running BGP, the number running
IPv6 has increased to 3107, or 8.4 percent.

Source: http://bgp.he.net/ipv6-progress-report.cgi

* Hurricane Electric Updated Network Map
We've continued to expand our network.

Updated Network Map: http://he.net/HurricaneElectricNetworkMap.pdf

Hurricane Electric now has over 6000 BGP sessions with over 1600
IPv4 and IPv6 networks at 45 different exchange points in North
America, Europe, and Asia.

Read More

Nexus S India Launch

2011-02-05 10:49:29 +0100

UPDATES: Flipkart announces estimated launch date as april first week!
Nexus S is the second generation of pure android phone developed by Google. This time the manufacturer they chose is Samsung. The first version (Nexus One) was developed in association with HTC. The major difference between Nexus and other android phones is the absence of any manufacturer add on. So what you see on a Nexus phone is pure android, as Google developed it.

Nexus S in India is rumored to be launched on February 13th, 2011. april first week!

As of date, two online retailers, infibeam and flipkart have listed it on their sites with coming soon tag.
Infibeam has listed the phone at INR. 24,000 while flipkart which traditionally has better/lesser price has not listed any price yet. INR. 27999. This price is comparable (or even lesser depending upon the conversion rate) to its US price of $529.99

http://www.infibeam.com/Mobiles/i-Samsung-Nexus-S-Android-Smartphone/P-E-M-Samsung-Nexus-S.html

http://www.flipkart.com/samsung-google-nexus-s-mobile-mobcu43efesazke2

Keep tuned for more info as it pours in.

Read More

"Isolinux.bin missing or corrupt" when booting from USB

2011-01-22 10:43:44 +0100

I was trying it out to boot from USB using fedora for a friends laptop. On booting I saw the above error.

And found the answer at:

http://chakra-project.org/bbs/viewtopic.php?pid=15013#p15013

dd if=[name of iso] of=/dev/sdc

NOT /dev/sdc1 and before removing the usb stick type into terminal:


sync
eject /dev/sdc

sdc being whatever your usb stick device is
this will ensure that all the data is written to the stick before removal.

Voila! It worked. Like the next comment says in the above post, indeed, so stupid of me :P

Read More

inode count

2011-01-11 11:00:45 +0100

This is something that I never had to deal with before! But one of the customised systems when was being used for some other purpose ran into inode count being full issue! That is, you have disk space left but no inode. Happens when you ve a lot of small files. In this case, the system was customised to reduce the number of inodes for the original purpose, (had quite some space with lesser number of bigger files).

Anyways,
the way to see the inode count is a simple:

df -i

:)

cheers!
Anshu

Read More

ipv6 enabled site!

2011-01-09 22:15:29 +0100

woohoo! Finally got ipv6 enabled for my home network as well as my website.

http://v6.anshprat.info

You can hit this only if you are on an ipv6 network.

will be posting more on it as to how to enable ipv6 over tunnel using tunnel from http://tunnelbroker.net/

Read More

Free Live Streaming TV / News Channel

2011-01-03 02:41:50 +0100

This is something I picked up quite sometime back when I needed to watch news in office for breaking news. Initially I configured only one channel, ndtv. But when I landed in germany for december vacation, I picked up a couple more as not all channels were freely available here.

So hit http://anshprat.info/news/ and grab your favourite news channel for free online :P Right now it has the following channels:

bbcworld

cnbc

ddnews

ndtv

skynews

starnews

And my favourite watch it all in one screen :P

ALL

Read More

Ransomware is back!

2010-11-30 05:56:53 +0100

So far I ve heard about various types of malwares. Today, ransomware joined the list. And I ve been slow, very slow in realising it! Apparently its been around since 2004! Perils of not being a window user I guess :P

Well, let's begin with what its all about -

ATTENTION!!!!!!
ALL YOUR PERSONAL FILES WERE ENCRYPTED WITH A STRONG ALGORYTHM RSA-1024 AND YOU CAN'T GET AN ACCESS TO THEM WITHOUT MAKING OF WHAT WE NEED!

READ 'HOW TO DECRYPT' TXT-FULE ON YOUR DESKTOP FOR DETAILS

JUST DO IT AS FAST AS YOU CAN!

REMEMBER: DON'T TRY TO TELL SOMEONE ABOUT THIS MESSAGE IF YOU WANT TO GET YOUR FILES BACK! JUST DO ALL WE TOLD.

Note: Emphasis not mine.

This is the text of the message that gets displayed on an affected computer.
The how to file on destop contains the following:

HOW TO DECRYPT FILES - Notepad
Attention!!!
All your personal files (photo, documents, texts, databases, certificates, kwm-files, video) have been encrypted by a very strong cypher RSA i024 The
original files are deleted You can check this by yourself ]ust iook for
files in all folders
ThErE is no possibility to decrypt these files without a special decrypt
pro ram' Nobody can help you even don t try to find another method or tell
anybody Also after n days all encrypted files be completely deleted and
you Wi i have no chance to get it back
we can help to solve this task for i20$ via wire transfer (bank transfer
SWIFTXIBAN) And remember any harmful or bad words to our side will be a reason
for ignoring your message and nothing will be done
For details ou have to send your request on this e maii (attach to message a
fuii seriai ey shown below iD this how to.. file on desktop).
datafinder@fastmail.fm
E14 314 F661EF3 56D1163 2A2 E495104 6F4 D014 5 5 5AE28E047FFF32394009593 544 D2AFC9E15F4 5B50
1D0592F4658D23C24E0179785ABC4277B14C41470A62A6ED
821E864 OAE5BFF273A66A6D010930322 5 5C2 EEDB91A9E6F6CCCEA4 E92 0184 E413 7F6EOBE7F7CD83D
BF431A87FF3F58DC183CFFF5708F8141632 5151ED5F6B22B

Don't hesitate and turn off your PC, pull out the power cable if this is fastest!

All the above has been sourced from here:
http://www.securelist.com/en/blog/333/GpCode_like_Ransomware_Is_Back

I read it first at:
http://www.zdnet.com/blog/security/gpcode-ransomware-returns-with-stronger-encryption/7760?tag=nl.e589

Will put up somemore as and when I read more!

PS: The above howto file was converted to text using OCR from http://www.free-ocr.com/

Read More

Fuzzy Logic :!

2010-11-25 10:48:54 +0100

Hi,

If you are here to find out what fuzzy logic is all about, you are better off to wikipedia. I am just going to post here something that I am feeling these days.

So far in my life, I ve been a person of extreme values. Am not a man enough yet. Am still a growing person. I love 1 and 0. All things should ve only these two values. But life ain't like that. Right now am stuck between here and there in the middle of nowhere. Its all so fuzzy :! No discreet value. Right now am about in a state which can't be described by either dilemma or confusion. Both these words are used when you ve a set of options and you need to choose between them. I am in a state where I dont know what needs to be done. Its either something new or continue on the path I ve been. But in my path, I ve heard "I don't know what to do" a lot many times. I was wondering if that means I am continuously doing things wrong. Then a friend(make that two of them) suggested that mostly it could be that I am doing the same mistakes again and again. Well, that sounds like me. I am quick to learn from my mistakes. Except for this one situation.

So now, either its again on the same road, doing the same thing all over again, maybe repeating the same mistake, though this time it could be worse.

Ok, some more and maybe many more and maybe no other thoughts left around. Again, no words to explain this situation. Better get back to work.

Read More

Gudugudiya Sedi Nodo

2010-10-07 21:12:17 +0200

Open The Small Cloth Bag Called Mind, Take Out The Hash Called Lust And Crush It ... Put It In A Chillum Called Faith, Light It Up With Burning Coal Called Intelligence - Shishunala Shariffa, a kannada poet (Song: Gudugudiya Sedi Nodo)

Read More