New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Is there a way to display the local IP address on the desktop?


Post Reply New Thread Subscribe

 
Thread Tools
ou81aswell

 
Member Since: Oct 24, 2011
Posts: 6
ou81aswell is on a distinguished road

ou81aswell is offline
I'm new to Mac, OSX and Lion.

I'd like to have the local IP address (192.168...) along with the IP address(s) of the DNS and gateway displayed on my desktop. How do I do this?

Thanks.
QUOTE Thanks
osxx

 
osxx's Avatar
 
Member Since: Jan 19, 2008
Location: houston texas
Posts: 4,661
osxx is a name known to allosxx is a name known to allosxx is a name known to allosxx is a name known to allosxx is a name known to allosxx is a name known to allosxx is a name known to all
Mac Specs: 09 MBP 8GB ram 500GB HD OS 10.9 32B iPad 4 32GB iPhone 5 iOs7 2TB TC Apple TV3

osxx is offline
You could just type in Stickies and it would come up when you click on it or type it in Text Edit and do the same thing.
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 3,215
cradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant futurecradom has a brilliant future
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
Can do that and other things via Geektool.

Craig Domingue - resident redneck.
“Never argue with an idiot. He will only bring you down to his level and beat you with experience.”, George Carlin
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 18,074
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
If you need commands for GeekTool:
DNS Servers (Wi-Fi):
Code:
networksetup -getdnsservers Wi-Fi
DNS Servers (Ethernet):
Code:
networksetup -getdnsservers Ethernet
IP Address (there are other ways to get this but I like this since the output is nice and simple):
Code:
python -c "import socket; print(socket.gethostbyname(socket.gethostname()))"
Default Gateway (you might want to verify this one first:
Code:
netstat -nr | grep "^default" | awk '{ print $2 }'

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
ou81aswell

 
Member Since: Oct 24, 2011
Posts: 6
ou81aswell is on a distinguished road

ou81aswell is offline
Geektools looks like it's just the ticket. Thanks!
QUOTE Thanks
shanlon

 
Member Since: Oct 21, 2011
Location: Chicago, IL
Posts: 37
shanlon will become famous soon enough
Mac Specs: 27" 2011 iMac // 12GB RAM // 1TB HDD // 6770MB 512

shanlon is offline
Is there a way to use this tool and insert multiple commands into a single shell widget? Seems counter intuitive to have a separate widget for each individual command.

15" 2010 Macbook Pro / i5 // 8GB RAM // 128GB SSD
Late 2009 Mac Mini // Snow Leopard Server
Drobo FS - 9.02TB
iPhone 4 16GB
QUOTE Thanks

Post Reply New Thread Subscribe


« Disk utility error | Small Business Accounting Software - Australia »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
10.3.9 - Apple Remote Desktop - Disable Local Input CyberAxe OS X - Operating System 1 01-22-2010 04:50 PM
Problem with desktop display trixare4kids Apple Notebooks 0 09-13-2008 09:25 PM
Wireless Display Desktop on tv? EskimoRuler Other Hardware and Peripherals 1 09-01-2008 11:05 AM
Desktop icons display in B&W Sawday OS X - Operating System 2 08-28-2008 07:42 AM

All times are GMT -4. The time now is 01:24 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?