Added documentation for the "gprs" tool

This commit is contained in:
Pierre Pronchery 2014-08-28 03:17:06 +02:00
parent c4ec833629
commit ac4e71f8ca
4 changed files with 19 additions and 1 deletions

View File

@ -79,8 +79,10 @@ dist:
$(PACKAGE)-$(VERSION)/doc/phone.xml \
$(PACKAGE)-$(VERSION)/doc/phonectl.css.xml \
$(PACKAGE)-$(VERSION)/doc/phonectl.xml \
$(PACKAGE)-$(VERSION)/doc/pppd-chat_gprs \
$(PACKAGE)-$(VERSION)/doc/pppd-ip-down \
$(PACKAGE)-$(VERSION)/doc/pppd-ip-up \
$(PACKAGE)-$(VERSION)/doc/pppd-peers_gprs \
$(PACKAGE)-$(VERSION)/doc/pppd-peers_phone \
$(PACKAGE)-$(VERSION)/doc/project.conf \
$(PACKAGE)-$(VERSION)/include/Phone.h \

5
doc/pppd-chat_gprs Executable file
View File

@ -0,0 +1,5 @@
'' 'AT+CFUN=1'
'OK' 'AT+CGDCONT=1,"IP","\T"'
'OK' 'ATDT*99***1#'
TIMEOUT 120
'CONNECT' '\c'

11
doc/pppd-peers_gprs Normal file
View File

@ -0,0 +1,11 @@
/dev/modem 460800
#important: the APN has to be configured here
connect '/usr/sbin/chat -T APN -f /etc/ppp/chat/gprs'
defaultroute
local
lock
noauth
updetach
usepeerdns
#mru 296
#mtu 296

View File

@ -1,5 +1,5 @@
targets=index.html,phone.1,phone.html,phonectl.1,phonectl.html
dist=Makefile,docbook.sh,gprs.conf,index.xml,index.xsl,manual.css.xml,phone.css.xml,phone.xml,phonectl.css.xml,phonectl.xml,pppd-ip-down,pppd-ip-up,pppd-peers_phone
dist=Makefile,docbook.sh,gprs.conf,index.xml,index.xsl,manual.css.xml,phone.css.xml,phone.xml,phonectl.css.xml,phonectl.xml,pppd-chat_gprs,pppd-ip-down,pppd-ip-up,pppd-peers_gprs,pppd-peers_phone
[gprs.conf]
install=$(PREFIX)/share/doc/Phone