Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4586

Troubleshooting • problem in static IP

$
0
0
Hi to all i got this problem in setting up a static IP, here is the problem i'd modified the file sudo nano /etc/dhcpcd.confin that way as shown below:

Code:

interface wlan0static ip_address=192.168.1.xxx/24static routers=192.168.1.1 static domain_name_servers=8.8.8.8 8.8.4.4 
when i try to connect it work but when i gonna check the address with ip a or hostname -I the output is frustrating:

Code:

maurizio@raspberrypi:~ $ hostname -I192.168.1.1xx 192.168.1.1xx 
you see there are 2 address and i don't know how it is possible to have at the same time a static and a dinamic IP if i connect it via ssh. Maybe is nothing but i have to make a storage for my firm which add or decrease the items present at the moment and would be checked online on a db i did it before. The project itself it work i'd to change the sd with a good one for the cycling of the server doesn't interrupt the app.py in flask, so before everything was fine.
I hope to being enough clear...

Statistics: Posted by morris1974 — Wed Mar 12, 2025 8:41 am — Replies 1 — Views 61



Viewing all articles
Browse latest Browse all 4586

Trending Articles