Pages

Friday, 26 December 2014

Double connection: Wifi/Wired


Hello everybody,

You are welcome in the second article of the articles series related to tips raised within my work on my startup TAC-TIC.

www.tac-tic.net


In this article we will see how to connect at the same time on both wifi network and wired network, the wifi connection will be used for Internet traffic and the wired connection will be used for local addresses (Intranet).
I need this configuration when I was obliged to connect via RJ45 to a local equipment (management of a router or other equipment) or even to a LAN (so with private addresses), and at the same time I need Internet connection (for example to share the screen via teamviewer or anther tool).
To that let's start preparing the wired connection. I am using ubuntu 12.04 for this blog, and it is similar for other releases and distros.
  • Open the network manager and go to the wired tab.
  • Create a new wired connection, in my case I called it "DHCPJust4Inranet"
  • Go to the IPv4 tab and choose method "Automatic (DHCP)" as described in the following screenshot:


  • Then click on the "Routes..." button (in the right bottom of the window), you will get a new window in which you add as much LANs as you want to connect via this connection, and don't forget to check the option "Use this connection only for resources on its network", hereafter my choices:


  • Finally save this configuration and then connect using RJ45 cable and choose this wired connection "DHCPJust4Inranet".
  • Connect also on wifi connection as you do usually.
  • Now When you try to reach an IP address in the local networks the traffic will go throw the wired connection, and at the same time other traffic (i.e. Internet) will go throw wifi connection.

I hope that you enjoy this tip :) 

If you need any technical service either in terms of Networking or R&D you can visit our web site on TAC-TIC and submit a request, that's all ;)

www.tac-tic.net


Have a nice weekend :D

Monday, 22 December 2014

Internet Connection Sharing


Hi everybody,

Hereafter I will explain to you how to share Internet connection under ubuntu 12.04, I think it should be the same for other ubuntu releases and of course other Linux distros.
Why I need this connection sharing? In fact few months ago I was at a work mission to configure a specific service on a non connected desktop PC on customer site, and for this configuration I need to install some packages from Internet, but as I said this pc wasn't connected and it was a desktop pc so no way to connect it via wifi to my 3g hotspot (using smartphone). The good new is that I had at that time my laptop with me, so I use my smartphone as a wifi hotspot, and I connect my laptop on it via wifi then I connect the customer pc to my laptop using RJ45 cable. The configuration needed to share connection with the pc was the following:
  • Open Network Manager, go to Wired tab and create a new network, in my example  I called it "sharedToOthers", go to the "IPv4 Settings" tab and configure the method as "Shared to other computers" as shown in the following screenshot:
 

  • Configure your customer pc (the desktop pc in my case) to connect using DHCP method.
  • Then connect the customer  pc via RJ45 cable into your laptop, be sure that on the laptop side you are connected to the wired connection called "sharedToOthers", if it is another connection change it to "sharedToOthers".
  • Finally connect your laptop to internet using the wifi connection.
At this level you can enjoy Internet on your desktop pc using shared 3g internet connection via your laptop as intermediary :)

PS: This was my first blog about a technical tip I find during my work within my startup TAC-TIC I hope you enjoy it :D it is the first blog but not the last one, wait for coming ones ;)

www.tac-tic.net



Have a good start of week :)

About you!

حمل كتاب أوبنتو ببساطة الآن!

حمل كتاب أوبنتو ببساطة الآن!