This page looks best with JavaScript enabled

Assigning Temporary IP Address for MythTV

 ·  ☕ 1 min read

Background

I have had several instances where my MythTV server (backend and frontend on single server) has lost its network connection, at which time recordings continue; however, the frontend can no longer connect to the backend as the backend’s IP address no longer exists (due to loosing its network connection).

Details

I generally resolve the issue by restoring the server’s network connection but recently ran into a circumstance where this was not possible as the server is not going to have network access for some time. Upon investigating how to resolve this I remembered the ip addr command that allows temporary (lost upon reboot) assigning of an IP address:

$ ip addr add 192.168.1.33 dev eth0

To check/verify use the ‘show’ option:

$ ip addr show

Upon setting the above I can instantly start up my myth-frontend and connect to the backend!

Notes

  • Change the ip address and network interface (eth0) to match your needs.
Share on

drad
WRITTEN BY
drad
Sr. Consultant