You are not logged in.
I'm planning on tethering a computer using the berry4all shell script available at http://www.berry4all.com/install#linux.
The site says I need a few packages, but only lists the debian and redhat based package names. What are the Arch equivalents to these packages, and is there any special procedures for accomplishing this on Arch?
Offline
python, libusb and ppp are in the repos and pyusb is in AUR. Seems pretty straightforward from there...
Offline
I just use barry (a git checkout from 20110814) with Linux's pppd.
Startup script:
if [[ -z $(pidof /usr/sbin/pppob) ]] ; then
/usr/sbin/pppd call blackberry-modem &
sleep 6
for f in {0..10} ; do
/sbin/route add default gw 169.254.1.1 metric 203 && break
sleep 1
done
fi
/root/bin/stopwirelessblackberry
killall /usr/sbin/pppd
killall /usr/sbin/pppob
sleep 3
killall -9 /usr/sbin/pppd
killall -9 /usr/sbin/pppob
/etc/chatscripts/blackberry-modem.chat (/etc/chatscripts is just a symlink to /etc/ppp/chat/)
'' ATZ
OK ATDT*99#
CONNECT
/etc/ppp/peers/blackberry-modem
# To start: ifdown eth0 ; breset ; btool -X ; pppd call blackberry-modem
# breset is very important!
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry-modem.chat"
# From http://pdamobiz.com/forum/forum_posts.asp?TID=213551&PN=1&TPN=2
# "ais" is *not* optional, for either!
user "ais"
password "ais"
usepeerdns
# Is backup for router, so do not replace default
#noipdefault
#defaultroute
# No point in hogging a Terminal window
nodetach
# Don't use novj with BlackBerry OS5
#novj
nodeflate
nobsdcomp
noaccomp
# Flow control - should be none, apparently.
nocrtscts
nocdtrcts
nomultilink
nopcomp
nomagic
#passive
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# From http://blog.ub3rgeek.net/2009/12/29/bluetooth-dun-with-blackberry-9700-t-mobile-and-ubuntu-9-10/
ipcp-max-configure 20
# Detect failure
#lcp-echo-interval 20
#lcp-echo-failure 3
# This removes failure detect
lcp-echo-interval 0
lcp-echo-failure 999
mtu 1492
# Debugging verbosity
#debug
debug debug debug
#pty "/usr/sbin/pppob -l /tmp/pppob.log -v"
pty "/usr/sbin/pppob"
# 921600 Works For Me (TM) but won't "speed up" your connection.
# 115200 also works - maybe the only safe speed.
#230400
921600
pap-timeout 20
pap-restart 20
lcp-restart 10
# Script to run
disconnect "/root/bin/stopwirelessblackberry"
holdoff 2
modem
persist
Offline