{"id":66,"date":"2006-05-27T08:40:00","date_gmt":"2006-05-27T08:40:00","guid":{"rendered":"http:\/\/adam.rosi-kessel.org\/weblog\/free_software\/code\/tips\/vx9800_vzw3g_fails_to_connect.html"},"modified":"-0001-11-30T00:00:00","modified_gmt":"1970-01-01T05:00:00","slug":"vx9800_vzw3g_fails_to_connect","status":"publish","type":"post","link":"http:\/\/adam.rosi-kessel.org\/weblog\/2006\/05\/27\/vx9800_vzw3g_fails_to_connect","title":{"rendered":"Fix for When VX9800 Fails To Connect to VZW3G Network Over Bluetooth on Linux"},"content":{"rendered":"<p> As a result of the <a href=\"http:\/\/adam.rosi-kessel.org\/weblog\/technology\/cell_phones_and_search_costs.html\">Verizon v710 Bluetooth Class Action Lawsuit Settlement<\/a>, I just got the LG VX9800, aka &#8220;LG the V.&#8221; It&#8217;s actually not as mediocre as <a href=\"http:\/\/adam.rosi-kessel.org\/weblog\/technology\/cell_phones_and_search_costs.html\">I thought<\/a>&#8212;more on that later. In keeping with my tradition of <a href=\"http:\/\/adam.rosi-kessel.org\/weblog\/free_software\/code\/linux.html\">posting solutions to problems that are not easily found on google<\/a> (an omnibus entry I plan to separate out into separate entries some day), I&#8217;m posting this tip about getting on to Verizon&#8217;s high speed (&#8220;3G&#8221;) network from Linux over a Bluetooth connection. <\/p>\n<p> I was able to get on with no problem with my old phone &#8212; the v710. I was surprised when wvdial kept failing with the new phone. The key, it turns out, was adding the following to \/etc\/ppp\/options: <\/p>\n<p><pre> -chap -mschap -mschap-v2 <\/pre>\n<\/p>\n<p> (I&#8217;m not even sure <em>all<\/em> of those are necessary, since -mschap and -mschap-v2 are not documented, but they can&#8217;t hurt.) <\/p>\n<p> Here&#8217;s the whole process: <\/p>\n<ol>\n<li>Establish a Bluetooth connection with the phone.\n<ul>\n<li>Make the phone &#8220;discoverable&#8221; &#8212; go into Bluetooth Options and set it to be visible to all devices<\/li>\n<li>hcitool scan to find the phone&#8217;s Bluetooth ID (henceforth ##:##:##:##:##:##)<\/li>\n<li>hcitool cc ##:##:##:##:##:##<\/li>\n<li>hcitool auth ##:##:##:##:##:##<\/li>\n<\/ul>\n<\/li>\n<li>Add a stanza to \/etc\/bluetooth\/rfcomm.conf:<br \/>\n<blockquote>\n<pre> rfcomm { bind yes; device ##:##:##:##:##:##; channel 8; } <\/pre>\n<\/blockquote>\n<\/li>\n<li>Add a stanza to \/etc\/wvdial.conf:<br \/>\n<blockquote>\n<pre> [Dialer Defaults] Modem = \/dev\/rfcomm0 Carrier Check = No Baud = 115200 Init1 = ATZ Init2 = AT$QCMDR=3 Phone = #777 Username = [Your Verizon 10 Digit Phone Number]@vzw3g.com Password = vzw <\/pre>\n<\/blockquote>\n<li>As dicussed above, add to \/etc\/ppp\/options:<br \/>\n<blockquote>\n<pre> -chap -mschap -mschap-v2 <\/pre>\n<\/blockquote>\n<\/li>\n<\/ol>\n<p> You&#8217;ll of course have to deal with permissions issues (on \/dev\/rfcomm0), have the packages installed (bluetooth, wvdial, ppp), etc., but that sort of information is available elsewhere. <\/p>\n<p> It should be obvious that this method costs you airtime. But in my experience Verizon imposes no other charges. I get about 16 kilobytes\/second out here in Vermont, which isn&#8217;t bad compared to dial-up. <\/p>\n<p> Finally, I haven&#8217;t nailed this down yet, but in some situations (maybe where you are outside EV-DO range), you may need to do the following: <\/p>\n<ul>\n<li>Open the phone<\/li>\n<li>Press OK &#8211; 0 &#8211; 000000<\/li>\n<li>Press 3, Network Select<\/li>\n<li>Press 1, Mode Preference<\/li>\n<li>Select 1X only.<\/li>\n<\/ul>\n<p> (Remember to change it back to Digital Only Hybrid when done) <\/p>\n<p> Finally, there is already an excellent page describing <a href=\"http:\/\/www.quietearth.us\/vx9800.htm\">how to use the VX9800 (&#8220;LG the V&#8221;) on Linux<\/a>. I would not want to displace its PageRank. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>As a result of the Verizon v710 Bluetooth Class Action Lawsuit Settlement, I just got the LG VX9800, aka &#8220;LG the V.&#8221; It&#8217;s actually not as mediocre as I thought&#8212;more on that later. In keeping with my tradition of posting solutions to problems that are not easily found on google (an omnibus entry I plan [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts\/66"}],"collection":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":0,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"wp:attachment":[{"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/adam.rosi-kessel.org\/weblog\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}