View: 419|Reply: 0

Trouble Setting Access Point 2.4GHz

[Copy link]

4

threads

5

posts

68

credits

Registered member

Rank: 2

credits
68
Published in 2024-7-4 17:02:40 | Show all floors |Read mode
This post was finally edited by renaldyks at 2024-7-4 17:13

This post was finally edited by renaldyks at 2024-7-4 17:12

This post was finally edited by renaldyks at 2024-7-4 17:12

I'm setting up a WiFi Access Point using bridge mode. I successfully configured the bridge mode and it's working. Then, I managed to set up the WiFi Access Point for 5GHz as well. But why did I fail when setting it up for 2.4 GHz?

This my configuration:
  1. sudo nano /etc/hostapd.conf
Copy code
#
# orangepi hostapd configuration example
#
# nl80211 mode
#

ssid=HIBOBGATEWAY
interface=wlan0
hw_mode=g
channel=6  # Set to a common 2.4GHz channel (1-13)
bridge=br0
driver=nl80211

logger_syslog=0
logger_syslog_level=0
wmm_enabled=1
wpa=2
preamble=1

wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
wpa_passphrase=6666666666
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0

### IEEE 802.11n
ieee80211n=1
ht_capab=[SHORT-GI-20][SHORT-GI-40][HT40+]
country_code=ID
ieee80211d=1
### IEEE 802.11n

### IEEE 802.11a
#hw_mode=a
### IEEE 802.11a

### IEEE 802.11ac
#ieee80211ac=1
#vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]
#vht_oper_chwidth=1
#vht_oper_centr_freq_seg0_idx=42
### IEEE 802.11ac

# controlling enabled
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

Bridge Setting:
  1. source /etc/network/interfaces.d/*
  2. # Network is managed by Network manager
  3. auto lo
  4. iface lo inet loopback

  5. auto eth0
  6. allow-hotplug eth0
  7. iface eth0 inet manual

  8. auto wlan0
  9. allow-hotplug wlan0
  10. iface wlan0 inet manual
  11. #wireless power off

  12. auto br0
  13. iface br0 inet static
  14. address 192.168.6.57
  15. netmask 255.255.255.0
  16. gateway 192.168.6.254
  17. bridge_ports eth0 wlan0
  18. bridge_fd 0
  19. bridge_stp off
Copy code

Can you help me?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list