0

I want create a local file shareable service using raspberry, below are the requirements:

  1. Create wifi/hotspot on raspberry (without any internet)
  2. Connect my android phone to created wifi
  3. Share files between raspberry and my phone

Think any file sharable app like xender or share it, their working principle is same as I want.

Below are steps I've follow and created a wifi named PI-Network..

1) https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md

2) https://elinux.org/RPI-Wireless-Hotspot

But its not getting connected/ obtaining ip as shown below:

enter image description here

2
  • 4
    Go for it. Let us know if you encounter any problems we can help with.
    – Mark Smith
    Mar 27, 2019 at 6:24
  • @MarkSmith please look into this.. Mar 28, 2019 at 6:16

1 Answer 1

2

To enable Wifi Hotspot, you can look into

https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md

and

https://elinux.org/RPI-Wireless-Hotspot

To share file, You can use Apps like ES File Explorer

The SFTP option in ES File Explorer lets you share files between Devices.

Some Short Notes of its usage

Connect Your Android Phone to the Raspberry Pi Wi-Fi

  • Open ES File Explorer
  • Select Menu
  • Select Network
  • Select FTP
  • Select New
  • Select SFTP

Then in the window that opens

  • In Server put IP Address of your Raspberry PI (192.168.0.1 for example)
  • Leave Port as 22
  • In Username enter your RaspberryPi Login username
  • In Password enter your RaspberryPi login password
  • Leave Encoding as auto
  • In Display As choose any name you wish
  • Press OK

Now You should be able to access the files in RaspberryPi

NOTE:

  • You can use ES file Explore even if you just normally connect Raspberry Pi to your Android Mobile Hotspot. All that matters is Android Phone and RaspberryPi should be on same netwrok.
  • Make sure SSH is enabled and installed in RaspberyrPI to use this option. To know about ssh check here
9
  • Thanks @Karan, will try your way and provide feedback soon.. :) Mar 27, 2019 at 9:31
  • Hello Karan, I've tried both the ways as per the instruction and was able to create a wifi but its not getting connect, please have a look at below ss: user-images.githubusercontent.com/7697097/… Please let me know how to fix this.. [link] (user-images.githubusercontent.com/7697097/…) Mar 28, 2019 at 4:35
  • please look into this Mar 28, 2019 at 6:17
  • Which solution among those two worked for you? While Attempting those steps did you face any problem or things went smoothly as per the instructions? Has the IP address been assigned to raspberry Pi? Check with ifconfig
    – karan
    Mar 28, 2019 at 6:57
  • 2) https://elinux.org/RPI-Wireless-Hotspot worked for me and no ip assigned, when I check by usinf ifconfig Mar 28, 2019 at 7:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.