Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged

2

See Headless Raspbian WiFi Setup in How to set up networking/WiFi Specifically Raspbian checks the contents of the boot directory for a file called wpa_supplicant.conf, and will copy the file into /etc/wpa_supplicant, replacing any existing wpa_supplicant.conf file that may be there. The file in the boot directory is then removed. This can be used to ...


2

A common mistake is the conflict between hostapd and the raspbian networking service that uses the same interface and therefore two different modes which causes the access point to stop. Ensure the interface is not used by the network service for get an ip address in '/etc/network/interfaces'and remove any dhcp configuration related to the AP interface.


1

In retrospect, this was a dumb question - trying to run an embedded Raspberry Pi OS on QEMU is not supported. Those who run Raspbian on QEMU use a custom kernel specifically designed for QEMU. The reason I was doing this is because the serial and HDMI adapters I ordered for my Pi are still in the mail (any month now). There's a silver lining - I just ...


1

Use different wpa_supplicant files in How to set up networking/WiFi describes how to setup networking to use different wpa_supplicant files for each interface. Your etc/network/interfaces should work (only because it causes dhcpcd to disable itself) and can be configured to use multiple wpa_supplicant files, however this uses old Debian networking, which is ...


1

Seems there are to many components that have to play together: dhcpcd, ifupdown, hostapd and maybe dnsmasq and bridge-utils. I have a suggestion to reduce complexity with using systemd-networkd. It is available by default on Raspbian and has everything built-in, no need to install any additional helpers. Here is a setup with a bridge that I have tested for ...


1

1) Your service is terminated (all process started by this service are killed) when your last script (python here) execution is finished. Execute the python script into a terminal, your script exit with default value of 0 (process exit success code) after python file execution because you have not a forever loop (while). Service file is principaly for ...


1

After modifying wpa_supplicant.conf you need to make wpa_supplicant re-read the configuration file. wpa_cli -i wlan0 reconfigure (assuming wlan0 is your wifi to reconfigure) reference - wpa_cli man page


1

Default config for a Pi is DHCP addressing. The router (or switch) assigning the IP to your Pi will assign one from a pool of addresses with an express lease time set for the IP address it assigned (mapped) to the mac address of your WLAN0 interface. Think of this IP as "loaned" to you: it's not yours in perpetuity and the address can be chucked back into ...


1

The "solution" you have adopted uses an illegitimate mix of 2 networking systems. It may "work", but will not be robust. It would work, if you disable dhcpcd, otherwise you will have 2 systems trying to configure the networks, with unpredictable results. The "correct" way of setting up one interface as an Access Point is to tell dhcpcd NOT to configure it. ...


1

While this should only be used with a readonly view from the raspberry pi, based on these questions for dropping the filesystem cache you can "reset" the listings without remounting the drive. This also keeps everything working on the remote side as well. This isn't super reliable since you have to wait for the host to flush the data (sync on linux), the ...


1

It is exactly determined what the Raspberry Pi 3B+ is able to do with its WiFi on-board device. With the command iw you can show what interface combinations are possible. Just execute $ sudo iw list | grep -A4 "valid interface combinations:" valid interface combinations: * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, ...


1

I am using puppeteer for this purpose. It is based on nodesjs and provides a javascript interface to control Chromium. It also supports a headless operation. If you install puppeteer it will automatically install chromium. Unfortunately it will install an x86 version which will not run on raspberry. So you have to do some additional steps which can be ...


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