FOGProject / fos

FOG Operating System
30 stars 33 forks source link

More advanced information when network issues occur #42

Open Sebastian-Roth opened 2 years ago

Sebastian-Roth commented 2 years ago

People keep running into the same situation with newer hardware and we need to ask the same questions all the time.

  1. Are you SURE you are using the latest kernel? Which version exactly?
  2. What network adapter do you have? PCI IDs?
  3. Is there some firmware missing your network card needs? Output of dmesg

Would be easy to add this information to the network script: https://github.com/FOGProject/fos/blob/master/Buildroot/board/FOG/FOS/rootfs_overlay/etc/init.d/S40network#L59

rluzuriaga commented 11 months ago

@Sebastian-Roth With all my testing, the output of dmesg does't give me any information that would be worth it. The output of dmesg is huge so do you have any grep keywords that may help? If not, I could do something like dmesg | tail -20.

Sebastian-Roth commented 11 months ago

@rluzuriaga We would definitely need to use grep to find some interesting information. I think tailing the output is not worth anything. If I remember correctly a dmesg | grep -i firmware should do. This should show messages like

Direct firmware load for rtl_nic/rtl8168g-2.fw failed with error -2
eth0: unable to load firmware patch rtl_nic/rtl8168g-2.fw (-2)

Also see in the forums.