New answers tagged

0

In essence, my goal is to share the contents of the pi 4 screen over a direct connection with a client device. Would this be possible? Yes. You should make the wlan0 act as a wifi hotspot simple by this link: Setting up a Raspberry Pi as a Wireless Access Point Then, install your favorite VNC server on the raspberry pi. Take note that VNC Server is ...


2

To be able to setup Wifi on Raspberry Pi 4 B+ 4GB on Ubuntu server 18 TLS, you first need to get the name of the wifi card by showing physical components using the following command: $ sudo lshw in my case it was wlan0 Then navigate to /etc/netplan/ using the cd command the hit Enter $ cd /etc/netplan/ use the command lsto list the files and ...


0

Thanks to @Ingo I got on the right path to finding my problem. I was not gettting a wlan1 because the correct driver was not installed. For the ASUS USB AC-56 I needed the Realtek RTL8812AU drivers installed. From this thread, I was able to get the driver installed. Looks like @MrEngman's website has changed a little. sudo wget http://fars-robotics.net/...


1

Or if you want to disable WiFi at boot, in your /boot/ (or /boot/firmware/ ) "config.txt" file add or uncomment the line "dtoverlay=pi3-disable-wifi" Note that this may be simply "dtoverlay=disable-wifi" in newer configurations. To reenable wifi, comment out the line with a leading hash (octothorpe) symbol. (a "#") [ I use 'mcedit' as my preferred editor. ...


0

I believe the problem is fairly simple. You have an interface up, and establish a VNC connection across it. Then you try to make this interface part of a bridge. The first thing that happens is that the interface goes down. At this point, any connection across the interface is terminated. Then the bridge is formed, and brought up. At this point, the ...


0

As of 2020, the only thing that works for me is: sudo ifdown --force wlan0 sudo ifup wlan0 Tested it in the following way: Edit network ssid and psk in /etc/wpa_supplicant/wpa_supplicant.conf Followed by sudo ifdown --force wlan0 Followed by sudo ifup wlan0 The tests were carried out on Buster-lite. It has been tested atleast 5 to 7 times with time ...


0

I guess I'll order a new raspberry pi zero w


0

At first, make sure you have configured the raspberry pi as a Wifi hotspot and check it on other devices. If other devices can connect to the AP of your raspberry pi and they get an IP address, follow this answer. The apache.conf is the problem. Take a look at how the Splash page of a captive portal works! Every operating system has its own different way ...


1

O help, just found out here what went wrong. I've been having trouble with this too. The answer was inside this command: sudo wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -d I had placed the ssid and psk names between ' 'signs like ssid='my-network-ssid' Changing it to "my-network-ssid" made it work right away. And besides: raspi-...


1

At least your PI was able to get an IP address (192.168.1.51 as per your screenshot). So the radio link is working although it may not be perfect. Looks more like a routing issue than a hardware issue. If you type ifconfig you should see the same address now or you still have an issue. What is your /etc/network/interfaces file like ? One thing: your output ...


1

For making remote ssh connection on raspberry pi 3B (os raspbian), it need to close wifi connection. (to use only wired connection instead) You can do it by ifplugd package with filling the /etc/network/interfaces out. Follow this link to do that. You can be enabled to disable wireless networks automatically when a wired cabled plugged. But the ...


0

2020 and buster => wpa_cli -i wlan0 reconfigure ... assuming it's using wifi on wlan0 as per iwconfig


1

No WiFi boot is not supported and most likely will never be either. It's way to complex to fit inside a bootloader.


1

With iw dev wlan0 info you show that you are using: channel 13 (2472 MHz), width: 20 MHz, center1: 2472 MHz I remember that I had problems some times ago with connections using channels above 11. Since then I only use channels up to 11. I'm unsure if it also an issue for you because you have a link shown with iw dev wlan0 link but maybe there is a problem ...


1

I recommend trying to verify hardware is working: DHCP requires communication between the wifi adapter and the router, otherwise it can not be assigned an IP address. If you can confirm the wifi's MAC address was received by the router, then the wifi's transmit side is working. If you had a second Zero-W with functional wifi, you could transfer the SD ...


2

There is a high correlation between Questions which state "I have setup a static IP lease" and XXX doesn't work. You have listed lots of files, but not provided any information which would enable anyone to answer. What did YOU do? - in particular HOW did you set "a static IP lease". I recommend you remove the attempt to set "static IP addresses" and let ...


1

I do not have the ralink rt2870 USB/WiFi adapter but here are some general ideas I have tested with the built-in WiFi device that you should also verify with your adapter. How to set the txpower on a RPi 3B+ I have shown at Restrict WiFi range of Pi 3b+. It also works on a RPi 4B. If I do not have a valid /etc/wpa_supplicant/wpa_supplicant.conf file, I get ...


0

When I understand the objective correctly, the task is to capture data. For that purpose, you probably set your Wi-Fi interface into monitor mode and capture the frames being received. If that is correct, fiddling with the Tx power (=transmit power) won’t help at all. You would either have to change the receiver sensitivity or the attenuation of the ...


4

What you have purchased isn't only an antenna to replace the built-in antenna (I don't believe that's possible), it is a complete new WiFi transmitter/receiver that can be used in addition to the built-in WiFi. If you do not need the built-in WiFi so just don't configure/use it. You can also completely disable it by adding this option to /boot/config.txt: ...


0

This error also shows up on the Raspberry Pi 4 platform if the firmware drivers are corrupt or missing. An easy fix would be to reinstall them. sudo apt update sudo apt install firmware-brcm80211 --fix-broken All Raspbian versions come with this driver - and many others. See apt search ^firmware-* for all available firmware drivers. Earlier versions of ...


1

"pi-ap" automates configuration of your Pi into a wireless AP. You can use the "pi-ap" scripts which are tested and proven to produce a working Pi wireless Access Point for comparative analysis with your own (broken) config. They're just a pile of bash scripts called in turn by the install.sh script. Things not obvious are well commented: https://github....


2

One possible problem may be the DHCP client. It will always get an ip address and network configuration (DNS server, gateway, default route etc.) on boot up. When the lease has expired the DHCP client may have a problem to renew it. If it cannot renew its ip addres then it will configure a link-local ip address 169.254.197.68/16 which does not fit to you ...


1

I encountered the same problem: RPi3B and Geekworm X850 mSATA SSD Extension Board V 3.1 an a Sunbow mSATA 32GB: Everything works as expected. RPi3B+ and Geekworm X850 mSATA SSD Extension Board V 3.1 an a Sunbow mSATA 32GB: No Wifi regardless of the booting device (SD or SSD) unless the SSD has no power connection (via USB or external). Powering up the ...


2

Developer of RaspAP here. The project does not lock the file system or interfere with other services. I installed mosquitto after RaspAP, enabled the service and rebooted. Confirmed it's active and listening on port 1883: sudo netstat -ltnp | grep -w ':1883' tcp6 0 0 :::1883 LISTEN 405/mosquitto Check the output of mount -l and ...


1

According to the commands output you have given about the configuration, bonding looks good so far. That all interfaces have the same mac address is due to bonding and will not confuse the fritz box router. Quite contrary it ensures that it does not sense the change of an interface on the fly because the mac address doesn't change. That's the trick of ...


2

You can store streams on the raspberry pi drive by: ffmpeg -i "rtsp://yourRtspStreamSource" -hls_time 3 -hls_wrap 10 "yourOutputDir/streaming.m3u8" And then, re-stream streaming.m3u8 over HTTP: ffmpeg -re -i "yourOutputDir/streaming.m3u8" -pix_fmt yuv420p -vsync 1 -threads 0 -vcodec libx264 -r 30 -g 60 -sc_threshold 0 -b:v 512k -bufsize 640k -...


2

You can set a special SSID (WiFi network) to the wpa_supplicant.conf: nano /etc/wpa_supplicant/wpa_supplicant.conf Add these details of your SSID to that config file like: network={ ssid="testing" psk="testingPassword" } You can find more about it here. I do not want to edit wpa_supplicant.conf every time it discover another network. ...


0

Raspberry Pi is made for education and to show newbies how hardware and software works. So the Raspberry Pi Foundation has taken any effort to make things as simple as possible to start with Raspberry Pi. Just follow its official documentation and most things will work out of the box. Take a Raspberry Pi image of your choice and flash it to the SD Card. ...


2

Recover the /etc/network/interfaces by adding these lines: # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interfaces.d: source-directory /etc/network/interfaces.d Then try to connect to your ...


1

I have configured my raspberry pi to something like you said. I will be able to view live feed through Mobile app or in a browser The motion is here for you. It has a web interface that you can see the camera's stream in real-time. How to Make Raspberry Pi Webcam Server and Stream Live Video || Motion + Webcam + Raspberry Pi When the Raspberry ...


3

I suppose you are using Raspbian. With my RasPis I have found that they tend to connect first to the 2.4 GHz band if both bands available. So first you should check if the 5 GHz band is seen by your RasPi. Execute this command. rpi ~$ sudo iw wlan0 scan | grep -A5 'freq: 5' It should give you at least one (ore more) outputs like this: freq: 5300 beacon ...


1

You don't tell us what error messages you get but you can try to restrict the connection to specific frequencies. In /etc/wpa_supplicant/wpa_supplicant.conf add a line with frequencies you want to use, for example (but use your own settings for country=, ssid= and psk=): cat /etc/wpa_supplicant/wpa_supplicant-wlan0.conf ctrl_interface=DIR=/var/run/...


0

After a ton of time spent Google and StackExchange searching, I wasn't able to solve the issue. So I just resorted to wiping and reinstalling the OS from scratch. It works.


16

RPi 3B only has one antenna on board, so yes, it will be shared. Sharing is managed by the adapter firmware which is closed-source. Even if done right, it will not be as good as separate antennas. You can get a USB dongle for either WiFi or BT (and use that instead of the built-in adapter) to get two separate antennas.


0

It's better if you ask this question on another SE Site which is related to security. Although, as @Modeset said, the IT man of the university can see which connected device tried brute force attack because of the packets statistic, etc. Because the raspberry pi shares the internet (I mentioned hotspot) and sends all wifi client's data as itself IP address ...


0

To verify your problem I have done a plain installation from scratch using the smallest image. Here is what I've done: Downloaded Raspbian Buster Lite 2019-09-26 onto a PC with Debian operating system. Compared checksum pi ~$ sha256sum 2019-09-26-raspbian-buster-lite.zip a50237c2f718bd8d806b96df5b9d2174ce8b789eda1f03434ed2213bbca6c6ff 2019-09-26-raspbian-...


2

I see three possibilities as to what's happening here. Somebody got unauthorized login access to your PI and used it to make attacks. I suggest checking for rootkits and the like. Somebody is using the wifi to make attacks. It probably looks your PI because you probably are doing NAT. It could actually be an authorized user's compromised laptop. I ...


1

This is my answer based on how I've read your situation: If your ethernet port got blocked by your IT sysadmin because it was being used for brute forcing SSH/some other malicious behaviour, then it's likely one of your WiFi users started to abuse your service. It's not out of the realms of possibility that somebody complained they were getting excess / ...


-1

I would think If you set up a local dns, with a sub-domain pointing toward your pi's ip, that should give you what you need. UPDATE: To have both a wifi connection to the pi and a cellular internet connection, then do the following On the IOS device establish a wifi connection with the pi and tap the (i) symbol next to the wifi network connection and ...


Top 50 recent answers are included