Sponsored Content
Operating Systems OS X (Apple) Getting the External IP Address of your Computer and Storing it in a File Post 302214016 by DukeNuke2 on Friday 11th of July 2008 06:21:15 PM
Old 07-11-2008
ifconfig won't be of any help in this case... your external ip is assigned to your router. you have to read the ip from your router (if this is possible).
why don't you use a ddns service like DynDNS: DNS Hosting, Email Delivery and Other Services ?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Connecting an external SCSI drive to a unix computer

I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong? Any input would be... (3 Replies)
Discussion started by: teruotor
3 Replies

2. HP-UX

Connecting To An External Network Using A logical (PACKAGE) IP Address

Hie everyone, I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration: Primary Server IP Address : n.n.n.202 Secondary Server IP Address : n.n.n.212 Package IP Address : n.n.n.211 ... (1 Reply)
Discussion started by: cchilenga
1 Replies

3. IP Networking

Obtaining your external IP address using a Unix Utility

Hello, this is my first post on the Unix forums. This is something that's been bothering me for a while, is there any particular UNIX/Linux application that will allow you to see you external IP address? :confused: ( The address beyond your router ) Thank you in advance, I could not find a... (4 Replies)
Discussion started by: inquen
4 Replies

4. IP Networking

How to find the IP address of a computer that I am connected to?

Hi all, One of my computers (an iMac) was recently stolen, but I have been able to connect to it over the internet through Apple's 'back to my mac' feature. In order for the police to find these people they need to know the IP address of the stolen computer. I suspect that I will have find the... (6 Replies)
Discussion started by: RJFoulston
6 Replies

5. UNIX for Dummies Questions & Answers

How to set server's ip address, router, network mask and set if it is an internal or external ip?

Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b: I stopped at .. :( #!/bin/sh A=`hostname -i` echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies

6. UNIX for Dummies Questions & Answers

Storing PDF File

Hi, We have generated Some BO reports and These BO reports Needs to be stored in PDF File format in unix server. Will Unix Support to store PDF Files ? Many Thanks Sashu (1 Reply)
Discussion started by: Sashanth_S
1 Replies

7. OS X (Apple)

mailx to external email address

Hi, How can I use "mailx" command to send message to an email address like this? echo "This email body" | mailx -s "my subject" "email@hostname.com" There may be some setup required in sendmail or postfix?? OS = Snow Leopard 10.6 (4 Replies)
Discussion started by: FlyingSquirrel
4 Replies

8. Shell Programming and Scripting

External IP Address of Linux Server

Hi, I am trying to find the external IP address of a server "XXX". I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45 Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22 Out of these two numbers, what number... (1 Reply)
Discussion started by: forums123456
1 Replies

9. IP Networking

Ping domain indicates the external ip address and not the local ip

when i execute from local machine ping domainname i get the external ip address but i am on local dns and i expect the local ip address.. using nslookup : no problem so i cannot find why... thanks (2 Replies)
Discussion started by: activedms
2 Replies

10. UNIX for Beginners Questions & Answers

Finding specific string in file and storing in another file

Text in input file is like this <title> <band height="21" isSplitAllowed="true" > <staticText> <reportElement x="1" y="1" width="313" height="20" key="staticText-1"/> <box></box> <textElement> <font fontName="Arial" pdfFontName="Helvetica-Bold"... (4 Replies)
Discussion started by: aankita30
4 Replies
WICD-WIRED-SETTINGS.CONF(5)					File Formats Manual				       WICD-WIRED-SETTINGS.CONF(5)

NAME
wicd-wired-settings.conf - controls Wicd's wired network settings DESCRIPTION
This file contains configuration information for wired interfaces in Wicd. This file is located at /etc/wicd/wired-settings.conf SETTINGS
default = <0|1> This option decides whether to use this profile as the default. 0 = do not use this profile as default. 1 = use this profile as default. beforescript = <None|arbitrary_script> This defines a script to run before Wicd brings up the connection. The script should be a Bourne-compatible script and should be executable. IMPORTANT - scripts should ONLY be writable by root and located in a directory that is only writable by root. afterscript = <None|arbitrary_script> This defines a script to run after Wicd brings up the connection. The script should be a Bourne-compatible script and should be executable. IMPORTANT - scripts should ONLY be writable by root and located in a directory that is only writable by root. predisconnectscript = <None|arbitrary_script> This defines a script to run before Wicd disconnects the interface. The script should be a Bourne-compatible script and should be executable. postdisconnectscript = <None|arbitrary_script> This defines a script to run after Wicd disconnects the interface. The script should be a Bourne-compatible script and should be executable. IMPORTANT - scripts should ONLY be writable by root and located in a directory that is only writable by root. ip = <None|ip_address> Use this option if you have a static ip address for your system. netmask = <None|networkmask> This setting is only appropriate if a static ip address is configured above. broadcast = <None|broadcast_address> This setting is only appropriate if a static ip address is configured above. gateway = <None|gateway_address> This setting is only appropriate if a static ip address is configured above. use_static_dns = <True|False> True = use static DNS servers instead of accepting what the dhcp server supplies. use_global_dns = <True|False> True = use the global DNS servers provided in wicd-manager-settings.conf(5). This option is only appropriate if "use_static_dns = True" dns1 = <None|ip_address> Static DNS address if "use_static_dns = True" and "use_global_dns = False" dns2 = <None|ip_address> Static DNS address if "use_static_dns = True" and "use_global_dns = False" dns3 = <None|ip_address> Static DNS address if "use_static_dns = True" and "use_global_dns = False" SEE ALSO
wicd(8), wicd-curses(8), wicd-manager-settings.conf(5), wicd-wireless-settings.conf(5). wicd-1.7.2.4 WICD-WIRED-SETTINGS.CONF(5)
All times are GMT -4. The time now is 05:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy