Saturday, November 12, 2016

Setup vnstat in Mageia 5

1. install vnstat and net_manager.
2. sudo vnstat -u -i wifi
3. sudo service vnstat start
4. chkconfig vnstat on

Tuesday, July 19, 2016

trouble connecting my android phone to my Linux OS (mageia)

I have trouble connecting my android phone to my Linux OS (mageia) I am using Gnome and nautilus is my file manager.
After reading an article on net. I got my problem solved. The answer as below:

Alternatively you could transfer the files via wifi. There may be other ways to do this but my favourite method is running an ftp server on the phone and accessing that through nautilus:

  • First of all, you should only do this in a trusted local network (e.g. at your home)
  • make sure your smartphone and your PC are connected to the same local network
Smartphone

  • install an app like Ftp Server on your android phone and freely choose user name and password (and disable "Anonymous user").
  • start the server (by tapping the red on/off icon if you use Ftp Server)
Computer

  • open Nautilus on your PC and click on "Connect to Server" at the bottom of the list on the left
  • in the dialogue, enter the url that is displayed in the Ftp Server app (something like "ftp://192.168.178.13:2221")
  • when prompted, enter the user name and password you configured in the app
You're done! You can even bookmark that location in Nautilus. Whenever you want to transfer files, just connect smartphone and PC to your local network, start Ftp Server on the phone and click on the bookmark in Nautilus.

This answer was given by danzel. Thank you.