|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
PPP config for USB-based 3G / NextG HSDPA SIERRA 21 modems (FreeBSD 8.0)
This thread is strictly for setting up PPP configs for USB-based SIERRA Wireless HSPA 3G Modem (FreeBSD 8.0) and onward...
I have tried to work this out via searching here, there and everywhere. All I can achieve is a ppp script that says: Code:
# ppp Loading /lib/libalias_cuseeme.so Loading /lib/libalias_ftp.so Loading /lib/libalias_irc.so Loading /lib/libalias_nbt.so Loading /lib/libalias_pptp.so Loading /lib/libalias_skinny.so Loading /lib/libalias_smedia.so Working in interactive mode Using interface: tun0 ppp ON localhost> dial kpn ppp ON localhost> Warning: Chat script failed ppp ON localhost> Code:
# PPP config for 3G modems # This is an example ppp configuration that allows connection to KPN # networks. # Good coverage but crap configuration. If you need help with other # providers # contact # for details. # Issues: # The destination IP address negotiated by PPP when using KPN as your # provider # is invalid. You need to set up the default route to the interface, not # the IP # address, hence the ppp.link* scripts. # KPN does not hand out DNS servers, or at least, not that I can see. # Add # entries from OpenDNS. ppp.conf: kpn: set device /dev/cuau0 set speed 115200 set timeout 0 set authname MYAUTHNAME@MYISP.COM set authkey MYPASSWORD 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" ## Lower the MTU as this seems to make the link more stable for GPRS connections. #set mtu maximum 296 #set mru maximum 296 # set crtscts on # disable vjcomp # disable acfcomp # disable deflate # disable deflate24 # disable pred1 # disable protocomp # disable mppe # disable ipv6cp # disable lqr # disable echo nat enable yes enable dns resolv writable set dns 208.67.220.220 208.67.222.222 # openDNS set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 #add default HISADDR # See ppp.link* ppp.linkup: kpn: shell route delete default shell route add default -interface INTERFACE ppp.linkdown: default: shell logger "LABEL down (up UPTIME): OCTETSIN received, OCTETSOUT sent" kpn: shell route delete default Code:
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" If anyone else has the USB-based SIERRA Wireless HSPA 3G Modem and actually managed to find a working chat script please upload your ppp.conf here.. THX. If not don't worry, I'll work the b@st@rd out eventually >8-D. Anyway,, it's great to be back here at Daemonforums with whats left of us FreeBSDForum heads,,, THX Everyone who actively revived most of the old archives (any that could be salvaged) and those who developed the Daemonforums >8-D. Last edited by psychonics; 2nd June 2010 at 11:54 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to config PF as router and source based routing | kivi_kmitl | OpenBSD Security | 0 | 4th May 2010 08:06 AM |
FreeBSD New Frenzy Live CD based on FreeBSD 8.0 | J65nko | News | 3 | 11th January 2010 06:15 PM |
A name for an embedded FreeBSD-based OS | nimnod | Off-Topic | 15 | 16th March 2009 03:06 PM |
Firewall on (A)DSL modems | JMJ_coder | General software and network | 10 | 30th January 2009 12:31 AM |