Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wifi repeater/ap using both 2.4 and 5 ghz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 830
Location: germany

PostPosted: Wed Sep 11, 2019 6:28 am    Post subject: wifi repeater/ap using both 2.4 and 5 ghz Reply with quote

hi all!

i am searching for a way to use both frequencies 2.4 and 5 ghz together on a single wifi device. i want to setup a wifi repeater / ap using the 2.4 ghz band for repeating e.g. an open wifi hotspot and enable an own accesspoint on the 5ghz band. i only have one wlan0 interface that is able to use both. is this possible??
perhaps someone can help me with this???

thx in advance
snIP3r
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 882

PostPosted: Wed Sep 11, 2019 10:50 am    Post subject: Reply with quote

Many wireless routers support both 2.5 and 5 GHz, and connect to the LAN using one hardware port. I have two ASUS wireless devices that do this, both sold as routers. In my application, one is a router and the other is an access point. BOTH of these offer both 2.4 and 5 GHZ connection on the WifFi side. One of these, the router connected to CableModem, is hardwire connected 192.168.0.10 on the LAN to a computer that is designated as DNS for the LAN, mail and print sever. The other is 192.168.0.31 hardwire connected to the router.

I'm happy enough with the devices. The router is model RT-AC66W, the router used as access point is model RT-N66U.
Back to top
View user's profile Send private message
snIP3r
l33t
l33t


Joined: 21 May 2004
Posts: 830
Location: germany

PostPosted: Wed Sep 11, 2019 11:03 am    Post subject: Reply with quote

thx @cboldt but that ist not what i am looking for....
my intention in the end is to setup a gentoo powered mini pc or raspberry pi for wifi repeater / ap usage and finally to route all traffic trough an vpn.
e.g. internet <-> vpn provider (VPN <-> hotel wifi <- 2.4ghz -> gentoo box VPN ) <- 5ghz -> my devices
and the gentoo box uses ONE dual band wifi adapter (wlan0)
of course there are perhaps pre built routers able to do this, but i want to do it myself ;)
_________________
Intel i3-4130T on ASUS P9D-X
Gentoo Base System 2.2
Kernel 4.19.23-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Back to top
View user's profile Send private message
cboldt
l33t
l33t


Joined: 24 Aug 2005
Posts: 882

PostPosted: Thu Sep 12, 2019 11:31 am    Post subject: Reply with quote

Ahh, sorry about that.

Why do you need the frequency differentiation?

My first reaction is to seek a way to assign two SSID (essid) to the device - my ASUS routers have this facility, one band has one SSID, the 5 GHz band has a different one.

Beyond that, I'm not any help. Maybe check net-wireless/hostapd
Back to top
View user's profile Send private message
forrestfunk81
Guru
Guru


Joined: 07 Feb 2006
Posts: 504
Location: münchen.de

PostPosted: Tue Oct 08, 2019 8:38 pm    Post subject: Reply with quote

If you want to build a access point with Gentoo net-wireless/hostapd is the way to go. But I'm pretty sure you can not do this with one wifi device (i.e. one usb dongle). You can run both 2.5 GHz and 5 GHz access points on the same computer with hostapd but you need two wifi devices on this computer.

Code:
/etc/conf.d/hostapd

CONFIGS="/etc/hostapd/hostapd.5ghz.conf /etc/hostapd/hostapd.2_4ghz.conf"


And then define different interfaces in the config.
_________________
# cd /pub/
# more beer
Back to top
View user's profile Send private message
fpemud
Apprentice
Apprentice


Joined: 15 Feb 2012
Posts: 289

PostPosted: Wed Oct 09, 2019 1:47 am    Post subject: Reply with quote

Agree with @forrestfunk81.

The hardware in wireless router and wireless adapter are different.
Wireless adapter can switch between 2.4G and 5G frequence, but can not use them at the same time.
It seems because wireless adapter has only one "radio device". (Forgot where I read this)

But I don't understand why there isn't any *advanced* wireless adapter exist on the market.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7468
Location: Saint Amant, Acadiana

PostPosted: Wed Oct 09, 2019 2:00 am    Post subject: Reply with quote

Because that little dongle may be good for receiving, but to serve several wireless clients is something else. I have an Intel NUC in my bedroom. I figured I could use it as an AP. Sure, it works, but my smartphone prefers the Ubiquity AP which is at the other end of house. When I power Ubiquity off then my phone switches to NUC. Internet is full of tutorials how to make access points from RPi and similar, only they don't tell you their performance and capabilities are nowhere near dedicated hardware access points.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum