Today, I’ve visited Dad’s Surajmal Vihar office. They recently got an internet connection from Airtel with a static IPv4 address. So, I’ve to just check that internet connection for their Linux server. It was installed on a box with a proprietary OS. I figured out that it is installed in bridge mode, as the computer has a non-private IPv4 address manually set. The Airtel Broadband has provided them with a Zyxel Prestige 600 series modem.
I just plugged out the internet cable (actually a CAT5 cable with a RJ45 connector at both ends) from the box with proprietary OS and inserted in the
eth1 of the Linux server, and configured
eth1 with the static IPv4 address and appropriate gateway , but to my surprise I’m unable to ping the gateway :-(. Then I rechecked settings, and found them correct, and re-initialized
eth1. But still I’m unable to ping the gateway. I re-inserted cable into previous box ( with proprietary OS), and there I’m able to ping the gateway. Well I suspected that modem gets bound to a MAC address, as Gautam thrice told me that in his university, they can’t connect any other network equipment into their university’s network, as MAC addresses of all network devices have to be registered, as each port in the network switch is specifically bound to that MAC address. Anyways, I’m unable to figure out how to change settings in my modem, i.e. I don’t know what is my modem’s IPv4 address. So I just called the Airtel guy, who has installed the connection. He told me that modem is accessible at
192.168.1.1, and he is also surprised why modem is not responding when plugged into a Linux box. So, I replugged my internet cable into my Linux box. And modified
eth1 to be in
192.168.1.0/24 network. Then I pinged my modem. :-). And then I telnetted to the modem. And I found the modem interface quite complex as I’m a n00b in networking. So I simply exited from the modem interface without making any changes. And I restored
eth1 to the static IPv4 address and appropriate gateway. To my surprise it now worked :)
After some more disconnecting and reconnecting, I finally figured out that this modem gets binded to a MAC address and hence routes packet only for that source MAC address. And to change that binding, one has to just telnet (or probably just ping) the modem (i.e. 192.168.1.1 IPv4 address ) and modem will then record the new MAC address.
This is what I observed today. I don’t know if they did this for the security purpose, or it is just a bug. Chances are more that it is due to security purpose. Or is that some special bridging technique ? I’m confused :-S
Note: Due to technical reasons first letter of the title is upper case. :-(
After the censorship of Internet in india, I’m quite disappointed with this country. This country is a good example of dictatorship behind democracy. Though Gautam, told me couple of times to leave this country, but I never took him that serious. But this time I’m very serious, and will try hard to leave this shit place. But I think it is quite good step from india, that is to expose itself, and to break the myth that it is world largest democracy.
Want to write architecture specific code in
C language, precisely for GCC, and doesn’t how to separate architecture specific code, hmmm… Below is the hint:
[abbe@chateau-d-lf: ~]$ echo | gcc -E -dM -
It will list all the preprocessor defines defined by your GCC. So, you’ve to just figure out your target architecture’s preprocessor define. To compile code for 32 bit architecture from a non 32-bit architecture (say, a 64bit architecture, or a 128-bit architecure :) ), use
-m32 switch of GCC. Here is the corresponding thread from gnu.gcc.help USENET group.
I’m not going to chat anymore on Y! network. So if you’re one of my Y! friend, please communicate with me on Google Talk, Jabber, MSN, IRC or any other means of communication on my contact page. Y! shows me every time. And also don’t mail me on Y! as I’m discontinuing that too.
Sorry for this another inconvenience
My cellphone is not working since 10th July, 2006 16:00 +5:30. I suspect that its CPU is recieveing spurious interrupts for Volume Down button and causing its I/O subsystem to hang. That’s why I’m unable to login (unable to enter its PIN) . I don’t want to send my cellphone to repair at this time. So don’t waste your precious time in calling me at my cellphone. There are other ways of communication too, here is my contact info.
Sorry for any inconvenience.
I’ve just downloaded this new version of Emacs and compiled it from source. And the new Emacs looks great. It is built with GTK+ support. There are no. of improvements, which even I’m not aware of yet ;-)
Today is Rahul‘s birthday. So I decided to greet him and meet all my friends at one of my favorite places in Delhi, Palam. So, I reached Palam at around 1020 while sleeping 2 hours in the way ;-). And first visited to Dinu‘s place. Dinu‘s health is quite improved now. Then we called Rajan and Rahul at Aman. And there Rahul (and also Rajan ) gave us a nice treat. And Rajan is looking cool, with his new hairstyle. I also met Puneet and Arun. Puneet hasn’t changed much, always smiling. And Arun looks cool, and it is nice to know that he is leaving India within a week or two. So my best wishes for him.
We also visited Satya‘s place, he became quite weak. He is one of my first friends in this school on my re-entry. We (actually only Dinu) also paid a visit to Seema‘s place. But she has gone to college. So Dinu talked to her dad, and taken her (not her, actually her dad’s ;) ) contact no. And then we went to Manish aka Negi‘s place, but he is not available. And finally after roaming for some more time in Palam, we visited our school.
Mahesh भैया recognized us. It is nice to see our school now. They’ve added another floor to the buildings. I felt very sad to know that Ganesh (our school’s watchman) is no more.
But anyways, this is quite memorable moment for us. We also visited our classrooms, where we spent our lives 11 years, fighting, PJing, bunking, getting punishments, and sometimes studying too. ;-)
Hey Mitu Bul, Sumit, Sunny and all our other friends, we missed your prescence there. If you’re reading this and want to be in touch with me or your other friends, we’ve an Orkut community. Contact me and I’ll invite you there.
P.S. Time to have a “Disprin” as I’m having a headache after this tiring and cool journey. Forgive me for grammatical errors. ;-)