Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

ssh or sshd or what?

Hi. I ain't too computa smart so please take it easy on me.


My problem is with a home network - the following takes place behind a Nat router.


I have a MacBook pro upstairs with the ssh remote login system pref on. I can successfully log in from my iPad if it has not been too long since a reboot. Over time (I don't know how long or any commands to elicit such info, but its in the realm of an hour or two) the server seems to be stopping. I don't think it's the iPad since I have no such prob with another Linux server on the network. I assume it's stopping because I can't login. (The connection fails thru an app called goodreader, but also with a remote desktop app and another remote-y type app which sends nzb jobs to the MacBook.)


If I go to the MacBook and ssh the other server then the MacBook's server is back up and running.


This is not something I wish to do. Can anybody help?


MacBook pro is late 2008 unibody with latest SL.


Cheers in advance

Mac OS X (10.6.7)

Posted on Jun 9, 2011 8:47 AM

Reply
37 replies

Jun 23, 2011 4:13 PM in response to Wagringo

OK, so if I understand, you can ping the Linux device, but not the MBP, from the iPad. You can also connect to the local network from the MBP. So the problem is that the MBP stops responding to incoming network packets when left idle for some time. If that's correct, then I suggest you try this first:


Intel-based Macs: Resetting the System Management Controller (SMC)


If that doesn't work, try this and test:


Mac OS X: Starting up in Safe Mode

Jun 25, 2011 7:14 PM in response to Linc Davis

Smc reset was effected yesterday. For the remainder of the day there was no issue connecting to the mbp. I left the MacBook awake all night so to see if I could connect this morning - again I couldnt ping the mbp.

Perhaps more interesting is that after I pinged the iPad from the mbp, the mbp began responding to ping quests from the iPad, yet mbp would not allow an ssh connection or remote desktop connection.

Anyway, I have now booted safe mode so will see what happens over the next 24 hours...

Jul 7, 2011 11:04 PM in response to Wagringo

Just thought i should say thanks for yor helps!


Haven't really figured out what's going on. I had splashtop remote running on MacBook pro and having that turned off seems to have improved connection between iPad and mbp somewhat. Perhaps it was the smc reset. I don't know because I tried more than one thing at a time.

Sometimes powering down the iPad and restarting seems to do the job, so now iPad is prime suspect. It's just odd that iPad doesn't seem to have any prob's at all with the Linux box. Ach well...


Cheers anyway

Aug 14, 2011 3:49 AM in response to Linc Davis

I know this is a late response, but I am still having the same issue all this time later.

I have since done a wipe of my MBP and reinstall of SL, so really have very little running on it now. I have a feeling now that an airport express in the network (being used solely to stream music) may be having some effect

Why?

Last night when I had these issues between MBP and iPad it occurred to me that neither were streaming to the AEX either. I unplugged and restarted the AEX and instantly the iPad and MBP were communicating again.

I have hard reset the AEX but the problem persists.

Any ideas?

(I posted for help/advice on airport forum but got no response at all over there!)


Cheers

Aug 14, 2011 5:42 PM in response to Wagringo

The only thing I can think to ask, is whether the Airport Express is configured as its own subnet?

That is to say, it is not in "Bridge Mode", and the Airport Express is its own little world. As you roam around your iPad sees the Airport Express as a stronger signal and jumps ship, only to find it no longer has bonjour access to the other systems in your home.


When I have multiple WiFi base stations in my home, I configure one as the home router, all other units are either set to extend the network via WiFi, or they are connected via ethernet, given the same SSID and password, and their routing capabilities are turned off (Airport Express would be Internet -> Connection Sharing -> Bridge Mode)

Aug 14, 2011 5:58 PM in response to Linc Davis

I did indeed boot safe mode, and things worked well for a good number of hours - say 6-7 - and then the same issues arose again. To be honest, the MBP was playing silly ever since I had upgraded to SL, probably due to some mistake when migrating stuff from Leopard. Anyways, I wiped and wrote over the disk last week and reinstalled SL; now everything is running sweetly with the exception of this network problem.


There is something fishy in that it is only the MBP-iPad-AEX components of the network that are miscommunicating.


Cheers

Aug 14, 2011 6:03 PM in response to Linc Davis

Maybe the MacBook Pro is the one that switched alliances :-)


I guess I could also ask if the Airport Express is configured to extend the WiFi via WiFi, or if it is setup to do its own thing, which happens to be on the same WiFi Channel as the router's WiFi channel. Could cause interference.


But mostly I'm guessing. In prior posts, I do not remember any mention of multiple WiFi base stations.

Aug 14, 2011 6:20 PM in response to BobHarris

In the below table the iPad is 192.168.1.8 and the AEX is .1.6

Fifth in my list when I ifconig (and i therefore assume that this refers to link#5) is the correct modem/router 192.168.1.254.

Now because I dont know much bout this sorta thang... When I connect to 192.168.1. is it correct that the Gateway should be the final destination?

Also, I am not sure what 169.254.159.117 is, but it looks suspiciously like the address that the AEX was trying self-address when I was resetting it the other day. I did manually configure it, but it took at least two attempts to get the AEX to not self-address after restart.


Thanks a lot for your help so far!


Internet:

Destination Gateway Flags Refs Use Netif Expire

default 192.168.1.254 UGSc 11 0 en1

127 127.0.0.1 UCS 0 0 lo0

127.0.0.1 127.0.0.1 UH 2 60509 lo0

169.254 link#5 UCS 1 0 en1

169.254.159.117 f0:b4:79:5:8f:ab UHLW 0 0 en1 1131

192.168.0/16 link#5 UCS 5 0 en1

192.168.1.5 20:cf:30:a2:69:90 UHLWI 1 4362 en1 278

192.168.1.6 f0:b4:79:5:8f:ab UHLWI 1 7 en1 1194

192.168.1.7 127.0.0.1 UHS 1 2052 lo0

192.168.1.8 a4:d1:d2:2d:fb:9d UHLWI 4 91 en1 1172

192.168.1.254 0:4:ed:7c:68:5 UHLWI 17 2632 en1 1065

192.168.255.255 link#5 UHLWbI 2 288 en1

ssh or sshd or what?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.