1

How can I enable hotspot from my laptop using terminal? I don't need internet connection to do that. I want to set up a server so that I can transfer my files from my laptop to my mobile or another laptops. Is it possible using terminal? I have used python -m SimpleHTTPServer but for that I have to either connect to my mobile hotspot or any other common shared network. But I can't upload in laptop. Only download.

(Main problem is to create hotspot using terminal. I use DEEPIN 15.3 debian based)

1
  • Dont understand.. why people vote negative if they dont understand matter :-/
    – minigeek
    Commented Nov 29, 2016 at 15:50

1 Answer 1

3

There is a snap package (it's a new packaging technique created by Ubuntu developers) called wifi-ap. You can use it from terminal to create a wireless network, and even share internet if you want.

To install the package : snap install wifi-ap.
Then you have to configure the access point with this command wifi-ap.config.

To be able to install and manage snap packages, you have first to install snapd with the command sudo apt-get install snapd.
Then, add this line to your ~/.bashrc : export PATH=/snap/bin:$PATH, to be able to call the installed snaps from terminal.

5
  • Thanx @Sidahmed
    – minigeek
    Commented Jan 8, 2017 at 15:44
  • No problem, glad I could help dude. You tried it yet ??
    – Sidahmed
    Commented Jan 8, 2017 at 15:52
  • haha not actually..i moved to mac os... But will try on frnds laptop :) @Sidahmed
    – minigeek
    Commented Jan 8, 2017 at 17:55
  • do you know how to use Google drive API to attach upload action to button ..where to start in eclipse :/.
    – minigeek
    Commented Feb 13, 2017 at 12:06
  • I'm really sorry, I have no idea
    – Sidahmed
    Commented Feb 13, 2017 at 13:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .