Need to know my PPPoE dinamicly assigned IP address

I have a Linux Box who has its IP address assigned via PPPoE.
I need to access the machine when I am out of my office.
How can I know the dinamicly assigned IP address to start a SSH session?
LVL 1
jclobocarAsked:
Who is Participating?
 
DriversDriversDriversConnect With a Mentor Commented:
How about automatically sending an email out each time your linux box connects to the net?

ifconfig | mail -s ifconfig my@email.address

in the file /etc/ppp/ip-up

you don't even really need the ifconfig bit - the ip address should appear in the firs recieved part of the headers.
0
 
LuxanaCommented:
have you try from console

# ifconfig PPPoE
or
# ifconfig | more

0
 
jclobocarAuthor Commented:
ok. but there is nobody in the office to issue the command!
0
All Courses

From novice to tech pro — start learning today.