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 Tue 03 Mar 2015, 15:03
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
HOSTNAME fixes ROX slowness problem - SOLVED
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Author Message

Joined: 11 Dec 2006
Posts: 1157
Location: Lower Columbia Basin WA US

PostPosted: Thu 11 Aug 2011, 19:18    Post_subject: Re: LightHouse64 PUP is handling it correctly  

gcmartin wrote:
I am appealing to TazOC for some insights that could be applied in the 32bit community (or ALL PUPs, in general).
The only change to Personalize Settings in Lighthouse 64-511 Update 1 (related to hostname) is the same one that Shinobar has incorporated at line 1199 of /usr/sbin/countrywizard.qs in firstrun-1.8.4:
   hostname $HOSTNAME
   echo -n $HOSTNAME > /etc/hostname
   echo " localhost $HOSTNAME" > /tmp/hosts
   grep -vw 'localhost'  /etc/hosts >> /tmp/hosts
   [ -s /tmp/hosts ] && mv -f /tmp/hosts /etc/hosts
I appreciate Shinobar's fine work on this, as well as his and others efforts to improve NLS support. 01Micko's method to ensure a unique hostname seems like a good idea as well. Combined with Personalize Settings, the user is free, if so desired, to change the numerical suffix (or the entire hostname) to something easy to remember.

I also changed a line in /usr/sbin/ipinfo from
   # tab 1 - interfaces
   var01=`echo Hostname: "$HOSTNAME"`
   # tab 1 - interfaces
   var01=`echo Hostname: "$(hostname)"`
so that it reflects any change to hostname without having to reboot.

lhpup.org Lighthouse 64 6.02
Back to top
View user's profile Send_private_message Visit_website 

Joined: 20 Jul 2010
Posts: 2907
Location: New Zealand

PostPosted: Tue 16 Aug 2011, 04:32    Post_subject:  

gcmartin - well done in bringing clarity to this.

If I may defend rcrsn51's comments - maybe he feels as I do, that Puppy has allowed "free-thinkers" to compute the way they want to, without adhering to external "standards".

Windows has its own approach to "standards" - it is a quicksand.
Mac imposes it's own standards - it opposes individuality.
Puppy sets me free - I choose what I want to do. (Thanks Barry!)

I understand why the Hostname issue must be adressed, but I also understand why some feel that they do not want to see Puppy become subservient to other peoples rules.

You have said "I have never subscribed to the "every man (application) for himself" in systems development"

I have a different view.

Independence is what made puppy useful for me.

Please do not shackle Puppy to those who invented TCP/IP and other network "standards". Such people work for defence forces and governments.

They understand centralised control, and subjugation of the individual.

Ok, lets improve any faults within Puppy, but without having to force Puppy users to conform.
Back to top
View user's profile Send_private_message 

Joined: 14 Oct 2005
Posts: 4801
Location: Earth

PostPosted: Tue 16 Aug 2011, 14:36    Post_subject:  

Thanks @greengeek for your comments.

I agree with you about the freedom to create without shackles. This thread is NOT about shackling anything.

Its about your Puppy Linux system operation and its about your LAN operation.

As I remember, @Rcrsn51 (whom I regard highly for the many many contributions he makes. Whenever he says something I listen. ) did NOT come out with concerns about Puppy freedom, his concern was about whether there is harm in leaving the problem built into Puppy. Further scrutiny shows that there is harm when hostname fields do not agree. This thread's contributions have resolved that concern for all of us.

Linux is a system. Its not a single program. Its applications and services, that run, expect a certain set of standards for it to integrate and to operation politely.

This thread's discussion and its solution is about just that. Not being shackled as you infer, but about providing a standard set of services to allow your PC to operate politely; internally and externally. This gives us the freedom to do all kinds of things while the underlying system insures proper operations for us.

Further as is noted by Shinobar's and by Tazoc's efforts, it provides you, the user, the ability to freely select in such a way to maintain stability and polite executions internally and externally.

Please understand this this is and was NOT a personal crusade. It was about bringing awareness to resolving a problem.

You now will be able to have your system experience the benefits provided by the contributions you find from this thread. I do NOT take credit for this solution. The contributors are my heroes for their recognitions and addresses they provide us.

  1. 01Micko recognize this anomaly several years ago and started work but never revisited it
  2. Shinobar added hostname to FirstRUN, last year to make it easy and conscious
  3. TaZOC was the first implementation that successfully managed all internal Puppy fields updating via Personalized Settings wihtout desktop shutdown
  4. 01Micko revisited his work and gave us the OTB boot-time hostname update to handle the system fields so that when the Live media boots to desktop, all fields would agree and LAN behavior would not conflict
  5. Barry embraced 01Micko's work in WOOF because it makes sense to address this.
Thus, now every distro maker can benefit from everyone's contributions here. And further, every user of Puppy distros will benefit from everyone's contribution. Not one of these contributors are doing anything except addressing proper system behavior.

Also, because of Puppy's design, if you are not happy with this work by the contributors, anyone may, either use Shinobar's FirstRUN and reset all of your Puppy PC names to the same (in violation of what every instructor and LAN administrator on the planet teaches) or you may modify your Puppy to pull out the harmless additions everyone has contributed for you.

So, I hope you understand and see that this thread's contribution is NOT about conformity. But, it is about correcting an overlooked "fault".

The intent here is to make a great distro. That means all the necessary tests to be called a great OS is in its behavior on the desktop, within the LAN and within the WAN.

This thread is a very very small step to go along with ALL of the small steps as Puppy matures. And it is maturing very, very rapidly! I have written before about some of the great contributions made over the past 12-18 months in this community. These have been game changers that are part of the maturation we are witnessing. It's making newbie use as well as season veteran use, a breeze for the well thought thru solutions provided for all of us. Heck we can now run 32bit Puppy flavors on PCs utilizing up to 64GB of RAM, today, on a LiveCD. This was unheard of a year ago. Puppy is maturing in ways and at rates that other mainstream distros cannot.

Question for anyone
Please point out how the hostname resolutions instituted, have a negative impact on a user's creativity? Has this thread given the appearance that creativity is in peril?

I don't think I have done this until now, but I want to thank everyone who has responded to this thread. Collectively, you have made this problem understood and resolved. Thanks EVERYONE!

Hope his helps

Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send_private_message 

Joined: 14 Oct 2005
Posts: 4801
Location: Earth

PostPosted: Fri 19 Aug 2011, 11:15    Post_subject: Solved  

There are 2 elements to this problem. First, what happens when ANY PUP is booted for first-tiime from LiveCD or Netboot (pfix=ram). Next, a tool to assist changing the hostname after the system reaches desktop.

Solved by Barry's incorporation into WOOF for base ISOs built. The base allows all PUP LIveCD/ISO to boot with a unique, out-of-the-box (OTB) LAN hostname with all internal Puppy subsystems files consistent with that host's name.

The following distros ALSO employs Shinobar's Personlaize Seettings (FirstRUN) in such a way that when anyone changes the hostname field in Personalize Settings, all proper Puppy files and fields are correspondingly updated as wel without ANY user needing to "restart the desktop" or "logout at Ctrl-Alt-F1 prompt" or "save-session+reboot"l:
  • TaZOC has solved this in LightHouse64
  • 01Micko has solved this in SLACKO
Hope this helps all distro builders.
3 PCs on a LAN.png
 Description   External view of an Example LAN
 Filesize   92.39 KB
 Viewed   565 Time(s)

3 PCs on a  LAN.png

Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile

Back to top
View user's profile Send_private_message 

Joined: 02 Apr 2007
Posts: 2334

PostPosted: Fri 19 Aug 2011, 14:18    Post_subject:  

BTW, I don't think anyone ever explained why the hostname would make rox slow. It's because rox can transparently handle NFS-mounts (and maybe other network mounts) -FWIW.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 3 Posts_count   Goto page: Previous 1, 2, 3
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot attach files in this forum
You can download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0759s ][ Queries: 13 (0.0082s) ][ GZIP on ]