LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2015, 08:28 PM   #1
frankvftw
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Rep: Reputation: Disabled
Connecting to Lubuntu via hotspot and controlling it possible? Like a website.


Good Day my Linux Friends! I was wondering if anybody can help me with an interesting project i am working on?

I have an interesting issue in which I have a Lubuntu 14.04, that I am working to set up as a hotspot hub. That means when the banana pi/ rasberry pi is spitting out wifi signal, I can connect to it, a chrome window or ie window will pop up and i can sign in and start manipulating the device?

So essentially a piratebox with a linux system that you can login into.

I am curious if that is possible?? I have scoured the net and haven't found the right thing, anybody know any good projects they can point me too?
 
Old 03-28-2015, 10:21 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,372

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
I'll guess your answer would be to use teamviewer.

(but I don't really get the question)
 
Old 03-28-2015, 11:32 PM   #3
frankvftw
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
I must apologize for not being clear. I guess i am looking for a easy way of connecting to a device that runs on linux through wifi(hotspot)

An example of this is when we connect to a router and set it up, we are actually logging into its own ip address and changing and managing the settings.

I was curious if there were any projects like that with lubuntu or snappy something i would very much like to emulate. Its like creating your very own mini cloud computer that you have to log in and play with, without the internet.
 
Old 03-29-2015, 05:02 PM   #4
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
Why don't you log in to the pi via ssh to change configuration files etc...
 
Old 03-29-2015, 08:13 PM   #5
frankvftw
LQ Newbie
 
Registered: Nov 2013
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thanks Joe! Do you have a project that you can point me to for that? It would be awesome if i can gain some experience doing that. The main issue is having any computer (windows, mac) connect to it via its ip address without any settings edit from your own computer.

Just by typing into the browser of the ip address you can access the splash page of the device, I can use openwrt but that only serves as router functions and doesn't allow for application installs.

Perhaps I am dreaming, and I dont know if its possible. But its like having a linux app store that is emitting through its own hotspot in which i can log into it to download apps for my raspberry pi. Which i can control through the broswer! Lol it sounds impossible, just wondering.
 
Old 03-29-2015, 09:58 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,328
Blog Entries: 12

Rep: Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727Reputation: 2727
Connecting to your network from an external location (which I gather is what you are referring to) is eminently doable, but there are several moving parts.

If you want to have a graphical connection, then you want a virtual network connection (VNC). The Arch wiki has a good introduction to the concept.

An ssh connection will give you the command-line connection.

In order to connect to your home network from the internet using either method, you will need
  • a static ip address from your ISP, or
  • an up-to-date note of your current public ip address, or
  • a dynamic DNS service such as noip.com

You will also need to open the appropriate incoming port(s) in your router and forward incoming calls from the internet to the appropriate computer. Wikipedia has a nice article on port forwarding. Note that, generally, you can forward incoming calls on a particular port to only one computer. Once you connect to it, you can connect through it to others.

Last edited by frankbell; 03-29-2015 at 10:03 PM.
 
Old 03-30-2015, 03:40 PM   #7
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by frankbell View Post
Connecting to your network from an external location (which I gather is what you are referring to) is eminently doable, but there are several moving parts.

If you want to have a graphical connection, then you want a virtual network connection (VNC). The Arch wiki has a good introduction to the concept.

An ssh connection will give you the command-line connection.

In order to connect to your home network from the internet using either method, you will need
  • a static ip address from your ISP, or
  • an up-to-date note of your current public ip address, or
  • a dynamic DNS service such as noip.com

You will also need to open the appropriate incoming port(s) in your router and forward incoming calls from the internet to the appropriate computer. Wikipedia has a nice article on port forwarding. Note that, generally, you can forward incoming calls on a particular port to only one computer. Once you connect to it, you can connect through it to others.
I think what you actually asked for is a connection through wifi, which is a lot simpler. All the dns / port forwarding part only applies if you want to connect to the box from the outside world. If you want to connect two computers on your home lan you do not need any of that.

We need to understand better what you want to do, exactly. The simplest remote access is ssh.
Lets assume you want to connect to ip 192.168.1.105 with user frank. Open a terminal and type

Code:
ssh frank@192.168.1.105
when asked for a password, type frank's user password.

If you want to run graphical applications on the target machine, you can do so by using X-forwarding, when establishing the connection like so:
Code:
ssh -X frank@192.168.1.105
If you now run a gui application, it will open on your local screen but actually run on the remote machine.
See if you can achieve what you want with this. If it's not enough, trying to run a complete remote session would be step number 2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Acer Laptop to Verizon DROIDX mobile hotspot bluejojobabean Linux - Newbie 1 10-13-2012 07:57 AM
[SOLVED] Connecting to internet with Lubuntu through Ubuntu machine zivs Linux - Networking 12 05-02-2010 08:11 AM
bypass static ip when connecting to a wireless hotspot angeltu Linux - Wireless Networking 2 09-12-2009 08:10 AM
Linux Acer Aspire One: Connecting to a secure wifi hotspot zbe Linux - Newbie 0 10-08-2008 06:51 AM
Connecting to my wifi hotspot (madwifi driver) dave`2005 Slackware 7 05-14-2006 01:41 PM


All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration