You are not logged in.

#1 2014-02-13 11:42:36

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,541

Tethering blackberry

I have been able to tether another mobile using wvdial, but blackberry requires barry from AUR to get tethering to work.  My init3 line in wvdial is +cgdcont=1,"IP","" (I don't even put anything in there and it seems to work, I haven't given it an official test).

For the blackberry my /etc/ppp/peers/barry-

connect "/usr/bin/chat -f /etc/chatscripts/barry-.chat"
pty "/usr/bin/pppob"

debug

user ""
password ""
defaultroute
usepeerdns
noipdefault
nodetach
noaccomp
nocrtscts
nopcomp
nomagic
novj
noauth
nomultilink
noproxyarp
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
mtu 1492
921600
local

For the blackberry my /etc/chatscripts/barry-.chat

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' AT&F
OK AT+CGDCONT=1,"IP","(probably old)"
OK-AT-OK ATDT*99#
CONNECT \d\c

It keeps repeating this line over and over:

sent [IPCP ConfReq id=0xxx <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0xxx]

until finally

sent [IPCP ConfReq id=0x4b <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x4b <addr xxx.xxx.xxx.xxx> <ms-dns1 xxx.xxx.xxx.xxx> <ms-dns2 xxx.xxx.xxx.xxx>]
sent [IPCP ConfReq id=0x4c <ms-dns1 xxx.xxx.xxx.xxx> <ms-dns2 xxx.xxx.xxx.xxx>]
rcvd [IPCP ConfAck id=0x4c <ms-dns1 xxx.xxx.xxx.xxx> <ms-dns2 xxx.xxx.xxx.xxx>]
Could not determine local IP address
Connect time 0.1 minutes.
Sent xxxx bytes, received xxxx bytes.
sent [IPCP TermReq id=0x4d "Could not determine local IP address"]
rcvd [IPCP TermAck id=0x4d]
sent [LCP TermReq id=0x2 "No network protocols running"]
rcvd [LCP TermAck id=0x2]
Connection terminated.
Waiting for 1 child processes...
   script /usr/bin/pppob, pid xxxxx
sending SIGTERM to process xxxxx

The barry chatscript doesn't have a second init line like in wvdial, but adding it locks it up as far as I can tell.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2014-02-13 12:11:01

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Tethering blackberry

Offline

#3 2014-02-13 15:28:34

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,541

Re: Tethering blackberry

brebs wrote:

I can't find the referenced forum items commented in your config files.
Is AIS still required in username/password to get blackberry tethering?
I'm not sure why the parts you have commented in blackberry-modem aren't in your startup script?  The only thing that is needed in the startup script would be those parts and the routing fix.
You have defaultroute and noipdefault commented out because you ifconfig <interfaces> down first. 
Do you know if novj is still commented out for OS6?
I'm not sure as to stopwirelessblackberry is needed, since ctrl-c should do the same thing, maybe removing your route in this script would do the same thing.
I kept trying to put replacedefaultroute in place of defaultroute, but it goes on the end of defaultroute to call a route like you have in your startup.
This is what this guy tried.
Other than that, it looks like you added a couple of things to your blackberry-modem that I don't have.  I'll have to try those when I get the blackberry back to try it again to see if it makes any difference. 
Breset and btool -X look like they do the same thing.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2014-02-13 20:11:47

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,541

Re: Tethering blackberry

I think I will also try berry4all from the AUR as now I can get it to work changing the line in /opt/bbtether/berry4all.sh to python2 (of course, having all of the needed depencies installed) when I get another chance at it.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2014-02-13 20:32:02

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Tethering blackberry

Replace "AIS" by whatever your ISP wants.

Offline

#6 2014-02-13 21:04:47

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,541

Re: Tethering blackberry

Ok, but mine doesn't require any auth.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB