Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1878  / 1 Year ago, wed, february 22, 2023, 7:19:17

I have a clean install of Mythbuntu 11.10 acting as a frontend only. It is networked using eth0 and I have a router acting as a DHCP server on the same subnet.



The frontend boots and automatically logs on and runs Myth frontend.



However approximated every 3 out of 4 boots, the box has not yet obtained an IP address via DHCP before myth starts. This causes Myth to enter a configuration mode. If I cancel out, then Myth starts normally, as the DHCP response has been received.



How do I change the boot to wait for a DHCP response before logging on?


More From » networking

 Answers
6

Thanks Oli, I went with your option 3, which I'll describe here in case anyone else is interested:




  1. Uninstall the network manager in xmbc (not sure this is essential, but I don't need it):



    # apt-get remove network-manager

  2. Configure /etc/network/interfaces by adding:



    auto eth0
    iface eth0 inet dhcp

  3. Tell lightdm so start only when an interface other than loopback comes up, in additional to the existing trigger conditions, by changing the start trigger in /etc/init/lightdm.conf



    start on ((filesystem
    and runlevel [!06]
    and started dbus
    and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
    or stopped udev-fallback-graphics)
    and net-device-up IFACE!=lo)
    or runlevel PREVLEVEL=S)



I added the condition net-device-up IFACE!=lo.



So far it seems to work well.


[#42801] Thursday, February 23, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
riffnkful questions
Thu, Nov 17, 22, 04:24, 1 Year ago
Mon, Nov 28, 22, 01:40, 1 Year ago
Mon, Jul 11, 22, 13:24, 2 Years ago
Sun, Feb 5, 23, 05:06, 1 Year ago
;