Can I force my Fedora Server to send an email when booted?
Asked by
Waffle (
248
)
February 10th, 2009
Here is what I would like to happen:
1) The server is powered on (Running Fedora 9)
2) It retrieves the “inet addr” from eth0 “216.93.XXX.XXX”
3) It emails the number “216.93.XXX.XXX” to my adress
I would like this to all happen on start up without having to do anything other than press the power button.
Is this possible?
Observing members:
0
Composing members:
0
5 Answers
Yes. It’s fairly straightforward, too.
But what you might want to do is register with a dynamic DNS service like dyndns.org and use something like ddclient to update that automatically.
OOooo… I already have a dyndns account so that sounds fairly simple. The server is connected through my college’s network so I get a different internet address every time I start it up. Can ddclient detect that and then update my hostname?
Okay, I have ddclient installed. Do you think you can walk me through configuration for my dyndns account and having it start on boot?
I think there are probably an amazing number of tutorials and references for this on the Internet, and I think you should start there first. Configuring computers to suit other people is something I charge a consulting fee for.
Answer this question 
This question is in the General Section. Responses must be helpful and on-topic.