Sponsored Content
Special Forums IP Networking Obtaining your external IP address using a Unix Utility Post 302312781 by inquen on Sunday 3rd of May 2009 11:18:32 AM
Old 05-03-2009
Hey, thanks, I'll alias this now, and turn it into a useful function that just spits out that one line. Thanks!! Smilie
 

10 More Discussions You Might Find Interesting

1. IP Networking

Obtaining IP address

How can UNIX systems obtain IP addresses? Can it obtain from Win 2000 Server, DHCP service, dynamically? (1 Reply)
Discussion started by: Raael
1 Replies

2. SCO

Looking for guidance in obtaining a job in Unix Administration

I recently took a training through a college, and have obtained the CUSA certification, but I've been looking and don't see any jobs in unix out there! Does anyone know of hidden job markets in the unix administration area, located in the Detroit - Michigan area? (4 Replies)
Discussion started by: pkali290
4 Replies

3. 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

4. IP Networking

Obtaining IP address from both my network interface

HI folks, I am developing a software which one of the module is to interchange the ip address of another active network interface's when making a socket connection. I would like to know whether there is any function call that would enable me to retrieve the ip address that is obtained by a... (2 Replies)
Discussion started by: citiz3n
2 Replies

5. OS X (Apple)

Getting the External IP Address of your Computer and Storing it in a File

My computer is one of three computer on our LAN. Our router is a Time Capsule. My computer is the only of of three computers that has been assigned a static IP address on the LAN, because it runs an Apache installation. I tinker around with web development from time to time, and I wanted to be... (7 Replies)
Discussion started by: Audacitor
7 Replies

6. 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

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

Grep a section from an UNIX file obtaining only part of the data

Hello, I have a log file that has several sections "BEGIN JOB, End of job" like in the following example: 19/06/12 - 16:00:57 (27787398-449294): BEGIN JOB j1(27787398-449294) JOB1 19/06/12 - 16:00:57 (27787398-449294): DIGIT: 0 number of present logs : 1 19/06/12 - 16:00:57... (4 Replies)
Discussion started by: mvalonso
4 Replies
wxPen(3erl)						     Erlang Module Definition						       wxPen(3erl)

NAME
wxPen - See external documentation: wxPen. DESCRIPTION
See external documentation: wxPen . DATA TYPES
wxPen() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
new() -> wxPen() See external documentation . new(Colour::colour() (see module wx)) -> wxPen() Equivalent to new(Colour, []) . new(Colour::colour() (see module wx), Options::[Option]) -> wxPen() Types Option = {width, integer()} | {style, integer()} See external documentation . getCap(This::wxPen()) -> integer() See external documentation . getColour(This::wxPen()) -> colour() (see module wx) See external documentation . getJoin(This::wxPen()) -> integer() See external documentation . getStyle(This::wxPen()) -> integer() See external documentation . getWidth(This::wxPen()) -> integer() See external documentation . isOk(This::wxPen()) -> bool() See external documentation . setCap(This::wxPen(), CapStyle::integer()) -> ok See external documentation . setColour(This::wxPen(), Colour::colour() (see module wx)) -> ok See external documentation . setColour(This::wxPen(), Red::integer(), Green::integer(), Blue::integer()) -> ok See external documentation . setJoin(This::wxPen(), JoinStyle::integer()) -> ok See external documentation . setStyle(This::wxPen(), Style::integer()) -> ok See external documentation . setWidth(This::wxPen(), Width::integer()) -> ok See external documentation . destroy(This::wxPen()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxPen(3erl)
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy