dietpi-software connection test fails (rpi2-jessie) Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Badok

dietpi-software connection test fails (rpi2-jessie)

Post by Badok »

Hi guys.
First of all, nice distro that is. I love that you have optimised software installs available.

I was playing around with it on my RPi2. Everything went fine until I tried to open up dietpi-software again.
As I said, the first installation went fine without any problems. But now it told me, I had no internet connection. But I did, as the raspi-config connection test successfully noticed. raspi-software still did not.
I surfed around and found some mentions and probable sources for the problem including solutions. None seemed to apply. I do not use WiFi. DHCP goes fine. I can ping and wget -spider that mirrorsomething.raspberrypi.org and so on.

Finally I found a thread here where the guy had timout issues and just loosened the timeouts a bit.
So - even though someone said, it should be fixed in releases - I went ahead and checked that. Timeouts aren't it either. I then noticed that I had never seen the test-address being printed out. So I figured, it might be that it isn't passed on properly.
I simply wrote the mirrorsomething.raspwtf.org you use in there and I can deal with it not being a "clean" solution, but you might want to check both these scripts about that. Though I guess it's raspi-software's fault.

Ah, almost forgot: I have the current V133 running here.

tl;dr; Something is wrong in passing on the connection check address from raspi-software to /DietPi/dietpi/func/check_connection in V133 (at least). You might wanna check that out.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-software connection test fails (rpi2-jessie)

Post by Fourdee »

Hi,

Thanks for the report and results.
As I said, the first installation went fine without any problems. But now it told me, I had no internet connection. But I did, as the raspi-config connection test successfully noticed. raspi-software still did not.

I can ping and wget -spider that mirrorsomething.raspberrypi.org and so on.
Few questions:
- Which image version are you writing to SD (eg: DietPi_v129_xxxxxxx.img)?
- Which apt mirror were you using on the system (eg: http://mirror.ox.ac.uk/sites/archive.ra ... e/raspbian)

In the mean time, i'll check the scripts and scrape code, see if anythings up.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
User avatar
Fourdee
Site Admin
Posts: 2787
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-software connection test fails (rpi2-jessie)

Post by Fourdee »

Notes

dietpi-config > check connection is:

Code: Select all

/DietPi/dietpi/func/check_connection http://mirrordirector.raspbian.org
dietpi-software > connection test is:
#As of v131, the default apt mirror is : http://mirror.ox.ac.uk/sites/archive.ra ... e/raspbian

Code: Select all

INTERNET_URL_TEST=$(cat /etc/apt/sources.list | grep -m1 "deb http" | awk '{print $2}')
/DietPi/dietpi/func/check_connection "$INTERNET_URL_TEST"
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply