<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Sinhalen FOSS &#187; විධායක රේකාව (Command line)</title>
	<atom:link href="http://www.sinhalenfoss.org/tag/%e0%b7%80%e0%b7%92%e0%b6%b0%e0%b7%8f%e0%b6%ba%e0%b6%9a-%e0%b6%bb%e0%b7%9a%e0%b6%9a%e0%b7%8f%e0%b7%80-command-line/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sinhalenfoss.org</link>
	<description>Sinhalen FOSS is a weekly podcast that discusses recent news, gossip &#38; local stuff related to FOSS, conducted in the Sinhala/Singlish language.</description>
	<lastBuildDate>Mon, 20 Jun 2011 07:02:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9;Bud, Chanux, Seejay </copyright>
		<managingEditor>bud@babytux.org (Bud, Chanux, Seejay)</managingEditor>
		<webMaster>bud@babytux.org(Bud, Chanux, Seejay)</webMaster>
		<category></category>
		<ttl>1440</ttl>
		<itunes:keywords>sinhala, podcast, foss, opensource</itunes:keywords>
		<itunes:subtitle>SinhalenFoss</itunes:subtitle>
		<itunes:summary>Sinhalen FOSS is a weekly podcast that discusses recent news, gossip and local stuff related to FOSS, conducted in the Sinhala/Singlish language.</itunes:summary>
		<itunes:author>Bud, Chanux, Seejay</itunes:author>
		<itunes:category text="Technology">
  <itunes:category text="Podcasting"/>
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Tech News"/>
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Software How-To"/>
</itunes:category>
		<itunes:owner>
			<itunes:name>Bud, Chanux, Seejay</itunes:name>
			<itunes:email>bud@babytux.org</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.sinhalenfoss.org/images/sinhalen_foss_logo-300.png" />
		<image>
			<url>http://www.sinhalenfoss.org/images/sinhalen_foss_logo-144.png</url>
			<title>Sinhalen FOSS</title>
			<link>http://www.sinhalenfoss.org</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>ග්නූ/ලිනකස් හරහා GPRS/3G/CDMA භාවිතා කිරීම</title>
		<link>http://www.sinhalenfoss.org/2008/04/%e0%b6%9c%e0%b7%8a%e0%b6%b1%e0%b7%96%e0%b6%bd%e0%b7%92%e0%b6%b1%e0%b6%9a%e0%b7%83%e0%b7%8a-%e0%b7%84%e0%b6%bb%e0%b7%84%e0%b7%8f-gprs3gcdma-%e0%b6%b7%e0%b7%8f%e0%b7%80%e0%b7%92%e0%b6%ad%e0%b7%8f/</link>
		<comments>http://www.sinhalenfoss.org/2008/04/%e0%b6%9c%e0%b7%8a%e0%b6%b1%e0%b7%96%e0%b6%bd%e0%b7%92%e0%b6%b1%e0%b6%9a%e0%b7%83%e0%b7%8a-%e0%b7%84%e0%b6%bb%e0%b7%84%e0%b7%8f-gprs3gcdma-%e0%b6%b7%e0%b7%8f%e0%b7%80%e0%b7%92%e0%b6%ad%e0%b7%8f/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 20:18:12 +0000</pubDate>
		<dc:creator>bud</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[ක්‍රම සහ විධි (howto)]]></category>
		<category><![CDATA[විධායක රේකාව (Command line)]]></category>

		<guid isPermaLink="false">http://sinhalenfoss.wordpress.com/?p=12</guid>
		<description><![CDATA[බුද්ධික සිද්ධිසේන
ඔබ යහලු-යෙහෙලියන් සමග එළිමහනේ කාලය ගත කරමින් සිටින මොහොතක මොනයම් හේතුවක් නිසා අන්තර් ජාලයට පිවිසෙන්න හිතුනොත්, මෙම උපදෙස් පිලිපැදීමෙන් එය පහසුවෙන් ඔබට ග්නූ/ලිනකස් හරහා කළ ගත හැක.
අවශ්‍ය දෑ

පරිගණකයක් (අමතරව bluetooth/bluetooth dongle)  
wvdial ඇතුලත් ග්නූ/ලිනකස් පද්ධතියක් (අමතරව  bluetooth පැකේජ ස්ථාපිත කර තිබීම)
GPRS/3G ෆෝන් එකක්

ඔව්, එච්චරයි අවශ්‍ය. ඩ්‍රවර් CD අනවශ්‍යයි.
A ක්‍රමය: USB හරහා
මෙය ඉතා [...]]]></description>
			<content:encoded><![CDATA[<p>බුද්ධික සිද්ධිසේන</p>
<p>ඔබ යහලු-යෙහෙලියන් සමග එළිමහනේ කාලය ගත කරමින් සිටින මොහොතක මොනයම් හේතුවක් නිසා අන්තර් ජාලයට පිවිසෙන්න හිතුනොත්, මෙම උපදෙස් පිලිපැදීමෙන් එය පහසුවෙන් ඔබට ග්නූ/ලිනකස් හරහා කළ ගත හැක.</p>
<h2>අවශ්‍ය දෑ</h2>
<ol>
<li>පරිගණකයක් (අමතරව bluetooth/bluetooth dongle) <img src='http://www.sinhalenfoss.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>wvdial ඇතුලත් ග්නූ/ලිනකස් පද්ධතියක් (අමතරව  bluetooth පැකේජ ස්ථාපිත කර තිබීම)</li>
<li>GPRS/3G ෆෝන් එකක්</li>
</ol>
<p>ඔව්, එච්චරයි අවශ්‍ය. ඩ්‍රවර් CD අනවශ්‍යයි.</p>
<h2>A ක්‍රමය: USB හරහා</h2>
<p>මෙය ඉතා පහසුවෙන් ෆෝන් එකට සරිලන USB කේබලය යොදාගනිමින් කළගත හැකිය. කළ යුත්තේ කේබලය ෆෝන් එකට සහ USB port එකට සවි කිරීමයි. මෙහිදී ෆෝන් එකෙන් එය USB disk එකක් ලෙස භාවිතා කරන්න දැයි ඇසූ විට එයට එපා (No) කියන්න.</p>
<p>ඉන්පසු command terminal එකක් ඇර, dmesg විධානය දෙන්න. ඉන් අපට kernel එකෙන් ලැබෙන තොරතුරු බලා ගත හැක. ඉන් මේ අවස්ථාවේ වැදගත් වෙන්නේ අවසානයට ඇති තොරතුරු විතරයි.<br />
<code><br />
$ dmesg</code></p>
<p>Linux version 2.6.22-3-686 (Debian 2.6.22-6.lenny1) (sf@debian.org) (gcc version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #1 SMP Sun Feb 10 20:20:49 UTC 2008<br />
BIOS-provided physical RAM map:</p>
<p>&#8230;&#8230;&#8230;..</p>
<p>usb 1-1: new full speed USB device using ohci_hcd and address 4<br />
usb 1-1: configuration #1 chosen from 1 choice<br />
drivers/usb/class/cdc-acm.c: Ignoring extra header, type -3, length 4<br />
cdc_acm 1-1:1.1: <strong>ttyACM0</strong>: USB ACM device<br />
usbcore: registered new interface driver cdc_acm<br />
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters</p>
<p>ඉහත උදාහරනයේදි පෙනෙන පරිධි dmesg එකෙන් ලැබෙන දත්තයෙන් වැදගත් වන්නේ ttyACM0 කියන device එකයි. එනම් ෆෝන් එකේ modem එකට /dev/ttyACM0 නැමති device file (ලිපිය) මගින් සම්බන්ධ කළ හැකිය. ඇතැම් ෆොන් හෝ 3G USB modems /dev/ttyUSB0 වැනි device file ලෙස දැකගත හැක. මෙය මතකයේ රැඳෙමින් අපි දැන් B ක්‍රමය වෙත යොමු වෙමු.</p>
<h2>B ක්‍රමය: Bluetooth හරහා</h2>
<p>මෙම ක්‍රමය තරමක් සංකීර්ණ වූවද, කිසිදු කේබලයකින් තොරව යොදාගත හැකිවීම නිසා වඩා ප්‍රයෝජනවත් වේ. ඔබේ ලිනක්ස් එකේ bluetooth වැඩකරනවා ඇතැයි අපි උපකල්පනය කරමු <img src='http://www.sinhalenfoss.org/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>මුලින්ම ඔබේ හෝ වෙනත් අයකුගේ ෆෝන් එකේ bluetooth on කරන්න. ඉන් පසු commandline terminal එක විවෘත කර, පහත සඳහන් විධානය මගින් ෆොන් එකේ bluetooth ID එක ලබාගන්න.<br />
<code><br />
$ sudo hcitool scan</code></p>
<p>Scanning &#8230;<br />
00:A4:17:3A:63:CA    Nokia 6230i</p>
<p>$ sudo rfcomm bind 0 00:A4:17:3A:63:CA</p>
<p>ඉහත විධානයෙන් /dev/rfcomm0 (bind 0 නිසා) Nokia  ෆෝන් එකට බැඳෙනු ඇත. එනම් ඉහත /dev/ttyACM0 පරිධි ෆොන් එකේ modem සමග සම්බන්ධ විය හැක.</p>
<p>ඇතැම් අවස්ථාවල ඉහත විධානය දීමේදි චැනල අංකයක් නොදුන්නොත් වැඩ නොකරීමට ඉඩ ඇත. එවිටක පහත දැක්වෙන පරිධි චැනල අංකය සොයාගත හැක.<br />
<code><br />
$ sudo sdptool search DUN</code></p>
<p>Inquiring &#8230;<br />
Searching for DUN on 00:A4:17:3A:63:CA &#8230;<br />
Service Name: Dial-up networking<br />
Service RecHandle: 0&#215;10000<br />
Service Class ID List:<br />
&#8220;Dialup Networking&#8221; (0&#215;1103)<br />
&#8220;Generic Networking&#8221; (0&#215;1201)<br />
Protocol Descriptor List:<br />
&#8220;L2CAP&#8221; (0&#215;0100)<br />
&#8220;RFCOMM&#8221; (0&#215;0003)<br />
Channel: 1</p>
<p>$ sudo rfcomm bind 0 00:A4:17:3A:63:CA <strong>1</strong></p>
<h2>අවසාන අවධිය &#8211; ඇමතීම</h2>
<p>පහත දැක්වෙන අන්දමට /etc/wvdial.conf ලිපියතුලට ෆෝන් එකේ modem සමග සම්බන්ධවීමට අවශ්‍ය කරුනු ලබා දෙන්න.<br />
<code><br />
$sudo vi /etc/wvdial.conf</code></p>
<p>[Dialer Defaults]<br />
Init = ATZ</p>
<p># Bluetooth<br />
Modem = /dev/rfcomm0<br />
# USB<br />
##Modem = /dev/ttyACM0<br />
# IR (yes possible, not covered above)<br />
#Modem = /dev/ircomm0</p>
<p># Uncomment speed if needed. Else auto<br />
# Baud = 115200</p>
<p>SetVolume = 0<br />
Dial Command = ATDT<br />
Init1 = ATE1<br />
FlowControl = crtscts</p>
<p>Username = &#8221; &#8221;<br />
Password = &#8221; &#8221;<br />
Phone = *99#</p>
<p># Some phones need a different number<br />
#Phone = *99***1#<br />
#Phone = #777<br />
Stupid Mode = 1</p>
<p>$ sudo wvdial</p>
<p>wvdial Dialog<br />
&#8211;&gt; WvDial: Internet dialer version 1.56<br />
&#8211;&gt; Cannot get information for serial port.<br />
&#8211;&gt; Initializing modem.<br />
&#8211;&gt; Sending: ATZ<br />
ATZ<br />
OK<br />
&#8211;&gt; Modem initialized.<br />
&#8211;&gt; Sending: ATDT*99#<br />
&#8211;&gt; Waiting for carrier.<br />
ATDT*99#<br />
CONNECT<br />
~[7f]}#@!</p>
<p>ඔබ bluetooth හරහා සම්බන්ධ වීමේ මුල් වතාවේදී ෆෝන් එක පරිගණකය සමග pair කිරීමට සිදුවනු ඇත. මේ සඳහා  X-windows උඩ දුවන bluez-pin හෝ Gnome උඩ දුවන bluetooth-applet හෝ kde උඩ දුවන kbluetooth තිබුනොත් පහසුවෙන් pin එක ලබාදිය හැක.</p>
<p>දැන් ඉතින් අන්තර්ජාලය ප්‍රවෙසමින් පාවිච්චිකරන්න. ෆෝන් බිලෙන් ප්‍රවේසම්වන්න!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sinhalenfoss.org/2008/04/%e0%b6%9c%e0%b7%8a%e0%b6%b1%e0%b7%96%e0%b6%bd%e0%b7%92%e0%b6%b1%e0%b6%9a%e0%b7%83%e0%b7%8a-%e0%b7%84%e0%b6%bb%e0%b7%84%e0%b7%8f-gprs3gcdma-%e0%b6%b7%e0%b7%8f%e0%b7%80%e0%b7%92%e0%b6%ad%e0%b7%8f/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

