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 23 Nov 2014, 18:19
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Puppy lose connection? after request to renew? (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Author Message
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 17 Jan 2010, 05:52    Post subject:  Puppy lose connection? after request to renew? (Solved)
Subject description: Throough a switch, not a router
 

This is my wild guess about what is happening.

I have a frugal install of puppy 4.3 on a Compaq/HP SR5622SC Desktop and it is connected to a kind of WAN or is it LAN? As a newbie I fail to get such things anyway it is not real router it is a "Switch" to a Fiber thing in the Cellar and that one take care of all of us in the house. maybe 20 people.

so each of us have our IP and that one get renewed maybe each 20 minutes or whatever. I simply don't know. Maybe it takes hours.

anyway. Windows can handle that request and Puppy does not.

I lose connection after some time and can not renew it without restarting the whole computer.

How can I tell puppy to automatically accept a renewal request from the "Switch in the basement"?


Nooby


PS. Can somebody good at network explain this "Switch" thing.

Usually one always have routers but they have explicitly said we have no such. It is a Switch.

Is that really secure? Can my neighbors spy on me through that common to everybody "Switch"?

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Thu 17 Jun 2010, 06:24; edited 1 time in total
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Mon 18 Jan 2010, 14:15    Post subject:  

Even more embarrassing for Puppy is that I installed Jolicloud which is a remix of UNR a Ubuntu Netbook Remix. And I used that one on youtube for hours without it behaving as bad as Puppy.

So Puppy 4.3 need to learn how to keep a connection out of the box.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Fri 29 Jan 2010, 08:47    Post subject:  

I really need help with this.

but it seems it is a general Linux issue and not a Puppy only issue.

I use Ubuntu the other day and it lost connection with ISP too.

Windows recreate that connection instantly while Linux doesn't do it out of the box.

where does one check some x or box that allow it to regain connection if it get lost.

Mu ISP does this check to see which of us that still are active and if one just read text then they don't know that one are active surfing.

Just my wild guess. How does one regain connection?

Rebooting the JWM?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6455
Location: Auckland, New Zealand

PostPosted: Fri 29 Jan 2010, 20:35    Post subject:  

I imagine there's a proper way to do it, but I think you should at least be able to get a new lease by running
Code:
killall dhcpcd
dhcpcd eth0
(assuming your network interface is eth0.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 30 Jan 2010, 02:19    Post subject:  

I must test this next time it happens.

Don't most linuxes do this code if one reload the Desktop? much easier for a newbie to remember?

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6455
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 04:11    Post subject:  

I wouldn't have thought so. I think dhcpd is supposed to automatically renew the lease and you might be able to avoid the problem by adjusting some of its parameters. But I don't really know anything about it; if you don't find a proper solution the best workaround might be to put that code in a little script on your desktop or something so you can run it easily.
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 30 Jan 2010, 04:18    Post subject:  

That is a really cool idea. As a nooby one even fail to copy such a text to the terminal.

the best thing would be to have all linux os to be aware of such "renewal of IP request so the automatically give the expected respons. An "acknowledge of request" thing.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
OverDrive

Joined: 02 Jan 2006
Posts: 165
Location: Cleveland, OHIO,USA

PostPosted: Sat 30 Jan 2010, 10:13    Post subject:  

Nooby, I agree automatic would be best. If you haven't done this already, IMHO the next best way would be to cut and paste that into a text editor,
Save it as a file into /root/my-applications/bin/
Use rox filer/properties to change permissions to owner executable
Then drag it on to your desktop
Then you will have a icon that you just click to renew.

OverDrive

_________________
Instant Puppy Fan!!!
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 30 Jan 2010, 10:51    Post subject:  

Very good suggestion. I try to achieve this within some days. Just now I am totally absorbed trying to get my frugal install of linux mint to save things.

Now I use gedit and save bookmarks to a html file that I place in or on the HDD and use filebrowser to go for it each time I start up Mint but that is a but cumbersum but it does work.

Now I must test if I can save html files from the net in my HDD.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
OverDrive

Joined: 02 Jan 2006
Posts: 165
Location: Cleveland, OHIO,USA

PostPosted: Sat 30 Jan 2010, 10:58    Post subject:  

Or you could put something like this in /root/Startup/

Code:

# Nooby's Auto renew DHCP lease script

while [ 0 ]                      # repeat for ever
do
   sleep 900                      # sleep for 15 minutes before repeating
   killall dhcpcd                    # kill current DHCP session
   sleep 1                       # wait a second may not be needed
   rm -f /var/lib/dhcpcd/*.info        #cleanup last session details
   rm -f /var/run/*.pid              #cleanup last session details
   dhcpcd -t 30 -h puppypc -d eth0    #start new DHCP session
done



That would make it automatic for you....
Don't forget to make it owner executable...

OverDrive

_________________
Instant Puppy Fan!!!
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 30 Jan 2010, 11:08    Post subject:  

Wow, thanks indeed for putting this much effort into trying to help me out.

It will be interesting to test later when I am good at doing such things.

Don't edit it out now Smile Your a Gemstone of generosity.

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
OverDrive

Joined: 02 Jan 2006
Posts: 165
Location: Cleveland, OHIO,USA

PostPosted: Sat 30 Jan 2010, 11:14    Post subject:  

You are very welcome.

My father-in-law taught me that in order to have good neighbors, You have to *be* a good neighbor and I'm Just giving back to our wonderful global village we have here....

OverDrive

_________________
Instant Puppy Fan!!!
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sat 30 Jan 2010, 11:21    Post subject:  

That sure is an attitude that I have to learn to follow too. Altruism kind of too.

I usually fail to find the right tone in my texts on the internet so native speaking english users see me as very hostile or as a trouble maker and they get very upset when I talk linux.

When I read my own text it is very friendly but very naive and verbose and too much of all. Okay it lack a lot too. Stringens and consistency and lack knowledge about what I write.

You loving puppy even more than I do. Have you ever thought of why other linux supporters are so unaware of what is accepted by us puppy friends that we take it for granted that our DVD can save multisessions. That a frugal install of linux can save changes.

I mean why did they not allow that in Linux Mint. Had they not heard the new how Puppy is well behaved and can do neat tricks?

Beats me as we say over here. Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send private message 
OverDrive

Joined: 02 Jan 2006
Posts: 165
Location: Cleveland, OHIO,USA

PostPosted: Sat 30 Jan 2010, 11:57    Post subject:  

Nooby, I am sure if I had to speak a language that not native to me I would come across harshly too. Don't feel bad. It takes years of effort to add sweetness to your *own* native dialect, let alone a foreign one. The first step is the one you have already taken, To pre-warn that this is not your native language and you may not use it as well as you would like to. That sets the tone to allow for errors or misunderstandings. You also may have to repeat or remind others as they may not have read or retained the original statement. I have a lot of respect for people who have made the effort to learn a different language. I studied German in high school and never used it afterwards and so now it is lost.

As for multisession and frugal features that is the pure brilliance of Barry's departing from the norm. Because the Linux / Unix foundation is based in multi-user mode, the majority of effort is in that line of thinking.

Barry had the fortitude to forge his own path in this Linux world and some pretty savy people followed with him to form a darn good team. And so now we have like i said, "This wonderful little global village".

As you learn, don't forget to give back to the next "nooby" that comes along...

All the best...

OverDrive

_________________
Instant Puppy Fan!!!
Back to top
View user's profile Send private message 
OverDrive

Joined: 02 Jan 2006
Posts: 165
Location: Cleveland, OHIO,USA

PostPosted: Sat 30 Jan 2010, 12:04    Post subject:  

By the way. In regards to switch versus router.

A switch does not have a firewall so make sure you activate the puppy firewall for protection.

Routers usually have a active firewall, that is the difference....

OverDrive

_________________
Instant Puppy Fan!!!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [26 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0912s ][ Queries: 13 (0.0119s) ][ GZIP on ]