Comments (11)
Does it work with a password?
from linux-wifi-hotspot.
Does it work with a password?
Nope.
from linux-wifi-hotspot.
Sometimes it may be slow discovering of your device as in #69. Also, try with create_ap
command line with multiple combinations such as enabling ieee80211n with sudo create_ap --ieee80211n wlp0s20f3 wlp0s20f3 MyAccessPoint MyPassPhrase
Refer here for more examples https://github.com/lakinduakash/linux-wifi-hotspot/blob/master/src/scripts/README.md
from linux-wifi-hotspot.
Thank you for your help. Please reopen this issue as the issue is not solved yet.
I have tried various create_ap
combinations. They created hotspot successfully and I could find the hotspot and input the password, but I couldn't make other devices connect to the hotspot. For example, I tried to use my Android phone to connect to the hotspot and it stuck with "obtaining IP address". Here is an example command line output:
$ sudo create_ap --ieee80211n wlp0s20f3 wlp0s20f3 MyAccessPoint MyPassPhrase --freq-band 2.4
Config dir: /tmp/create_ap.wlp0s20f3.conf.baavG1Y9
PID: 16244
Network Manager found, set ap0 as unmanaged device... DONE
Custom frequency band set with 2.4Mhz with channel 1
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlp0s20f3.conf.baavG1Y9/hostapd_ctrl
Configuration file: /tmp/create_ap.wlp0s20f3.conf.baavG1Y9/hostapd.conf
ap0: interface state UNINITIALIZED->HT_SCAN
20/40 MHz operation not permitted on channel pri=1 sec=5 based on overlapping BSSes
Using interface ap0 with hwaddr 64:5d:86:d7:52:18 and ssid "MyAccessPoint"
ap0: interface state HT_SCAN->ENABLED
ap0: AP-ENABLED
ap0: STA 28:c6:71:00:83:2a IEEE 802.11: authenticated
ap0: STA 28:c6:71:00:83:2a IEEE 802.11: associated (aid 1)
ap0: AP-STA-CONNECTED 28:c6:71:00:83:2a
ap0: STA 28:c6:71:00:83:2a RADIUS: starting accounting session FBDCC20885EDDD28
ap0: STA 28:c6:71:00:83:2a WPA: pairwise key handshake completed (RSN)
ap0: AP-STA-DISCONNECTED 28:c6:71:00:83:2a
ap0: STA 28:c6:71:00:83:2a IEEE 802.11: authenticated
ap0: STA 28:c6:71:00:83:2a IEEE 802.11: associated (aid 1)
ap0: AP-STA-CONNECTED 28:c6:71:00:83:2a
ap0: STA 28:c6:71:00:83:2a RADIUS: starting accounting session DB73D072F7B3D654
ap0: STA 28:c6:71:00:83:2a WPA: pairwise key handshake completed (RSN)
^Cap0: interface state ENABLED->DISABLED
ap0: AP-STA-DISCONNECTED 28:c6:71:00:83:2a
from linux-wifi-hotspot.
That's strange. I need to investigate more about this issue. There might be an issue with DHCP. Can you try to put a static IP in the client?
from linux-wifi-hotspot.
Can you tell me how to put a static IP in the client? I can't any tutorial on that.
from linux-wifi-hotspot.
That's depend on your device. If it is android go to wifi setting and then select the network. Then you can select between DHCP and Static. Add gateway as 192.168.12.1 and assign IP addresses of your choice (must match to prefix/subnet) ex: 192.168.12.90
from linux-wifi-hotspot.
Sometimes it may be slow discovering of your device as in #69. Also, try with
create_ap
command line with multiple combinations such as enabling ieee80211n withsudo create_ap --ieee80211n wlp0s20f3 wlp0s20f3 MyAccessPoint MyPassPhrase
Refer here for more examples https://github.com/lakinduakash/linux-wifi-hotspot/blob/master/src/scripts/README.md
I had the same problem on Arch Linux where the tool would start properly, but my devices could not find the AP. I was able to resolve the issue using the suggested ieee80211n.
For reference, I now use the following command on Arch to create a working AP:
sudo create_ap --ieee80211n wlp4s0 enp0s25 apname secretpw
Thanks @lakinduakash for this package. It's awesome.
from linux-wifi-hotspot.
Sometimes it may be slow discovering of your device as in #69. Also, try with
create_ap
command line with multiple combinations such as enabling ieee80211n withsudo create_ap --ieee80211n wlp0s20f3 wlp0s20f3 MyAccessPoint MyPassPhrase
Refer here for more examples https://github.com/lakinduakash/linux-wifi-hotspot/blob/master/src/scripts/README.mdI had the same problem on Arch Linux where the tool would start properly, but my devices could not find the AP. I was able to resolve the issue using the suggested ieee80211n.
For reference, I now use the following command on Arch to create a working AP:
sudo create_ap --ieee80211n wlp4s0 enp0s25 apname secretpw
Thanks @lakinduakash for this package. It's awesome.
Nice!
I will add GUI option to enable that too. 😊
from linux-wifi-hotspot.
I added GUI options to enable ieee80211n
and ieee80211ac
. you can check them. :)
from linux-wifi-hotspot.
I am on Fedora 35 and have the same problem
command : sudo create_ap --ieee80211n wlo1 wlo1 MyAccessPoint 12345678
Output:
Config dir: /tmp/create_ap.wlo1.conf.k3hyjSXj
PID: 117339
Network Manager found, set ap0 as unmanaged device... DONE
wlo1 is already associated with channel 11 (2462 MHz)
multiple channels supported
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlo1.conf.k3hyjSXj/hostapd_ctrl
Configuration file: /tmp/create_ap.wlo1.conf.k3hyjSXj/hostapd.conf
ap0: interface state UNINITIALIZED->HT_SCAN
20/40 MHz operation not permitted on channel pri=1 sec=5 based on overlapping BSSes
Using interface ap0 with hwaddr 34:e1:2d:9b:c1:5d and ssid "MyAccessPoint"
ap0: interface state HT_SCAN->ENABLED
ap0: AP-ENABLED
ap0: STA ee:99:6d:5c:7c:ac IEEE 802.11: authenticated
ap0: STA ee:99:6d:5c:7c:ac IEEE 802.11: associated (aid 1)
ap0: AP-STA-CONNECTED ee:99:6d:5c:7c:ac
ap0: STA ee:99:6d:5c:7c:ac RADIUS: starting accounting session 9A730BB6EBBE0A1B
ap0: STA ee:99:6d:5c:7c:ac WPA: pairwise key handshake completed (RSN)
After this, phone is stuck in "Obtaining IP Address".
Using static IP connects to AP, but doesn't provide internet.
Settings used:
from linux-wifi-hotspot.
Related Issues (20)
- No .deb packages in v4.6.0 and v.4.5.0 HOT 3
- "ERROR: Your adapter can not transmit to channel..." because output of `iw phy ... info` probably changed recently HOT 4
- ac-network status: receiving IP address HOT 1
- Segmentation fault after the latest update 4.7.1 HOT 23
- Cant connect to bridged shared eth0
- Make a Windows Version? HOT 1
- Can't connect to created network HOT 4
- No Internet after making same wifi interface
- Unclear error message when AP fails due to the WiFi adapter being in use
- I can not click on Wifi interface HOT 6
- Command not found in create_ap HOT 3
- Unable to connect to Docker Bridge
- No available wifi interface HOT 1
- Wifi 6E 6GHZ Support
- permission denied HOT 3
- Running command create_ap fails on hostapd_cli -p HOT 1
- After awakening system from being asleep Wi Hotspot needs to be manually restarted (ap0: IEEE 802.11: disassociated due to inactivity) HOT 1
- CRITICAL: invalid cast from 'GtkEntry' to 'GtkTextView' HOT 4
- cannot filter by mac adress HOT 3
- A hotspot cannot be created on Debian Linux unless PATH is modified
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linux-wifi-hotspot.