Showing posts with label File Transfer. Show all posts
Showing posts with label File Transfer. Show all posts

Tuesday, September 08, 2015

File sharing via Bluetooth between Lenovo G50-45 Ubuntu Laptop and Android device.

I had installed Ubuntu 14.04 on Lenovo G50-45 Laptop as per this post in December 2014 and solved some problems like screen brightness as reported in this post after enabling LTS/HardwareEnablementStack.

This Laptop has Realtek Wireless Network Adoptor which also works as Bluetooth device. Although the Wireless disconnection problem was solved by setting options rtl8723be fwlps=0 in /etc/modprobe.d/rtl8723be.conf file the Bluetooth did not work.

After Ubuntu 14.04.3 update I got Linux Kernel 3.19 and the Bluetooth could be used after installing the driver as follows:
sudo add-apt-repository ppa:hanipouspilot/rtlwifi
sudo apt-get update
sudo apt-get install rtl8723au-bt-dkms rtlwifi-new-dkms linux-firmware

I could send file via Bluetooth from the Laptop to Android Device but Android device failed to send the file. This could be corrected after searching for Personal File Sharing on Dash and checking the boxes Receive the files in download folder over Bluetooth and Notify about received files.


Friday, March 14, 2008

File transfer between two machines running Ubuntu and using ssh.

I had successfully transferred a file from Windows machine to the one running Ubuntu through Samba but had no experience of a transfer between two Ubuntu machines.

I have an old desktop with 32 MB RAM on which Win98, Ubuntu server and Puppy Linux are installed. The CD drive on this machine still works. There is no USB port on this machine.

I have 3 years old Laptop on which the CD drive is not working and I don't intend to replace it.

Yesterday I was required to use some folders and files from a CD and decided to make an iso of the entire CD on the old desktop and transfer it to the Laptop by connecting the two machines.

For transferring the file I decided to use SSH, therefore I downloaded openssh-server on the desktop and installed it.

I made the iso using the dd command:
dd if=/dev/cdrom of=file.iso

I opened a Terminal on the Laptop and logged into the desktop through the command:
ssh desktopuser@ip_of_desktop

After confirming blah blah about RSA key etc I was asked the password and the terminal user changed as the desktopuser@desktop_host_name

I tried to transfer the file through scp command
scp file.iso laptopuser@ip_of_laptop:/home/laptopuser/

But found that the port 22 on the Laptop was closed.

I used the following command to see what was listening on the Laptop ports:
netstat -an | grep "LISTEN "

Although I was logged in from the Laptop to the Desktop no daemon was listening on port 22. I also changed the ssh client to openssh-client on the Laptop but could not make it listen on port 22.

I searched on Google but could not find any satisfactory solution.

Finally I decided to install openssh-server on the Laptop as well.

With openssh-server running on both the machine I could transfer the file that too after the server on the Laptop asked the password of the laptopuser.

Automation of entries of shopping in Gnucash on Endless OS with the help of Gemini.

  When I buy something and make payment sms immediately comes on mobile. I enter the transactions in Gnucash on Laptop with Endless OS manua...