Kodipup takes a long time to make Internet connection

Under development: PCMCIA, wireless, etc.
Post Reply
Message
Author
Lassar
Posts: 235
Joined: Tue 08 Jul 2014, 20:01

Kodipup takes a long time to make Internet connection

#1 Post 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?
Last edited by Lassar on Thu 08 Jun 2017, 21:51, edited 4 times in total.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#2 Post 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
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#3 Post by Flash »

Is there not a Kodipup thread?

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#4 Post 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
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

Post Reply