Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need to know my PPPoE dinamicly assigned IP address

Posted on 2004-04-12
3
Medium Priority
?
247 Views
Last Modified: 2010-03-18
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?
0
Comment
Question by:jclobocar
3 Comments
 
LVL 10

Expert Comment

by:Luxana
ID: 10809479
have you try from console

# ifconfig PPPoE
or
# ifconfig | more

0
 
LVL 1

Author Comment

by:jclobocar
ID: 10809757
ok. but there is nobody in the office to issue the command!
0
 

Accepted Solution

by:
DriversDriversDrivers earned 200 total points
ID: 10810905
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Screencast - Getting to Know the Pipeline
Suggested Courses

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question