How to connect your old phone as a 3g router to your open-wrt installation.
I recently moved to a new flat and currently I don't have an internet connection.I have an old phone: nokia n95 8gb and unlimited data plan.
What I decided to connect the phone to the router and access internet as usual.
1-install open-wrt's latest version (OpenWrt Backfire 10.03.1-rc5 in my case)
2-you need to install usb packages
kmod-usb-acm
2.6.32.27-1
kmod-usb-core
2.6.32.27-1
kmod-usb-ohci
2.6.32.27-1
kmod-usb2
3-to configure 3g access from backfire's gui you need install package
comgt
0.32-9
4-go to wwan section and now select 3g as connection method.
put the settings apn etc. and you will be connected to internet over your nokia.
Trick here for nokia phones is comminicated through kmod-usb-acm package which creates a device
/dev/ttyACM0, you have to put this to the modem device setting on the GUI
DOn't forget to set your phone to Pc suite mode.
If anyhting goes wrong you can see the status from logread command.
If everything ok , as soon as you put the details to Luci you should see something like this from the output of logread and you will have internet connection,
Mar 27 05:23:21 OpenWrt daemon.notice pppd[10071]: pppd 2.4.4 started by root, uid 0
Mar 27 05:23:22 OpenWrt local2.info chat[10124]: abort on (BUSY)
Mar 27 05:23:22 OpenWrt local2.info chat[10124]: abort on (NO CARRIER)
Mar 27 05:23:22 OpenWrt local2.info chat[10124]: abort on (ERROR)
Mar 27 05:23:22 OpenWrt local2.info chat[10124]: report (CONNECT)
Mar 27 05:23:22 OpenWrt local2.info chat[10124]: timeout set to 10 seconds
Mar 27 05:23:22 OpenWrt local2.info chat[10124]: send (AT&F^M)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (OK)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: AT&F^M^M
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: OK
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: -- got it
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: send (ATE1^M)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (OK)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ^M
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ATE1^M^M
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: OK
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: -- got it
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: send (AT+CGDCONT=1,"IP","yourapnhere.com"^M)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: timeout set to 30 seconds
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (OK)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ^M
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: AT+CGDCONT=1,"IP","yourapnhere.com"^M^M
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: OK
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: -- got it
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: send (ATD*99***1#^M)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: expect (CONNECT)
Mar 27 05:23:23 OpenWrt local2.info chat[10124]: ^M
Mar 27 05:23:24 OpenWrt local2.info chat[10124]: ATD*99***1#^M^M
Mar 27 05:23:24 OpenWrt local2.info chat[10124]: CONNECT
Mar 27 05:23:24 OpenWrt local2.info chat[10124]: -- got it
Mar 27 05:23:24 OpenWrt local2.info chat[10124]: send ( ^M)
Mar 27 05:23:24 OpenWrt daemon.info pppd[10071]: Serial connection established.
Comments