[Résolu] Problème ifconfig deepin OS

juillet 2018 modifié dans Support technique
Bonjour,

Ayant installé deepin os (debian) sur ma machine, j'ai le problème récurrent de "Linux ifconfig failed: could not execute external program" alors que ifconfig est présent sur ma machine mais quand je fais un which ifconfig j'ai le résultat suivant : /bin/ifconfig

Mais je crois que ifconfig doit se trouver dans /sbin/ifconfig. Donc je ne comprend pas pourquoi frozenway ne trouve pas.

Merci

Réponses

  • Voila le rapport au cas où :


    FrozenWay version 1.6.6
    ----------------------------------
    Server: premium-01-fr-02
    Protocol: OpenVPN
    ----------------------------------
    Thu Jul 5 14:21:52 2018 OpenVPN 2.3.2 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Feb 18 2014

    Thu Jul 5 14:21:52 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts

    Thu Jul 5 14:21:52 2018 WARNING: file '/FrozenWay 1.6.6/bin/../etc/auth.key' is group or others accessible
    Thu Jul 5 14:21:52 2018 Control Channel Authentication: using '/FrozenWay 1.6.6/bin/../etc/auth.key' as a OpenVPN static key file

    Thu Jul 5 14:21:52 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
    Thu Jul 5 14:21:52 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication

    Thu Jul 5 14:21:52 2018 Socket Buffers: R=[87380->131072] S=[16384->131072]

    Thu Jul 5 14:21:52 2018 Attempting to establish TCP connection with [AF_INET]217.182.34.221:443 [nonblock]

    Thu Jul 5 14:21:53 2018 TCP connection established with [AF_INET]217.182.34.221:443
    Thu Jul 5 14:21:53 2018 TCPv4_CLIENT link local: [undef]
    Thu Jul 5 14:21:53 2018 TCPv4_CLIENT link remote: [AF_INET]217.182.34.221:443

    Thu Jul 5 14:21:53 2018 TLS: Initial packet from [AF_INET]217.182.34.221:443, sid=1b77cc9c f1f32c3f

    Thu Jul 5 14:21:53 2018 VERIFY OK: depth=1, C=FR, ST=France, L=Paris, O=FrozenWay, OU=FrozenWay, CN=FrozenWay, emailAddress=admin@frozenway.com

    Thu Jul 5 14:21:53 2018 VERIFY OK: nsCertType=SERVER
    Thu Jul 5 14:21:53 2018 VERIFY OK: depth=0, C=FR, ST=France, O=FrozenWay, OU=FrozenWay, CN=FrozenWay, emailAddress=admin@frozenway.com

    Thu Jul 5 14:21:53 2018 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Thu Jul 5 14:21:53 2018 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

    Thu Jul 5 14:21:53 2018 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Thu Jul 5 14:21:53 2018 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication

    Thu Jul 5 14:21:53 2018 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA

    Thu Jul 5 14:21:53 2018 [FrozenWay] Peer Connection Initiated with [AF_INET]217.182.34.221:443

    Thu Jul 5 14:21:55 2018 SENT CONTROL [FrozenWay]: 'PUSH_REQUEST' (status=1)

    Thu Jul 5 14:21:55 2018 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 10.2.0.1,dhcp-option WINS 10.2.0.1,route 10.2.0.1,topology net30,socket-flags TCP_NODELAY,ifconfig 10.2.0.94 10.2.0.93'

    Thu Jul 5 14:21:55 2018 OPTIONS IMPORT: --socket-flags option modified
    Thu Jul 5 14:21:55 2018 Socket flags: TCP_NODELAY=1 succeeded
    Thu Jul 5 14:21:55 2018 OPTIONS IMPORT: --ifconfig/up options modified
    Thu Jul 5 14:21:55 2018 OPTIONS IMPORT: route options modified
    Thu Jul 5 14:21:55 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified

    Thu Jul 5 14:21:55 2018 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlp2s0 HWADDR=e4:70:b8:73:28:9b

    Thu Jul 5 14:21:55 2018 TUN/TAP device tun0 opened

    Thu Jul 5 14:21:55 2018 TUN/TAP TX queue length set to 100

    Thu Jul 5 14:21:55 2018 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Thu Jul 5 14:21:55 2018 /sbin/ifconfig tun0 10.2.0.94 pointopoint 10.2.0.93 mtu 1500

    Thu Jul 5 14:21:55 2018 Linux ifconfig failed: could not execute external program

    Thu Jul 5 14:21:55 2018 Exiting due to fatal error
  • Salut,

    Oui, ifconfig devrait se trouver dans /sbin, étrange... /sbin/ifconfig ne donne rien ? Sinon essaye de créer un lien symbolique dans /sbin et re test.
  • juillet 2018 modifié
    Super ça a fonctionné avec le lien symbolique

    Merci
Cette discussion a été fermée.