• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

dhcp issue - Lenovo E73 - Realtek RTL8111GN

Scheduled Pinned Locked Moved
General
4
45
7.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    pdit
    last edited by Apr 18, 2019, 11:36 PM

    Here is screen shot of error i am getting. It is only happening to Lenovo E73 model desktops.

    20190418_163116.jpg

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Apr 19, 2019, 2:45 AM Apr 19, 2019, 8:45 AM

      @pdit Maybe our link detection is failing on this particular NIC. But I kind of doubt this as we simply use standard Linux tools and information from the kernel to figure this out. Really sounds like a spanning tree issue. Different NICs might behave in different ways here.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • P
        pdit
        last edited by Apr 19, 2019, 3:54 PM

        so what can we do ? we will need this fog server to do imaging.currently most of our desktops are E73 model.

        G 1 Reply Last reply Apr 19, 2019, 5:09 PM Reply Quote 0
        • G
          george1421 Moderator @pdit
          last edited by george1421 Apr 19, 2019, 11:09 AM Apr 19, 2019, 5:09 PM

          @pdit what I want you to do is manually register this E73 host with the fog server. Then schedule a capture/deploy (don’t care) but before you hit the schedule task button, tick the debug checkbox then schedule the task.

          PXE boot the target computer. After a few enter key presses you will be dropped to a linux command prompt.

          1. Key in ip addr show. Look to see if the target computer has an IP address. If not record the name of the ethernet adapter (like eth0 or eno33, or what ever) go to the next step.

          2. Key in /sbin/udhcpc -i $iface --now were $iface is the name of the ethernet adapter found in step one. Does this now pickup an IP address. If not then go to step 3

          3. Key in lspci -nn |grep -i net and post the results here.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

          1 Reply Last reply Reply Quote 1
          • P
            pdit
            last edited by Apr 25, 2019, 6:44 PM

            George, I ran debug task as you requested. here is picture showing the result. It did pickup IP after step 2 so didn’t bother doing 3rd step. let me know what this means and what can i do to fix this.

            20190425_113710.jpg

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Apr 25, 2019, 7:02 PM

              @pdit Please do me a favor and boot up your client for another debug session. This time run cat /sys/class/net/eth0/carrier, take a picture and post here as well. This is the link detection we are using in the scripts.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • P
                pdit
                last edited by Apr 25, 2019, 7:13 PM

                Just ran the command and it returns with nothing. here is picture.

                20190425_120913.jpg

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Apr 25, 2019, 7:56 PM

                  @pdit Ahhhh, too bad, we can’t see the output as your screen does not seem to be properly calibrated with the resolution used by the Linux kernel. Can you try re-calibrating the display before running the command so we get all the information on the left end of the output. Otherwise we need to do some bash magic. Running the following command lines should also work if you can’t fix the display stuff:

                  linkstate=$(cat /sys/class/net/eth0/carrier)
                  [[ $linkstate -eq 1 ]] && echo "Yeah, we got link here" || echo "Tooooo bad, Linux kernel is not able to detect the link"
                  

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • P
                    pdit
                    last edited by Apr 25, 2019, 8:48 PM

                    Sorry about the screen issue. I just calibrated it and ran command again, This time it returned with “1”

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Sebastian Roth Apr 25, 2019, 10:10 PM Apr 26, 2019, 4:08 AM

                      @pdit Ok, now we know that our link state check in the startup scripts is indeed working as well for your network card. So question remains, why does it take more than 35 seconds after boot up to change its link state to UP?

                      Sure we can adjust the wait time for you but I suspect this time to be caused by either spanning tree or energy efficency settings on your switch.

                      You said that you have an isolated setup with a dumb switch. Which switch model exactly are you using??

                      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                      1 Reply Last reply Reply Quote 0
                      • P
                        pdit
                        last edited by Apr 26, 2019, 4:45 PM

                        I use following 2 switches. I get same problem in both. but when same switches are used with in network fog server there is no problem. it only happens with one particular desktop and in isolated setup only.

                        https://www.linksys.com/us/p/P-LGS108P/
                        https://www.amazon.com/KEEBOX-SGE05-1000Mbps-Gigabit-Ethernet/dp/B004FM58MO/ref=sr_1_fkmrnull_2?crid=3C2KC43XR3UPQ&keywords=keebox+switch&qid=1556297026&s=gateway&sprefix=keebox+%2Caps%2C192&sr=8-2-fkmrnull

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Apr 26, 2019, 5:29 PM

                          @pdit The Linksys LGS108P is not a real old school dump switch. Take a look at the specs and you’ll see it does have Spanning Tree features.

                          The KEEBOX SGE05 seems to be more of a dump one.

                          I’ll upload modified init’s in the next hour for you. Let’s see if that is of any help to you.

                          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by Apr 26, 2019, 6:22 PM

                            @pdit Try those inits: https://fogproject.org/inits/delay/init.xz and https://fogproject.org/inits/delay/init_32.xz (both have the timeout increased from 35 to 120 seconds - let’s see if that works for you)

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            1 Reply Last reply Reply Quote 0
                            • P
                              pdit
                              last edited by Apr 26, 2019, 6:42 PM

                              Please provide instructions how to do this.

                              T 1 Reply Last reply Apr 26, 2019, 6:48 PM Reply Quote 0
                              • T
                                Tom Elliott @pdit
                                last edited by Apr 26, 2019, 6:48 PM

                                @pdit

                                mv /var/www/fog/service/ipxe/init{,_orig_26-APR-19}.xz
                                mv /var/www/fog/service/ipxe/init_32{,_orig_26-APR-19}.xz
                                wget -O /var/www/fog/service/ipxe/init.xz --no-check-certificate https://fogproject.org/inits/delay/init.xz
                                wget -O /var/www/fog/service/ipxe/init_32.xz --no-check-certificate https://fogproject.org/inits/delay/init_32.xz
                                

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pdit
                                  last edited by Apr 26, 2019, 8:40 PM

                                  i have updated inits and tried to PX boot again but it made no difference. now it says 120 seconds instead of 35.

                                  98ea8f5c-e228-47f6-ada1-36799fb5e6c1-image.png

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Apr 27, 2019, 4:02 AM

                                    @pdit Really strange. Why would it detect the link properly after you get to the shell? Can you possibly connect your client directly to the FOG server just for a quick test? Just to get those switches out of the equation for the moment?

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      pdit
                                      last edited by Apr 29, 2019, 4:22 PM

                                      “no link detected on eth0” which port is it talking about ? Fog server or the desktop that is being imaged/captured ?

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by Apr 29, 2019, 4:28 PM

                                        @pdit Well if you connected those directly, then I would assume both don’t have a link.

                                        In the old days there were cross over cables for connecting PCs/server directly without switch. But that was 15 years ago. Do you see a link up LED on the server or desktop when both are connected to each other and switched on??

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pdit
                                          last edited by Apr 29, 2019, 4:35 PM

                                          It does same thing even if they are connected directly. But my question was about "eth0’ which fails to come up. which port is this ?

                                          Also would you mind explaining me the process that is going on right from pxe booting until the computer starts being imaged or captured ?

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            15/45
                                            Last post

                                          140

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project