Skip to content

HTTP fileserver

XK edited this page Jun 4, 2023 · 27 revisions

HTTPBanner

Overview

The HTTP filebrowser is now available through Tweaks!

It will allow you to manage your files through a web browser on your phone, a PC or a tablet.

Features

image

  • Download anything, anywhere.
  • Upload anything, anywhere.
  • Built in text editor.
  • Built in terminal.
  • Authentication (or none!)
  • User creation

Activating

You'll find it in Tweaks -> Network -> HTTP fileserver

  • You'll get 3 options here:

    Enable - Activate the fileserver

    Enable authentication - Activate authentication (username/password)

    Enable new user signup - Create your own account!

HTTPFSTweaks

Logging in

Once you've activated your fileserver in Tweaks (and exited tweaks!) you'll now be able to browse to the IP address of your device. If you're not sure what the IP address is, head over to settings, you'll see your IP address on the WIFI line.

IP

Open up your favourite web browser and browse to the IP address! You'll be met with the below, at which point you can login with the default username of admin and password of onionos

Disabling authentication

Although this is not recommended on other peoples WIFI, when you're at home on your own WIFI this is absolutely fine (or any other secure WIFI!)

Head over to Tweaks -> Network -> HTTP fileserver and enable:

image

Now restart the fileserver, there will no longer be a login screen

Creating a user

Provided you have enabled the "Enable user signup" option, you'll be able to create your own accounts.

Head over to Tweaks -> Network -> HTTP fileserver and enable:

image

Now restart the fileserver, you'll have the ability to create new users.

When logging in, click the Create an account button and fill the required details.

Changing the default password

The default admin account no longer uses the password admin. By default it will become onionos

The file this is stored in is kept in /mnt/SDCARD/.tmp_update/config and is called .auth.txt. There's various ways to edit this:

  • Connect your SD to your PC and edit the file
  • Use FTP/SFTP
  • Use the built in text editor on HTTP fileserver

Once your password is changed, restart the fileserver for it to take effect.

Security

Although we've taken every precaution to offer as much security as possible, remember to keep your Onion safe. It may not be advisable to use the fileserver on Public/Open WIFI!

How to restart filebrowser

If filebrowser needs restarting for some reason, you'll need to disable the toggle, exit tweaks, then re-enable the toggles.

Check out the new wiki here:

onionui.github.io/docs

Clone this wiki locally