chukaman

chukaman

(0 comments, 42 posts)

This user hasn't shared any profile information

Home page: http://charlesleaver.com/

Yahoo Messenger: charles.leaver@yahoo.co.uk

Jabber/GTalk: myself@charlesleaver.com

AIM: charlesleaver

Posts by chukaman

Geek humour…

0

Hilar­i­ous!

http://attrition.org/misc/ee/protolol.txt.

My Head is in the Cloud

0

I like this!

Twee­t­age Waste­land : My Head is in the Cloud.

the ultimate emoticon and abbreviation dictionary

0

i just came across pretty much the most awe­some emoti­con and nerd speak terms dic­tio­nary. book­mark it as I’m sure you’ll need to refer to it at some stage. i know i will :)

Australia’s Next Top Model show crowns wrong winner

0

Hahaha, imag­ine the roller-coaster of emo­tions. “You are the win­ner” … “oh shit sorry actu­ally you aren’t the win­ner, we made a mis­take!”. Not cool!

Read about it here: Australia’s Next Top Model show crowns wrong win­ner.

Fixing tftpd-hpa on Lucid

1

Whilst work­ing at IS, I’ve sent VMware servers to Accra, Nairobi, Lagos, Maputo, Lon­don, Dur­ban, Cape Town and then of course to two sites in Johan­nes­burg. The servers in Accra, Nairobi, Lagos and Maputo run var­i­ous vir­tual machines required by the NMS team (of which I am a mem­ber), as well as a whole lot that a sis­ter team of ours uses. The NMS machines are things like Sys­log boxes and SNMP gate­ways, etc.

Con­nec­tiv­ity to those regions is any­where from awe­some — if that region is on the east­ern side of Africa and con­nects via Sea­com — right down to pretty much unus­able. The kind of unus­able where you spend a whole day just try­ing to log into the con­sole of a vir­tual machine because every time you try to write “root” the word will come out as “rroot” and then “rooooot” and then “rootttt”. It’s one of the most frus­trat­ing things I’ve ever had to do in my life, I’m sure of it.

Which kinda brings me to the point of this post. I decided that the best way to deploy the var­i­ous machines (given that there’s never any time to send the VMware server itself to the region with all the vir­tual machines already built) was to kick­start them, using pre­seeds for the Ubuntu boxes and kick­starts for the CentOS/RHEL boxes. This has worked famously for me, and I’m now able to have fully built, NMS stan­dards com­pli­ant vir­tual machines in any of those regions in ten min­utes or less.

That was until I upgraded the key infra­struc­ture boxes (dhcp & tftp servers etc.) to Lucid. Sud­denly every­thing ground to a halt. The fix how­ever was very sim­ple. In fact I feel kinda guilty that you’ve had to read this whole long story just to get such a sim­ple solu­tion to your problem.

Before Lucid these boxes ran Hardy. I used tftpd-hpa run­ning as a dae­mon, using the stan­dard /var/lib/tftpboot direc­tory as the TFTP root. My /etc/default/tftpd-hpa file looked like this:

#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /var/lib/tftpboot"

After upgrad­ing to Lucid that file had changed so that it looked like this:

# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS=""

How­ever the ser­vice wouldn’t start and the net­work installs kept on fail­ing to even start. Chang­ing the con­tents of /etc/default/tftpd-hpa to look more like this solved my prob­lem. The “4” is because I switch IPv6 off on all my Lucid machines by adding “ipv6.disable=1″ to the “GRUB_CMDLINE_LINUX_DEFAULT” line in /etc/default/grub.

# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-4 --secure"

Bounce the ser­vice and you’re sorted, and back on the road with your net­work installs. :)

mobileterminal

1

So you upgraded to iOS 4.x and now your MobileTer­mi­nal no longer works. It tries to start but imme­di­ately dies. This really upsets you as you find that you fairly fre­quently require it. As a solu­tion you end up with MobileTer­mi­nal 426. This comes as a huge relief, that is until you realise that it’s almost unus­able. If that sounds like the place you’re cur­rently at then stress not. Com­ment 61 at http://code.google.com/p/mobileterminal/issues/detail?id=172#makechanges includes a link to a fixed pack­age that works exactly how you’d want MobileTer­mi­nal to work, but this time also on iOS 4.x. The com­ment says:

If Allen would like to get MobileTer­mi­nal 426 in Cydia, he should per­son­ally con­tact one of the major repos­i­to­ries, such as Big­Boss, to get it hosted. The repos­i­tory main­tain­ers do not like (nor should they like) work­ing with third par­ties who are try­ing to get stuff hosted, as it means that main­te­nance and other cor­re­spon­dence will be going through some­one largely unin­volved. Please: DO NOT sub­mit MobileTer­mi­nal to Cydia unless you are Allen Porter.

As for the cur­rent MobileTer­mi­nal pack­age in Cydia, it is much more func­tional than revi­sion 426, but does not cur­rently work on iOS 4. What made MobileTer­mi­nal useful/interesting was its intri­cate ges­ture sup­port, allow­ing for mod­i­fiers like con­trol, spe­cial keys like escape, and entire com­mands to be bound to fast move­ments on the screen. MobileTer­mi­nal 426, mean­while, doesn’t even sup­port scrolling the ter­mi­nal screen.

It is there­fore incred­i­bly depress­ing to the core com­mu­nity of users of MobileTer­mi­nal that the devel­op­ment has taken the direc­tion it has: users of the exist­ing copy of MobileTer­mi­nal sim­ply can­not be upgraded to the “lat­est” release, as it frankly is an entirely unre­lated project. It is my per­sonal opin­ion that Allen should have renamed this new ver­sion of MobileTer­mi­nal to some­thing dif­fer­ent, like “MobileTer­mi­nal Redux” or some­thing, to indi­cate this.

Due to this con­fu­sion, when and if MobileTer­mi­nal “426” is released to Cydia, it sim­ply can­not be listed as a direct upgrade to MobileTer­mi­nal “364”. When and if this occurs, the cur­rent “MobileTer­mi­nal” pack­age will be renamed to “MobileTer­mi­nal Clas­sic” or some­thing, but retain its pack­age iden­ti­fier, so exist­ing users can safely con­tinue using it until MobileTer­mi­nal man­ages to regain the func­tion­al­ity that it once had.

Now, it /is/ under­stood that users of MobileTer­mi­nal on iOS 4 cur­rently have issues. How­ever, in the grand scheme of things, not many peo­ple were actu­ally using iOS 4 on jail­bro­ken devices until the very recent jailbreakme.com exploit release last week. In order to main­tain the cur­rent level of func­tion­al­ity for these users, I have been forced (again) to step in and main­tain the old (awe­some) branch of MobileTer­mi­nal. I do not like doing this, and was hop­ing some­one else would step up to the plate, but I will con­tinue to do so until such time as there is a viable replace­ment. :(

Users who wish to help test this new ver­sion can obtain it at the fol­low­ing direct .deb URL. It should be noted that this revi­sion isn’t quite right on all devices, hav­ing some inter­est­ing visual arti­facts due to the new way in which it is being ren­dered. I believe that this can be fixed, but I may end up push­ing this release any­way with the old binary also included, doing a selec­tion “is the user on iOS 4? ok, then use XXX binary” when the pro­gram is run.

http://apt.saurik.com/debs/mobileterminal_364.3-12_iphoneos-arm.deb

I don’t have to explain how to do any­thing use­ful with this, do I? A “dpkg –i” will end up replac­ing your faulty MobileTer­mi­nal with this work­ing one. Happy happy times!! Thank you so much to Saurik for this!!

Swedish motorist facing world’s biggest speeding fine

0

Wow, men­tal!

A Swedish motorist is fac­ing the world’s biggest ever speed­ing fine of £650,000 after being caught dri­ving at 180mph on a Swiss motorway.

Read more: Swedish motorist fac­ing world’s biggest speed­ing fine.

Eassy open for commercial service

0

This can only be a good thing. Yaaaay :)

Eassy open for com­mer­cial ser­vice.

Google, CIA Invest in ‘Future’ of Web Monitoring

0

Pretty hec­tic!

The invest­ment arms of the CIA and Google are both back­ing a com­pany that mon­i­tors the web in real time and says it uses that infor­ma­tion to pre­dict the future.

The com­pany is called Recorded Future, and it scours tens of thou­sands of web­sites, blogs and Twit­ter accounts to find the rela­tion­ships between peo­ple, orga­ni­za­tions, actions and inci­dents both present and still-to-come. In a white paper, the com­pany says its tem­po­ral ana­lyt­ics engine “goes beyond search” by “look­ing at the ‘invis­i­ble links’ between doc­u­ments that talk about the same, or related, enti­ties and events.”

The idea is to fig­ure out for each inci­dent who was involved, where it hap­pened and when it might go down. Recorded Future then plots that chat­ter, show­ing online “momen­tum” for any given event.

Read more here: Google, CIA Invest in ‘Future’ of Web Mon­i­tor­ing.

Porn Bill on hold

0

Whew!

Porn Bill on hold.

chukaman's RSS Feed
Go to Top