The recent recession has given us enough real world examples of what happens when certain business theories are ignored for the sake of short term gains. This post from HBR, which appeared last week has excellent timing for two reasons. One; It's a nice case study practitioners can learn from (obviously). Two; It's useful for me in preparation for the semester exams, having just finished going through Financial Management. Theory around Degree of Leverage and Ratios sticks better when coupled with a real world example. Sadly, certain theories are well demonstrated by citing instances where companies failed due to ignoring them. Nevertheless, thank you Lehman Brothers (and others) for the case study on Overleverage.
My thoughts on Information Technology in general, Open Source in particular with a dash of Business Management thrown in. Note to readers (both human and machine) - I started this blog in the year 2004. Some posts are decades old, while others might have been written yesterday. Please note the published date of a post while enjoying its content. Thank you for being here. "Live long and prosper" 🖖. ~ Tyrell
Tuesday, September 22, 2009
Saturday, September 12, 2009
Prolink PHS100 in Ubuntu Jaunty (9.04)
I finally decided to get a 3G connection as a backup for my ADSL one at home. I often find myself ending up in places without readily provided Internet and wishing for a mobile solution. After doing a bit of research, I found Airtel as the best deal. If you are wondering about Airtel 3G coverage, all I have to say is that I live and usually spend my time within a 20-30 Kilometre radius from the city of Colombo. And when I go out of this zone, Internet or a Laptop or anything related to work is usually the last thing on my mind :) So getting 3G coverage in rural Sri Lanka isn't a huge priority! That, and the fact that this is a supplementary connection, which means it should cost at least 50% or less compared to the primary connection made the choice very easy.
Now for the fun part. Hating how the usual Huawei E220 modem looks, I opted for the more elegant Prolink PHS100, which can be bought with no vendor lock (let's not get started on vendors locking hardware for which I pay for). I found this great post by Laxman, which gets the modem detected in Linux perfectly. But upon dialling with wvdial, the Airtel server wouldn't give me an IP nor any sort of DNS data. I kept getting the following;
Looking at my /var/log/messages I saw this, which eventually lead to hours of reading logs, googling error messages etc., etc.
I tried for a while and was about to admit defeat and go for the ugly modem, which users claim to work perfectly in Linux. Then I had a Eureka moment. What if the modem remembers settings while its connected to Windows? I mean its light is always Red in Linux. But I saw it turning Blue when connected (that's what the manual says too Red -> no show / Blue -> party on). So I plugged the modem back in my Windows machine and instead of disconnecting using the Software, I just yanked it out.
Voila! Now, when its plugged to Linux the light turns Blue in seconds and wvdial completes. By the way, this is the second post from my 3G connection. The first post was an e-mail to Laxman (who was very helpful in giving further tips to try out) informing the solution. I added a comment to his original blog post as well.
Now for the fun part. Hating how the usual Huawei E220 modem looks, I opted for the more elegant Prolink PHS100, which can be bought with no vendor lock (let's not get started on vendors locking hardware for which I pay for). I found this great post by Laxman, which gets the modem detected in Linux perfectly. But upon dialling with wvdial, the Airtel server wouldn't give me an IP nor any sort of DNS data. I kept getting the following;
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: ATM0
ATM0
OK
--> Sending: AT+CGDCONT=1,"IP","airtellive"
AT+CGDCONT=1,"IP","airtellive"
OK
--> Modem initialized.
--> Sending: ATDP*99#
--> Waiting for carrier.
ATDP*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Sep 11 00:12:27 2009
--> Pid of pppd: 5989
--> Using interface ppp0
--> pppd: Я[06]���� ���
--> pppd: Я[06]���� ���
--> pppd: Я[06]���� ���
--> pppd: Я[06]���� ���
--> pppd: Я[06]���� ���
--> pppd: Я[06]���� ���
--> pppd: Я[06]���� ���
--> Disconnecting at Fri Sep 11 00:13:03 2009
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 seconds
Looking at my /var/log/messages I saw this, which eventually lead to hours of reading logs, googling error messages etc., etc.
Sep 11 00:11:33 clair pppd[5974]: pppd 2.4.5 started by root, uid 0
Sep 11 00:11:33 clair pppd[5974]: Using interface ppp0
Sep 11 00:11:33 clair pppd[5974]: Connect: ppp0 <--> /dev/ttyUSB2
Sep 11 00:11:33 clair pppd[5974]: CHAP authentication succeeded
Sep 11 00:11:33 clair pppd[5974]: CHAP authentication succeeded
Sep 11 00:12:03 clair pppd[5974]: IPCP: timeout sending Config-Requests
Sep 11 00:12:09 clair pppd[5974]: Connection terminated.
Sep 11 00:12:09 clair pppd[5974]: Modem hangup
Sep 11 00:12:09 clair pppd[5974]: Exit.
I tried for a while and was about to admit defeat and go for the ugly modem, which users claim to work perfectly in Linux. Then I had a Eureka moment. What if the modem remembers settings while its connected to Windows? I mean its light is always Red in Linux. But I saw it turning Blue when connected (that's what the manual says too Red -> no show / Blue -> party on). So I plugged the modem back in my Windows machine and instead of disconnecting using the Software, I just yanked it out.
Voila! Now, when its plugged to Linux the light turns Blue in seconds and wvdial completes. By the way, this is the second post from my 3G connection. The first post was an e-mail to Laxman (who was very helpful in giving further tips to try out) informing the solution. I added a comment to his original blog post as well.
Tuesday, September 01, 2009
WSO2 Carbon @ InfoWorld's 2009 Bossie Awards
Best of open source platforms and middleware | Open Source - InfoWorld
WSO2 Carbon is the foundation of WSO2's componentized SOA platform. Carbon provides the framework for all of the core functionality -- data services, ESB/routing, process management, registry, monitoring, and security - allowing you to plug in these components as necessary. The ESB and additional modules for governance and identity are good, and the process server is also decent, and with Carbon the whole is greater than the sum of the parts.
Subscribe to:
Posts (Atom)