-
Notifications
You must be signed in to change notification settings - Fork 728
Open
Description
- Could you send email to xianjun.jiao@ugent.be to introduce your self?
yes,i already send it to you - Our image is used directly or you build your own image?
use your image - What is your own modification?
Try to change the working mode of openwifi to 802.11b. - Versions: OS, Vivado, openwifi/openwifi-hw repo branch and commit revision
unbuntu18.3
vivado2018.3
openwifi branch :master
commit revision:2021.04 - Board/hardware type
zedboard+fcommcs3 - WiFi channel number
6 - Steps to reproduce the issue, and the related error message, screenshot, etc
I want to make openwifi work in 802.11b mode, I refer to the special note for 11b you wrote, I may not understand the meaning, I first changed the support_rate and base_rate in hostapd-openwifi-11ag:
interface=sdr0
driver=nl80211
country_code=BE
ssid=openwifi
hw_mode=g
channel=6
#supported_rates=2 4 11 22
#basic_rates=2 4
#supported_rates=60 90 120 180 240 360 480 540
#basic_rates=60 90 120 180
supported_rates=10 20 55 110
basic_rates=10 20 55 110
#supported_rates=60 90
#basic_rates=60 90
#ieee80211n=1
#ht_capab=[SHORT-GI-20]
#require_ht=1
#ieee80211d=1
#ieee80211h=1
#wpa=2
#wpa_passphrase=myrabbit
#wpa_key_mgmt=WPA-PSK
After logging into my zedboard with putty, I executed the following command at end point
cd openwifi
./fosedem-11ag.sh
./build_wpa_supplicant_wo11b.sh
./fosdem.sh contains:
#!/bin/bash
# Author: Xianjun Jiao
# SPDX-FileCopyrightText: 2019 UGent
# SPDX-License-Identifier: AGPL-3.0-or-later
killall hostapd
killall webfsd
cd ~/openwifi
service network-manager stop
./wgd.sh
ifconfig sdr0 192.168.13.1
route add default gw 192.168.10.1
service isc-dhcp-server restart
hostapd hostapd-openwifi-11ag.conf &
sleep 5
cd webserver
webfsd -F -p 80 -f index.html &
build_wpa_supplicant_wo11b.sh contains:
#!/bin/bash
# Author: Michael Mehari
# SPDX-FileCopyrightText: 2019 UGent
# SPDX-License-Identifier: AGPL-3.0-or-later
#if [ "$#" -ne 1 ]; then
# echo "You must enter exactly 1 arguments: \$OPENWIFI_DIR"
# exit 1
#fi
#OPENWIFI_DIR=$1
set -x
#cd $OPENWIFI_DIR/user_space
wget http://w1.fi/releases/wpa_supplicant-2.1.tar.gz
tar xzvf wpa_supplicant-2.1.tar.gz
patch -d wpa_supplicant-2.1/src/drivers/ < driver_nl80211.patch
cd wpa_supplicant-2.1/wpa_supplicant/
cp defconfig .config
sed -i 's/#CONFIG_LIBNL32.*/CONFIG_LIBNL32=y/g' .config
make clean
make -j16
# sudo make install
cd ../../
rm -r wpa_supplicant-2.1/ wpa_supplicant-2.1.tar.gz
The final result is that the wifi signal can be detected on the mobile phone, but when connected, the network refuses the request.
7. Describe your debug efforts by Linux native tools, such as tcpdump and "cat /proc/interrupts"
-
Describe your debug efforts by: https://github.com/open-sdr/openwifi/blob/master/doc/README.md#Debug-methods
-
Any other thing we need to know for helping you better?
Metadata
Metadata
Assignees
Labels
No labels