You are not logged in.

#1 2014-02-19 20:22:28

HenryJia
Member
Registered: 2013-11-30
Posts: 20

How to setup laptop as ethernet repeater?

Hi guys,

Well I've got a desktop but I have no ethernet in my room. Is there anyway to setup my spare laptop as a ethernet repeater so that it the data recieved on wifi is bridged t o the ether net and to my desktop. If you didn't quite get that because of my working I made a diagram below.

           WiFi                   ethernet
Router-------------->Laptop----------------->Desktop

A Arch Wiki page link about how to do this would be helpful smile

Last edited by HenryJia (2014-02-19 20:29:42)


Computational scientist and machine learning engineer

Offline

#2 2014-02-19 21:03:18

Šaran
Member
From: Bosnia
Registered: 2011-09-03
Posts: 407

Re: How to setup laptop as ethernet repeater?

Take a look at wiki page and forum post (I'll add this to wiki soon).

Offline

#3 2014-02-19 21:24:41

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: How to setup laptop as ethernet repeater?

Stealing wifi, are we ??

tongue wink


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#4 2014-02-20 08:19:29

scar
Member
From: Hungary
Registered: 2009-10-01
Posts: 444

Re: How to setup laptop as ethernet repeater?

You are probably trying to set up an acces point, not a repeater.


“The future has already arrived. It's just not evenly distributed yet.”
― William Gibson

Offline

#5 2014-02-20 08:21:58

HenryJia
Member
Registered: 2013-11-30
Posts: 20

Re: How to setup laptop as ethernet repeater?

Inxisible, I am not stealing wifi, I have wifi, just not in my room, router is too far a way from my desktop


Computational scientist and machine learning engineer

Offline

#6 2014-02-20 13:22:48

HenryJia
Member
Registered: 2013-11-30
Posts: 20

Re: How to setup laptop as ethernet repeater?

I looked on the arch wiki page Saran posted and the command

sysctl net.ipv4.ip_forward=1

doesn't work

IT gives me the error cannot stat /proc/sys/ip_forward  no such file or directory


Computational scientist and machine learning engineer

Offline

#7 2014-02-21 03:51:05

theodore
Member
Registered: 2008-09-09
Posts: 151

Re: How to setup laptop as ethernet repeater?

You will need this package https://aur.archlinux.org/packages/create_ap more info here https://bbs.archlinux.org/viewtopic.php?id=162895 and here https://wiki.archlinux.org/index.php/So … cess_point

Actually the example shows you how to do the opposite i.e. ethernet --> wifi, but nothing prevents to do the reverse.

Last edited by theodore (2014-02-21 03:58:37)

Offline

#8 2014-02-21 04:04:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: How to setup laptop as ethernet repeater?

scar wrote:

You are probably trying to set up an acces point, not a repeater.

No, I don't think so.

HenryJia wrote:

Inxisible, I am not stealing wifi, I have wifi, just not in my room, router is too far a way from my desktop

You missed his humor tags -- especially the one where he was sticking out his tounge

You may want to see this router article


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2014-02-21 05:42:19

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: How to setup laptop as ethernet repeater?

HenryJia wrote:

I looked on the arch wiki page Saran posted and the command

sysctl net.ipv4.ip_forward=1

doesn't work

IT gives me the error cannot stat /proc/sys/ip_forward  no such file or directory

This seems odd.  It shouldn't be trying to modify /proc/sys/ip_forward (as that doesn't exist).  Rather it should be trying to change the value in /proc/sys/net/ipv4/ip_forward...

sysctl has some really nice tab completion.  Have you tried using that?  It's completion (at least on zsh) uses the format with /'s instead of .'s, so don't be alarmed by that as either is correct.


Edit: As a test, you could always just do:

# echo 1 > /proc/sys/net/ipv4/ip_forward 

This achieves the same thing without the use of sysctl.

Last edited by WonderWoofy (2014-02-21 05:43:32)

Offline

#10 2014-02-22 19:31:21

sledmouth
Member
Registered: 2014-02-22
Posts: 1

Re: How to setup laptop as ethernet repeater?

Offline

Board footer

Powered by FluxBB