Giter Club home page Giter Club logo

Comments (11)

lakinduakash avatar lakinduakash commented on July 28, 2024

Does it work with a password?

from linux-wifi-hotspot.

sith-on-mars avatar sith-on-mars commented on July 28, 2024

Does it work with a password?

Nope.

from linux-wifi-hotspot.

lakinduakash avatar lakinduakash commented on July 28, 2024

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.

sith-on-mars avatar sith-on-mars commented on July 28, 2024

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.

lakinduakash avatar lakinduakash commented on July 28, 2024

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.

sith-on-mars avatar sith-on-mars commented on July 28, 2024

Can you tell me how to put a static IP in the client? I can't any tutorial on that.

from linux-wifi-hotspot.

lakinduakash avatar lakinduakash commented on July 28, 2024

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.

felixmde avatar felixmde commented on July 28, 2024

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

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.

lakinduakash avatar lakinduakash commented on July 28, 2024

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

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.

Nice!
I will add GUI option to enable that too. 😊

from linux-wifi-hotspot.

lakinduakash avatar lakinduakash commented on July 28, 2024

@felixmde

I added GUI options to enable ieee80211n and ieee80211ac. you can check them. :)

from linux-wifi-hotspot.

ShrirajHegde avatar ShrirajHegde commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.