Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
User avatar
ghost123uk
Level 2
Level 2
Posts: 98
Joined: Sat Feb 08, 2014 6:47 am

Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by ghost123uk » Sat Oct 06, 2018 5:55 am

Hi all, not been here for a while.

OS = Mint 18.3 - all updated and running fine.

Objective = to be able to share files on my laptop to my Andriod phone, when away from any router.

I believe this is known as "Ad-Hoc" - Yes?

I Researched it.
I created a new wireless connection on my laptop and set it as "Ad-Hoc" plus I set "shared to other computers" (I set security to "non" for the test).

My phone (or another Linux laptop) could not "see" the new wireless network I created :(

Any thoughts kind folks?
Please note, I am not a Linux expert by any means, I am still learning, but if I can pass on something that has worked for me, I will, but use at your own risk. Plus I am always ready to be corrected by those many helpful folk who ARE experts

JeremyB
Level 19
Level 19
Posts: 9329
Joined: Fri Feb 21, 2014 8:17 am

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by JeremyB » Sat Oct 06, 2018 6:14 am

Try mode Access Point as I think Android phones ignore ad-hoc

User avatar
ghost123uk
Level 2
Level 2
Posts: 98
Joined: Sat Feb 08, 2014 6:47 am

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by ghost123uk » Sat Oct 06, 2018 6:18 am

Thanks for the input :)

I don't see the option for "access point" but I do see a "hotspot" option, tried that just now. Phone still doesn't see the new network...
Please note, I am not a Linux expert by any means, I am still learning, but if I can pass on something that has worked for me, I will, but use at your own risk. Plus I am always ready to be corrected by those many helpful folk who ARE experts

User avatar
AZgl1500
Level 9
Level 9
Posts: 2765
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by AZgl1500 » Sat Oct 06, 2018 7:19 am

there is an Android app that can be useful,
in PlayStore search for ASUS File Manager

https://play.google.com/store/apps/deta ... ilemanager

with that, I can cruise around on PCs, and copy/paste to/from my laptop to my phone.

it can work as a pure file manager, or it can work as a Network paste from phone to "Shared Folder" on PC

I use it every day..... snap a bunch of pictures, and send them to my laptop Desktop which is a 'shared folder'

User avatar
ghost123uk
Level 2
Level 2
Posts: 98
Joined: Sat Feb 08, 2014 6:47 am

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by ghost123uk » Sat Oct 06, 2018 12:10 pm

Thanks for the input AZgl1500.

However, I don't have any problem browsing my files in either direction whilst connected to my home network via my router (I use a variety of methods, ES File Explorer, Wi-Fi File Transfer etc). No problem there.

What I am trying to do is be able to "see" files on my PC, from my Andriod phone, when no router is present.
I believe (but could be wrong!!) that this is known as an "Ad-Hoc" network (stands by to be corrected).

An example would be (and is), say I am camping in a field, (away from any Internet connection of any sort) with my laptop in my camper van, and my phone in my hand (whilst sitting around a campfire ;) ). I would like to be able to access my files on the laptop, via my phone.
I have researched loads, and from what I have read, it should be quite simple, but I cannot get my phone to "see" my laptop (without the router) no matter what I try :(
Please note, I am not a Linux expert by any means, I am still learning, but if I can pass on something that has worked for me, I will, but use at your own risk. Plus I am always ready to be corrected by those many helpful folk who ARE experts

User avatar
AZgl1500
Level 9
Level 9
Posts: 2765
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by AZgl1500 » Sat Oct 06, 2018 6:06 pm

IIRC,
that can be done via Bluetooth, but I can't remember the app that did that.

just found this, but it is for webpages: https://play.google.com/store/apps/deta ... PcBrowserM


another one that uses WiFi https://play.google.com/store/apps/deta ... plorerFree

this one looks interesting, going to install it and see how it works https://play.google.com/store/apps/deta ... t.Computer

interesting, but it won't connect to the PC handily, it want a Network connection, and it is ignoring my WiFi to my laptop.......... uh, there is a New Connections Menu to add in username/password/domain etc

JeremyB
Level 19
Level 19
Posts: 9329
Joined: Fri Feb 21, 2014 8:17 am

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by JeremyB » Sat Oct 06, 2018 6:31 pm

I actually prefer using a USB cable with my phone as some phones don't have OBEX over bluetooth enabled

User avatar
catweazel
Level 17
Level 17
Posts: 7756
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by catweazel » Sat Oct 06, 2018 6:44 pm

AZgl1500 wrote:
Sat Oct 06, 2018 6:06 pm
IIRC,
that can be done via Bluetooth, but I can't remember the app that did that.
KDE Connect does it. You can install it in LM19 and on your Android devices.
¡uʍop ǝpısdn sı buıɥʇʎɹǝʌǝ os ɐıןɐɹʇsnɐ ɯoɹɟ ɯ,ı

User avatar
AZgl1500
Level 9
Level 9
Posts: 2765
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes sweeping down the plains
Contact:

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by AZgl1500 » Sat Oct 06, 2018 7:16 pm

catweazel wrote:
Sat Oct 06, 2018 6:44 pm
AZgl1500 wrote:
Sat Oct 06, 2018 6:06 pm
IIRC,
that can be done via Bluetooth, but I can't remember the app that did that.
KDE Connect does it. You can install it in LM19 and on your Android devices.
unfortunately, it appears to be not compatible with 18.3 Mint Cinnamon
"cannot connect to KDE Connect DBus Service" ]/c]

User avatar
ghost123uk
Level 2
Level 2
Posts: 98
Joined: Sat Feb 08, 2014 6:47 am

Re: Ad-Hoc (no router) Wi-Fi file sharing, can't get it working.

Post by ghost123uk » Sun Oct 07, 2018 3:22 am

Thanks for all the suggestions folk :)


In my case, the Bluetooth function on my phone will be already in use doing something else, so that isn't an option.

I really need to be able to do simple file sharing between Android phone and laptop, when no router is present.

Who would have thought it so tricky......
Please note, I am not a Linux expert by any means, I am still learning, but if I can pass on something that has worked for me, I will, but use at your own risk. Plus I am always ready to be corrected by those many helpful folk who ARE experts

Post Reply

Return to “Other networking topics”