{"id":78,"date":"2008-05-25T03:18:32","date_gmt":"2008-05-25T03:18:32","guid":{"rendered":"http:\/\/patrick-nagel.net\/blog\/?p=78"},"modified":"2008-12-03T04:09:18","modified_gmt":"2008-12-03T04:09:18","slug":"gprs-with-nokia-9300i-gentoo-and-china-mobile-2-openrc","status":"publish","type":"post","link":"https:\/\/patrick-nagel.net\/blog\/archives\/78","title":{"rendered":"GPRS with Nokia 9300i, Gentoo and China mobile (2, OpenRC)"},"content":{"rendered":"<p>Since I moved my laptop to the new OpenRC init framework, my GPRS connection stopped working. At first I didn&#8217;t know what needed to be changed, but after having a careful look at <tt>\/usr\/share\/doc\/openrc\/net.example<\/tt> and adjusting the proposed ppp chat script, I got it up and running again. Here is my configuration:<\/p>\n<pre>### 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        \"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\nABORT BUSY\r\nABORT ERROR\r\nABORT 'NO ANSWER'\r\nABORT 'NO CARRIER'\r\nABORT 'NO DIALTONE'\r\nABORT 'Invalid Login'\r\nABORT 'Login incorrect'\r\n'' AT\r\nTIMEOUT 5\r\nOK 'ATH'\r\nOK 'ATE1'\r\nOK 'AT+CGDCONT=1,\\\"IP\\\",\\\"cmnet\\\"'\r\nOK 'ATD*99#'\r\nTIMEOUT 60\r\nCONNECT ''\r\nTIMEOUT 5\r\n~-- ''\r\n\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Since I moved my laptop to the new OpenRC init framework, my GPRS connection stopped working. At first I didn&#8217;t know what needed to be changed, but after having a careful look at \/usr\/share\/doc\/openrc\/net.example and adjusting the proposed ppp chat script, I got it up and running again. Here is my configuration: ### GPRS ### &hellip; <a href=\"https:\/\/patrick-nagel.net\/blog\/archives\/78\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;GPRS with Nokia 9300i, Gentoo and China mobile (2, OpenRC)&#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-78","post","type-post","status-publish","format-standard","hentry","category-gentoo-linux"],"_links":{"self":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/78","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=78"}],"version-history":[{"count":2,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/78\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}