opkg update returned 4

Home Forums Conduit: AEP Model opkg update returned 4

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #29902
    Justine
    Participant

    Hi,

    I’m having troubles with the gateway to update the packages. I’m getting this :
    admin@mtcdt:~# opkg update
    Downloading http://multitech.net/mlinux/feeds/3.3.22/all/Packages.gz.
    Downloading http://multitech.net/mlinux/feeds/3.3.22/arm926ejste/Packages.gz.
    Downloading http://multitech.net/mlinux/feeds/3.3.22/mtcdt/Packages.gz.
    Collected errors:
    * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3.22/all/Packages.gz, wget returned 4.
    * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3.22/arm926ejste/Packages.gz, wget returned 4.
    * opkg_download: Failed to download http://multitech.net/mlinux/feeds/3.3.22/mtcdt/Packages.gz, wget returned 4.

    I have found that this means there is a network failure, but I think that my network is functionning :
    admin@mtcdt:~# ping 8.8.8.8
    PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
    64 bytes from 8.8.8.8: icmp_seq=1 ttl=49 time=133 ms
    64 bytes from 8.8.8.8: icmp_seq=2 ttl=49 time=64.5 ms
    64 bytes from 8.8.8.8: icmp_seq=3 ttl=49 time=70.8 ms
    ^C
    — 8.8.8.8 ping statistics —
    3 packets transmitted, 3 received, 0% packet loss, time 2002ms
    rtt min/avg/max/mdev = 64.551/89.588/133.381/31.073 ms

    Could someone help me with this issue ?
    Thanks
    Justine

    #29905
    Jason Reiss
    Keymaster

    Try to see if the DNS is being resolved?
    The links look to be working.

    # nslookup multitech.net

    #29906
    Justine
    Participant

    Ah no, it can’t be resolved :

    admin@mtcdt:~# nslookup multitech.net
    Server: 127.0.0.1
    Address 1: 127.0.0.1 localhost

    nslookup: can’t resolve ‘multitech.net’

    Do you know what I should change ?
    Thank you

    #29908
    Jason Reiss
    Keymaster

    What packages are you looking to update?

    On AEP normally an update image is applied.
    They are available here.

    Downloads

    #29911
    Justine
    Participant

    Hi,

    I’m trying to follow this : https://github.com/trong63/python_mqtt_sample
    I would like to easily display the MQTT data from the broker with a client, if I’m right.

    Could you tell me how to know the MTCDT version I should download ?

    Thank you

    #29913
    Justine
    Participant

    I managed to update the firmware on the gateway. I used the 1.6.4 version.

    Thank you

    #29914
    Jason Reiss
    Keymaster

    The python mqtt packet should be in v1.6.4 and greater.

    admin@mtcdt:~$ opkg list | grep mqtt
    python-paho-mqtt – 1.1-r0.0

    #29920
    Justine
    Participant

    Yes, thank you, it worked 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.