Howto share your internet connection in Ubuntu.

Since Ubuntu 9.10 Karmic Koala, Ubuntu has an inbuilt way of sharing any connection. There are a couple usage scenarios for this:-

  1. You want to share your mobile broadband connection with other computers on the network
  2. You want to use your Ubuntu machine to extend your network wirelessly e.g. Your laptop is connected to the network via it’s wireless adapter, which is then connected to another machine via a CAT 5 or CAT 6 cable, enabling the other machine to connect to the network and internet.

I wouldn’t envisage using this to share a DSL broadband connection since most people will already be using an ISP supplied router to do this.

Using it is as simple as enabling the method “Shared to other computers” in the network connection in network manager.

This turns your machine into a mini DHCP/DNS server and starts handing out IP addresses in a 10.x.x.x address range. The machine then NAT/routes any traffic coming in on that interface and forwards it to the networks real gateway. I’ve used it a few times now and it works well.

 

Boost your mobile broadband, get a HSDPA modem that supports an external antenna.

You are probably at this page because you aren’t getting decent bandwidth and response from your mobile broadband connection. It’s worth noting that even if you use the most expensive ways of boosting the signal you may still receive poor bandwidth and response. This is because there is only so much data that can be carried on the frequencies available, so at times of heavy usage (particularly when there is also heavy phone usage as 3G shares the same radio waves) it doesn’t matter what you do, mobile broadband (or midband as it should really be referred to) will not work well.

Now I have dropped that bombshell I will list the ways of boosting the signal:-

Continue reading Boost your mobile broadband, get a HSDPA modem that supports an external antenna.