DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st June 2010
psychonics psychonics is offline
New User
 
Join Date: Oct 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default 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>
My ppp.conf file was produced by editing a "so called" 3G ppp.conf file which was sourced via the net:
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
This chat script seems to be the problem:

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"
What I don't understand is why some USB 3G modem PPP.confs ie, other O/S's have to dial a *99# number or similar and are set up obviously with entire different chat scripts.... now, this is the chat script for FreeBSD as it was sourced from freebsd.org.

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.
Reply With Quote
  #2   (View Single Post)  
Old 2nd June 2010
psychonics psychonics is offline
New User
 
Join Date: Oct 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default

Why does this thread not show up in new posts ?¿?¿? weired...20 hrs old and still not in there... I really need this modem to work or it's throw out FreeBSD for another year or two until *BSD actually brings out a "real" (STABLE) version that has a working 3G chatscript provided.. anyone who knows anything about the 3G ppp.conf and or chatscript please help.

Last edited by psychonics; 2nd June 2010 at 01:05 AM.
Reply With Quote
  #3   (View Single Post)  
Old 2nd June 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

Quote:
Why does this thread not show up in new posts
"New posts" only shows posts that have not yet been marked as read by you. Since you made this post, it has been marked as read.
"Quick links -> Today's posts" should show your posts.

Sorry, don't know anything about ppp and even less about 3g/HSDPA ... Just wanted to answer that.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 2nd June 2010
psychonics psychonics is offline
New User
 
Join Date: Oct 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default

Thanks mate, I'll mark my new posts as read from now on ( I swear I never needed to do that back in FreeBSDForum days...although it's been quite some time >8-D.) Theres a lot to be learned about the SIERRA Wireless HSPA 3G Modem.... back to do some more testing..
Reply With Quote
  #5   (View Single Post)  
Old 7th June 2010
psychonics psychonics is offline
New User
 
Join Date: Oct 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default

Sierra Wireless AirCard® USB 306 Modem for HSPA+ networks.

where is:

gnome-ppp
kppp
pppd
wvdial
etc
etc
etc in my FreeBSD 8.0 STABLE DVD install edition ?

The way I see it the Sierra Wireless AirCard® USB 306 Modem for HSPA+ networks is DooMed (superseeded) before FreeBSD will ever catch up...

how is someone like me supposed to update ports etc with only one computer ? I cannot connect via DCHP through a gateway,,, etc etc etc...

This is cutting edge wireless technology for FreeBSD and no one really cares..
I should have realized this when trying to install ISDN on FreeBSD a decade ago.
Why should you care anyway, you probably have a T5 connection..
Reply With Quote
  #6   (View Single Post)  
Old 8th June 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,068
Thanked 198 Times in 156 Posts
Default

Quote:
gnome-ppp
kppp
pppd
wvdial
etc
etc
etc in my FreeBSD 8.0 STABLE DVD install edition ?
pppd is part of FreeBSD. I do not know if the other apps have been ported to FreeBSD, I can't find them in ports but they may be part of another port (Such as kdebase).

Quote:
This is cutting edge wireless technology for FreeBSD and no one really cares..
I should have realized this when trying to install ISDN on FreeBSD a decade ago.
Why should you care anyway, you probably have a T5 connection..
The reason no one replied is probably because no one knew how to solve your problem. ppp is not used that often, using ppp with HSPA+ is used even less.
In other words: Sorry, we simply don't know

You can try repeating your question on the "official" FreeBSD forums: forums.freebsd.org, you can also try sending a mail to the freebsd-questions@ maillist.

Good luck.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #7   (View Single Post)  
Old 14th June 2010
psychonics psychonics is offline
New User
 
Join Date: Oct 2008
Posts: 5
Thanked 0 Times in 0 Posts
Default

Thanks Carpetsmoker.. I will continue using FreeBSD as my main machine.. although atm all I can do is rely on WinXP as my gateway.. I'll consider posting my question on the official FreeBSD forums aswell.. cheers..
>8-D
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick