I know it’s very simple, but I’m unable to log in to the raspberry terminal. What is the username and password?
The default pi and raspberry password don’t work
nor admin and admin password
In version 3 I can access without problem
What I want is to use the sudo gateway-config command but it tells me command not found.
Could you help me please, I’m stuck on the first step of the initial configuration.
Excuse my ignorance, I don’t know if it’s a very basic question.
But because he doesn’t tell me that command not found, when I run Sudo Confi-gateway or Sudo raspi-config
What is the cause? I have no idea what the problem is.
I am not sure what you are trying to do. I have never heard of sudo gateway-config before, you say you were using it in V3? Maybe I am just unfamiliar with the SSH commands but are you just trying to see the configuration or actually configure it?
Have you tried these commands:
uci show chirpstack-concentratord
uci show chirpstack-mqtt-forwarder
uci show chirpstack-udp-forwarder
# Only for Full images
uci show chirpstack
Hmm, thats a strange link. If you click a different a different tab on the left and then click back to it it will instead bring you to the page I linked. If I have to guess this is a remnant of something that is no longer supported.
To confirm I tried sudo gateway-config on my own CS OS device and it also failed. The new way to configure CS OS through SSH is to use the UCI commands. You could also just go digging through your PI and adjust the files yourself, I’ve done this before.
I’d recommend reading through this guide, I don’t have much knowledge on this myself but from the guide it looks like you would want to configure the files in /etc/config/network and /etc/config/wireless.
You are not typing a command, you only put the name of a directory.
If you are not familiar in using a terminal based OS, you should use the webUI instead. Is there a reason why you are not currently using the web interface?
Because I have lost the network, I can’t access the web interface. And Chirpstack I don’t believe the access point, since I set my network but changed the name and password.
I have to connect for the terminal.
You could tell me the commander like this, with an example I think I will understand.
You could always Ethernet your Pi to your router, retrieve its IP from the router, then connect over the web interface. But if you can’t do that / want to use UCI commands this is what I have to offer:
To view your current configuration use uci show network or uci show wireless
I have never used the UCI configuration but I got this from ChatGPT and it looks correct to me although I can give no guarantees:
To connect your Pi to your home Wi-Fi network, follow these steps:
Enable the wireless radio:
uci set wireless.radio0.disabled='0'
Switch the wireless interface to client mode:
uci set wireless.default_radio0.mode='sta'
Configure your home Wi-Fi details:
uci set wireless.default_radio0.ssid='YourSSID'
uci set wireless.default_radio0.encryption='psk2'
uci set wireless.default_radio0.key='YourWiFiPassword'
Ensure the wireless interface is enabled:
uci set wireless.default_radio0.disabled='0'
Add a new network interface for wireless:
uci set network.wlan=interface
uci set network.wlan.device='radio0'
uci set network.wlan.proto='dhcp'