- Joined
- Sep 16, 2008
- Messages
- 5
- Reaction score
- 0
- Points
- 1
Hi,
I need to find ip address of connected server.
If i connect my server using smb then i can get the ip and path using mount command in terminal.
If i connect my server using afp then mount command did not show the ip.
my mount output is
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s3 on /Volumes/BOOTCAMP (ntfs, local, read-only, noowners)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
afp_00yVhe00yVhe00yVhe00yVhe-3.2e000003 on /Volumes/06macdata02 (afpfs, nodev, nosuid, mounted by luser)
//[email protected]/d on /Volumes/172.16.3.225 (smbfs, nodev, nosuid, mounted by luser)
//[email protected]/cetools on /Volumes/cetools (smbfs, nodev, nosuid, mounted by luser)
//[email protected]/data on /Volumes/data (smbfs, nodev, nosuid, mounted by luser)
afp_00yVhe00yVhe00yVhe00yVhe-2.2e000009 on /Volumes/06macdata01 (afpfs, nodev, nosuid, mounted by luser)
Here i connect 06macdata01 from 172.16.3.206 server. How can i find this ip address using terminal command or from applescript?
Thanks in advance...
I need to find ip address of connected server.
If i connect my server using smb then i can get the ip and path using mount command in terminal.
If i connect my server using afp then mount command did not show the ip.
my mount output is
/dev/disk0s2 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
/dev/disk0s3 on /Volumes/BOOTCAMP (ntfs, local, read-only, noowners)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
afp_00yVhe00yVhe00yVhe00yVhe-3.2e000003 on /Volumes/06macdata02 (afpfs, nodev, nosuid, mounted by luser)
//[email protected]/d on /Volumes/172.16.3.225 (smbfs, nodev, nosuid, mounted by luser)
//[email protected]/cetools on /Volumes/cetools (smbfs, nodev, nosuid, mounted by luser)
//[email protected]/data on /Volumes/data (smbfs, nodev, nosuid, mounted by luser)
afp_00yVhe00yVhe00yVhe00yVhe-2.2e000009 on /Volumes/06macdata01 (afpfs, nodev, nosuid, mounted by luser)
Here i connect 06macdata01 from 172.16.3.206 server. How can i find this ip address using terminal command or from applescript?
Thanks in advance...