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've installed a second wireless card on my laptop. Using the hotspot function on Ubuntu 13.04, I'm able to share the internet connection with my pupils (they have no login for the wireless network).

I've also installed squid, but I had to set the proxy manually on my test tablet.

  • How do I load the proxy automatically on connecting clients?

The proxy is transparent for the moment, but I want a certain control.I think I can find out how to block certain domains myself, but I want to be able to block sites at my lessons too.

  • How do I block domains on the fly?

Related to this, I would like to cut off internet access and let them return to my local host at any time, for instance to wrap up the lesson before the bell.

  • How do I redirect them to my local web server, on the fly?

If the pupils are busy, I want to use the projector to show a constant flow of fetched URLs, so they can help each other and I can keep a lookout while walking amongst them. I know I can use tail on the access.log, but

  • Are there other tools to get a list of accessed URLs, without refusing write access on the log file (preferably in Python)?

Thanks in advance

share|improve this question

Shell script to get list of accessed URLs

Block on the fly (didn't check)

share|improve this answer

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.