MANU-MAXIMUS-02
Maximus Reference Manual
D-5
Revision-02
Appendix D: GSM/GPRS Setup
Manually Configuring a GSM Terminal
If you list the peer configurations, notice that T-Mobile is set as the current provider but other
links are defined. For example, in this case ATT could be set as the provider by using the –sf
switch because a link for ATT is defined.
/etc/ppp/peers # ls -l
-rw-r--r-- 1 500 500 215 Jan 12 21:16 att
-rw-r--r-- 1 500 500 198 Jan 12 21:16 o2
lrwxrwxrwx 1 root root 8 Feb 3 20:23 peer -> t-mobile
-rw-r--r-- 1 500 500 195 Jan 12 21:16 proximus
-rw-r--r-- 1 500 500 202 Jan 12 21:16 t-mobile
-rw-r--r-- 1 500 500 207 Jan 12 21:16 t-mobile-uk
Set up a New Provider
If the provider you want isn’t already a link, you can set up the new provider. There are three
components that make up a complete provider configuration: the peer file, the chat script,
and the authentication information. In order to create these files you will need to obtain this
essential information from your service provider:
•
Username and password
•
Connection endpoint or access point name (APN)
•
Frequency band of operation
Then, you will need to create and modify three files:
•
Peer file
•
PPP password file
•
Chat file
Creating a Peer File
Peer files are in the /etc/ppp/peers directory. Copy an existing one then modify the first two
lines to create a new peer file.
•
Modify the first line to set the username, such as “t-mobile.”
•
Modify the second line to use the name of your new chat script.
/etc/ppp/peers # cat nameofpeerfile
user "enter-a-username-here"
connect "/usr/sbin/chat -v -f /etc/ppp/connect-yourchatfile-
name"
/dev/ttyS2 115200
persist
maxfail 0