<?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>Bold 9700 &#8211; Farlock.org</title>
	<atom:link href="https://www.farlock.org/tag/bold-9700/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.farlock.org</link>
	<description>What you want to hack today?</description>
	<lastBuildDate>Wed, 02 Apr 2014 06:08:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.3</generator>
	<item>
		<title>BlackBerry Bold 9700 as Linux Modem</title>
		<link>https://www.farlock.org/linux/blackberry-bold-9700-as-linux-modem/</link>
					<comments>https://www.farlock.org/linux/blackberry-bold-9700-as-linux-modem/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 13 Apr 2010 10:59:30 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apn]]></category>
		<category><![CDATA[BlackBerry]]></category>
		<category><![CDATA[BlackBerry Linux]]></category>
		<category><![CDATA[Blackberry modem]]></category>
		<category><![CDATA[Bold 9700]]></category>
		<category><![CDATA[Linux GPRS]]></category>
		<category><![CDATA[ppp BlackBerry]]></category>
		<category><![CDATA[tether]]></category>
		<category><![CDATA[tre.it]]></category>
		<guid isPermaLink="false">http://www.farlock.org/?p=140</guid>

					<description><![CDATA[<p>In questa breve guida andrò ad illustrare come usare il nostro BlackBerry Storm 9700 quale modem HSDPA/UMTS/GPRS. Ovviamente il metodo illustrato funziona con (teoricamente) qualsiasi terminale BlackBerry.</p> <p>Il tutto è reso possibile dal software prodotto da NetDirect, Barry. Scarichiamolo a questo indirizzo http://www.netdirect.ca/software/packages/barry.</p> <p>Grazie a barry (in particolare l&#8217;eseguibile è pppob) ci viene fornita una [...]]]></description>
										<content:encoded><![CDATA[<p>In questa breve guida andrò ad illustrare come usare il nostro BlackBerry Storm 9700 quale modem HSDPA/UMTS/GPRS. Ovviamente il metodo illustrato funziona con (teoricamente) qualsiasi terminale BlackBerry.</p>
<p>Il tutto è reso possibile dal software prodotto da NetDirect, Barry. Scarichiamolo a questo indirizzo <a href="http://www.netdirect.ca/software/packages/barry">http://www.netdirect.ca/software/packages/barry</a>.</p>
<p>Grazie a barry (in particolare l&#8217;eseguibile è pppob) ci viene fornita una seriale virtuale sulla quale possiamo poi eseguire il demone ppp.</p>
<p>Nei repository Debian è disponibile una versione pacchettizzata, vi consiglio comunque di scaricare l&#8217;ultima da sourceforge.net (sono presenti già le versioni binarie pacchettizzate).</p>
<p>Installiamo le dipendenze necessarie e i due pacchetti scaricati:</p>
<blockquote><p>apt-get update</p>
<p>apt-get install libboost-serialization1.34.1 libfuse2 libstdc++6 libusb-0.1-4 libgcc1zlib1g</p>
<p>dpkg -i libbarry0_0.16-0_i386.deb barry-util_0.16-0_i386.deb</p></blockquote>
<p>Fatto questo ci troveremo in /etc/chatscripts e in /etc/ppp/peers alcuni file barry-* di esempio. Io personalmente ho preso quello di att-cingular (connessione tramite APN standard) e li ho modificati come segue (il mio provider è Tre).</p>
<p>/etc/ppp/peers/Berry</p>
<blockquote><p>connect &#8220;/usr/sbin/chat -v -f /etc/chatscripts/Berry&#8221;</p>
<p># Authentication options &#8211; no need for ISP to authenticate to us, but<br />
#                          we may need a login here: user/password/name<br />
noauth<br />
user tre<br />
password tre<br />
name Berry</p>
<p># Handle the default route and DNS<br />
#nodefaultroute<br />
defaultroute<br />
usepeerdns<br />
replacedefaultroute</p>
<p># Disable unsupported options<br />
noipdefault<br />
#nodetach<br />
nodeflate<br />
nobsdcomp<br />
noaccomp<br />
#default-asyncmap<br />
nocrtscts<br />
nopcomp<br />
nomagic</p>
<p># This is disabled by default for a Barry config, but this<br />
# has caused connection issues in the past.  If you are unable<br />
# to get an ip with your provider, try commenting this out.<br />
# See:<br />
# http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01871.html<br />
#novj</p>
<p>passive</p>
<p>#nomultilink<br />
ipcp-restart 7<br />
ipcp-accept-local<br />
ipcp-accept-remote<br />
lcp-echo-interval 0<br />
lcp-echo-failure 999</p>
<p># Limit size of packets<br />
mtu 1492</p>
<p># Verbosity<br />
debug<br />
#debug debug debug</p>
<p># Call pppob for the USB link<br />
pty &#8220;/usr/sbin/pppob&#8221;</p></blockquote>
<p>/etc/chatscripts/Berry</p>
<blockquote><p>SAY &#8216;Setting abort string\n&#8217;<br />
ABORT ERROR</p>
<p>SAY &#8216;Initializing modem\n&#8217;<br />
#OK AT<br />
&#8221; ATZ</p>
<p>SAY &#8216;Carrier Information\n&#8217;<br />
OK AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;tre.it&#8221;<br />
OK ATI<br />
OK ATDT*99#</p>
<p>SAY &#8216;Connecting\n&#8217;<br />
CONNECT</p></blockquote>
<p>Attenzione, nel file peers/Berry ho commentato l&#8217;opzione &#8220;<strong>novj</strong>&#8220;, altrimenti non mi veniva assegnato l&#8217;indirizzo IP dal provider, fate alcune prove con e senza l&#8217;opzione!</p>
<p>Se il vs provider è diverso basta modificare l&#8217;apn nel file chatscripts/Berry, sostiuite &#8220;tre.it&#8221; con l&#8217;apn corretto (ibox.tim.it per TIM, web.omnitel.it per Vodafone, internet.wind per Wind Privati, internet.wind.biz per Wind Aziende).</p>
<p>Una volta salvati i nuovi file lanciate da riga di comando:</p>
<blockquote><p>pppd call Berry</p></blockquote>
<p>In /var/log/syslog potrete seguire l&#8217;output del demone fino alla corretta assegnazione dell&#8217;indirizzo.</p>
<p>In caso di problemi lanciate il demone ppp con le seguenti opzioni:</p>
<blockquote><p>pppd nodetach debug call Berry</p></blockquote>
<p>In questo modo l&#8217;output vi viene presentato direttamente sullo standard output.</p>
<p><strong>ATTENZIONE</strong>: con il mio Bold l&#8217;eseguibile pppob a volte rimane in esecuzione anche al termine della connessione, così facendo al tentativo successivo non sarà più possibile connettersi. Lanciamo semplicemente questo comando</p>
<blockquote><p>killall -9 pppob</p></blockquote>
<p>prima di ogni connessione, ogni processo appeso verrà terminato e riusciremo a connetterci.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.farlock.org/linux/blackberry-bold-9700-as-linux-modem/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
