Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wlan0 fixed at 192.168.50.1 #77

Closed
Kaelum opened this issue Apr 14, 2023 · 14 comments
Closed

wlan0 fixed at 192.168.50.1 #77

Kaelum opened this issue Apr 14, 2023 · 14 comments
Labels
bug Something isn't working

Comments

@Kaelum
Copy link

Kaelum commented Apr 14, 2023

What happened

WiFi IP address and network are fixed to 192.168.50.1 and can't be changed.

What did you expect to happen

It should log into my WiFi and obtain an IP address from my DHCP server.

How to reproduce

Go through the normal setup

Additional information

No response

@Kaelum Kaelum added the bug Something isn't working label Apr 14, 2023
@miklschmidt
Copy link
Member

This is incorrect. What you're looking at is the hotspot settings :)

@miklschmidt miklschmidt added invalid This doesn't seem right and removed bug Something isn't working labels Apr 14, 2023
@Kaelum
Copy link
Author

Kaelum commented Apr 14, 2023

Using your configuration tool, I setup my WiFi, and the only related connection that I see is wlan0. For a hard wired LAN connection I see lan0. What should I see for my WiFi?

@miklschmidt
Copy link
Member

@Kaelum i'm sorry i don't understand the question. If the wifi settings you entered were correct, wlan0 would be connected to your wifi and not hosting the RatOS hotspot.

@miklschmidt
Copy link
Member

You can check the settings written by the RatOS configurator in /boot/ratos-wpa-supplicant.txt

@Kaelum
Copy link
Author

Kaelum commented Apr 14, 2023

Ok, so something was changed to override the /etc/wpa_supplicant/wpa_supplicant.conf file. The configuration in the /boot/ratos-wpa-supplicant.txt file does not work either. Here is a scrubbed version of what your tool wrote:

network={
        ssid="my-ssid"
        #psk="my-password"
        psk=e12f36ef7e7250c[]snip]1dafea8b19a0
}

@miklschmidt
Copy link
Member

@Kaelum did you use raspberry pi imager instead of following the docs?

@Kaelum
Copy link
Author

Kaelum commented Apr 14, 2023

@miklschmidt nope, I followed the docs exactly. I don't have the Raspberry Pi Imager installed on any machine. I did this from my laptop, which has balenaEtcher installed on it.

@miklschmidt
Copy link
Member

miklschmidt commented Apr 14, 2023

@Kaelum Could you try on a fresh installation? Because you're the only one that i know of with this issue.

@Kaelum
Copy link
Author

Kaelum commented Apr 14, 2023

@miklschmidt I'll try it in a couple hours, after work, and let you know. I need to backup the changes that I made to the configs, and what I did to setup CAN, before I start.

@miklschmidt
Copy link
Member

@Kaelum Awesome, please keep it stock until you've verified if wpa-supplicant is working or not. I suspect the CAN changes might've messed up wpa supplicant.

@miklschmidt miklschmidt added bug Something isn't working and removed invalid This doesn't seem right labels Apr 14, 2023
@Kaelum
Copy link
Author

Kaelum commented Apr 15, 2023

@miklschmidt ok, I did a fresh install, with the CAN board is running over USB, and the exact same thing. wlan0 is not working. It is advertising the RatOS SSID.

@miklschmidt
Copy link
Member

Check your router logs, i cannot reproduce it and have no other reports.

@miklschmidt
Copy link
Member

Which pi model are you using?

@Kaelum
Copy link
Author

Kaelum commented Apr 16, 2023

Raspberry Pi 4B

Ok, I decided to try a simple installation of the Raspberry Pi OS. I downloaded the Raspberry Pi Imager, flashed a new SD card, started it, fully patched it, and tried setting up the WiFi. It worked w/o any issues. I've wasted too much time on this, so I'm just going to drop it and install the vanilla version of Klipper with all the addons.

Best

@Kaelum Kaelum closed this as completed Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants