O
O
One Miay2014-05-23 14:25:16
Yota
One Miay, 2014-05-23 14:25:16

Share Internet over LAN and WiFi at the same time (Ubuntu)

Greetings.
The following problem arose:
Yota is connected to a laptop with Ubuntu on board (this is done on purpose, the laptop is raised to the attic - the signal is better), a twisted pair cable is lowered from the laptop into the house to the router. This scheme works wonderfully and distributes the Internet, in the aisles of the house. Therefore, there was a need to distribute the same Internet also via WiFi. The question is is this possible? If possible, please send me a link to some setup manual.
Thank you for your attention to my question.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vlad Zhivotnev, 2014-05-24
@Miay

https://debian.pro/249 read here.
In short, then.
Let's say you have an iota usb0 interface. Then we do

sed '/net.ipv4.ip_forward/d' /etc/sysctl.conf
echo > "net.ipv4.ip_forward=1" > /etc/sysctl.conf

Well, the last command will need to be "autorun" somehow, I use iptables-persistense for this.

I
Ivan, 2014-05-23
@0neS

habrahabr.ru/post/89420
superuser.com/questions/442166/sharing-wifi-connection

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question