<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>சுதர்சன் சாந்தியப்பன் &#187; Networking</title>
	<atom:link href="http://sudarsun.in/blog/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://sudarsun.in/blog</link>
	<description>Dream of the Impossible™</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:03:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>BSNL Broadband Connectivity Issue on Noise phone lines</title>
		<link>http://sudarsun.in/blog/2010/04/bsnl-broadband-connectivity-issue-on-noise-phone-lines/</link>
		<comments>http://sudarsun.in/blog/2010/04/bsnl-broadband-connectivity-issue-on-noise-phone-lines/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 08:10:39 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Electrical]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Help]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[bsnl]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[netgear]]></category>
		<category><![CDATA[noise]]></category>
		<category><![CDATA[phase modulation]]></category>
		<category><![CDATA[phone lines]]></category>
		<category><![CDATA[signal conditioning]]></category>
		<category><![CDATA[splitter]]></category>
		<category><![CDATA[telephone]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/2010/04/bsnl-broadband-connectivity-issue-on-noise-phone-lines/</guid>
		<description><![CDATA[If you are an exclusive BSNL broadband user, you might not have attached the telephone to the phone line.&#160; I have connected my Netgear modem to the DSL/Phone line splitter and left the other connection floating.&#160; Lately, when I noticed that the Netgear modem was not able to make the connection with BSNL servers, originally [...]]]></description>
			<content:encoded><![CDATA[<p>If you are an exclusive BSNL broadband user, you might not have attached the telephone to the phone line.&nbsp; I have connected my Netgear modem to the DSL/Phone line splitter and left the other connection floating.&nbsp; Lately, when I noticed that the Netgear modem was not able to make the connection with BSNL servers, originally I thought the telephone line is dead.&nbsp; To my surprise the telephone line was fine, but I perceived the lines to be little noisy.&nbsp; I made a complaint to the BSNL portal and as usual nothing much happened.&nbsp; Accidently, I had to connect my telephone to the splitter for making a local call.&nbsp; To surprise, the Netgear modem managed to connect to the server this time.&nbsp; So, the hypothesis is; <br />
<blockquote>When the telephone line is noisy, attach the telephone to the splitter along with the modem connection to get connected to the BSNL Servers.&nbsp; Most likely it could be because of the Reactive load offered by the telephone on the phone line ends up conditioning the Phase modulated signals for the Netgear modem to connect to the Servers.</p></blockquote>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=d75b64d1-591b-8508-8c74-062ee9a69f51" /></div>
<p class="scribefire-powered">Powered by <a href="http://www.scribefire.com/">ScribeFire</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2010/04/bsnl-broadband-connectivity-issue-on-noise-phone-lines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BSNL Broadband Unlimited usage</title>
		<link>http://sudarsun.in/blog/2010/04/bsnl-broadband-unlimited-usage/</link>
		<comments>http://sudarsun.in/blog/2010/04/bsnl-broadband-unlimited-usage/#comments</comments>
		<pubDate>Sun, 04 Apr 2010 11:17:15 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[BB]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[bsnl]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[time-server]]></category>
		<category><![CDATA[usage]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/2010/04/bsnl-broadband-unlimited-usage/</guid>
		<description><![CDATA[Are you a BSNL Broadband user enjoying the 2AM-8AM unlimited access ?&#160; Are you a person who has automated downloads programmed between 2AM &#8211; 8AM IST ? Are you seeing higher bill amount despite your carefully planning internet downloads during the unlimited access times ?&#160; You should read this article for sure. Do you know, [...]]]></description>
			<content:encoded><![CDATA[<p>Are you a BSNL Broadband user enjoying the 2AM-8AM unlimited access ?&nbsp; Are you a person who has automated downloads programmed between 2AM &#8211; 8AM IST ? Are you seeing higher bill amount despite your carefully planning internet downloads during the unlimited access times ?&nbsp; You should read this article for sure.</p>
<p>Do you know, you could track your internet usage on daily basis ? If not, register yourself at http://www.data.bsnl.in/. If you send the webmaster an email requesting for user account, you promptly get response within a couple of days with the required credentials.&nbsp; You could login to the website to check your usage on a daily basis.&nbsp; Infact, you can see your usage data for the past months also.&nbsp; It is really very useful.&nbsp; Alternately you could register your mobile number with BSNL and activate the notification service.&nbsp;&nbsp; Upon activation, BSNL would send you SMS if your usage crosses the set-limit for your account.&nbsp; See the following excerpts from BSNL website about this service.</p>
<blockquote><p><span class="content">
<p style="text-align: justify;">If you are an user of BSNL Broadband and are not on any one of the unlimited plans, then  you must keeping tabs on the data usage you have done. But what if you  are on the move and not able to access the internet to check the data  usage?</p>
<p></span><strong>Simple, Send an SMS</strong>.<span class="content">
<p style="text-align: justify;">Yes, BSNL has now introduced a new  feature where in you can now know your broadband usage via SMS.</p>
<p style="text-align: justify;"><strong><span style="text-decoration: underline;">How to Register for this New Feature?</span></strong></p>
<p style="text-align: justify;"><span style="color: rgb(0, 0, 255);"><strong>Just SMS “REG Landline Number” prefixed with your STD code (For Example REG  080 23456789)</strong></span> to the following numbers:</p>
<p style="text-align: justify;"><strong>52295</strong>: For Bsnl Mobile  Customers.</p>
<p style="text-align: justify;"><strong>9448077777</strong>: For Any  Other Mobile Customers other than BSNL.</p>
<p style="text-align: justify;">After Registering your landline number,  you will receive a Thank you message and from then onwards, you can  check the broadband usage of your account anytime by just sending an  SMS.</p>
<p style="text-align: justify;"><strong><span style="text-decoration: underline;">How to Check the Broadband Usage of My Account?</span></strong></p>
<p style="text-align: justify;"><strong><span style="color: rgb(0, 0, 255);">Just SMS “BBU Landline Number” prefixed with the STD Code (EG BBU 080 23456789) </span></strong> to the following numbers:</p>
<p style="text-align: justify;"><strong>52295</strong>: For Bsnl Mobile  Customers.</p>
<p style="text-align: justify;"><strong>9448077777</strong>: For Any  Other Mobile Customers other than BSNL.</p>
<p style="text-align: justify;"><strong>Note</strong>: This service is  completely free, and you will be charged only for the SMS, based on your operator&#8217;s sms charges.</p>
<p></span></p></blockquote>
<p>Coming back to the billing issue.&nbsp; Lately, I noticed that I get very high BSNL broadband usage bills.&nbsp; I wanted to keep a tab on that and sent a couple of complaint mails to BSNL billing.&nbsp; But I did not get any response from them.&nbsp; Following that I registered on the Broadband Usage statistics website mentioned before and was surprised to see that I had indeed used beyond my 2.5Gb limit (I have subscribed to 500C+ plan).&nbsp; </p>
<p>When I looked the data usage pattern, I could figure out something very interesting about the way BSNL charges.&nbsp; Consider that I have my automated download scheduled to start at 2:05 AM and stop at 7:55 AM.&nbsp; I generally keep my machine in Sleep mode and have enabled the Scheduler application to wake up the machine for downloads.&nbsp; Sometime, I keep the machine on over night.&nbsp; I figured out that whenever I kept my machine on, I was charged for the usage even for the free-usage timespan.</p>
<p>Consider the case of a machine running over night.&nbsp; When the machine is running the router to BSNL connection stays in &#8220;connected&#8221; state.&nbsp; If the machine was in sleep mode, the connection is &#8220;offline&#8221; and whenever the machine wakes up, the connection is reestablished.&nbsp; BSNL has setup the usage measurement exclusion only for the connections started after 2AM. Meaning if a computer was running over night and the connection status is &#8220;connected&#8221;, one may not get the free usage time-span.&nbsp; Because the current connection is active and it was started before 2AM and hence the current connection is billable, as per the BSNL usage algorithm.&nbsp; <br />
<blockquote>The thumbrule here is: &#8220;Unlimited usage only for connections start at or after 2AM&#8221;.But interestingly, the 8AM connection is correctly handled by BSNL.&nbsp; If you connection stretches beyond 8AM, the usage is billable for all the bytes transferred from 8AM onwards.</p></blockquote>
<p>The following are the action points:
<ol>
<li>Avoid running the computer over night with the connection is &#8220;connected state&#8221;. Because if the connection stretches beyond 2AM, you would not get the benefit of unlimited usage.</li>
<li>Prefer to put the machine on sleep mode and make the scheduler wake up the machine for running your download tasks.</li>
<li>Make the time of your computer synchronized with a standard time server like in.ntp.pool.org or time.windows.com</li>
<li>Plan to start the download at 2:05 AM and stop at 7:55 AM</li>
<li>Register on http://www.data.bsnl.in and keep a tab on your usage</li>
<li>Register for SMS notification service</li>
</ol>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=f349a505-cff0-88ce-baf4-b6c0ac809710" /></div>
<p class="scribefire-powered">Powered by <a href="http://www.scribefire.com/">ScribeFire</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2010/04/bsnl-broadband-unlimited-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restrict MSN file transfer</title>
		<link>http://sudarsun.in/blog/2009/11/restrict-msn-file-transfer/</link>
		<comments>http://sudarsun.in/blog/2009/11/restrict-msn-file-transfer/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 17:37:54 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[KnowHow]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[1863]]></category>
		<category><![CDATA[file-transfer]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[msn]]></category>
		<category><![CDATA[msnp]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/2009/11/restrict-msn-file-transfer/</guid>
		<description><![CDATA[MSN uses port 1863 to transmit messages and for file transfer. Lot of people have said that the file-transfer using MSN happens via port range 6891-6900.&#160; But when I experimented, I found that MSN is using same 1863 port.&#160; Linux machines are able to identify this port as &#8220;msnp&#8221;.&#160; I used &#8220;tcpdump&#8221; to verify this.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>MSN uses port 1863 to transmit messages and for file transfer.</p>
<div align="justify">Lot of people have said that the file-transfer using MSN happens via port range 6891-6900.&nbsp; But when I experimented, I found that MSN is using same 1863 port.&nbsp; Linux machines are able to identify this port as &#8220;msnp&#8221;.&nbsp; I used &#8220;tcpdump&#8221; to verify this.&nbsp; Whenever MSN attempts to send a file across the Internet, I creates several smaller packets (typically in the range of 536-1350 bytes) and sends them one after the other.&nbsp; During the file transfer process, if there are messages (text or IM) to be transmitted, the message data block is piggy-backed on the file-transfer packets and sent across.</div>
<p>
<div align="justify">I was desperately looking for filtering the MSN based file-transfer for some official purposes and wrote some iptables rules based on the Internet literature that said file transfers happen via 6891-6900 by TCP.&nbsp; Then, to validate the rules, I used tcpdump again on the gateway machine to monitor the packets that are originated from my machine.&nbsp; </div>
<blockquote><div align="center"><font face="Courier New">tcpdump src host dev02 -i eth1 -vvv</font></div>
</blockquote>
<div align="justify">To my surprise, the file transfer was still happening also the ports are blocked.&nbsp; Then I made an &#8220;iptables&#8221; rule to drop all the packets other than 1863 and repeated the experiment.&nbsp; Still the file-transfer was happening.&nbsp; I could see using tcpdump that the packet transfer is happening via port 1863.</div>
<blockquote><div align="center"><font face="Courier New">tcpdump src host dev02 and dst port 1863 -i eth1 -vvv</font></div>
</blockquote>
<div align="justify">So, it became apparant that the file-transfer and the text messaging are all happening via port 1863 instead of the port range 6891-6900.&nbsp; I then decided to write an iptables rule to filter the packets using the packet size constraint.&nbsp; A rule was written to drop packets that are more then 600 bytes assuming that the IM packets shall never reach the limit.</div>
<blockquote><p><font face="Courier New">iptables -A FORWARD -i eth1 -m length -p tcp &#8211;length 600:65535 &#8211;dport 1863 -j DROP</font><br /><font face="Courier New">iptables -A FORWARD -i eth1 -p tcp &#8211;dport 1863 -j ACCEPT</font><br /><font face="Courier New">iptables -A FORWARD -i eth1 -p tcp -j DROP</font></p></blockquote>
<div align="justify">I did see that the packet size is around 1350 bytes when files are transferred and that&#8217;s why I chose 600 bytes as the limit.&nbsp; When I monitoring using the &#8220;tcpdump&#8221; command as before, I was surprise to see that the protocol adjusted the packet size automatically to 560 bytes to continue the transmission.&nbsp; It tried with 1350 bytes for 3 times and as the acknowledgments were not received, it&#8217;s flow control mechanism reduced the packet size to 560 bytes and finished the transfer.&nbsp; So, I had to redo the iptables rule:-</div>
<blockquote><p><font face="Courier New">iptables -A FORWARD -i eth1 -m length -p tcp &#8211;length <strike>600</strike> 512:65535 &#8211;dport 1863 -j DROP</font></p></blockquote>
<p>It worked like charm.</p>
<div align="justify">The happiness did not last long.&nbsp; When people logout and tried logging in, they were not able to login at all.&nbsp; When I investigated the cause of this problem, I could see that the packets that are exchanged during the login process is more than 512 bytes (typically 1350 bytes).&nbsp; So, I had to relax the rule for a brief time to let people login to MSN messenger service.&nbsp; I enabled the file-transfer restriction after everybody logged in by enabling the iptables rule.</div>
<div align="justify">
<blockquote>NOTE: iptables based filtering shall work only for packets that travel across the network.&nbsp; If the MSN file-transfer happens inside the LAN, MSN cleverly does the file-transfer using P2P where the gateway is not involved at all.</p></blockquote>
</div>
<p>Although, this is not a very good solution, it is definitely worth knowing about!<br />Happy firewalling!.</p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=7befccce-08f4-8c71-9a93-504e9f255fac" /></div>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2009/11/restrict-msn-file-transfer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netgear Router &amp; BSNL Broadband</title>
		<link>http://sudarsun.in/blog/2009/11/netgear-router-bsnl-broadband/</link>
		<comments>http://sudarsun.in/blog/2009/11/netgear-router-bsnl-broadband/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 08:53:29 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Electrical]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[adsl]]></category>
		<category><![CDATA[broadband]]></category>
		<category><![CDATA[bsnl]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[loading]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[netgeory]]></category>
		<category><![CDATA[noise]]></category>
		<category><![CDATA[rain]]></category>
		<category><![CDATA[ripple]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[splitter]]></category>
		<category><![CDATA[telephone]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/?p=335</guid>
		<description><![CDATA[During Raining Days, BSNL broadband line gets little noisy. I used to connect only my router and never my land line phone in the phone line as I use the BSNL telephone line only for Internet access. Lately, I noticed that the Netgear router having difficulty in establishing connection with the BSNL server whenever it [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">During Raining Days, BSNL broadband line gets little noisy.  I used to connect only my router and never my land line phone in the phone line as I use the BSNL telephone line only for Internet access.  Lately, I noticed that the Netgear router having difficulty in establishing connection with the BSNL server whenever it was raining or the phone line is noisy.  The <span style="color: #ff6600;"><strong>&#8220;i&#8221;</strong></span> indicator keeps blinking in <strong><span style="color: #ff6600;">ORANGE</span></strong> color and never stabilizes into a <span style="color: #00ff00;"><span style="color: #99cc00;"><strong>GREEN</strong></span> </span>color indication.  Having the &#8220;i&#8221; indicator blink made sure that the link exists.  When I wanted to check the condition of the link (telephone line connection), I connected the BSNL telephone to the splitter port which splits the telephone line to the router and the telephone.  When I lifted the cradle, I could notice that the telephone line is little noisy.  When I was wondering when and how to make the complaint to BSNL, surprisingly the Netgear router made a stable connection with BSNL gateway.  I have used this hack several times, whenever the router (modem) had difficulty in establishing connection.</p>
<p style="text-align: justify;">One theory behind this could be the &#8220;loading&#8221; effect of the telephone on the telephone line which is subsiding the noise ripples coming over the telephone line.</p>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2009/11/netgear-router-bsnl-broadband/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mr Jayachandran, JE/Avadi BSNL Exchange</title>
		<link>http://sudarsun.in/blog/2008/07/mr-jayachandran-jeavadi-bsnl-exchange/</link>
		<comments>http://sudarsun.in/blog/2008/07/mr-jayachandran-jeavadi-bsnl-exchange/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:16:21 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Help]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[avadi]]></category>
		<category><![CDATA[bsnl]]></category>
		<category><![CDATA[jayachandran]]></category>
		<category><![CDATA[je]]></category>
		<category><![CDATA[telephone exchange]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/?p=9</guid>
		<description><![CDATA[I solemnly agree that there are few passionate people in public service departments. I reside at Thirumullaivoyil which comes under the control of Avadi Township. I had recently applied for BSNL broadband connection, which took little more than a month to really materialize. The broadband department of Avadi Exchange was quick, but the Linemen and [...]]]></description>
			<content:encoded><![CDATA[<p>I solemnly agree that there are few passionate people in public service departments. I reside at Thirumullaivoyil which comes under the control of Avadi Township. I had recently applied for BSNL broadband connection, which took little more than a month to really materialize. The broadband department of Avadi Exchange was quick, but the Linemen and the Broadband servicemen were poor. The guy who had come for installation knew nothing about broadband connection. But he was boasting that he is the incharge of all broadband activities. Poor we!</p>
<p>Though, it had taken little extra time, it was really worth waiting for. The speed of BSNL broadband is awesome. While checking the download speed, the ticker showed more than 1.6Mbps. Hmm, all these excitements shattered on day 3. The telephone line went dead. I had made complaints through all possible channels viz. BSNL portal, via 198 AVR, and also<br />
through the customer care centre of Avadi Exchange. It is more than a week now, and there is no improvement to this.</p>
<p>But like a ray of hope, I got hold of the BSNL JE&#8217;s office number. The JE is Mr. Jayachandran. This man is very different from another government employees. I was told that the JE would respond to customer problems ASAP. I had to try several times to get the number connected. At around 11 AM, I got lucky to get the JE on phone. To my surprise, this man is really different. He heard my problem patiently and instantly gave orders to the field people (I was able to hear him calling the Linemen by name to fix the problem immediately). It was like breeze to see a public service person in action. I thanked him several times to have responded very fast.</p>
<p>But, when I came back home, to my surprise the phone line is still dead. Most likely it should be the mistake of the Lineman again. Even though the service call is not completed, I am not getting frustrated. It is just because the way Mr. Jayachandran acted so responsibly.</p>
<p>Mr. Jayachandran, JE BSNL Avadi Exchange, may be contacted at 044-20029423.  He comes to office only at 10.00AM Monday-Saturday.</p>
<p>Update 27.01.2009<br />
1. JE&#8217;s number has changed to 044-26383456<br />
2. Thirumullaivoyil::CholambeduMainRoad Line man&#8217;s number is 044-20006064</p>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2008/07/mr-jayachandran-jeavadi-bsnl-exchange/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DG834G and BSNL Broadband</title>
		<link>http://sudarsun.in/blog/2008/07/dg834g-and-bsnl-broadband/</link>
		<comments>http://sudarsun.in/blog/2008/07/dg834g-and-bsnl-broadband/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:04:59 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[adsl]]></category>
		<category><![CDATA[dg834g]]></category>
		<category><![CDATA[netgear]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wlan]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/?p=8</guid>
		<description><![CDATA[I have a super-fast (by today&#8217;s standards) broadband connection provided by BSNL. But BSNL had provided me a wired ADSL router, which has only one RJ45 Ethernet port. I have two desktops and one laptop with me which needs to be connected to the Internet through the broadband connection. BSNL also provides a wireless type [...]]]></description>
			<content:encoded><![CDATA[<p>I have a super-fast (by today&#8217;s standards) broadband connection provided by BSNL. But BSNL had provided me a wired ADSL router, which has only one RJ45 Ethernet port. I have two desktops and one laptop with me which needs to be connected to the Internet through the broadband connection. BSNL also provides a wireless type 2 ADSL modem, but the general review about that is not so appreciable. Lately, I was told about Netgear DG834G which could be used for my rescue.</p>
<p>I bought Netgear DG834G from Ritchie street, Chennai for Rs 2900. This is a type 2 modem that comes with IEEE 802.11b/g hardware that can support upto 54Mbps data transfer speed and four 10/100Mbps Ethernet ports. The configuration of the modem is pretty straight forward. I had chosen the manual ADSL configuration method in setting up. I had all the details borrowed from the UTStarCom modem given by BSNL. A quick summary of the modem setting is as follows:</p>
<p><strong>ADSL Setting</strong></p>
<blockquote><p>VPI: 0</p>
<p>VCI: 35</p>
<p>Multiplexing Mode: LLC BASED</p>
<p>DSL Mode: ADSL 2+</p></blockquote>
<p><strong>Basic Settings</strong></p>
<blockquote><p>Does your Internet connection require a login? YES</p>
<p>Encapsulation: PPPoE</p>
<p>Login:</p>
<p>Password:</p>
<p>Service Name: dataone</p>
<p>Idle timeout: 5</p>
<p>Internet IP Address: Get Dynamically from ISP</p>
<p>Domain Name Server: Get Automatically from ISP</p>
<p>Network Address Translation: Enable</p></blockquote>
<p>There was a catch here. I did not know the BSNL password. From the ADSL modem, I could get only the username. So I tried using &#8220;password revealer&#8221; to get the password configured in the BSNL modem (I got the modem pre-configured while BSNL installed it in my home). None of the<br />
password revealers work on XP and Vista.</p>
<p>Linux Fedora came for the rescue. Fedora comes with Ethernet promiscuous mode intercepting<br />
tools like &#8220;tcpdump&#8221;, &#8220;iptraf&#8221; etc. I decided to intercept the ADSL modem configuration page for capturing the password which &#8220;could&#8221; be sent as plain text in the URL. TCPDUMP becomes an ideal tool for this requirement. I summoned &#8220;tcpdump&#8221; to capture all the packets destined to 192.168.0.1 (ADSL router IP). The command is the following:</p>
<p><strong>tcpdump -A dst host 192.168.0.1 -s 5000 &gt; dump.file</strong></p>
<p>I had asked the command to redirect the outputs to &#8220;dump.file&#8221;, so that I can check the content offline. Once the command started, I opened the ADSL page in my browser (on a machine connected to ADSL via ethernet; also to remind, &#8220;tcpdump&#8221; runs on this machine!). While browsing<br />
through the authentication page and the following pages, &#8220;tcpdump&#8221; started capturing all the html text transferred between my machine and the ADSL router.</p>
<p>Bingo, the URLs are dumped in the file. To my surprise, the password assigned for my BSNL account was &#8220;password&#8221;. Later, I figured out that &#8220;password&#8221; is the default password assigned<br />
to all pre-configured ADSNL modems. Anyways, even if the password is different, my technique would have fetched the password for me.</p>
<p>This technique will not work for sites like yahoo, etc. Because they don&#8217;t send the password as plain text, rather they send the MD5 hash equivalent of the password. This technique will not work for any site that is running on HTTPS, as everything sent across or received is encrypted using 128bit SSL encryption.</p>
<p>Netgear DG834G promises reasonable signal strength for 35M (~100feet). It works even if I keep<br />
the router is one corner of the house and try to access it from any other place out of which some areas are reachable only after multiple left and right turns.</p>
<p>DG834G is awesome. I recommend this router for domestic BSNL broadband use.</p>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2008/07/dg834g-and-bsnl-broadband/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Wireless LAN of Dell XPS 1530 in Fedora 8</title>
		<link>http://sudarsun.in/blog/2008/07/configuring-wireless-lan-of-dell-xps-1530-in-fedora-8/</link>
		<comments>http://sudarsun.in/blog/2008/07/configuring-wireless-lan-of-dell-xps-1530-in-fedora-8/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 17:02:44 +0000</pubDate>
		<dc:creator>sudarsun</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[1530]]></category>
		<category><![CDATA[dell xps]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[iwl3945]]></category>
		<category><![CDATA[netgear]]></category>
		<category><![CDATA[wireless]]></category>
		<category><![CDATA[wpa_supplicant]]></category>

		<guid isPermaLink="false">http://sudarsun.in/blog/?p=7</guid>
		<description><![CDATA[Dell XPS 1530 comes with an Intel Pro Wireless 3945ABG Hardware. In fedora 8, by default the device is detected and an appropriate driver (iwl3945) is loaded as well. If the wireless network is not secured, the interface works without any modification. I had configured by ADSL router to have WPA-PSK encryption based security. To [...]]]></description>
			<content:encoded><![CDATA[<p>Dell XPS 1530 comes with an Intel Pro Wireless 3945ABG Hardware.</p>
<p>In fedora 8, by default the device is detected and an appropriate driver (iwl3945) is loaded as well. If the wireless network is not secured, the interface works without any modification.</p>
<p>I had configured by ADSL router to have WPA-PSK encryption based security. To make my laptop work with this secured network, the default network configuration dialog does not suffice. But still, we need to setup something in that dialog as well.</p>
<ol>
<li>Open system-config-network dialog, choose to edit the wlan0 interface.</li>
<li>Select the &#8220;Wireless Settings&#8221; tab.</li>
<li>Set Mode as &#8220;Managed&#8221;</li>
<li>Set Network name (SSID) as &#8220;XYZ&#8221;, where &#8220;XYZ&#8221; is the SSID you had<br />
configured in the router. You may also leave it in &#8220;Auto&#8221; as well.</li>
<li>Leave the other inputs as it is.</li>
</ol>
<p>From the command line, run &#8220;iwconfig&#8221; to see the status of your interface. You may see something like the following:</p>
<p><span style="font-size: x-small;"><span style="font-weight: bold; font-size: 85%;"><span style="font-family: courier new;">wlan0 IEEE 802.11g ESSID:&#8221;NETGEAR&#8221;</span><br />
<span style="font-family: courier new;">Mode:Managed Frequency:2.462 GHz Access Point: Not-Associated</span><br />
<span style="font-family: courier new;">Tx-Power=27 dBm</span><br />
<span style="font-family: courier new;">Retry min limit:7 RTS thr:off Fragment thr=2352 B</span><br />
<span style="font-family: courier new;">Encryption key:off</span><br />
<span style="font-family: courier new;">Link Quality=0 Signal level=0 Noise level=0</span><br />
<span style="font-family: courier new;">Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0</span><br />
<span style="font-family: courier new;">Tx excessive retries:0 Invalid misc:0 Missed beacon:0</span><br />
</span><br />
</span>Note, I have configured my SSID to be &#8220;NETGEAR&#8221;.</p>
<p>Since we have not enabled the security &#8220;thing&#8221;, we are not able to reach the Wireless Access Point. To enable that we need to have the &#8220;<span style="font-weight: bold;">wpa_supplicant</span>&#8221; tool. Using wpa_supplicant, we can bridge the connectivity and security.</p>
<p>First create the wpa configuration file using &#8220;<span style="font-weight: bold;">wpa_passphrase</span>&#8221; command.</p>
<p><span style="font-size: x-small;"><span style="font-weight: bold; font-size: 85%;"><span style="font-family: courier new;">wpa_passphrase </span></span><br />
</span>Ex: <span style="font-weight: bold; font-size: 85%; font-family: courier new;"><span style="font-size: x-small;">wpa_passphrase NETGEAR alphabeta </span></p>
<p></span></p>
<p>This command would generate a file like the following:</p>
<p><span style="font-size: x-small;"><span style="font-weight: bold; font-size: 85%;"><span style="font-family: courier new;">network={</span><br />
<span style="font-family: courier new;">ssid=&#8221;NETGEAR&#8221;</span><br />
<span style="font-family: courier new;">#psk=&#8221;alphabeta&#8221;</span><br />
<span style="font-family: courier new;">psk=d0392dff9de884a7163058cebb41592bf7872decda1c8b79b072359bc5e93cac</span><br />
<span style="font-family: courier new;">}</span></span> <font size="2"> </p>
<p></font></span></p>
<p>Dump this output to <span style="font-weight: bold;">/etc/wpa.conf</span></p>
<p>Now, you have to run wpa_supplicant as:</p>
<p>bash# <span style="font-size: x-small;"><span style="font-weight: bold; font-size: 85%;"><span style="font-family: courier new;">/usr/sbin/wpa_supplicant -Dwext -iwlan0 -c/etc/wpa.conf &amp;</span></span> <font size="2"> </p>
<p></font></span></p>
<p>Note,<br />
I have used the &#8220;wireless generic extension (wext)&#8221; for the driver configuration. You may get some log message like the following:<br />
<span style="font-weight: bold; font-size: 85%; font-family: courier new;"><br />
<span style="font-size: x-small;">Trying to associate with 00:1b:2f:a3:54:f8 (SSID=&#8217;NETGEAR&#8217; freq=2462 MHz)<br />
Associated with 00:1b:2f:a3:54:f8<br />
WPA: Key negotiation completed with 00:1b:2f:a3:54:f8 [PTK=TKIP GTK=TKIP]<br />
CTRL-EVENT-CONNECTED &#8211; Connection to 00:1b:2f:a3:54:f8 completed (auth) [id=0 id_str=]</span></span></p>
<p>At this point you are probably connected to the Wireless Access Point. Try running &#8220;iwconfig&#8221; command. The correct output should be like:</p>
<p><span style="font-size: x-small;"><span style="font-weight: bold; font-size: 85%; font-family: courier new;">wlan0 IEEE 802.11g ESSID:&#8221;NETGEAR&#8221;<br />
Mode:Managed Frequency:2.462 GHz Access Point: 00:1B:2F:A3:54:F8<br />
Bit Rate=54 Mb/s Tx-Power=27 dBm<br />
Retry min limit:7 RTS thr:off Fragment thr=2352 B<br />
Encryption key:5A83-9BBE-BA9F-5C2B-46D1-0FEC-CE66-475F-A44A-DD05-4B16-63F3-3474-0C46-464A-6CF0 [3]<br />
Link Quality=97/100 Signal level=-29 dBm Noise level=-64 dBm<br />
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0<br />
Tx excessive retries:0 Invalid misc:0 Missed beacon:0</span> <font size="2"> </p>
<p></font></span></p>
<p>try running &#8220;/sbin/ifconfig&#8221; to see whether you have the device up with an IP address. If IP address is not assigned, run</p>
<p><span style="font-size: 85%; font-family: courier new;"><span style="font-size: x-small;"><span style="font-weight: bold;">/sbin/service network restart </span><br />
<span style="font-weight: bold;">or</span><br />
<span style="font-weight: bold;">/sbin/dhclient wlan0</span><br />
<span style="font-weight: bold;">or</span><br />
<span style="font-weight: bold;">/sbin/ifup wlan0</span></span></span></p>
<p>You may probably see a &#8220;wmaster0&#8243; interface as well, which may be ignored.</p>
<p>Most likely you are done by now.<br />
Happy wireless networking.</p>
]]></content:encoded>
			<wfw:commentRss>http://sudarsun.in/blog/2008/07/configuring-wireless-lan-of-dell-xps-1530-in-fedora-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  sudarsun.in/blog/category/networking/feed/ ) in 0.45963 seconds, on Feb 8th, 2012 at 1:55 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 8th, 2012 at 2:55 pm UTC -->
