1

I installed Debian Jessie (gnome) on one of my machines today and it went smoothly except for the wifi.

Calling this machine A, I set up an ssh connection with machine B (using an rsa key) and then I did the same for a connection from B to A. This all worked fine except the connection from B to A had quite a delay (but only with wifi). From B, I tried the command

# ssh -v user@A

using wireless and then I saved the output. Doing the same for a wired connection and using diff let me see that the difference was:

(wireless)

debug1: connect to address "my-ip-address" port 22: No route to host

(wired)

debug1: Connecting to "Machine-A" ["my-ip-address"] port 22.

Note that the ip addresses were different between these two outputs. This made me think that something was blocking the connection for wifi, so I looked at iptables. This isn't something I know much about, but I tried to check the status with:

# service iptables status

and got the output:

● iptables.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

Next I tried nmap and with a wireless connection (on B) the command:

# nmap "hostA" -PN -p ssh

gave the output:

Starting Nmap 6.00 ( http://nmap.org ) at 2015-08-13 21:15 EDT
Nmap scan report for "hostnameA" (192.168.1.82)
Host is up.
Other addresses for "hostnameA" (not scanned): 192.168.1.85
PORT   STATE    SERVICE
22/tcp filtered ssh

Nmap done: 1 IP address (1 host up) scanned in 2.38 seconds

This looks like a firewall issue.

Trying it with a wired connection gives the output:

Starting Nmap 6.00 ( http://nmap.org ) at 2015-08-13 21:17 EDT
Nmap scan report for "hostnameA" (192.168.1.82)
Host is up (0.0051s latency).
Other addresses for "hostnameA" (not scanned): 192.168.1.85
PORT   STATE SERVICE
22/tcp open  ssh

Nmap done: 1 IP address (1 host up) scanned in 0.39 seconds

It connects either way, but this is too slow for what I need to do and it indicates the possibility of other problems.

In the installation process, the firmware that I needed for a wifi connection was non-free, so I used a wired connection and once debian was actually installed, I got the firmware and could connect to the internet with wifi. (Perhaps this is not relevant)

Thanks in advance for any help and let me know what additional information you need.

EDIT: nslookup hostname gives two ip addresses ...72 and ...82. I tried changing the ip address and the first changed, but the 82 stayed the same. In /etc/resolv.conf, there is only an entry.

nameserver ..*.***

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.