Solved

Need to know my PPPoE dinamicly assigned IP address

Posted on 2004-04-12
3
218 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 50 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

820 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