3g:
set device /dev/cuaU0
set speed 921600
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK \
AT+CFUN=1 OK \
AT+COPS=0 OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"www.plusgsm.pl\\\" OK \
\dATDT\\T TIMEOUT 80 CONNECT"
set logout "ABORT BUSY ABORT ERROR TIMEOUT 60 \"\" +++ATH O ATH OK"
set phone *99\#
set timeout 300
set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0
add default HISADDR
enable dns
disable ipv6cp
# ppp -ddial 3g
Yes, I added this section to ppp(8) config in /etc/ppp/ppp.conf file.
Code:3g: set device /dev/cuaU0 set speed 921600 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK \ AT+CFUN=1 OK \ AT+COPS=0 OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"www.plusgsm.pl\\\" OK \ \dATDT\\T TIMEOUT 80 CONNECT" set logout "ABORT BUSY ABORT ERROR TIMEOUT 60 \"\" +++ATH O ATH OK" set phone *99\# set timeout 300 set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0 add default HISADDR enable dns disable ipv6cp
This is of course for WWAN provider in Poland.
To connect use this command:
# ppp -ddial 3g
set device /dev/cuaU0
. I thought this was how to access a comport, for example when using a broadband dongle. I'm talking about using a SIM slot on the motherboard of the laptop. Is that addressed the same way?I use internal laptop slot with builtin WWAN module on ThinkPad T520 laptop, but it worked the same for Dongle USB.Many thanks for your reply. It's nice to know that someone has this working. Just a few questions to clarify how this works..
I'm surprised by this:-set device /dev/cuaU0
. I thought this was how to access a comport, for example when using a broadband dongle. I'm talking about using a SIM slot on the motherboard of the laptop. Is that addressed the same way?
I have a Plus number. Would I be able to use your settings when I'm in Poland?
Incidentally, what is the best deal for SIMs in Poland at the moment as I expect to be visiting next week.
Code:... AT+CGDCONT=1,\\\"IP\\\",\\\"www.plusgsm.pl\\\" OK \ \dATDT\\T TIMEOUT 80 CONNECT" set logout "ABORT BUSY ABORT ERROR TIMEOUT 60 \"\" +++ATH O ATH OK" set phone *99\# set timeout 300 set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0 ...
I use internal laptop slot with builtin WWAN module on ThinkPad T520 laptop, but it worked the same for Dongle USB.
If You have SIM from Plus provider in Poland, then these settings should work.
Yes, I added this section to ppp(8) config in /etc/ppp/ppp.conf file.
Code:3g: set device /dev/cuaU0 set speed 921600 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK \ AT+CFUN=1 OK \ AT+COPS=0 OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"www.plusgsm.pl\\\" OK \ \dATDT\\T TIMEOUT 80 CONNECT" set logout "ABORT BUSY ABORT ERROR TIMEOUT 60 \"\" +++ATH O ATH OK" set phone *99\# set timeout 300 set ifaddr 10.64.64.64/0 10.64.64.64/0 255.255.255.255 0.0.0.0 add default HISADDR enable dns disable ipv6cp
This is of course for WWAN provider in Poland.
To connect use this command:
# ppp -ddial 3g
#ppp -ddial 3g
Working in ddial mode
Warning: Add route failed: 0.0.0.0: errno: Value too large to be stored in data type
Using interface: tun0
default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION
set device /dev/cuaU0.2
set timeout 180
set speed 921600
set dial "ABORT BUSY TIMEOUT 3 \
\"\" \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"fast.t-mobile.com\\\" OK \
ATD*99# CONNECT"
set timeout 180
enable dns
resolv writable
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
ppp -ddial default
Yes, I added this section to ppp(8) config in /etc/ppp/ppp.conf file.
Code:3g: set device /dev/cuaU0
how we send PIN code and witch speed for 4G ?Here is mine:
/ppp/ppp.conf
Code:default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION set device /dev/cuaU0.2 set timeout 180 set speed 921600 set dial "ABORT BUSY TIMEOUT 3 \ \"\" \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"fast.t-mobile.com\\\" OK \ ATD*99# CONNECT" set timeout 180 enable dns resolv writable set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR
You will need to change the APN to yours.
(My APN is fast.t-mobile.com)
My script is named default, so change dialer if you use this.
ppp -ddial default