LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2019, 08:36 AM   #1
philipvirgil
LQ Newbie
 
Registered: Aug 2019
Posts: 1

Rep: Reputation: Disabled
Angry Wifi frequency configured as 5Ghz switches back to default 2.412Ghz.


I have a dual band wifi dongle connected to my laptap. My requirement is to configure the wifi dongle to operate at 5Ghz frequency in ad-hoc mode. This is the script I added on the etc/network/interfaces file

auto wlan1
iface wlan1 inet static
address 11.0.0.2
netmask 255.255.255.0
broadcast 11.0.0.255
wireless-mode ad-hoc
wireless-channel 36
wireless-essid sample-adhoc

Channel 36 operates at 5.18Ghz. My problem is that the wifi channel does not change to channel 36 but rather remains at default channel 1 when only my laptap is turned-on. However, using the same script on a Raspberry Pi 3 Model B, it works perfectly. And when I restart my laptap, the wifi dongle connects to the ad-hoc network and it remains at the 5Ghz frequency. But when Raspberry Pi is shutdown, the wifi dongle switches back to 2.412Ghz frequency. I want the wifi dongle to stay at the 5Ghz frequency. Can anyone help me on this?
 
Old 08-11-2019, 08:50 AM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,539

Rep: Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617Reputation: 617
https://superuser.com/questions/6928...channel-to-use
https://en.wikipedia.org/wiki/List_of_WLAN_channels

Code:
whois 11.0.0.2
NetRange:       11.0.0.0 - 11.255.255.255
CIDR:           11.0.0.0/8
NetName:        DODIIS
NetHandle:      NET-11-0-0-0-1
Parent:          ()
NetType:        Direct Allocation
OriginAS:       
Organization:   DoD Network Information Center (DNIC)
RegDate:        1984-01-19
Updated:        2007-08-22
Ref:            https://rdap.arin.net/registry/ip/11.0.0.0
...
That's not a private IP4 address.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Weird Intel AC9260 dual band problem. Cannot connect to 5Ghz wifi AP bodge99 Linux - Wireless Networking 1 10-12-2018 06:57 AM
LXer: Tiny, Linux-friendly i.MX6 module steps up to 5GHz WiFi LXer Syndicated Linux News 0 06-15-2017 11:05 AM
nm-applet and 5Ghz Wifi connections olivier.voutat Linux - Networking 5 06-26-2016 03:50 AM
SSID not showing up on NetworkManager after changing wifi frequency channel to 5GHZ. Xchai Linux - Wireless Networking 2 01-11-2014 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration