{"id":67,"date":"2007-09-27T16:59:35","date_gmt":"2007-09-27T15:59:35","guid":{"rendered":"http:\/\/patrick-nagel.net\/blog\/archives\/67"},"modified":"2007-09-27T17:01:31","modified_gmt":"2007-09-27T16:01:31","slug":"gprs-with-nokia-9300i-gentoo-and-china-mobile","status":"publish","type":"post","link":"https:\/\/patrick-nagel.net\/blog\/archives\/67","title":{"rendered":"GPRS with Nokia 9300i, Gentoo and China mobile"},"content":{"rendered":"<p>Perhaps somebody else will find this useful. The relevant part of my \/etc\/conf.d\/net:<\/p>\n<p>(assuming Bluetooth works)<\/p>\n<p><code><\/p>\n<pre>\r\n### GPRS ###\r\n\r\nconfig_ppp0=( \"ppp\" )\r\n\r\nlink_ppp0=\"\/dev\/rfcomm0\"\r\n\r\npppd_ppp0=(\r\n        \"noauth\"        # Do not require the peer to authenticate itself\r\n        \"nomagic\"\r\n        \"debug\"\r\n        \"local\"         # Ignore carrier detect signal from the modem\r\n\r\n        \"defaultroute\"  # Make this PPP interface the default route\r\n        \"usepeerdns\"    # Use the DNS settings provided by PPP\r\n\r\n        \"lcp-echo-interval 15\"  # Send a LCP echo every 15 seconds\r\n        \"lcp-echo-failure 3\"    # Make peer dead after 3 consective\r\n                                # echo-requests\r\n\r\n        \"lock\"                          # Lock serial port\r\n        \"115200\"                        # Set the serial port baud rate\r\n        \"crtscts\"                       # Enable hardware flow control\r\n)\r\n\r\nchat_ppp0=(\r\n        'TIMEOUT' '5'\r\n        'ECHO' 'ON'\r\n        'ABORT' '\\nBUSY\\r'\r\n        'ABORT' '\\nERROR\\r'\r\n        'ABORT' '\\nNO ANSWER\\r'\r\n        'ABORT' '\\nNO CARRIER\\r'\r\n        'ABORT' '\\nNO DIALTONE\\r'\r\n        'ABORT' '\\nRINGING\\r\\n\\r\\nRINGING\\r'\r\n        '' '\\rAT'\r\n        'TIMEOUT' '12'\r\n        'SAY' 'Press CTRL-C to close the connection at any stage!'\r\n        'SAY' '\\ndefining PDP context...\\n'\r\n        'OK' 'ATH'\r\n        'OK' 'ATE1'\r\n        'OK' 'AT+CGDCONT=1,\"IP\",\"cmnet\"'\r\n        'OK' 'ATD*99#'\r\n        'TIMEOUT' '22'\r\n        'SAY' '\\nwaiting for connect...\\n'\r\n        'CONNECT' ''\r\n        'SAY' '\\nConnected.'\r\n        'SAY' '\\nIf the following ppp negotiations fail,\\n'\r\n        'SAY' 'try restarting the phone.\\n'\r\n)\r\n<\/pre>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perhaps somebody else will find this useful. The relevant part of my \/etc\/conf.d\/net: (assuming Bluetooth works) ### GPRS ### config_ppp0=( &#8220;ppp&#8221; ) link_ppp0=&#8221;\/dev\/rfcomm0&#8243; pppd_ppp0=( &#8220;noauth&#8221; # Do not require the peer to authenticate itself &#8220;nomagic&#8221; &#8220;debug&#8221; &#8220;local&#8221; # Ignore carrier detect signal from the modem &#8220;defaultroute&#8221; # Make this PPP interface the default route &#8220;usepeerdns&#8221; &hellip; <a href=\"https:\/\/patrick-nagel.net\/blog\/archives\/67\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;GPRS with Nokia 9300i, Gentoo and China mobile&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-gentoo-linux"],"_links":{"self":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/67","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/comments?post=67"}],"version-history":[{"count":0,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}