0

I have two PCs with Ubuntu 14.04 LTS installed.

Both are connected through a switch.

I'm using the internet from my android smartphone which is connected as usb ethernet.

I'm trying to share Internet through edit wired connection and option used is share to other computer but this connection does not appear on the other computer.

The computers can successfully ping each other.

What settings am I missing to be able to share my internet through a switch.

Ziazis
  • 2,174

1 Answers1

0

Is your switch able to act as a router? This would be the easiest way: plug your mobile phone on the dedicated port (most of them have one, or you'll have to configure it using your router software).

An other way is to plug your phone using USB on a PC and use this PC as a router. You'll have to use IPTables to do so. The interface on this PC connected to your phone (just tried: identified here by the name enp0s20u6 ) will be the gateway to access the Internet. The ethernet interface on this PC will be the default gateway on the other one.

Just for the record: you can use your phone as a router too. Android is just another Linux flavour.