Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Connecting to a Blackberry passport
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Fri Jan 23, 2015 12:25 am    Post subject: Connecting to a Blackberry passport Reply with quote

Hi All:

You can mount the BBPP from your gentoo box via two methods which I will describe here. The WiFi method below worked the first time I used it but not the second. The USB development mode works every time so I usually use that.
Wifi mode:
The instructions are here and I have also posted there describing my results. https://supportforums.blackberry.com/t5/BlackBerry-10-Functions-and/How-to-use-blackberry-10-device-from-GNU-Linux-mounting-remote/td-p/2431411

Using the USB 'development mode' method required some tinkering around here here it is step by step:
1. Plug in your BBPP to your USB port, ensure that its in development mode,
2. In /var/log/everything/current you will get something like this: Jan 22 16:53:53 [kernel] [293741.777698] systemd-udevd[25484]: renamed network interface usb0 to enp10s0u2,
3. do this:
jserinki7 jserink # ip link show dev enp10s0u2
6: enp10s0u2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether a6:e4:b8:0e:cb:60 brd ff:ff:ff:ff:ff:ff
4. Ok, we see that the interface is down, so put it up:
jserinki7 jserink # ip link set dev enp10s0u2 up
jserinki7 jserink # ip link show dev enp10s0u2
6: enp10s0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT qlen 1000
link/ether a6:e4:b8:0e:cb:60 brd ff:ff:ff:ff:ff:ff
5. Right, now we need a local address on the same subnet as the phone. The BBPP development mode default IP is 169.254.0.1 so we will assign address 169.254.0.2/24 to our dev enp10s0u2 like this:
jserinki7 jserink # ip addr add dev enp10s0u2 169.254.0.2/24
6. Now ping the phone:
jserinki7 jserink # ping 169.254.0.1
PING 169.254.0.1 (169.254.0.1) 56(84) bytes of data.
64 bytes from 169.254.0.1: icmp_seq=1 ttl=255 time=1.05 ms
64 bytes from 169.254.0.1: icmp_seq=2 ttl=255 time=0.373 ms
7. Now, make sure "Access using WiFi" is enabled on the phone. Do this:
jserinki7 jserink # smbclient -L 169.254.0.1 -U BlackBerry
Enter BlackBerry's password:
Domain=[BBGROUP] OS=[Unix] Server=[Samba 3.0.37]

Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Samba (JohnSerinkBB))
removable_sdcard Disk removable_media_SDCARD
media Disk media
Domain=[BBGROUP] OS=[Unix] Server=[Samba 3.0.37]

Server Comment
--------- -------

Workgroup Master
--------- -------
8. So the phone is there. You can either mount from the CLI or use Thunar, "smb://169.254.0.1/media/", enter in credentials, "smb://169.254.0.1/removable_sdcard/, enter in credentials and you are in.
9. You can now move files to and from the phone.

I have not done much rummaging around the file system yet but am curious where I could perhaps copy over my SMS log and stuff like that. Photos are in the camera directory.

Cheers,
John
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum