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)

  • Dont understand.. why people vote negative if they dont understand matter :-/ – minigeek Nov 29 '16 at 15:50

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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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