LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2012, 11:40 PM   #1
phocus
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
Splash Page or Redirecting Webpages


Hello,

I am working on a project for which I am designing a hotspot of some sort. I am using a small nettop computer, running Ubuntu 11.10, which is using apache2 to set up its own server. The desired functionality of the hotspot is to be able to broadcast a website (html and php codes all included on a connected external hard drive) on its own wireless network so that users can connect to the website even when there is no internet access.

The problem I am running into now is that right now, in order for the user to view the website they are having to connect to my network, open up a browser and then type in the IP address of my nettop. I am looking for a way to redirect they instantly to my website right when they open up a browser (kinda like starbucks does with their log in page). It will not be to a separate authentication page, but to the actual homepage for the website. This is needed because it is ridiculous to have all users know my IP in order to access my site. Please if you have any idea how to do this or any advice, it is much appreciated!

Thank you,
phocus
 
Old 02-05-2012, 08:33 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,435
Blog Entries: 25

Rep: Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439
This might work: Set the browser command on the menu they access to be

instead of just "firefox."

Substitute the browser name of your choice.

It still requires an IP address unless you implement some form of local DNS.
 
Old 02-06-2012, 10:57 AM   #3
phocus
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I'm sorry, frankbell, I am still very new to this stuff. How exactly would i 'Set the browser command on the menu they access'?
 
Old 02-06-2012, 08:29 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,435
Blog Entries: 25

Rep: Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439
For whatever menu they will access on whatever desktop environment you are using, there should be a menu editor that allows you to add new entries or edit existing ones.

Which desktop environment/window manager are you using for this on Ubuntu?

By the way, what you are setting up is referred to as kiosk mode.

This article gives a (likely much too) detailed discussion of kiosk mode.

It sounds to me that all you need is a running session where the users have basically no access to anything other than an icon or menu item for starting the browser. If I'm correct in that, I would recommend that you review the link and consider taking some precautions so users can't access other parts of the machine or do naughty things to your network.
 
  


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
Error while Redirecting page using mod rewrite in apache jsaravana87 Linux - Server 6 10-21-2011 02:26 AM
Firefox prevented this page from automatically redirecting to another page. TheIndependentAquarius General 1 07-26-2010 07:26 AM
Help redirecting blocked user to page landysaccount Linux - Newbie 1 02-21-2009 11:10 AM
need help with redirecting links to the same page php orfiyus Programming 2 02-12-2008 08:20 AM
DHCP Splash Page ImpactDNI Linux - Networking 2 11-08-2005 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:20 AM.

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