Re: command-line for Bluetooth copy ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 23 Mar 2009, Marius Gedminas wrote:

> On Mon, Mar 23, 2009 at 09:19:06AM -0700, Andrew Daviel wrote:
> > Is there a simple command that can be used with rsync to send files
> > to/from the tablet over Bluetooth ?
>
> If you set up Bluetooth networking and can ssh into the tablet, then
> yes.
>
> (Personally, I haven't managed that.  I installed some Maemo Bluetooth
> PAN package and had no idea what to do next.)
>
> > At home I give everything static ip addresses and names, and have SSH
> > keys set up, so rsync/scp works transparently (at work, too).
> >
> > I have tried using ad-hoc mode on my laptop, but if it's using managed
> > mode to e.g. a hotel network that's not possible without a second NIC.
>
> You could connect both the Nokia and the laptop to the hotel network and
> use rsync.  If manually figuring out IP addresses is too much pain (it
> is for me), you could set up Avahi to have DNS autodiscovery:
> http://thpmaemo.blogspot.com/2008/11/get-avahi-working-on-maemo.html
>
> > My
> > new laptop has Bluetooth which works nicely but only from a GUI - on the
> > tablet I must move things into ~/MyDocs/ or /media/mmc* to find them, and
> > I have to always send not upload/download.
> >
> > (actually, I wonder why the BT implementation on Linux needed to reinvent
> > the wheel, and could not just appear as another transport layer like Ethernet
> > or FDDI. Then scp/ssh/smb etc. would just work.)
>
> That's not how Bluetooth works.  Only one of the Bluetooth profiles is
> usable for IP networking, and, AFAIU, once you got that set up, that's
> exactly what you get.
>
There is a very simple way to make sure you get to the devices you want:
set up OpenVPN, have your very own server assign known private addresses
and use them (say through /etc/hosts) to get to your devices no matter
what transient IP address they get. Works like a charm and is very, very
secure.
julius

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux