FreeBSD's ppp(8) and u3g UMTS modem: Difference between revisions
From ZS64
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Many USB UMTS data sticks provide a serial port over which you can speak asynchronous PPP to the stick to establish a data connection. The hardware drivers contain more info on all functions provided, see u3g(4) et al. | Many USB UMTS data sticks provide a serial port over which you can speak asynchronous PPP to the stick to establish a data connection. The hardware drivers contain more info on all functions provided, see [http://www.FreeBSD.org/cgi/man.cgi?query=u3g&apropos=0&sektion=4&manpath=FreeBSD+8.0-RELEASE&format=html u3g(4)] et al. | ||
Sample ppp.conf(8): | Sample [http://www.FreeBSD.org/cgi/man.cgi?query=ppp.conf&apropos=0&sektion=8&manpath=FreeBSD+8.0-RELEASE&format=html ppp.conf(8)]: | ||
u3g: | u3g: | ||
set device /dev/cuaU0.0 | set device /dev/cuaU0.0 |
Revision as of 15:17, 28 November 2009
Many USB UMTS data sticks provide a serial port over which you can speak asynchronous PPP to the stick to establish a data connection. The hardware drivers contain more info on all functions provided, see u3g(4) et al.
Sample ppp.conf(8):
u3g: set device /dev/cuaU0.0 set speed 115200 # the stick/the network fail to provide an IP unless you suggest one, so the # following line might be necessary #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 set authname internet set authkey internet set log local phase ipcp set dial "ABORT BUSY TIMEOUT 2 \ \"\" \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"internet\\\" OK \ AT+CGACT? OK-AT-OK \ AT+CGATT? OK \ AT+CGCLASS? OK \ AT+COPS? OK \ ATD*99***1# CONNECT" set crtscts on nat enable yes add default HISADDR #disable dns