Updates and package issues Updater.SH not working

i am not too computer savy, but i have been getting this error and have no idea where to go or how to fix it…if someone could give me a step by step to get the updater working(how to access the updater.sh file to correct it), it would be great…

Error from 2016/12/27 12:34:06
Updater failed:
unreachable: /tmp/crl.pem: No such file or directory

thanks in advance

also getting this
root@turris:~# opkg update
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/base1/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/lucics/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/management/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/packages/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/routing/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/telephony/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/turrispackages/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Collected errors:

Could you also post the following outputs

cat /etc/config/network

(I am not sure if you know how to connect to SSH).

root@turris:~# cat /etc/config/network

config interface 'loopback’
option ifname 'lo’
option proto 'static’
option ipaddr '127.0.0.1’
option netmask ‘255.0.0.0’

config globals 'globals’
option ula_prefix ‘fde1:e074:6e71::/48’

config interface 'lan’
option ifname 'eth0 eth2’
option force_link '1’
option type 'bridge’
option proto 'static’
option netmask '255.255.255.0’
option ip6assign '60’
option ipaddr ‘192.168.1.6’

config interface 'wan’
option ifname 'eth1’
option proto 'static’
option ipaddr '192.168.1.6’
option netmask '255.255.255.0’
option gateway ‘192.168.1.1’

config interface 'wan6’
option ifname '@wan
option proto ‘dhcpv6’

config switch
option name 'switch0’
option reset '1’
option enable_vlan ‘1’

config switch_vlan
option device 'switch0’
option vlan '1’
option ports ‘0 1 2 3 5’

config switch_vlan
option device 'switch0’
option vlan '2’
option ports ‘4 6’

could you add this on the config interface 'lan' part.

So it should look something like this after you have done it.

config interface 'lan'
option ifname 'eth0 eth2'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '192.168.1.6'
list dns '8.8.8.8'
list dns '8.8.4.4'

Also a few questions. Looking at your network-config file you have the gateway for WAN setup as 192.168.1.1. Do you have a separate internet router from your internet-provider or so? If that is the case, please change the WAN ip address and lan ip address.

You are using the same ip-address (192.168.1.6) for both, which could be problematic, as they also are on the same subnet so to say. Forgot to mention to also place the list dns with the WAN part, just to be sure.

config interface 'wan'
option ifname 'eth1'
option proto 'static'
option ipaddr '192.168.1.6'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
list dns '8.8.8.8'
list dns '8.8.4.4'

is there a way to just do this in putty. and yes i have a separate router and the ip of that router is 192.168.1.1

I wanted to tell you to install “nano”(an easy editor, but realized you have no internet connection XD). Although i am not sure if this would work, but i THINK it would.

Go to LuCi (webinterface), Network–>DHCP and DNS–>DNS forwardings

add both

8.8.8.8
8.8.4.4

Click safe and apply (all the way down the page)

Also go to Network–>interfaces

with WAN click on edit and change the ip-address to something else then 192.168.1.6. For example to 192.168.1.7 or something like that.

done

i have the internet working, but it will not update

Downloading https://api.turris.cz/openwrt-repo/omnia/packages/base1/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/lucics/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/management/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/packages/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/routing/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/telephony/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/turrispackages/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Collected errors:

Can you do this

opkg update

opkg update

Downloading https://api.turris.cz/openwrt-repo/omnia/packages/base1/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/lucics/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/management/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/packages/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/routing/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/telephony/Packages.gz.
Downloading https://api.turris.cz/openwrt-repo/omnia/packages/turrispackages/Packages.gz.
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
curl: (6) Couldn’t resolve host 'api.turris.cz
Collected errors:

command failed (Code: 1792)

Oke, have you also changed interfaces? (WAN).

Gave a different ip-address?

You don’t have internet, then let’s change something using putty.

type in

vi /etc/config/network

Then push “INSERT” button on your keyboard

add these lines also on the config interface 'wan' part.

list dns '8.8.8.8'
list dns '8.8.4.4'

After that push ESC, then push SHIFT ; then type wq! then push ENTER

will not let me out after i add…then if i close it, i have to recover

I know you are doing something wrong, but let’s try something different first.

Oke time for more “hardcore” then XD.

type

wget https://217.31.192.101/openwrt-repo/omnia/packages//packages/nano_2.6.0-1_mvebu.ipk

After you have downloaded the file type

opkg install nano_2.6.0-1_mvebu.ipk

want me to give you remote access? lol…i feel like you can do this in 2 mins

root@turris:~# wget https://217.31.192.101/openwrt-repo/omnia/packages//packages
/nano_2.6.0-1_mvebu.ipk
Conversion from ‘UTF-8-CODE-UNITS’ to ‘UTF-8-CODE-UNITS’ isn’t supported
–2016-12-27 23:51:36-- https://217.31.192.101/openwrt-repo/omnia/packages//packages/nano_2.6.0-1_mvebu.ipk
Connecting to 217.31.192.101:443… failed: Host is unreachable.
root@turris:~#

I though this was a DNS-issue, but you just do NOT have internet at all through that hahah. As you cannot even get the ip-address.

Have you plugged the cable in the WAN-outlet?

weird thing is I have internet and it working when i plug ethernet not in the wan

does not work in the wan

You have 5 LAN-ports and you have also a WAN port.

To be able to have internet on your Omnia, not necessarily on your phone or laptop, you MUST have the WAN port somehow connected.

To give you my example. I also have the Internet-provider router and my Omnia. I am connected to the internet-provider router through WiFi. I have configured the WiFi connection that is connected to the internet-provider to be my WAN.

So it looks something like this.

My network and its devices —>cable+WiFi–>Omnia—WiFi-connected(WAN)—>Internet-provider router.

If i would connect to my internet-provider router, i could not connect to the devices that are connected on the Omnia, OR i’d have to accept all the data going to the Omnia through WiFi. However i use the internet-provider router ONLY for internet that’s it. So my WAN-port (physically is empty)

So could you please tell me what you are using your internet-provider router for?