Easily transfer files between Linux laptops, mobile phones, and PDAs

Source: Internet
Author: User
Article title: easily transfer files between Linux laptops, mobile phones, and PDAs. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Linux is very powerful, but there are many other functions you don't know! Although it won't jump out of a boring window when your mobile phone is placed on your own infrared interface, Linux may have detected your mobile phone.
  
First, we need to connect Linux and mobile phones through infrared rays. the FC2 kernel has compiled the infrared communication function as a module by default, and only one supporting software is needed: irda-utils, generally, the system has been installed. if not, install yum. Then, modify the file under the supervisor according to the following description.
  
File/etc/sysconfig/irda:
  
#######################################
IRDA = yes
DEVICE =/dev/ttyS1
DONGLE = ma600 # Originally # DONGLE = actisys +
DISCOVERY = yes
#######################################
  
Ma600 is the module name dedicated for connecting to mobile devices. for details, see man irattach.
  
After completing the above work, you will be OK. when you want to connect to your mobile phone, run the/etc/init command first. d/irda start the infrared device, and then use irdadump to check whether the device works normally. as long as irdadump keeps displaying the intercepted data, your infrared interface is normal; otherwise, nothing can be intercepted. Then, the mobile phone's infrared interface is aligned with the local interface. Does the data displayed by irdadump show your mobile phone model? OK. Now the infrared device can be connected normally.
  
The connection is successful and the basic work has been completed. now we need to transfer files to each other. Currently, mobile phones support the simple infrared transport protocol OBEX. download the following two gadgets. after installation, you can use the ircp command to upload and download files.
  
Download from http://triq.net/obex/downloads:
  
Openobex-1.0.1.tar.gz
  
Ircp-0.3.tar.gz
  
(If the version is updated, tell the Comrades !)
  
In addition, someone has implemented an ircp gnome window named ircp-tray, which also uses openobex. the download page is:
Http://www.gnome-cn.org/resources/ircp-tray/release
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.