Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #4107

Re: Internet Connection Sharing

From "Jonathan N. Little" <lws4art@gmail.com>
Newsgroups comp.os.linux.networking
Subject Re: Internet Connection Sharing
Date 2018-02-16 09:17 -0500
Organization LITTLE WORKS STUDIO
Message-ID <p66p57$vi2$1@dont-email.me> (permalink)
References <p66ntv$sie$1@gioia.aioe.org>

Show all headers | View raw


J.B. Wood wrote:
> Hello, all.  I have a question directed to anyone who has actually done 
> the following:
> 
> 1.  A Fedora or CentOS (I use both) platform is connected to the 
> internet via Cat5 cable, IOW not using wifi.  However, this Linux 
> platform does have wifi capability.
> 
> 2.  It is desired to setup up the Linux platform as a wifi hotspot 
> (wirelss NAT) such that a wifi enabled Windows 7 platform can share the 
> Linux platform's connection to the internet.  DHCP provided by the Linux 
> box would be convenient but assigning a static IP address, netmask, and 
> default gateway to the Win7 platform is just as easy.
> 
> 3.  The above is easily accomplished when all the platforms are Windows. 
>   I also can readily share a Win7 internet-connected platform witn a 
> Linux box via wi-fi but that's the reverse of what I want to accomplish. 
>   Your time and comment is greatly appreciated.  Sincerely,
> 


If Linux box has a WiFi adapter and a Ethernet adapter it can be easily 
done in Ubuntu within the Network Settings dialog. That is be an Ad-hoc 
Wifi connection. If you want an Infrastructure connection (preferred as 
your #2) the wifi card must support AP/Master mode and it can easily 
done with hostapd.

<https://gist.github.com/werty1st/6350728>

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Internet Connection Sharing "J.B. Wood" <arl_123234@hotmail.com> - 2018-02-16 08:56 -0500
  Re: Internet Connection Sharing "Jonathan N. Little" <lws4art@gmail.com> - 2018-02-16 09:17 -0500
  Re: Internet Connection Sharing Aleksandar Kuktin <ak@triklod.rs> - 2018-02-16 14:21 +0000

csiph-web