craigcannon
Posts: 2
Joined: Mon Nov 25, 2013 3:00 am

Trouble connecting over wifi

Mon Nov 25, 2013 3:12 am

Hey.

I've read a bunch of threads re: wifi on the r pi but still can't seem to connect to mine. I can SSH in when it's connected via ethernet and detect the wifi dongle using

Code: Select all

lsusb
and

Code: Select all

ifconfig
, but when I unplug the ethernet and attempt:

Code: Select all

ssh pi@192.168.0.118
I get

Code: Select all

ssh: connect to host 192.168.0.118 port 22: Operation timed out
.

My configuration is identical to this tutorial's: http://www.howtogeek.com/167425/how-to- ... mand-line/.

Any ideas?

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Trouble connecting over wifi

Mon Nov 25, 2013 2:12 pm

Maybe your router is assigning a different IP address?
Look in the client list on the router to see what the IP is after you swap from wired to WIFI.

I use IP to MAC address reservations on my router so that the RPi always gets the same IP.
Note that your would have to do 1 setup for wired and 1 for WIFI as they have different MAC addresses.

For the encryption setting... If your router is set to AES the the RPi must be set to CCMP not TKIP.

Have you tried the WIFI config utility GUI (Raspbian)?
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

User avatar
Davespice
Forum Moderator
Forum Moderator
Posts: 1665
Joined: Fri Oct 14, 2011 8:06 pm
Location: The Netherlands
Contact: Twitter

Re: Trouble connecting over wifi

Mon Nov 25, 2013 2:38 pm

Ah. You may have fallen fowl of the ifplugd daemon. This is a little process in memory which is designed to give that laptop like behaviour where you always default to the Ethernet connection. What it does is drop the wifi when you have the Ethernet plugged in.

So if you just remove it, you'll probably find you'll see an IP address for both eth0 and wlan0 in ifconfig. They will be different.

Code: Select all

sudo apt-get remove ifplugd

craigcannon
Posts: 2
Joined: Mon Nov 25, 2013 3:00 am

Re: Trouble connecting over wifi

Tue Nov 26, 2013 6:57 am

Thanks guys.

@klricks, I thought that might be the issue but didn't find it on the client list. My network security is set to Mixed WEP, might that be the problem?

@davespice I gave that a go and was no longer able to SSH in at all. haha. After that fail I tried a clean install and gave the GUI a go on a friend's monitor. I got as far as finding the adapter and the network, but it wouldn't assign an IP and just gave me the message "wps-ap-available". After fiddling with a few more settings, the adapter is no longer being found.

This setup seems much buggier than the tutorials indicate. Oy!

Phill Rymer
Posts: 207
Joined: Sun Nov 04, 2012 3:01 am

Re: Trouble connecting over wifi

Tue Nov 26, 2013 9:01 am

use connection wizard scan for network right click your wifi on scan results enter passkey ive never had any major problems doing it that way may be woth doing update and upgrade as well

Return to “Troubleshooting”