|
10 years ago 1 |
Internet Connection Sharing - USB 3G Wireless Modem to External Router via Ethernet Port
Hi Everyone,
As I publish this tutorial, I am still using Mint 16 KDE from a Live USB Flash Drive.
After unnecessarily wasting many hours searching for and finding "solutions" that mostly "led me up the garden path" (English Colloquialism) I found the following page that hinted the solution for my scenario may be much simpler than what I had read on a lot of the other pages.
https://help.ubuntu.com/community/Internet/ConnectionSharing
However, even this page seems to have some overly convoluted routines to follow.
With Windows, you configure the device you want to share the Internet Connection FROM and during that process you select the device TO which you want to also have access to the Internet. To me, that makes more logical sense and is more intuitive. Therefore, I think it should be just as easy to do the same with Linux Mint which it is if you follow my tutorial as below.
My solution is based on the following option on the above page.
GUI Method via Network Manager (Ubuntu 9.10 and up)
The Router I am using is the Netgear WNR834B v2 Router. It is configured as follows.
Basic Settings
Does Your Internet Connection Require A Login
No
Account Name - Probably not necessary when a Login is not required
WNR834bV2
Domain Name
Leave Blank
Internet IP Address
Get Dynamically
Domain Name Server
Get Automatically
Router MAC Address
Use Default
LAN Setup
Device Name
WNR834bV2
LAN TCP/IP Setup
IP Address 192.168.1.1
Subnet Mask 255.255.255.0
RIP Direction Both
RIP Version Disabled
Use Router as DHCP Server
Starting IP Address 192.168.1.2
Ending IP Address 192.168.1.254
After you have started your PC and you are logged in to Mint:
Establish a connection to your ISP (Internet Service Provider)
Connect an Ethernet cable from the Ethernet Port of your PC to the WAN (Internet) port of your Router and turn the Router on.
Share the Internet Connection to the Ethernet Port.
Enter, or change if you wish, the "Connection name".
Select the "Wired" tab if it is not already active.
For "Restrict to device", select the Ethernet Port to which you want to share the Internet Connection.
Navigate to the IPv4 tab and select "Shared to other computers" for the "Method" option.
Although I have no documentation to confim it, the action of selecting "Shared to other computers" must activate the establishment of a connection to the Ethernet Port from whichever device is connected to the Internet if such a connection exists. Someone with better knowledge, than I, should be able to inform us more accurately. (Would the IP Tables indicate how the Network devices are connected?)
Please inform me if your experience with a similar configuration is different and I will update the tutorial as necessary.
Good luck, Michael.
I don’t see why the original Ubuntu tutorial which you refer to should be more “convoluted” than yours ;-) It performs absolutely the same task, but it also offers more explanation. It just lists more options and relates to more than one Ubuntu version…
Be happy that Ubuntu 13.10, and hence LM 16 gets along with the GUI alone. So there is no “activation of the establishment of a connection to the Ethernet port” (is that Windows slang?), it only gets automatically routed to your 3G wireless port, and its address is assigned by the OS, as any Linux box is also a router by itself :-)