During my time with 3G on FreeBSD, I had to interactively send commands to ppp to start a successful connection. These where my steps taken.
Start PPP in interactive mode:
Specify the device:
|
Code:
|
set device /dev/cuaU0.0 |
Enable DNS
Specify it to request a remote
|
Code:
|
ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 |
|
Code:
|
add default HISADDR |
I normally disable ipv6 stuff:
Specify timeout to be 0 other wise it disconnects on idle:
Now enter a terminal prompt to send commands to the device:
For finding out what commands to send to the modem, I used wvdialconf to probe the modem under Linux and wrote down the commands which were the following:
send the commands to the device:
|
Code:
|
ATZ
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
AT+CGDCONT=,1"IP","three.co.uk"
ATDT*99\ |
Then type ~/ to return back to PPP. Then simply type:
This got me up and running with 3G on FreeBSD. there wasn't much documentation on it, so took me awhile. hopefully you find this useful.