Hot answers tagged

4

To answer your question: Any idea why it might not be showing up? A static ip address is a static ip address is a static ip address. It is not manged by any DHCP server, so you will not find a static ip address in its lease cache. That's by definition. You have to do everything by hand, define DNS server and gateway and other things you normally get from ...


2

I don't know if there is a library function to check if there is an access point created or not. But on the command line you can use iw or wpa_cli. iw is more generic, with wpa_cli you have to specify the interface name, but you can get more details if needed. rpi ~$ iw dev | grep 'type AP' type AP # or just check for the return code: rpi ~$ iw dev |...


2

It seems the cloned SD Card boots up and is running but has problems at least with the network interfaces. On a cloned program it also has exactly the same system parameter like hostname, MAC address, ssh server keys, UUID and PARTUID of the storage and maybe other parameter I just don't remember now. This is no problem if the clones are running on different ...


2

There is no easy way to do this out of the box. With systemd you have to listen to D-Bus messages to find out when a connection is established. Try networkd-dispatcher, as suggested in the post. You can run scripts depending on the link operational status. Interface name, among some other parameters, is transmitted to your script as an IFACE environment ...


1

This is more of a "workflow" answer as I'm unsure exactly what environment you're working in. If you have specific questions, you may either edit your original question, or use the Comments (sparingly please). Duplicating your system as an image file: You can use image-utils to create an image file of your "existing unit". One of the ...


1

So... Thank you to everyone who helped me by guiding me on different possible step and process! I succeed to do it and this is how I did it, working on Raspbian with desktop UI and external NTFS HDD : Step one : Setup your DNLA server. Nothing more, lot's of tutorial around here, can link the one I use, but it's in French. https://doc.ubuntu-fr.org/minidlna ...


1

Your project is to broad to have a detailed answer. But here are some general ideas to point you in the right direction. You should start with an access point, not using an Ad-Hoc network. It is easier and well known. Look at Setting up a Raspberry Pi as an access point - the easy way and Access point as WiFi router/repeater, optional with bridge. Use the ...


1

Your Raspberry Pi uses a program called dhcpcd to obtain its IP address. It's a very good program, used now by most Linux distributions. dhcpcd is controlled/configured by the file /etc/dhcpcd.conf. You should have a look at man dhcpcd and man dhcpcd.conf when you have a few. But without being pedantic, this is what you should do to avoid the situation ...


1

Sometimes I read a question and consider what a person is trying to do and why... and consider if there might be another way to solve the problem. This is one of those ... so this isn't a direct answer to your specific question, but possibly another strategy that will meet your needs. I don't know that anyone will be able to tell you why your DHCP server (...


1

I had this same issue; it turned out to be a weak power supply for the pi4. After using a type-C laptop charger, the issue went away.


Only top voted, non community-wiki answers of a minimum length are eligible