Login in raspberry 3 with chirpsack V4 os

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.

The default credentials are:

  • Username: root
  • Password: (not set)
1 Like

Thank you very much for your reply.
Correct, those are the default ones.

Could you tell me why the sudo gateway-config command doesn’t work for me?
Does it work with another user?
In the attached image I show the script.

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

from this configuration guide: Configuration - ChirpStack open-source LoRaWAN® Network Server documentation

And to confirm you are using the Chirpstack Gateway OS yes? Full or base image?

thank.

Concentratord => SX1301 model RAK2245
System => ChirpStack Gateway OS
I want to do what is indicated at this point:
https://www.chirpstack.io/docs/chirpstack-gateway-os/use/gateway-config.html

But when I run this command it tells me that it is not found. So I don’t know what happened I skipped.

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.

Well, a very useful command to configure the gateway and sudo raspi-config as well.

How can I connect to my Wi-Fi network from the terminal?

https://openwrt.org/docs/guide-user/base-system/uci

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.

I’m doing something wrong.
What user or permission and password should I use?
I need to connect to my wifi through the terminal

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:

  1. Enable the wireless radio:
uci set wireless.radio0.disabled='0'
  1. Switch the wireless interface to client mode:
uci set wireless.default_radio0.mode='sta'
  1. 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'
  1. Ensure the wireless interface is enabled:
uci set wireless.default_radio0.disabled='0'
  1. Add a new network interface for wireless:
uci set network.wlan=interface
uci set network.wlan.device='radio0'
uci set network.wlan.proto='dhcp'
  1. Commit and apply the changes:
uci commit
wifi reload
/etc/init.d/network reload