Solved Raspberry Pi 4 Setup

Status
Not open for further replies.

noahjadodd

New User
Basic Certified
Joined
Apr 22, 2022
Messages
5
Reaction score
2
Hello

I am trying to set up a Rasp Pi4 as an SBC for a customer of mine. I have gotten to the point of configuring the DHCP settings with the static IP.
Whenever I attempt to download the 3cx zip file next, I get an error message "unable to resolve host address". I am currently trying to configure this from my office, but set the static IP to match the current one they have for the SBC on site (faulty equipment, setting up replacement). Do I need to attempt to download the zip file when I am on their local network?

Would I be able to swap the old SD card out of the old Rasp Pi into the new Pi, and avoid this whole thing altogether?

(I am still fairly new to the field, and trying to learn as fast as possible haha)
 
Hello

I am trying to set up a Rasp Pi4 as an SBC for a customer of mine. I have gotten to the point of configuring the DHCP settings with the static IP.
Whenever I attempt to download the 3cx zip file next, I get an error message "unable to resolve host address". I am currently trying to configure this from my office, but set the static IP to match the current one they have for the SBC on site (faulty equipment, setting up replacement). Do I need to attempt to download the zip file when I am on their local network?

Would I be able to swap the old SD card out of the old Rasp Pi into the new Pi, and avoid this whole thing altogether?

(I am still fairly new to the field, and trying to learn as fast as possible haha)
Sounds like you have DNS or Gateway configured incorrectly if it can't download the file.

Moving the SD card from one device to another will sometimes work for a bit and then fail unexpectedly. it is not recommended.
 
  • Like
Reactions: JohnS_3CX
When you say configured on the client IP, does PI have access to the internet - have you duplicated the client network as your location.

No you do not have to be client site, if you replicate the clients network

Another option, setup the pi with a dhcp network address, after configuring the unit change the ip to fixed

https://www.ionos.co.uk/digitalguid...he command ‘static ip_address=192.168.0.4/24’.

You may have to change dns settings , use google 8.8.8.8

https://pimylifeup.com/raspberry-pi...y,restart its service by running the... More
 
Last edited:
  • Like
Reactions: JohnS_3CX
What I normally do is set the Pi up, leaving it on DHCP, get the 3CX SBC set up and then change it to static IP.
 
  • Like
Reactions: CentrexJ
When you say configured on the client IP, does PI have access to the internet - have you duplicated the client network as your location.

No you do not have to be client site, if you replicate the clients network

Another option, setup the pi with a dhcp network address, after configuring the unit change the ip to fixed

https://www.ionos.co.uk/digitalguide/server/configuration/provide-raspberry-pi-with-a-static-ip-address/#:~:text=To assign an IP address to Raspberry Pi,,you need to use the command ‘static ip_address=192.168.0.4/24’.

You may have to change dns settings , use google 8.8.8.8

https://pimylifeup.com/raspberry-pi-dns-settings/#:~:text= Setting the DNS Servers on your Raspberry,restart its service by running the... More
Like I said, I am still new to all this, and the person who was supposed to help train me, didn't. How would I go about replicating the client's network?
 
Like I said, I am still new to all this, and the person who was supposed to help train me, didn't. How would I go about replicating the client's network?
https://www.3cx.com/docs/installing-pbx-raspberry-pi/

Format the SD card for your Pi and boot it up ignoring step 4 for now.

Then follow these instructions to set up the SBC

https://www.3cx.com/docs/3cx-tunnel-session-border-controller/

Once your SBC is online then go back to first link and do step 4 making sure you use the exact same network settings as current SBC.

Quick tip. Once you've written the image to the SD card, create a new file in the drive called ssh and this will enable SSH on the Pi.
 
What I normally do is set the Pi up, leaving it on DHCP, get the 3CX SBC set up and then change it to static IP.
I tried this way and I was able to get the zip downloaded! Thank you!
 
  • Like
Reactions: JohnS_3CX
Basically when you set a static IP, your Pi lost internet access and could not download anything.


Using DHCP to setup everything, and switching to static later is the way to go here.

If your customer has DHCP reservation, you can even leave the Pi like this, and just change its IP to the old one from the DHCP Server.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet