On 21 Sep 2021 at 18:47, Tim via users wrote:
Subject: Re: Warm boot after Windows 10 boot - I'm
not getting a dhcpd
address from router?
To: users@xxxxxxxxxxxxxxxxxxxxxxx
Date sent: Tue, 21 Sep 2021 18:47:44 +0930
Send reply to: Community support for Fedora
users <users@xxxxxxxxxxxxxxxxxxxxxxx>
From: Tim via users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Copies to: Tim <ignored_mailbox@xxxxxxxxxxxx>
> On Tue, 2021-09-21 at 02:04 +1000, Michael D. Setzer II via users
> wrote:
> > Sometimes I miss hitting the F12 key to select the
> > flash for UEFI or standard USB boot from flash. Thus the
> > machine boots to windows.
>
> You might have a hardware solution for that. On my UEFI, it can
> provide the boot menu, and it can configure the timeout. No fighting
> with GRUB or Windows configuration. (Though in my case, the choices
> are really only boot Linux or an install DVD-ROM).
>
> > Problem, if I do a restart after the windows boots and go to the my
> > projects linux, it loads fine, but it will not get IP from dhcpd
> > server of my wifi router. Have to do a full power off on system. Then
> > it will boot ok.
>
> I have motherboards with wonky ethernet, too:
>
> If the cable is unplugged, or an ethernet switch gets de-powered, the
> network must be stopped, then restarted, manually (I use the network
> icon in the MATE taskbar to disconnect, wait a moment, then reconnect
> to a network). It just repeatedly hiccups if you don't do that. On
> one PC the network interface is manually preconfigured with a static
> IP, on the other it uses DHCP.
I have 5 machines that are linux only, and just the one
that is Windows. Been using it to test setup of my G4L
project for regular usb boot using grub4dos, and UEFI
boot using grub2. Both work fine, but the issue is
windows puts the nic in some state when it does a warm
restart that messages the dhcpc setup from the linux
client. Added the following line to the script that does the
dhcpc setup.
echo 1 > $(find /sys | grep $(lspci | grep -i ethernet | cut -f1 -d\ ) |grep reset)
finds the pci device for the ethernet, and then sets the
reset to 1
That seems to handle the process of fixing what windows
breaks.. Will have to look at modifying it to handle
systems that might have more than 1 ethernet device?
Thanks for the reply.
>
> --
>
> uname -rsvp
> Linux 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64
>
> Boilerplate: All unexpected mail to my mailbox is automatically deleted.
> I will only get to see the messages that are posted to the mailing list.
>
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure