garywill / linux-router

Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️ (也欢迎关注B站 https://space.bilibili.com/2123686105 )
GNU Lesser General Public License v2.1
1.67k stars 148 forks source link

Can't use 'iw' to operate interfce 'wlan0' #77

Open GovenorKratos opened 2 months ago

GovenorKratos commented 2 months ago

Whenver I try to use the script, I get this issue: WARN: Can't use 'iw' to operate interfce 'wlan0', trying 'iwconfig' (not as good as 'iw') ... (Did you spell the interface name right?) ERROR: Can't use 'iwconfig' to operate interfce 'wlan0' (iwconfig is not in Fedora's repos)

I'm on Fedora 40. The command I used was: sudo ./linux-router.sh --ap wlan0 MyAccessPoint -p MyPassPhrase

dca00 commented 1 month ago

You are missing hostapd package: https://github.com/garywill/linux-router/issues/58