当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 14 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2007-12-17 20:03 

注册: 2007-07-13 17:22
帖子: 98
送出感谢: 0 次
接收感谢: 0 次
gprs资费刚刚调整,20元包cmnet 80Mb 流量,基本满足了平时收发电子邮件的需要,那么,应该把手里的黑莓手机利用起来吧?
可是,不知道怎么利用……
从国外论坛上找到了一些内容,但是在ubuntu下编译的时候总是发生错误……
现在把帖子发上来,大家一起讨论解决吧!
原帖地址[url]http://www.blackberryforums.com/linux-users-corner/92085-how-tether-use-modem-your-bb-linux.html
[/url]

原帖:
Tethering With Blackberry Pearl On Linux

YOU CAN FIND THE ORIGINAL HTML VERSION HERE:
Tethering With Blackberry Pearl On Linux [Thibaut Colar's Home.]

NOTE: If you are going to use this, you should save this page now, yo your laptop, cause when you are gonna need it, you probably won't have a connection


WARNING: This whole setup is sort of screwy, but hey it works !


WARNING: Tethering will cost you a lot of money unless you have an unlimited data plan. Some phone companies, forbid it unless you have a special plan, some other allow it but won't support it, some just plain disallow it.


I believe tethering should be allowed, but you should use that only as needed when on the road, users who use GB of data on a tether connection annoy me because 1) sooner or later the carrier will be blocked anyway, 2) if too many people do that, phone companies might block tethering unless you buy an Expensive plan !
You are not helping anybody if you do this, be reasonable and enjoy tethering when you really need it, ex: in a crunch on the road.

Introduction
Ok, i spent a LOT of time getting this dammed thing to work, but i did it !
Fisrt let me talk about the few options i tried:
- Barry: this project on source forge provides a synchronization and they started modem support but modem support does not work yet.

- XmBlackberry: This is the project that DOES work, however the site is very 'bare bone' and almost no documentation exists. On top of that the latest time they made a release was over a year ago and that release does not work with my BB. I was able to make it work with the live CVS version, though it was a pain to compile and get going.

NOTE: I only managed to get tethering to work using BOTH Barry(to recognize the device properly) and XmBlackberry(modem support), so we will install both


I used Ubuntu Feisty Fawn (x86)for this doc, though same idea should work on other linux distros.
My device is a Blackberry Pearl (8100)
My Carrier is TMobile.

This works with the USB cable and not Bluetooth, i prefer the USB cable anyhow, it's faster and less chance to loose/forget my phone if tied to the laptop

Installing XmBlackberry from sources
The main issues i had here are:
- XmBlackberry only works with the pearl with the CVS version.
- The CVS version of XMBlackBerry will only compile with openmotif2.3. 2.2 won't work !
- Debian does not have a packaged version of openmotif2.3 (the libmotif3 package is openmotif2.2)

If you use motif2.2 you will get errors like this:
Quote:
undefined reference to `XmVaCreatePushButton'
So as a result of all that the first step is to install openmotif2.3 from sources.

Prerequities

WARNING: If you have never compiled form source on your machine before, you will want to install those packages first:

Quote:
sudo apt-get install libc6-dev g++ gcc make build-essential
To compile/install all those things i had to install the following packages first. (The whole command is ONE LINE !)

Quote:
sudo apt-get install libtool autoconf automake cvs libglib2.0-dev libxml2-dev libssl-dev libopensync0-dev libxt-dev x11proto-print-dev libxmu-dev libxft-dev libfreetype6-dev libXp-dev flex byacc
Openmotif would not compile because libfreetype-dev installed files not where openmotif expected them (freetype & freetype2 dir), to compile i add to do this:

WARNING: not sure if that is a safe thing to do(probably OK), so you might want to revert this after (move back) after compiling openmotif.

Quote:
cd /usr/include/
sudo mv freetype freetype-back
sudo mv freetype2/freetype/ .
I also had to do this, to get XmBlackberry to run later:
Quote:
sudo ln -s /usr/X11R6/lib/libXm.so.4 /usr/X11R6/lib/libXm.so.3
Installing OpenMotif 2.3

NOTE: if you have motif3 you might need to remove it first. Honestly i'm not sure if it's a good idea, so don't do this unless you have to.

sudo apt-get remove libmotif3 libmotif-dev motif-clients


Installing motif2.3:
Quote:
cd ~
wget ftp://ftp.ics.com/openmotif/2.3/2.3....f-2.3.0.tar.gz
tar xzvf openmotif-2.3.0.tar.gz
cd openmotif-2.3.0/
./configure
make
sudo make install

Installing XmBlackberry

XmBlackberry needs Xlt installed (from source)

Installing libXlt

Quote:
cd ~
cvs -d :pserver:anonymous@xlt.cvs.sourceforge.net:/cvsroot/xlt co Xlt
cd Xlt
./CVSMake
./configure --prefix=/usr
make
sudo make install
XmBlackBerry
Get XmBlackberry source code

Quote:
cd ~
cvs -d :pserver:anonymous@xmblackberry.cvs.sourceforge.ne t:/cvsroot/xmblackberry co XmBlackBerry
Inside xmBlackberry folder get libusb source code.

Quote:
cd XmBlackBerry/
cvs -d :pserver:anonymous@libusb.cvs.sourceforge.net:/cvsroot/libusb co libusb
Compile/Install XMBlackberry

Quote:
./CVSMake
./configure --enable-maintainer-mode --disable-shared
make
sudo make install
Install libusb as it will be needed by Barry

Quote:
cd libusb
sudo make install
OpenSync
Install openSync (part of XmBlackberry)

Quote:
cd ..
cd opensync
make
sudo make install
Installing Barry

Quote:
cd ~
cvs -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry login
cvs -z3 -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry co -P barry
cd barry
sh buildgen.sh
./configure --prefix=/usr
make
sudo make install
Running XmBlackberry

WARNING: you will notice i run most of the following command with sudo, that is because otherwise it would fail, due i think to USB device permissions on debian, ideally it would probably be best to fix those permissions rather than tun those thing under sudo.


NOTE: PLUG YOUR BLACKBERRY NOW WITH THE USB CABLE.


There is an issue whereas the module usb_storage takes over the Blacberry device as soon as it is plugged in and thus XmBB can't use/see it.

We are gonna run Barry's bcharge, this has two uses here:
1) It will regrab the device from usb_storage
2) It will set the BB charging current to 500ma instead of 100ma, this will make the BB happy (no more warning) and allow it to dialog correctly with XmBB.

Because of a driver issue on the pearl we have to run bcharge twice, sounds odd, but is needed, as you will see on the second call the device will be found.

Quote:
sudo bcharge
sudo bcharge -o
Now, the device should be found. Example: ''sudo btool -l''

Blackberry devices found:
Device ID: 0x80xxxx. PIN: 241xxxx, Description: RIM 8100 Series Colour GPRS Handheld


NOTE: you can had Barry to udev, so it automatically runs when the BB is connected.
cp /home/thibautc/barry/udev/*b* /etc/udev/rules.d/
I haven't tried this yet.

Now we are ready to run XmBlackberry.
Quote:
sudo XmBlackberry
Once XmBlackBerry opens, click the ''Options'' Menu, this should dump something like this on the console:

XmBlackBerry.c:OptionPopupCallback(995) - GPRS modem device /dev/pts/0

If you see that, you are in business ! it found your GRPS modem !

Note "/dev/pts/0", this is going to be your modem device.
If you have other device it might be another number rather than 0, note this.


Tethering & connecting to GPRS / EDGE
You will want to have XmBlackberry up to be able to use the BB modem, so if not already running, restart it now.

PPP scripts

I found multiple pp scripts online, but none of them worked as-is, by combining some i found something working for me:

You will need to create those two files:

WARNING: if you don't use tmobile, you will have to adjust the 'AT+CGDCONT=1,"IP","wap.voicestream.com"' line.


see here for other carriers strings:
Using BlackBerry As Modem - BlackBerryFAQ

Note: "ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR" is all one line.


/etc/chatscripts/blackberry:
Quote:
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
SAY "ATE\n"
OK 'AT+CGDCONT=1,"IP","wap.voicestream.com"'
OK 'AT'
OK 'ATDT*99***1#'
SAY "Dialing\n"
WARNING: If XmBlackberry found your device somewhere else that /dev/pts/0 then adjust the file. TMobile use blank user and password, other carriers might want something else, adjust as needed.


/etc/ppp/peers/blackberry :
Quote:
debug debug debug
nodetach
/dev/pts/0
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user ""
password ""
Once this is setup, you are ready to get connected ... Finally !
Quote:
sudo pppd call blackberry
If all goes well you should get something like this:
Initializing
Dialing
Serial connection established.
using channel 15
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x682edbe8> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5>]
.....
sent [PAP AuthReq id=0x1 user="thibautc-laptop" password=<hidden>]
.....
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
......
local IP address 10.169.13.231
remote IP address 169.254.1.1
primary DNS address 66.94.9.120
secondary DNS address 66.94.25.120
Script /etc/ppp/ip-up started (pid 20529)
Script /etc/ppp/ip-up finished (pid 20529), status = 0x0
........


Make sure all your other interfaces (wireless/ethernet) are down, and enjoy browsing the web using your BB modem !

TIP: I actually posted this page using my Tethered connection !!


_________________
HP COMPAQ V3000 3240


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-12-17 20:10 

注册: 2007-07-13 17:22
帖子: 98
送出感谢: 0 次
接收感谢: 0 次
遇到的错误有:
openmotif-2.3.0 目录下 ./configure出现以下警告信息

configure: WARNING: X11/Xmu/Editres.h: present but cannot be compiled
configure: WARNING: X11/Xmu/Editres.h: check for missing prerequisite headers?
configure: WARNING: X11/Xmu/Editres.h: see the Autoconf documentation
configure: WARNING: X11/Xmu/Editres.h: section "Present But Cannot Be Compiled"
configure: WARNING: X11/Xmu/Editres.h: proceeding with the preprocessor's result
configure: WARNING: X11/Xmu/Editres.h: in the future, the compiler will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##

make时出现以下信息:
/usr/include/X11/Xft/Xft.h:461: error: expected ';', ',' or ')' before '*' token
make[3]: *** [List.lo] 错误 1
make[3]: Leaving directory `/home/niufox/openmotif-2.3.0/lib/Xm'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/home/niufox/openmotif-2.3.0/lib/Xm'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/niufox/openmotif-2.3.0/lib'
make: *** [all-recursive] 错误 1


_________________
HP COMPAQ V3000 3240


页首
 用户资料  
 
3 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2007-12-17 20:43 
头像

注册: 2005-11-28 12:09
帖子: 555
送出感谢: 0 次
接收感谢: 1
niufox 写道:
gprs资费刚刚调整,20元包cmnet 80Mb 流量,基本满足了平时收发电子邮件的需要,那么,应该把手里的黑莓手机利用起来吧?
可是,不知道怎么利用……
从国外论坛上找到了一些内容,但是在ubuntu下编译的时候总是发生错误……
现在把帖子发上来,大家一起讨论解决吧!
原帖地址[url]http://www.blackberryforums.com/linux-users-corner/92085-how-tether-use-modem-your-bb-linux.html
[/url]

原帖:
Tethering With Blackberry Pearl On Linux

YOU CAN FIND THE ORIGINAL HTML VERSION HERE:
Tethering With Blackberry Pearl On Linux [Thibaut Colar's Home.]

NOTE: If you are going to use this, you should save this page now, yo your laptop, cause when you are gonna need it, you probably won't have a connection


WARNING: This whole setup is sort of screwy, but hey it works !


WARNING: Tethering will cost you a lot of money unless you have an unlimited data plan. Some phone companies, forbid it unless you have a special plan, some other allow it but won't support it, some just plain disallow it.


I believe tethering should be allowed, but you should use that only as needed when on the road, users who use GB of data on a tether connection annoy me because 1) sooner or later the carrier will be blocked anyway, 2) if too many people do that, phone companies might block tethering unless you buy an Expensive plan !
You are not helping anybody if you do this, be reasonable and enjoy tethering when you really need it, ex: in a crunch on the road.

Introduction
Ok, i spent a LOT of time getting this dammed thing to work, but i did it !
Fisrt let me talk about the few options i tried:
- Barry: this project on source forge provides a synchronization and they started modem support but modem support does not work yet.

- XmBlackberry: This is the project that DOES work, however the site is very 'bare bone' and almost no documentation exists. On top of that the latest time they made a release was over a year ago and that release does not work with my BB. I was able to make it work with the live CVS version, though it was a pain to compile and get going.

NOTE: I only managed to get tethering to work using BOTH Barry(to recognize the device properly) and XmBlackberry(modem support), so we will install both


I used Ubuntu Feisty Fawn (x86)for this doc, though same idea should work on other linux distros.
My device is a Blackberry Pearl (8100)
My Carrier is TMobile.

This works with the USB cable and not Bluetooth, i prefer the USB cable anyhow, it's faster and less chance to loose/forget my phone if tied to the laptop

Installing XmBlackberry from sources
The main issues i had here are:
- XmBlackberry only works with the pearl with the CVS version.
- The CVS version of XMBlackBerry will only compile with openmotif2.3. 2.2 won't work !
- Debian does not have a packaged version of openmotif2.3 (the libmotif3 package is openmotif2.2)

If you use motif2.2 you will get errors like this:
Quote:
undefined reference to `XmVaCreatePushButton'
So as a result of all that the first step is to install openmotif2.3 from sources.

Prerequities

WARNING: If you have never compiled form source on your machine before, you will want to install those packages first:

Quote:
sudo apt-get install libc6-dev g++ gcc make build-essential
To compile/install all those things i had to install the following packages first. (The whole command is ONE LINE !)

Quote:
sudo apt-get install libtool autoconf automake cvs libglib2.0-dev libxml2-dev libssl-dev libopensync0-dev libxt-dev x11proto-print-dev libxmu-dev libxft-dev libfreetype6-dev libXp-dev flex byacc
Openmotif would not compile because libfreetype-dev installed files not where openmotif expected them (freetype & freetype2 dir), to compile i add to do this:

WARNING: not sure if that is a safe thing to do(probably OK), so you might want to revert this after (move back) after compiling openmotif.

Quote:
cd /usr/include/
sudo mv freetype freetype-back
sudo mv freetype2/freetype/ .
I also had to do this, to get XmBlackberry to run later:
Quote:
sudo ln -s /usr/X11R6/lib/libXm.so.4 /usr/X11R6/lib/libXm.so.3
Installing OpenMotif 2.3

NOTE: if you have motif3 you might need to remove it first. Honestly i'm not sure if it's a good idea, so don't do this unless you have to.

sudo apt-get remove libmotif3 libmotif-dev motif-clients


Installing motif2.3:
Quote:
cd ~
wget ftp://ftp.ics.com/openmotif/2.3/2.3....f-2.3.0.tar.gz
tar xzvf openmotif-2.3.0.tar.gz
cd openmotif-2.3.0/
./configure
make
sudo make install

Installing XmBlackberry

XmBlackberry needs Xlt installed (from source)

Installing libXlt

Quote:
cd ~
cvs -d :pserver:anonymous@xlt.cvs.sourceforge.net:/cvsroot/xlt co Xlt
cd Xlt
./CVSMake
./configure --prefix=/usr
make
sudo make install
XmBlackBerry
Get XmBlackberry source code

Quote:
cd ~
cvs -d :pserver:anonymous@xmblackberry.cvs.sourceforge.ne t:/cvsroot/xmblackberry co XmBlackBerry
Inside xmBlackberry folder get libusb source code.

Quote:
cd XmBlackBerry/
cvs -d :pserver:anonymous@libusb.cvs.sourceforge.net:/cvsroot/libusb co libusb
Compile/Install XMBlackberry

Quote:
./CVSMake
./configure --enable-maintainer-mode --disable-shared
make
sudo make install
Install libusb as it will be needed by Barry

Quote:
cd libusb
sudo make install
OpenSync
Install openSync (part of XmBlackberry)

Quote:
cd ..
cd opensync
make
sudo make install
Installing Barry

Quote:
cd ~
cvs -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry login
cvs -z3 -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry co -P barry
cd barry
sh buildgen.sh
./configure --prefix=/usr
make
sudo make install
Running XmBlackberry

WARNING: you will notice i run most of the following command with sudo, that is because otherwise it would fail, due i think to USB device permissions on debian, ideally it would probably be best to fix those permissions rather than tun those thing under sudo.


NOTE: PLUG YOUR BLACKBERRY NOW WITH THE USB CABLE.


There is an issue whereas the module usb_storage takes over the Blacberry device as soon as it is plugged in and thus XmBB can't use/see it.

We are gonna run Barry's bcharge, this has two uses here:
1) It will regrab the device from usb_storage
2) It will set the BB charging current to 500ma instead of 100ma, this will make the BB happy (no more warning) and allow it to dialog correctly with XmBB.

Because of a driver issue on the pearl we have to run bcharge twice, sounds odd, but is needed, as you will see on the second call the device will be found.

Quote:
sudo bcharge
sudo bcharge -o
Now, the device should be found. Example: ''sudo btool -l''

Blackberry devices found:
Device ID: 0x80xxxx. PIN: 241xxxx, Description: RIM 8100 Series Colour GPRS Handheld


NOTE: you can had Barry to udev, so it automatically runs when the BB is connected.
cp /home/thibautc/barry/udev/*b* /etc/udev/rules.d/
I haven't tried this yet.

Now we are ready to run XmBlackberry.
Quote:
sudo XmBlackberry
Once XmBlackBerry opens, click the ''Options'' Menu, this should dump something like this on the console:

XmBlackBerry.c:OptionPopupCallback(995) - GPRS modem device /dev/pts/0

If you see that, you are in business ! it found your GRPS modem !

Note "/dev/pts/0", this is going to be your modem device.
If you have other device it might be another number rather than 0, note this.


Tethering & connecting to GPRS / EDGE
You will want to have XmBlackberry up to be able to use the BB modem, so if not already running, restart it now.

PPP scripts

I found multiple pp scripts online, but none of them worked as-is, by combining some i found something working for me:

You will need to create those two files:

WARNING: if you don't use tmobile, you will have to adjust the 'AT+CGDCONT=1,"IP","wap.voicestream.com"' line.


see here for other carriers strings:
Using BlackBerry As Modem - BlackBerryFAQ

Note: "ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR" is all one line.


/etc/chatscripts/blackberry:
Quote:
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
SAY "ATE\n"
OK 'AT+CGDCONT=1,"IP","wap.voicestream.com"'
OK 'AT'
OK 'ATDT*99***1#'
SAY "Dialing\n"
WARNING: If XmBlackberry found your device somewhere else that /dev/pts/0 then adjust the file. TMobile use blank user and password, other carriers might want something else, adjust as needed.


/etc/ppp/peers/blackberry :
Quote:
debug debug debug
nodetach
/dev/pts/0
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user ""
password ""
Once this is setup, you are ready to get connected ... Finally !
Quote:
sudo pppd call blackberry
If all goes well you should get something like this:
Initializing
Dialing
Serial connection established.
using channel 15
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x682edbe8> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5>]
.....
sent [PAP AuthReq id=0x1 user="thibautc-laptop" password=<hidden>]
.....
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
......
local IP address 10.169.13.231
remote IP address 169.254.1.1
primary DNS address 66.94.9.120
secondary DNS address 66.94.25.120
Script /etc/ppp/ip-up started (pid 20529)
Script /etc/ppp/ip-up finished (pid 20529), status = 0x0
........


Make sure all your other interfaces (wireless/ethernet) are down, and enjoy browsing the web using your BB modem !

TIP: I actually posted this page using my Tethered connection !!

Blackberry Pearl??我只有7290,不知道能不能在Ubuntu下上网


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-07-06 23:03 
头像

注册: 2007-01-18 10:23
帖子: 85
送出感谢: 0 次
接收感谢: 0 次
怎么没有下文了啊?我也想在ubuntu下用黑莓!


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-09-07 20:40 

注册: 2007-11-28 11:07
帖子: 7
送出感谢: 0 次
接收感谢: 0 次
截止目前,我在ubuntu下唯一能对8700做的只有一件事,充电,还好不像以前看到的有的帖子说的还要装什么软件,插上就充


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-09-17 23:46 

注册: 2008-09-17 23:14
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
52998609 写道:
截止目前,我在ubuntu下唯一能对8700做的只有一件事,充电,还好不像以前看到的有的帖子说的还要装什么软件,插上就充


貌似在 WIN下不装软件,充电速度很慢,不知道在U下如何,希望黑莓开发出U的驱动


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-09-18 17:47 
头像

注册: 2008-02-09 20:56
帖子: 30
送出感谢: 0 次
接收感谢: 0 次
BlackBerry有Linux下的桌面管理器麽?


页首
 用户资料  
 
8 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2008-11-16 20:47 

注册: 2006-02-28 19:05
帖子: 146
送出感谢: 0 次
接收感谢: 0 次
:em12斑斑我们吧 :em12


页首
 用户资料  
 
9 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2009-04-06 18:16 
头像

注册: 2009-03-05 12:01
帖子: 40
送出感谢: 0 次
接收感谢: 0 次
哈, 我也是用的黑莓8700,我去试试!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


页首
 用户资料  
 
10 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2009-05-20 7:12 
头像

注册: 2007-05-06 2:46
帖子: 15634
送出感谢: 0 次
接收感谢: 2
代码:
TrayWindow.h:6:25: 错误: X11/Xft/Xft.h:没有该文件或目录


斑斑我们吧

:em20


页首
 用户资料  
 
11 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2009-05-20 7:25 

注册: 2009-03-31 19:34
帖子: 28
送出感谢: 0 次
接收感谢: 0 次
看来还是s60的当猫比较方便,链接上数据线就可以用了


页首
 用户资料  
 
12 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2009-05-21 18:49 
头像

注册: 2009-04-10 12:24
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
网上资料,ubuntu下可以连接BB,需要安装Multisync与Barry。
不过我还没测试成功,总是出现下列错误:
~$ sudo msynctool --sync BB
Synchronizing group "BB"
Member 1 of type evo2-sync had an error while connecting: Unable to open anything
Member 2 of type barry-sync just connected
Member 2 of type barry-sync just disconnected
All clients have disconnected
The sync failed: Unable to connect one of the members
Error while synchronizing: Unable to connect one of the members


页首
 用户资料  
 
13 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2009-05-21 19:42 
头像

注册: 2009-04-10 12:24
帖子: 5
送出感谢: 0 次
接收感谢: 0 次
补充上述的BB连接(网上找来的)
建议软件包由新立得那里抓,不要下载安装。

备份需要用的几个软件包:
1. barrybackup-gui_0.14-0_ubuntu804_i386.deb
gui界面的backup工具,使用命令barrybackup,图形界面,使用方法:http://www.netdirect.ca/software/packages/barry/backups.php
2. barry-util_0.14-0_ubuntu804_i386.deb
命令行下的backup工具,使用命令btool,使用方法可以btool-h得到。
3. libbarry0_0.14-0_ubuntu804_i386.deb
依赖库
4. libopensync-plugin-barry_0.14-0_ubuntu804_i386.deb
blackberry与opensync同步所用的接口插件barry-sync
以上deb包的下载地址:http://sourceforge.net/project/showfiles.php?group_id=153722,要看清版本哦~~
需要指出,只是备份的话 用1和3就可以,1是图形界面,操作简单,2是命令行方式的,功能强大,需要同步的话用到才需要插件4
装了这几个包之后,就可以对BB充电了,BB会提示设备供电不足,官方说不必理会,不太确定。
另:barry对8系列的BB据说支持不太好,未测试希望测试以下。

同步需要的软件包源里都有,直接用apt-get安装。

1. multisync-tools opensync 的命令行工具,使用命令 为msynctool
sudo apt-get install multisync-tools
2. multisync opensync的gui工具,不如1好用,不推荐,使用命令为multisync
sudo apt-get install multisync
3. opensync-plugin-evolution, opensync与evolution的接口插件
sudo apt-get install opensync-plugin-evolution

同步方法参考这个网页:http://www.netdirect.ca/software/packages/barry/sync.php英文的,但是理解起来不是很难。
简单步骤:
1. 打开evolution,把邮件,联系人,日历,任务等几个都点一下,目的是为了生成相关的存储文件,下面要用到。
2. sudo msynctool --addgroup BB 建立一个新的分组
3. sudo msynctool --addmember BB evo2-sync 将插件1加入分组
4. sudo msynctool --addmember BB barry-sync 将插件2加入分组
5. sudo msynctool --configure BB 1 配置插件1
参照下面修改, 其中**部分修改为你linux下的id

file:///home/**/.evolution/addressbook/local/system
file:///home/**cdfrey/.evolution/calendar/local/system
file:///home/**/.evolution/tasks/local/system


6. sudo msynctool --configure BB 2 配置插件2
参照下面修改,其中******部分为你BB的PIN,可以在BB上选项-状态中看到
#DebugMode

Device ****** 1 1

#Password secret

7. 建议sudo evolution --force-shutdown 关闭相关服务
8. 开始同步吧,sudo msynctool --sync BB

至此应该可以开始同步了,但是我在这一步老提示evo2找不到相关的evolution下的数据,同步无法进行下去,备份和还原都可以正常了。 (备份直接在terminal里:barrybackup)


页首
 用户资料  
 
14 楼 
 文章标题 : Re: [讨论]黑莓手机+gprs+ubuntu 上网
帖子发表于 : 2011-06-13 10:16 

注册: 2007-10-20 13:54
帖子: 63
送出感谢: 0 次
接收感谢: 0 次
mark


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 14 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译