Page 1 of 1

Kodipup takes a long time to make Internet connection

Posted: Thu 08 Jun 2017, 19:22
by Lassar
Using kodipup for my media center.

Kodi comes up and starts looking up updates, and fails before
it gets an Internet connection.

I need to modify the bash script so that it will wait until it gets an Internet connection before launching kodi.

Assuming that puppy linux already knows your internet address, is
there any way to get it to get an Internet connection faster?

Is network wizard any faster then frisbee?

Posted: Thu 08 Jun 2017, 20:35
by musher0
Hello, Lassar.

Click on the connection icon in the tray, it will bring up the connection wizard.
Then follow the prompts.

If you have used this wizard during your 1st session with your Puppy, Internet
connection should now be automatic every time you boot your Puppy.

If not, use "frisbee" as your "Internet connector"? It never failed me!

IHTH

Posted: Thu 08 Jun 2017, 23:51
by Flash
Is there not a Kodipup thread?

Posted: Fri 09 Jun 2017, 00:15
by Geoffrey
Try mavrothal's script,

http://www.murga-linux.com/puppy/viewto ... 404#675404
mavrothal wrote: I have this little /root/Startup script (since is will fail with no connection in pace).

Code: Select all

#!/bin/sh

IFCONFIG="`ifconfig | grep '^[pwe]' | grep -v 'wmaster'`"
while [ "$IFCONFIG" != "" ]; do
	sleep 1
    ping -c 1 8.8.8.8 
    if [ $? -eq 0 ];then
		break
	else
		ping -c 1 www.google.com
		if [ $? -eq 0 ];then
			break
		fi
	fi
done

tweather
It will run Kodi once there is a internet connection, just replace the tweather command with Kodi