Skip to content

access-point.md patch #1078

Closed
Closed

Description

@malessandrini

Hi,
in "configuration/wireless/access-point.md", when setting dhcpcd.conf for static ip address on wlan0, it does not work for me as is, it seems it needs at least the following:

interface wlan0
static ip_address=192.168.4.1/24
static routers=192.168.4.1
static domain_name_servers=192.168.4.1
nohook wpa_supplicant

Thanks
Michele Alessandrini

Activity

  1. JamesH65 commented on Feb 7, 2019

    @JamesH65
    Contributor

    I suspect that whole document need revamping for the latest Raspbian. I think there might be some PR's waiting to go through on this page, but will leave this open as it is something that needs looking at. Thanks for the report.

  2. XECDesign commented on Mar 11, 2019

    @XECDesign
    Contributor

    Could you please provide a bit more information? In what way does it not work?

    After hostapd starts, what's the output of

    ip addr show wlan0
    ip route
    sudo journalctl -u dhcpcd
    
  3. malessandrini commented on Mar 11, 2019

    @malessandrini
    Author

    It did not work because wlan0 was not assigned the given IP address, so all the remaining tools depending on it did not work. Currently I don't have a Raspberry 3 any more, so I can't connect to it via ethernet leaving wlan0 unconfigured. Anyway it was a fresh installation or Raspbian Strecth Lite.

  4. XECDesign commented on Mar 11, 2019

    @XECDesign
    Contributor

    While updating the docs, I tried the example as is and the IP was set as expected. Without exact output, it's hard to diagnose what went wrong in your case.

  5. malessandrini commented on Mar 11, 2019

    @malessandrini
    Author

    I'm sorry, that's strange, I'll try to test it again as soon as possible. Thanks for now.

  6. XECDesign commented on Mar 11, 2019

    @XECDesign
    Contributor
  7. JamesH65 commented on Nov 19, 2020

    @JamesH65
    Contributor

    I believe the changes to the page over the last year will have taken this in to account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions