How to tell when another computer connects

How can you determine if another computer on your network or the internet connects to your Mac? The appfirewall.log will log any attempt to connect, but does not tell if the connection was successful or not. For instance - "Allow smbd connecting from 10.0.1.4:49999 to port 139 proto=6" is reported in the log whether the connection attempt succeeded or failed.
Is there no way to determine when a remote share connects to your Mac for file sharing?
Message was edited by: Larry Gage

If by "connects" you mean AFP filesharing, I have not heard of a notification for that. You can run this command in Terminal, which reports all AFP users connected:
netstat -na | grep 548
You can wrap the command in an Applescript for more convenience, then run it from the Applescript menu:
tell application "Terminal"
if not (exists window 1) then do script ""
do script "netstat -na | grep 548" in front window
end tell

Similar Messages

  • WRT54G Disconnects when another computer connects

    Hello,
    I have a WRT54G v5 Wireless-G Broadband Router. My 100MB fiber optic line is connected directly to the router and the router connects to my internet account with no problem. The main computer that I use is directly connected to the router via LAN cable to one of the 4 ports. At this point I never have any issues at all and no disconnections. Then when my laptop connects wirelessly to the router for internet access the router disconnects and reconnects immediately. Then I can resume work as normal until the next time the laptop connects to the router again. In the router settings the wireless area is set to "B-Only" on Channel 11 2.462GHz.
    Can anyone tell me how to fix this issue so that the laptop can connect without causing the router to disconnect and reconnect each time?
    Thank you!!
    Ed

    So you had this same problem? And setting the router to use either B or G solved it? That seems strange. I have 4 computers. 2 are wired to 2 of the 4 ports. Other 2 are wireless using G-capable adapters. So I configured my router to do G only. I figured why not--it is one more step in security since B clients won't even be able to connect. I'm also sure I read something in the Linksys docs that implied it was better to lock the router to one or the other if you know that's all you need to support.
    Anyway, I'm going to try this like you suggest. I don't have the exact same problem. My problem is that I just lose connection between computers and the router "randomly" for 10 seconds to 2 minutes then mysteriously the wireless network will be found again. The signal is either non-existent or excellent. The router is about 10 feet from the computers and without any walls between. My router is a v1--old, but I have latest firmware available as of last week.

  • How do I add another computer to my account to authorize

    How do I add another computer to authorize on my account list so I can use or redeem my gift cards and use my store credit?

    You can authorize up to 5 computers.
    To authorize you need to install iTunes on the computer to be authorized:
    Open iTunes
    From Store in the menu bar, choose Authorize This Computer. (If the menu bar is not visible hit CTRL-B).
    When prompted, enter your Apple ID and password, then click Authorize.
    iTunes Store: About authorization and deauthorization

  • How do i authorize another computer if my original computer is broken?

    How do i authorize another computer if my original computer is broken and no longer works???????

    You can authorise your account via the Store > Authorise This Computer menu option - if you are using a PC with iTunes 11 on and the menus aren't showing then control-B should get them to show

  • How do I authorize another computer to use iTunes?

    how do I authorize another computer to use iTunes?

    For a computer running Mac OS X, move the cursor to the very top of the computer's screen, click on Store in the menu bar, and choose Authorize this Computer.
    For a computer running Windows, press the Alt and S keys and choose Authorize this Computer, or click here, follow the instructions, click on Store in the menu bar, and choose Authorize this Computer.
    (122147)

  • How to tell when downloading raw and jpeg images is complete

    i just installed lr 3 and have a new mb 8 gb of ram and dont know how to tell when the download of raw and jpeg is done .ie the time from thumbnail to full down loads

    There should be a progress bar in the upper left corner when in library module.

  • TS1702 how do i authorize another computer for iTunes ?

    how do i authorize another computer for iTunes ?

    You can authorise your account on a computer's iTunes via Store > Authorise This Computer (you can have a maxumim 5 computers authorised at any one time) : authorising and deauthorising.

  • HT5569 Yesterday, my ability to receive gmail, facebook, safari,etc.ceased on my ipad2. The wifi shows it is connected and the cisco router works ok with another computer connection.  Can anyone tell me what I need to do with ipad in order to get it worki

    Yesterday, my ability to receive gmail,facebook,safari,etc. ceased to perform  The wifi connections shows that  it is connected but I cannot get through the internet .  I use a Cisco router and it is working fine with another computer and also a printer. I contacted the internet provider and they show the ipad at the router but not out through the internet. Also, yesterday my wife eliminated some programs(games,etc) from the ipad.  Anway, I am thinking I am missing some setting that is not turned on as everything seems to be working fine.
    Any suggestions?

    Settings > General > Reset > Reset Network Settings

  • TS1474 how to sync with another computer without losing contacts

    i have got another laptop and when i connect it to my laptop it says it needs to erase whats on my phone and resync with the laptop.
    any help on how i can sync to my laptop without losing anything.

    The iPhone is not intended to sync to multiple computers, even if manually managed (unlike other iOS devices).
    There is a workaround where you copy your iTunes library file from the computer you normally use to another computer, and boot the other iTunes with your library file.  You then update the "new" library on the other computer with whatever new files you want to transfer to the iPhone.  As long as your iPhone remains manually-managed, you should be able to drag and drop the new items to the iPhone.

  • How do I recover another computer's time machine backup to an external drive

    I did much searching on this and came up dry on how to clone a new drive on one computer (A) from a Time Capsule backup from another computer (B) for the purpose of installing on that other computer (B).
    Specifically, I want to replace the drive in my wife's MacBook Pro (Snow Leopard 10.6.8) with an SSD. I have a drive Dock that can be attached to the iMac (Mavericks 10.9.3) with FireWire 800 (and also to the MBP using a much slower USB2). I wanted to allow her to use her MacBook Pro (browsing only, no new documents or emails) while I used my iMac to create her boot drive from her Time Capsule backup, but couldn't figure it out. Migration Assistant assumed I was migrating to my own Mac or to a remote Mac running MA. I couldn't figure out how to get CCC to just see one backup on Time Machine as input rather than the entire volume with all the backup versions. Everything I found with Google assumed I was using the MBP for the restore. CCC won't clone to a remote drive either--local only.
    This is academic at this point as I connected the dock to the MBP over USB and am now using CCC to the attached drive, which will take several hours during which I assume we shouldn't be using the MBP. Maybe that was the only way all along? I suppose another way would have been to install the SSD in the MBP and boot from a DVD and use Migration Assistant. I'm just curious for the future as I help friends upgrade from time to time.

    Since you don't really have a question, I will give you a very broad information source for the next time you have a Time Machine question.
    Please visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Oh, you cannot use a computer whose only disk drive is the target of a an OS X cloning operation regardless of what software is used for the clone. You can, however, use the source drive except if you try to clone using Disk Utility.

  • How to tell when the interface is down and was last active.

    Is there a function within Cisco Prime Infrastructure 2.0 (2.0.0.0.294) that will display the last time that an interface was active? Our end switch hardware is as follows C2960s-48fps and C3750-48PS-S.
    See below for command and command output from the console of one of our switches.
    C2960s-48fps#show int gi1/0/6 | include Last | proto
    GigabitEthernet1/0/6 is down, line protocol is down (notconnect)
    Last input never, output 1w6d, output hang never
    Above is an example of one interface but can this be accomplished for all interfaces on the said switch?
    Thanks
    Message was edited by: Bobby Sasser The following is the response that Cisco TAC sent. Not happy with this answer! Unfortunately , Prime doesn’t collect those precise information. So apparently you won’t be able to poll that information from the device.

    You have not posted to code for Stopper, so it's impossible to reason about that
    1. How can I tell when thread is finished?
    Use Thread.Join() or Thread.isAlive()
    2. How do I kill this thread once it is finished?
    You can't and you don't. Just let the method the thread is running exit normally. Sometimes that means putting in a boolean variable to control a loop, and then exiting when the boolean is false.
    Another thought - you could set the thread as a Daemon thread - when you don't have any non-daemon threads running, java will exit.

  • Thread: How to tell when the thread is finished AND how to kill it?

    Hi there,
    I have a thread that runs in the background and does this:
    class MyThread implements Runnable 
              public void run()
                   Stopper stopper = new Stopper();
                            //do something that takes some time
                            stopper.stop();
                            System.out.println("total time "+stopper.getTime());
    }this works fine (I have a swing gui where I click a button and this thread runs and it's ok. PROBLEM IS, when I click the button again (to re-activate the thread) it seems that the stopper is not null but still counting the time (I was under the impression that ...= new Stopper() will create a new object type Stopper).
    so -
    1. How can I tell when thread is finished?
    2. How do I kill this thread once it is finished?
    the invocation:
         public void actionPerformed(ActionEvent arg0)
              Thread t = new Thread( new MyThread());
              t.start();          
         }THANK YOU!

    You have not posted to code for Stopper, so it's impossible to reason about that
    1. How can I tell when thread is finished?
    Use Thread.Join() or Thread.isAlive()
    2. How do I kill this thread once it is finished?
    You can't and you don't. Just let the method the thread is running exit normally. Sometimes that means putting in a boolean variable to control a loop, and then exiting when the boolean is false.
    Another thought - you could set the thread as a Daemon thread - when you don't have any non-daemon threads running, java will exit.

  • How to tell when the load to start

    Hi,
    don't even know where to look for the answer, so I apologize
    if this topic was already opened. Here's my case. In main flash
    movie load another flash movie, where different items come from
    left and right side of the screen (full screen window). After a
    click on one item, all the item go the sam eway off the screen and
    another movie loads. Question. How to tell the flash that first all
    the items must go off the screen and then unload that movie and
    load the new one?
    THX for the help

    jo3 wrote:I'm curious to know what time my system lost power, whats a good way to tell? I have been checking the logs to get the last entry times but was curioius if there were other methods of telling when the box's power was interrupted?
    A rather ghetto way of doing it:
    #!/bin/bash
    log="/var/log/uptime-poll"
    pollsecs=10
    echo $$ > /var/run/uptime-poll.pid
    if [[ -f "$log.tmp" ]]; then
    echo "Lost power at: `cut -d';' -f2 "$log.tmp"`" >> "$log.log"
    fi
    while :; do
    date +'%s;%D %T' > "$log.tmp"
    sleep $pollsecs
    done
    ...and in /etc/rc.local.shutdown...
    killall $(cat /var/run/uptime-poll.pid)
    rm /var/run/uptime-poll.pid
    rm /var/log/uptime-poll.tmp
    Last edited by Wintervenom (2009-08-29 06:37:29)

  • What is an access point? How do I allow another computer on my wireless network?

    First of all a basic question, what is an access point? I am trying to allow another computer to access my wireless network and have no idea where to begin. I have seached the Linksys product support website, but was not able to find the help I need and am confused as to what to do. The home computer that my router is setup up to is running Windows Vista. I want to be able get on the wireless internet at my home with my work laptop, which runs Windows XP SP1. I am new to having a router, and would greatly appreciate any help.

    Hi Radeksgirl,
    A wireless access point is where your wireless computer would connect to in order to be able to access the internet wirelessly.
    Linksys wireless routers are also wireless access points, so you can connect a wireless computer to it.
    In connecting wirelessly to the router or wireless access point, it would depend on the wireless utility used on your wireless computer.
    Click here for an example on connecting a wireless computer to the router.
    Hope this helped :-)
    Good luck!  

  • Messages app - how to disable on another computer

    I logged in temporarily on another computer, not related to my home office.
    When I log into my Mac from home, I get a message that "computer xyz" (computer where I was working over the last week) was associated to my Messages account.
    Is there any way to turn off or disable the Messages app functionality on that system - remotely ?
    I won't be back at that location for some time. I can't be 100% sure the computer is being used by anybody, as this may just be a delayed message.

    Hi,
    At this point you need remote access to that computer.
    There is no Self help to De-register a Mac like there is for an iPhone https://selfsolve.apple.com/deregister-imessage
    Accessing the computer and opening the Messages app to delete the Apple ID is only part of the issue.
    You can Sign Out  but this leaves the .plists that holds your accounts Info and alternatives still readable in the ~/Library/Preferences
    It also leaves the  Keychain items for the IDS: yourAppleID-Auth Token in place.
    Ideally it might pay to delete the whole ~/Library/Preferences.
    If you think that this may be too deep  then remove all the com.apple.iChat.*.plist items
    Anything with iMessages in it.
    Plus com.apple.imagent.plist and anything with IDS  in the name  (most importantly the one with madrid in the name).
    Do the same with the Keychain.  (Any item with IDS in the name)
    Deleting your name from the iMessages account in the app does not remove it from the .plist
    Nor does it remove your alternatives that are likely to include your iPhone number.
    It would be worth deleting the contents of ~/Library/Messages as these database items hold the iMessages chat history.
    Saved chats are in ~/Library/Containers/com.apple.iChat/Data/Library/Messages/Archive
    8:50 pm      Sunday; April 5, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

Maybe you are looking for