নেটখাতা

September 18, 2010

একটা বই শেষ হল

প্রায় ছবছর লাগল। এতটা সময় অবশ্য লাগত না। চারের মধ্যে হয়ে যেত, যদি প্রাত্যহিক কাজের থেকে একটু ছাড় পাওয়া যেত, বা মধ্যে অন্য ব্যস্ততা না এসে যেত। বইটার পুরো নাম ‘হেজেমনি, রেজিস্টান্স অ্যান্ড কম্পিউটিং: এ স্টাডি ইন পোস্টকলোনিয়াল পলিটিকাল ইকনমি’। যদিও আমার বন্ধুরা ও আমি এটাকে এই ছবছর ধরে ‘ফ্লস অ্যান্ড হেজেমনি’ বলে ডাকতেই অভ্যস্ত হয়ে গেছি, প্রতিটি খসড়ায়, আবার খসড়ায়, চিঠিতে, আলোচনায়। নেটেও তুলে দিলাম, একটা প্রাক-প্রকাশ সংস্করণ। এটা এখন আমার ওই বন্ধুদের কাছে গেছে। তাদের পরামর্শ মত যদি টুকটাক কিছু বদলাই, তার পরেই এটা চূড়ান্ত খসড়া হয়ে যাবে।
এই বইয়ের ভাবনার সূত্রপাত একটা ক্লাস-লেকচার থেকে। ক্লাসটা নিতে হয়েছিল কলকাতা বিশ্ববিদ্যালয়ের মনোবিজ্ঞানের রিফ্রেশার কোর্সে। তারপর সেটা অবশ্য বহু বহু বদলে গেছে। চলে এসেছে হেগেলের যুক্তিবিজ্ঞান, এসেছে হেজেমনি সংক্রান্ত উত্তরাধুনিক উত্তরঔপনিবেশিক আলোচনা।
এসেছে আমার রাজনৈতিক জীবন থেকে বহন করে আনা, এবং তারপরে আরও বেড়ে ওঠা রাজনৈতিক হতাশা। কেন অমন হয়ে গেল আমাদের সব প্রচেষ্টাগুলো। সেই সন্ধানটা, মার্ক্সবাদের সমস্যাগুলো বুঝতে চাওয়া — সেটা তো আমার মধ্যে ছিলই। সেটাও এসে গেল এই বইয়ে।
বইটা বাংলায় লেখার কাজ শুরু করেছি। শেষ হওয়া মাত্রই সেটাও নেটে তুলে দেব।

September 10, 2010

Opening Port in Nokia Siemens 1600 Residential Router for Azureus or Vuze on Fedora 13

For running BT clients like Azureus (or, as it is called now Vuze) needs opening a port, or forwarding a port to the router. This becomes more difficult for the BSNL ISP because it assigns a new port every time the router is powered on. My router is Nokia Siemens Residential Router 1600. I faced a lot of problems. So I am writing here all the steps that it may help others. Here we describe, Fixing the internal IP, then opening the port, and then readjusting the firewall rules for a Fedora 13 system.

There is a guide on Port Forwarding Azureus on the NokiaSiemens C2110. This gives some ideas. But, the problem is, the tools given there are for MS-Windows systems, and the Simens Nokia 1600 Residential router is quite different from the one given there. This router that was provided by the ISP — BSNL Dataone, and this is much cheaper than the C2110 model, and hence with a much less and cryptic functionality. And the obnoxious thing is that, the ISP, while giving me the router did not give any manual, only an MS-Windows driver CD that no GNU-Linux user does ever need. Let me give here the details for anyone in the same kind of fix.

These were the steps taken to open the port for Azureus (or, Vuze, as you call it) and readjust the firewall rules on a Fedora 13 system with Nokia Siemens Residential Router 1600 (with WL). I am writing here in a bit detailed way, such that people like me, not conversant in network things, can get some help.

Step 1.

The first problem was the fluid or dynamic IP. The ISP makes it that way. Every time my router powers on it gets a new IP. This assigns an IP to my machine. This can be dynamic too, if configured the DHCP way. But, this internal IP has to be made ‘fixed’ if to enable port forwarding. This was already done in my machine, because I regularly use some ‘rsync’ backup scripts between my desktop (internal IP 192.168.1.2) and my laptop (192.168.1.3). There are many ways to do this, like using ‘ifconfig’ and ‘route add default gw’, which I used before. But, these days I use ’system-config-network’ — a GUI frontend for all these things.

So first I become superuser and run ’system-config-network’. This brings up this window.
system-config-network

Here in default, the ethernet card should be eth0, but my original one with the motherboard was giving problems, so I added this ethernet-card, and it is shown as eth1. Now I click on this connection and click ‘Edit’ on the topbar, this brings up this card configuration window.
Ethernet Configuration

As we can see, here ‘Statically Set IP’ is clicked, and the IP of this desktop is given to 192.168.1.2, subnet mask 255.255.255.0 and the gateway, the router, is set to be 192.168.1.1. We make here OK and come out. So, our first task, setting a fixed internal IP 192.168.1.2 for the machine was done under the router as 192.168.1.1.

Step 2.
Now we enter the router by issuing ‘http://192.168.1.1′, without the quotes, in the browser. This shows this window for Nokia Siemens Residential Router 1600 (with WL). This opens this window.
Nokia Siemens 1600 Residential Router

Here, as we can see, the IP of the router is shown to be 192.168.1.1. And ISP has provided it with the dynamic IP 59.93.240.1. The two lines below it show the Google DNS 8.8.8.8 and 8.8.4.4 — these two DNS were fed into the router because it helps to access some sites that are not at times blocked by ISP assigned DNS.

Step 3.

Now we go to the page ‘http://192.168.1.1/scvrtsrv.cmd?action=view’ without the quotes. This page I could get in the manual that BSNL never gave me. I got the address of the page from the Net, just like another very necessary page of the router; ‘http://192.168.1.1/main.html’ — this page gives all very necessary things like the DNS set-up and all, and many other things, by clicking ‘Advanced Setup’.

Now, after I have forwarded my port, this page ‘http://192.168.1.1/scvrtsrv.cmd?action=view’ has this look.
Router NAT Table

As we can see, two ports are already setup here: 6881 and 61640.

Step 4.

This 6881 port is fixed for Azureus, but the other port we get from Azurues options. We open Azureus — Tools — Options — Connection, and this gives this window.
Azureus/Vuze Port Option

As we can see, 61640 is given there. This we can change too, by clicking Azureus — Tools — Configuration Wizard, and going step by step. Azureus or Vuze (as it is called these days) Wiki will give us some idea. We can very well choose the port that was automatically selected by Azureus as we got in the option. We write down this number.

Step 5.

We go to this page ‘http://192.168.1.1/scvrtsrv.cmd?action=view’ of our router and click ‘Add’ there. This gives us this window.
Adding NAT

Here we select ‘Custom Server’ and give a name, say, like ‘custom1′. Then we put ‘6881′ in both ‘External Port Start’ and ‘External Port End’. And choose ‘TCP/UDP’ in ‘Protocol’. Then click ‘Save’. We repeat the same step for the port we have chosen in Azureus options. Again we click ’save’ and we get the ports opened.

Step 6. Now we go to Azureus and go to Tools — Configuration Wizard. In the third step we come to the ‘Port Test’ window. If we did the earlier steps correctly we should get an ‘OK’ here when we test for the port we chose.

Step 6.

Now we change the firewall rules. As superuser we start ’system-config-firewall’. This opens the firewall window. Now we click ‘Other Ports’. Then we click ‘Add’ and this opens this window.
system-config-firewall

Here we have clicked ‘User Defined’, and we add ‘6881′ for ‘TCP’, then again ‘6881′ for ‘UDP’. We repeat the same step for the port we chose from Azureus Options.
Then we click ‘OK’ and come out.

Step 7.

Now we activate the firewall rules by becoming root and issuing ’service iptables start && service ip6tables start’. Most probably ’system-config-firewall’ did already look after this, but there is no harm in doing it once again.

Hope it helps.

Filed under: গ্নু-লিনাক্স — dd @ 12:31 pm

Powered by WordPress