{"id":20,"date":"2007-06-27T00:42:14","date_gmt":"2007-06-26T22:42:14","guid":{"rendered":"http:\/\/gcolpart.evolix.net\/blog21\/orange-gprs-with-debian\/"},"modified":"2008-08-06T19:16:41","modified_gmt":"2008-08-06T17:16:41","slug":"orange-gprs-with-debian","status":"publish","type":"post","link":"https:\/\/gcolpart.evolix.net\/blog21\/orange-gprs-with-debian\/","title":{"rendered":"Orange GPRS with Debian"},"content":{"rendered":"<p>I use Nokia 6630 phone and Orange (french mobile phone provider).<br \/>\nPlug it with USB (you must have \/dev\/ttyACM0).<\/p>\n<pre>apt-get install ppp wvdial<\/pre>\n<p>And create these 3 files.<\/p>\n<p>\/etc\/ppp\/peers\/gprs file:<\/p>\n<pre>lcp-echo-failure 0\r\nlcp-echo-interval 0\r\nnodetach\r\ndebug\r\nshow-password\r\nconnect \"\/usr\/bin\/wvdial --chat --config \/etc\/ppp\/peers\/gprs-wvdial.conf foo\"\r\ndisconnect \/etc\/ppp\/peers\/gprs-disconnect-chat\r\n\/dev\/ttyACM0\r\n115200 # fast enough\r\ncrtscts # serial cable, Bluetooth and USB, on some occations with IrDA too\r\nlocal\r\n:10.0.0.1\r\nnoipdefault\r\nipcp-accept-local\r\ndefaultroute\r\nusepeerdns\r\nnovj\r\nnobsdcomp\r\nnovjccomp\r\nnopcomp\r\nnoaccomp\r\nnoauth\r\nuser \"user\"<\/pre>\n<p>\/etc\/ppp\/peers\/gprs-wvdial.conf file:<\/p>\n<pre>[Dialer foo]\r\nInit1 = ATH\r\nInit2 = ATE1\r\nInit3 = AT+CGDCONT=1,\"IP\",\"orange.fr\",\"\",0,0\r\nDial Command = ATD\r\nPhone = *99#\r\nUsername = orange\r\nPassword = orange<\/pre>\n<p>\/etc\/ppp\/peers\/gprs-disconnect-chat file:<\/p>\n<pre>#!\/bin\/sh\r\n\r\nexec \/usr\/sbin\/chat -V -s -S\r\nABORT          \"BUSY\"\r\nABORT          \"ERROR\"\r\nABORT          \"NO DIALTONE\"\r\nSAY            \"nSending break to the modemn\"\r\n\"\"             \"K\"\r\n\"\"             \"+++ATH\"\r\nSAY            \"nPDP context detachedn\"<\/pre>\n<p>Finally you can:<\/p>\n<pre>pppd call gprs<\/pre>\n<p>Note that with Orange you can&#8217;t use SSH port (port 22) but others classical ports are enabled: 21, 25, 80, 110, 143, 443, 993 and 995.<\/p>\n<p><span style=\"font-style: italic;\">Update on 2008 : you can now use SSH port!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use Nokia 6630 phone and Orange (french mobile phone provider). Plug it with USB (you must have \/dev\/ttyACM0). apt-get install ppp wvdial And create these 3 files. \/etc\/ppp\/peers\/gprs file: lcp-echo-failure 0 lcp-echo-interval 0 nodetach debug show-password connect &#8220;\/usr\/bin\/wvdial &#8211;chat &#8211;config \/etc\/ppp\/peers\/gprs-wvdial.conf foo&#8221; disconnect \/etc\/ppp\/peers\/gprs-disconnect-chat \/dev\/ttyACM0 115200 # fast enough crtscts # serial cable, Bluetooth [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,3,1,7],"tags":[],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-debian","category-english","category-hardware","category-network"],"_links":{"self":[{"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcolpart.evolix.net\/blog21\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}