Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to ubuntu, and I'm still trying to learn linux. So i had this idea to start a little project. When my friends come over, and they connect to my wifi, my linux computer would automatically send them a message saying something like "Welcome to my home" as soon as they connected. I was trying to impress my friends, but the main goal is to actually learn linux better. Problem is, I have no idea where to start. Any help on learning or how to start it would greatly be appreciated.

share|improve this question
I don't think this is possible. See How to send a popup message to unknow computer connected to my WLAN? . It would be a security risk to allow this without logging in to the machine somehow. – minerz029 Dec 31 '13 at 1:36
up vote 2 down vote accepted

What app do you want them to receive your message in? Well, let's assume it's a web browser. So, when they ask for their first web page, you instead redirect them to your digital welcome mat; they see it, click continue, and then go to their original destination.

This, however, is not a function of a desktop or laptop machine, this is a server function where you create a Directory Naming Service server for your home network. Every web request they make goes through DNS (which means that machine must always be on for anyone to use the Internet from your place), and you would need to write custom code for it so their first request is held until they've seen the digital welcome mat.

share|improve this answer
However, as a workaround, you could build a web page, get a short URL for it from , or some other short URL provider, and make that the name of your SSID. When they sign in, they see your network named which is a permissible name for an SSID as per - and the SSID name can be up to 31 characters long as per – K7AAY Dec 31 '13 at 18:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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