MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
USB & BB Playbook 
Author Message
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 299715
Post USB & BB Playbook  [Solved]
I was wanting to know how to get Mepis 11 to recognize my playbook on a static IP address thru the USB port. I've found some info on the web,http://nex.scrapping.cc/articles/mount-blackberry-playbook-via-usb-on-linux.html, but couldn't get Mepis to recognize the IP address. Did the following:

Code:
ifconfig -a

usb0      Link encap:Ethernet  HWaddr 16:74:11:81:b7:16 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


the instructions then state to use dhcpcd usb0 which produces:

Code:
err, usb0: timed out
warn, usb0: using IPV4LL address 169.254.100.180
[root@HPDV4 Scott]# dhcpcd.sh: interface usb0 has been configured with new IP=169.254.100.180


but when I ping the ip address 169.254.100.180, not one packet gets thru.

On the playbook, the IPv4 address says something different and the ping command does not get anything either.

Any suggestions? there were Ubuntu tweaks which I also could not get to work.

I can connect via wifi without a problem, but the transferring of large files takes for ever.

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Wed May 09, 2012 11:47 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2208
Location: Pinellas Park, FL
Has thanked: 62 times
Have thanks: 1105 times
Post # 299731
Post Re: USB & BB Playbook
Use an address on the same subnet as the machine you're trying to connect to.
That is, if your desktop gets an address of 192.168.1.100, then pick an address starting with 192.168.1
For this example I'll assume you want to use 192.168.1.102

The command (as root)

ifconfig usb0 address 192.168.1.102

will set the address of the usb adapter.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Thu May 10, 2012 12:25 pm

timkb4cq thanked by: lucky9, smilliken
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 299747
Post Re: USB & BB Playbook
Thanks Tim,

ifconfig usb0 192.168.0.123 works. I can ping that IP address with great success, but I'm having trouble mounting it.

I'm getting

Code:
[root@HPDV4 Scott]# mount -t cifs /192.168.0.134/media -o username=playbook,password=xxxxxxxx,rw /mnt/playbook
mount.cifs: bad UNC (/192.168.0.134/media)


Probably something simple with the command.

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Thu May 10, 2012 11:34 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2208
Location: Pinellas Park, FL
Has thanked: 62 times
Have thanks: 1105 times
Post # 299753
Post Re: USB & BB Playbook
The main problem is that since 192.168.0.134 is a machine name, not a folder, it needs two initial slashes, not just one
mount -t cifs //192.168.0.134/media -o username=playbook,password=xxxxxxxx,rw /mnt/playbook

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Fri May 11, 2012 12:34 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 299755
Post Re: USB & BB Playbook
Tim, I tried the double slashes and also received some errors. Not at the computer right, but give it another go and pot back

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Fri May 11, 2012 1:38 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 299769
Post Re: USB & BB Playbook
Quote:
The main problem is that since 192.168.0.134 is a machine name, not a folder, it needs two initial slashes, not just one
mount -t cifs //192.168.0.134/media -o username=playbook,password=xxxxxxxx,rw /mnt/playbook


Error:

Code:
[root@HPDV4 Downloads]# mount -t cifs //192.168.0.134/media -o username=playbook,rw /mnt/playbook
Password:
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


or

Code:
[root@HPDV4 Downloads]# mount -t cifs //192.168.0.134/media -o username=playbook,password=xxxxxxxx /mnt/playbook
Retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Fri May 11, 2012 7:22 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2208
Location: Pinellas Park, FL
Has thanked: 62 times
Have thanks: 1105 times
Post # 299770
Post Re: USB & BB Playbook
Is the share name listed in the smb.conf file actually media ?
The error message indicates it's not.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Fri May 11, 2012 7:55 pm

timkb4cq thanked by: lucky9
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 299898
Post Re: USB & BB Playbook
timkb4cq wrote:
Is the share name listed in the smb.conf file actually media ?
The error message indicates it's not.


No it is not. The IP address changes each time I connect the Playbook to the USB port.

I did add 169.254.0. to the "hosts allowed" line in the /etc/samba/smb.conf to see if that makes a difference.

Everything I've read on the mounting of the share seems to be the way I have the command set up. Must be something very simple that I'm missing.

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Tue May 15, 2012 10:55 pm
Profile
MEPIS Guide
MEPIS Guide
User avatar

Joined: Tue Feb 06, 2007 11:47 pm
Posts: 1703
Location: Cranbrook, BC
Has thanked: 193 times
Have thanks: 91 times
Post # 299944
Post Re: USB & BB Playbook
OK. Was to get the Playbook to mount. What I don't understand is why the IP that is used, is used?

In the example that is used in the "how to" the IP address shows as follows:

Code:
inet addr:169.254.187.18  Bcast:169.254.187.19  Mask:255.255.255.252


He then makes the following statement:

Quote:
This is our IP address, the broadcast address and the net mask. Notice that this is a very small network, with only two usable host addresses plus the network address and the broadcast address. Since there’s only two usable addresses and the PC got one of them, we already now that the PlayBook must be 169.254.187.17, since ...16 would be the network address and ...19 the broadcast address.


So, back to mine. I connected the Playbook and when I did a ifconfig -a I received the following:

Code:
inet addr:169.254.110.38  Bcast:169.254.110.39  Mask:255.255.255.252


I was able to ping 169.254.110.38 without a problem. I then tried to mount the share with

Code:
mount -t cifs -o username=playbook,password=xxxxxxxx,rw //169.254.110.38/media /mnt/playbook


once a gain and once a gain I received the "host is down". I then tried the Bcast IP address(169.254.110.39) and received the error "Network is unreachable".

Going back to the instructions, I decided to go one IP address lower as he did (which is not seen anywhere in konsole), using 169.254.110.37 and the share mounted just fine.

Copy the files is much faster than over the wifi. If anyone can explain to me why using the lower IP address works, it would be much appreciated.

Just need to try and get it load on plug in now.

_________________
There is no "Ctrl+Z" in life!
Asus P8Z68-V Pro, Intel i5 2500 Quad, Intel, DWA-552, 2-640 GB, Mepis 11 4.8.4/Win 8
HP DV4-1117 Mepis 11 4.8.4 & Win 8
HP P1005/CP1215 Printers
Linux User# 4523410
BB Z10 is here, now we need Linux syncing


Wed May 16, 2012 11:09 pm
Profile
MEPIS Rules!
MEPIS Rules!

Joined: Wed Jul 29, 2009 6:05 pm
Posts: 254
Location: New Zealand
Has thanked: 13 times
Have thanks: 51 times
Post # 299952
Post Re: USB & BB Playbook
could this be achieved from >> system settings >> removable devices, under device overrides, then check the entry under automount on attach.

_________________
Mepis 11 64bit Linux 3.2.0-0.bpo.4-amd64, KDE 4.5.1
Intel i5 2400, Asus P8H67-M-EVO, G-Skill Ripjaws 2x4GB DDR3-1333, nVidia GeForce GT430, Seagate 500GB sata3 HDD


Thu May 17, 2012 3:10 am

chippy52 thanked by: smilliken
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.