Octopi can see wifi but wont connect

ran an ifconfig logging in via Ethernet SSH and get this

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.96 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2600:1700:3b02:1ff0:66da:3321:d1c5:b815 prefixlen 64 scopeid 0x0
inet6 fe80::ce4d:c7ff:4a49:5ba prefixlen 64 scopeid 0x20
ether b8:27:eb:08:01:4d txqueuelen 1000 (Ethernet)
RX packets 609 bytes 79711 (77.8 KiB)
RX errors 0 dropped 124 overruns 0 frame 0
TX packets 173 bytes 33707 (32.9 KiB)
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 28 bytes 6980 (6.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 6980 (6.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb:5d:54:18 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

how do i fix this please help

Well, the wi-fi adapter is up but it may not be linked into the wi-fi network (hence, no issued IP address). Check the LEDs and see if your wi-fi network is forced to be some speed that your Raspi can't handle. Also, check the wi-fi zone/password as seen in sudo cat /etc/wpa_supplicant/wpa_supplicant.conf. If you think you have the wrong ones entered, enter them using sudo raspi-config -> 2 Network.

I checked the sudo cat /etc/wpa_supplicant/wpa_supplicant.conf. and the password and ssid is correct. what speed should i have it set too

so i changed my password of my WiFi to not include ! and now the error changed(maybe a good thing)
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.97 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2600:1700:3b02:1ff0:70d:8f25:4b27:2e08 prefixlen 64 scopeid 0x0< global>
inet6 fe80::20e9:c4d:eccd:4378 prefixlen 64 scopeid 0x20
ether b8:27:eb:5d:54:18 txqueuelen 1000 (Ethernet)
RX packets 192 bytes 31674 (30.9 KiB)
RX errors 0 dropped 42 overruns 0 frame 0
TX packets 70 bytes 14149 (13.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Which error are you referring to ?

It looks like you're connected

Try disconnecting the ethernet cable and see if it works

1 Like

As Spyder suggested, looks like that was it.