Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 17 Dec 2017, 23:49
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Kodipup takes a long time to make Internet connection
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
Lassar

Joined: 08 Jul 2014
Posts: 175

PostPosted: Thu 08 Jun 2017, 15:22    Post subject:  Kodipup takes a long time to make Internet connection
Subject description: How to make following programs wait patiently?
 

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, 17:51; edited 4 times in total
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 11295
Location: Gatineau (Qc), Canada

PostPosted: Thu 08 Jun 2017, 16:35    Post subject:  

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
~~~~~~~~~~
"Logical entities must not be multiplied beyond necessity." | |
« Il ne faut pas multiplier les entités logiques sans nécessité. » (Ockham)
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12723
Location: Arizona USA

PostPosted: Thu 08 Jun 2017, 19:51    Post subject:  

Is there not a Kodipup thread?
Back to top
View user's profile Send private message 
Geoffrey


Joined: 30 May 2010
Posts: 2313
Location: Queensland

PostPosted: Thu 08 Jun 2017, 20:15    Post subject:  

Try mavrothal's script,

http://www.murga-linux.com/puppy/viewtopic.php?p=675404#675404

mavrothal wrote:

I have this little /root/Startup script (since is will fail with no connection in pace).
Code:
#!/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

_________________
Carolina: Recent Repository Additions

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0358s ][ Queries: 11 (0.0054s) ][ GZIP on ]