Rohit Sawarkar's Blog

Configure secure FTP Server on Fedora


Hello Friends,

In this article I’ll explain how to configure FTP server on Fedora.

Following settings also works on all fedora versions above 7

You need to be in root account for doing such configuration.

In Fedora versions above 7, portmap has been replaced by RPCBind. So trying following commands will not work

———————————————-
# rpm -qa portmap
# which ‘portmap’
# yum install portmap
# whereis portmap
———————————————-

To install RPCBind and NFS, use following command

# yum install rpcbind

# yum install nfs-utils nfs-utils-lib

Step 1:

Add the following line in /etc/exports file using following command and save file.

# vi /etc/exports

/var/ftp/pub <tab> <your_ip_address>/<subnet_address>(no,sync,no_root_squash)

Step 2:

Start all the services required

# service vsftp start
# service rpcbind start

Step 3:

Then type this command

# chkconfig rpcbind on
# chkconfig nfs on

Step 4:

Go to /var/ftp/ and create the directory and add files that you want to share.

Step 5:

To check if FTP Server is working or not, type in browser

ftp://<your_ip_address>

Enjoy 😀

2 Comments »

Configuring Bluetooth in Fedora 15


Hello Folks,

In this article I’ll explain you all how to configure Bluetooth in Fedora 15.

Configure Bluetooth:

Due to a bug in Fedora 15, Bluetooth is not enabled by default. To enable this, you need to first log in as a root user or super user,

For root user, use command

su

OR

For super user, use command

su –

After executing these commands, you will be asked for root password. After the authentication is done, then enter the following commands..

# systemctl status bluetooth.service

# systemctl enable bluetooth.service

# systemctl start bluetooth.service

After executing these commands, your system will start Bluetooth Service.

To send files from your mobile:

Ensure the packages gvfs-obexftp, nautilus, nautilus-sendto and gnome-bluetooth are installed. If not, use the “sudo yum install“ command to install all the listed packages.

To configure your (mobile) devices

Go to Activities> Applications > Bluetooth and press “+”.

Bluetooth New Device Setup dialog box will open. Click on Forward.

System will search for Bluetooth device. Click on your device and click on Forward.

System will then display a code. Enter this code on mobile. Your Bluetooth device will now be connected.

To browse or send files go to the Panel , click on Bluetooth Icon, under drop down menu select your device and select “Send Files to Device”.

To receive files via your mobile

To install required package issue:

# sudo yum install gnome-user-share

Go to Activities > Applications > Personal File Sharing Preferences and check “Share Files over Bluetooth” and “Receive Files over Bluetooth”.

Now you can send files from Bluetooth device( mobile ).

Enjoy 😀

4 Comments »

Configuring Internet Connection in Fedora 15


Hi Friends,

We know that it’s very difficult to live without internet in today’s world. Recently I installed Fedora 15 on my laptop but to install other softwares in it I had to configure internet in it. Today I am going to tell you how to configure BSNL internet in Fedora 15. This setting will also work on other flavors and versions of Linux

First start Fedora 15.

After that click on Activities and then click on Applications.

In Applications, click on Network Connections.

Click on DSL tab.

In DSL tab, click on Add.

In new DSL Connection Dialog box, give any name to your DSL Connection. Then in DSL tab, enter your  BSNL username. In Service field, enter bsnl. And then enter your BSNL password.

Then click on IPv4 Settings tab and Select Manual as method. Then click on Add and enter the following ip addresses…

I got these Router settings from sunnyideas’s blog (http://sunnyideas.wordpress.com/2009/11/11/solved-unable-to-access-bsnl-modemgateway/)

After you are done with all settings click on Save and then click on Close.

You can also refer this blog http://pranotip.wordpress.com/2010/04/14/configuring-net-in-fedora-12/

After all the settings are done, you can open browser and access internet 😀

Enjoy 😀

6 Comments »