dunno
April 19, 2025, 5:14pm
1
What is the problem
my pi 4b is not connecting wireless
What did you already try to solve it?
ssh into the pi when connected to ethernet and changing setting
Have you tried running in safe mode?
N/A
Did running in safe mode solve the problem?
N/A
It would be much easier for us to help if you provided details of your journey to failure...
What version of the OS are you using? Is it a fresh install? What imager did you use? Did you initially configure WiFi with the imager?
After connecting with ethernet and SSH, how did you change the settings?
dunno
April 19, 2025, 6:38pm
3
my fault, i am using octopi 1.10.03 (stable) i used the raspberry pi imager, i configured the wifi with imager and wpa.txt, i changed the setting via ssh= the region wifi name and password.
i have the wifi intergrated model but when i pull the ethernet cable out it just does not connect i checked and the raspberry can see the wifi network and the network has a pretty good quality.
i first got an pi 2b just connected to ethernet i switched today to an pi 4b with 4GB i got the right image but it still wont connect to the wifi
There is no "octopi 1.10.03" (but there is OctoPrint 1.10.3).
What version of the Raspberry Pi Imager? What image did you use? How did you answer "Use OS customization?"
If the answer is "Edit Settings", what settings did you select?
Since you can use ethernet to SSH into the RPi, please provide the output of:
ifconfig
iwconfig
iwlist wlan0 scan | grep -e ESSID
When uploading the output of commands, please use the </>
icon above so that the markdown editor doesn't format the results.
the raspberry can see the wifi network and the network has a pretty good quality
How did you come to this conclusion (i.e. what commands on the RPi did you use and what was the output)?
dunno
April 19, 2025, 7:44pm
5
yes i meant octoprint
ifconfig:eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.178.165 netmask 255.255.255.0 broadcast 192.168.178.255
inet6 fe80::6af1:bede:2391:2889 prefixlen 64 scopeid 0x20
inet6 2001:1c06:280a:1600:5f58:e186:af88:d421 prefixlen 64 scopeid 0x0
ether dc:a6:32:69:90:cf txqueuelen 1000 (Ethernet)
RX packets 117905 bytes 143785147 (137.1 MiB)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 64620 bytes 38253522 (36.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 24760 bytes 132951424 (126.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 24760 bytes 132951424 (126.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 96:5d:a3:ca:36:07 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
iwconfig: lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
iwlist wlan0 scan | grep -e ESSID
: ESSID:"Ziggo0782170"
ESSID:"Ziggo583F9E8"
ESSID:"Ziggo"
ESSID:"veldhoek kpn"
ESSID:"Ziggo0782170"
ESSID:"veldhoek kpn"
ESSID:"Duist"
ESSID:"Ziggo0782170" my wifi
ESSID:"Duist_ExtraWiFi2G"
ESSID:"Ziggo0782170"
ESSID:""
ESSID:"DIRECT-F7-HP ENVY 5640 series"
ESSID:"WLAN ANS"
ESSID:"jtvatv"
ESSID:""
ESSID:"Duist"
ESSID:"Woonkamer.n109,"
ESSID:"LOTS"
ESSID:""
used this for the testing of the wireless network quality sudo iwlist wlan0 scan | less
raspberrypi imager vers. 1.9.0
dunno
April 19, 2025, 8:05pm
8
saying there was an error option S1 wireless LAN
dunno
April 19, 2025, 8:07pm
9
reasons? maybe running a print
What image did you use to install the OS on the Raspberry Pi?
If sudo raspi-config
errors out when attempting to select the Wireless LAN option, then my conclusion is that the OS image you are using is corrupt (or previous attempts to configure wireless has corrupted something).
I have installed OctoPi / OctoPrint many times and configuring the Wireless connection using "Edit Settings" in the Raspberry Pi Imager has never failed as long as the SSID, passphrase, and Wireless LAN country have been set correctly.
dunno
April 19, 2025, 8:23pm
11
so just let the imager rewrite?
let me check the image.
dunno
April 19, 2025, 8:27pm
12
i cant find the image but do i just need to cancel my print and let it rewrite?
dunno
April 19, 2025, 8:39pm
13
i plugged in the microsd card and found that the wpa setup file was missing
You can finish your print.
If you have a spare microSD card of sufficient size, then you can download and flash a new image while your print is running. Then swap cards and reboot the RPi when the print is done.
dunno
April 19, 2025, 8:41pm
15
alright i got a backup for the print im gonna put it back and start thanks for your help,
mister B.
dunno
April 19, 2025, 8:53pm
16
one question when you have configured wireless lan and do the iwconfig
what do i need to see?
pi@rpi4b:~ $ ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether e4:5f:01:5a:fc:e4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 10438 bytes 1928458 (1.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10438 bytes 1928458 (1.8 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.182 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::616:f28c:953b:4c4f prefixlen 64 scopeid 0x20<link>
ether e4:5f:01:5a:fc:e5 txqueuelen 1000 (Ethernet)
RX packets 42641 bytes 5643807 (5.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5442 bytes 1660697 (1.5 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
pi@rpi4b:~ $ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"Morgan Fastest 5"
Mode:Managed Frequency:5.785 GHz Access Point: 5C:A6:E6:F5:19:32
Bit Rate=433.3 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-37 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:28 Invalid misc:0 Missed beacon:0
pi@rpi4b:~ $
dunno
April 19, 2025, 8:58pm
18
it is still not working i got no error code no nothing how long do i need to wait after pulling out the ethernet? or just a whole reboot?
When I switch SSIDs, it takes less than a minute to reconnect.
I would start over from scratch.
In the RPi Imager, I would select Raspberry Pi 4, Other specific-purpose OS, 3D Printing, OctoPi, OctoPi (stable) and write a new image onto a microSD card. I use 32GB cards but anything bigger than 8GB should be fine.
In the imager, I would Edit Settings, set the hostname, set the username to "pi", set the password, configure the Wireless LAN, set the locale, click Services at the top, enable SSH and Use password authentication.
On my RPi 4B, I would attach an HDMI monitor and a USB keyboard. Insert the microSD card and then plugin the power supply.
dunno
April 19, 2025, 9:15pm
20
i got to go to bed ill do it tommorow thanks (europian times)