Try learning the fundamentals of how networking works. Forget about BT, Ubuntu, or even windows for that matter. Focus instead on how tcp/ip works. How interface cards get an IP address and how it uses said address to communicate with other devices on a network.
Once you have done this, it is onyl a matter of applying this knowledge to the OS at hand.