Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. eth0: error fetching interface information: Device not found

eth0: error fetching interface information: Device not found

Scheduled Pinned Locked Moved Support
11 Posts 3 Posters 694 Views
  • 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.
  • A
    A
    atlantia
    wrote on last edited by
    #1

    I have registered FOP2 using:

    /usr/local/fop2/fop2_server --register -i eth3

    and entered my code, to which I received "registration successful"

    however when I try to start fop2_server directly I get

    [root@phone fop2]# ./fop2_server
    eth0: error fetching interface information: Device not found
    Can't get info from ifconfig: at script/fop2_server.pl line 6220.

    This machine's ifconfig (with IP address changed)

    ifconfig
    eth3 Link encap:Ethernet HWaddr F2:73:87:A9:B1:23
    inet addr:2.6.3.03 Bcast:2.255.255.255 Mask:255.255.255.224
    inet6 addr: fe80::g173:67ff:fea9:b123/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1313656 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1248081 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:274011187 (261.3 MiB) TX bytes:312163579 (297.7 MiB)

    eth4 Link encap:Ethernet HWaddr D2:8C:C9:0C:FC:48
    inet addr:10.10.10.250 Bcast:10.255.255.255 Mask:255.255.0.0
    inet6 addr: fe80::d108c:c6ff:fe0c:fb48/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7843966 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1220403 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:894205378 (852.7 MiB) TX bytes:260356468 (248.2 MiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:4077 errors:0 dropped:0 overruns:0 frame:0
    TX packets:4077 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:2344468 (2.2 MiB) TX bytes:2344468 (2.2 MiB)

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      You must pass the "-i eth3" every time you run fop2

      ./fop2_server -i eth3
      

      Best regards,

      1 Reply Last reply
      0
      • A
        A
        atlantia
        wrote on last edited by
        #3

        Any way to do this via the init script?

        Edit: Also, this is still not working. It starts but when I try to login it acts as though the backend is down (attempting login...).

        Here is what I get at the CLI

        [root@phone fop2]# ./fop2_server -i eth3
        Flash Operator Panel 2 - White Label Version.
        Use of uninitialized value in hash element at script/fop2_server.pl line 5834.
        Use of uninitialized value in numeric gt (>) at script/fop2_server.pl line 5846.
        Use of uninitialized value in numeric gt (>) at script/fop2_server.pl line 5846.
        Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 5857.
        Use of uninitialized value in concatenation (.) or string at script/fop2_server.pl line 5857.'

        Edit: this is with iptables disabled for testing, so it's not a port issue afaik.

        1 Reply Last reply
        0
        • N
          N
          nicolas
          wrote on last edited by
          #4

          Depending on your version you set the OPTIONS variable in the init script. For fop 2.24 on centos the file is /etc/sysconfig/fop2 . Older fop2 versions is in the very same init script /etc/rc.d/init.d/fop2

          For debian its in /etc/init.d/fop2 for versions prior to 2.24 and /etc/default/fop2 for 2.24.

          set the OPTIONS="" line including your -i eth3 parameter

          In any case, having it licensed or not, you should be able to login. fop2_server must be running and binding to port 4445/tcp.

          netstat -lnp | grep 4445

          should display the port open with fop2_server as it process name

          1 Reply Last reply
          0
          • A
            A
            atlantia
            wrote on last edited by
            #5

            Working now, thanks nicolas.

            1 Reply Last reply
            0
            • A
              A
              atlantia
              wrote on last edited by
              #6

              Nicolas,

              Me again. Trying to upgrade to 2.26 to resolve an issue with Chrome on this same system.

              Getting the error below. Is there a way to specify the interface while upgrading? I have my OPTIONS set in sysconig, not sure how to pass that variable to make.

              Thanks

              eth0: error fetching interface information: Device not found
              Can't get info from ifconfig: at script/fop2_server.pl line 6878.

              Upgrade Aborted. License reactivation failed.

              Be sure you have internet access from this server,
              and that your code is not older than a year.

              If your license has expired, you must renew it in order to upgrade,
              but you can still use your current FOP2 version for as long as you want.

              If you already bought an upgrade code please run the following command:

              server/fop2_server --upgrade

              If the upgrade is successful run make again to retry the installation.

              1 Reply Last reply
              0
              • A
                A
                atlantia
                wrote on last edited by
                #7

                It should be noted the serial code is less than a year old.

                1 Reply Last reply
                0
                • A
                  A
                  atlantia
                  wrote on last edited by
                  #8

                  More issues.

                  Did a full revoke and reinstall: removed /usr/local/fop2 /var/www/html/fop2 and /etc/init.d/fop2 + make in the 2.26 directory.

                  When I try to register my serial I get:

                  License Activation

                  Enter your serial code: REDACTED

                  Serial code not available for version 2.26.

                  You can register only version 2.20.

                  I will email you my current serial, it was purchased in January and the previous version was 2.24.

                  Scott

                  1 Reply Last reply
                  0
                  • N
                    N
                    nicolas
                    wrote on last edited by
                    #9

                    revoke / register only works with the same FOP2 version. If you want to upgrade fop2, you do not have to remove anything, nor revoke the license. Just download, extract and run make.

                    1 Reply Last reply
                    0
                    • S
                      S
                      skri11a
                      wrote on last edited by
                      #10

                      Hello Nicolas,

                      When running 'make install' to upgrade from 2.24 to 2.26 it errors out with:

                      eth0: error fetching interface information: Device not found
                      Can't get info from ifconfig: at script/fop2_server.pl line 6878

                      Upgrade Aborted. License reactivation failed.
                      ...

                      I know it's because it should be looking at eth1.

                      Did the upgrade truly fail or do I need to do something different than "make install" to get it to upgrade?

                      Thanks for any advice you can offer.

                      1 Reply Last reply
                      0
                      • N
                        N
                        nicolas
                        wrote on last edited by
                        #11

                        Hi,

                        The problem is in the Makefile that is not smart enough to get the interface parameter. You have to edit the Makefile, look for the line that runs fop2_server with the --reactivate option, and just add -i eth1 to that line, something like:

                          server/fop2_server --reactivate  -i eth1; \
                        

                        Then run "make" again.

                        Best regards,

                        1 Reply Last reply
                        0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        Powered by NodeBB Contributors
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups