Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Wi-Fi Bluetooth for Linux Forum Discussions

AyEL_4169851
Level 1
Level 1
First like given

Hello,

Can wl tool create a hotspot AP? If so, can i have an example please.

Best regards.

0 Likes
1 Solution
Zhengbao_Zhang
Moderator
Moderator
Moderator
First comment on KBA 10 questions asked 5 questions asked

Hello:

 

./wl down

./wl apsta 0

./wl up

./wl ap 1

./wl chanspec 36/40                     // this means channel and HT40

./wl ssid “test”

./wl bi 10000

./wl dtim 10

./wl bss up

./wl status

by the way what is your OS ?

View solution in original post

5 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
First comment on KBA 10 questions asked 5 questions asked

Hello:

 

./wl down

./wl apsta 0

./wl up

./wl ap 1

./wl chanspec 36/40                     // this means channel and HT40

./wl ssid “test”

./wl bi 10000

./wl dtim 10

./wl bss up

./wl status

by the way what is your OS ?

Hello ZhengbaoZ_96;

Thank you for your response.

I'm using The Cypress CYW89359 (a.k.a. BCM89359) in an Android 8.1 board.

The commands works perfectly but i have some questions :

Can you explain me why using this 2 commands with theses values ?

  • ./wl bi 10000
  • ./wl dtim 10

The Ap "test" is displayed but i can't connect to it (stuck at Obtaining address ip), how can i assign ip address to client ?

0 Likes

bi is the meaning of beacon interval.

DTIM is teh Delivery Traffic Indication Message interval.

please use:

ifconfig wlan0 192.168.0.1

after the commands.

0 Likes

I already did that, and nothing changed.

Should i activate a dhcp server ? if so, how ?

0 Likes

like below commands:

ifconfig wlan0 192.165.100.1

iptables -P INPUT ACCEPT

iptables -D INPUT 6

  dnsmasq --pid-file=/data/dnsmasq.pid --interface=wlan0 --dhcp-range=192.165.100.2,192.165.100.200 --listen-address 192.165.100.1