General Question

Waffle's avatar

Can I force my Fedora Server to send an email when booted?

Asked by Waffle (248 points ) 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

cwilbur's avatar

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.

Waffle's avatar

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?

Waffle's avatar

Okay, I have ddclient installed. Do you think you can walk me through configuration for my dyndns account and having it start on boot?

cwilbur's avatar

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.

Waffle's avatar

Alrighty then. Thanks.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther