PDA

View Full Version : [ubuntu] cannot ssh over wifi



davidgutu
January 18th, 2013, 08:42 PM
I have a machine I cannot ssh to over wifi from my computer. Ssh works over ehternet. I can also connect to it from another machine (even on another unconnected network in a different geographical location). I have flushed out all my iptables by running:

iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT

I have also stopped ufw (
sudo service stop ufw) but none of it has worked. Any ideas?

I have tried pinging to the machine but it fails from my laptop. It works form other locations.

If I switch to windows, it all works. Thanks

ahallubuntu
January 18th, 2013, 09:38 PM
Are you connected by WiFi to the same router that you are connected to via Ethernet?

Sure the settings are "automatic" with each one of them?

dpurgert
January 18th, 2013, 10:29 PM
check that you're not blocking port 22 over the wireless (who knows...) or that the wireless isn't on a "blocked" network segment (e.g. the ssh server allows from 192.168.1.50-99, and wireless starts at 192.168.1.100)

lisanels47
January 19th, 2013, 01:47 AM
Some routers have a setting in there about wifi isolation or something like that. It prevents two wifi devices from connecting to each other. Turn that off.

Look in the wifi settings on the router. Maybe in the advanced settings.

ahallubuntu
January 19th, 2013, 02:20 AM
Some routers have a setting in there about wifi isolation or something like that. It prevents two wifi devices from connecting to each other. Turn that off.

Look in the wifi settings on the router. Maybe in the advanced settings.

Oh, I'll bet you that's the problem!

Aergan
January 19th, 2013, 05:58 PM
Have had the same problem, wireless isolation enabled on the router/access point. If there is no option to turn it off then assume it's set to enabled.

davidgutu
January 22nd, 2013, 03:05 PM
I'm actually at a college so I can't reset wifi access points. It also works on another operating system, say windows. I think the problem is somewhere within my settings.