Lucid Puppy 5.2.7 RC2

A home for all kinds of Puppy related projects
Message
Author
User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#321 Post by pemasu »

would be even better with a new sub-menu item in Shutdown for Suspend to RAM
I have swapped the original Shutdown menu with Radkys excellent Pupshutdown. Pupshutdown has suspend to ram icon preinstalled.
I know.....I just couldnt resist this advertisement of Radky`s great Pupshutdown (which got new update yesterday)

http://www.murga-linux.com/puppy/viewtopic.php?t=56077

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#322 Post by Béèm »

Lobster wrote:I want it All :roll:
And I want it now
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#323 Post by playdayz »

stu90, What yad are you using or recommend? If it is installed in Lucid then it will always be there. If it is only installed in the pets that you and others make, then if someone installs two pets that contain yad and then uninstalls one, yad will be removed. This is no criticism of course, just the way PPM works, a sof course you know. But by installing it we can make sure it is always there whether the pets contain it or not. Thanks.

------------------------------------------------------------------
I want it All :roll:
And I want it now
LOL!!!
Last edited by playdayz on Mon 11 Jul 2011, 15:26, edited 1 time in total.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#324 Post by DaveS »

Béèm wrote:
Lobster wrote:I want it All :roll:
And I want it now
Man I loved Queen :)
Spup Frugal HD and USB
Root forever!

stu90

#325 Post by stu90 »

playdayz wrote:stu90, What yad are you using or recommend? If it is installed in Lucid then it will always be there. If it is only installed in the pets that you and others make, then if someone installs two pets that contain yad and then uninstalls one, yad will be removed. This is no criticism of course, just the way PPM works, a sof course you know. But by installing it we can make sure it is always there whether the pets contain it or not. Thanks.
Hi Playdayz,

Having Yad installed would be cool :)
I am using the latest 0.12.4 version of Yad http://code.google.com/p/yad/ that was compiled on Lucid 5.2.5 though with a different kernel as well - maybe it would be better to have it compiled on 26x/5.2.6 due to the luci updates ?
Ive not seen a devx for luci-26x is it safe to use the 5.2.5 devx and if you want i will make a new .pet?

cheers.

gcmartin

/etc/hostname, /etc/hosts, environment variable HOSTNAME

#326 Post by gcmartin »

In PUP525 development, a discovery was made in ROX slowness. It was resolved with a "fix" to the /etc/hosts file. In fact FirstRUN/Personlize Settings is used to re-affirm the fix.

This fix has always been in the back of my mind in trying to understand the connection between hostname command and ROX.

Anyway, here is another problem discovered. Don't know though exactly where in the Linux OS this is set, nor which facility should address it.

Question
When the hostname system command is run, whose responsibility in the system is it to update all the system fields properly?

And, it is reported here.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#327 Post by pemasu »

Gcmartin. In fact the hostname not updating was reasoned separately from the Lucid Puppy development but it was rised at Lucid Puppy development thread so that Lucid Puppy would have that fix. After that the bug has resurfaced again again when people have installed Shinobars Firstrun 1.8.2 pet. That pet is still not updated and so the bug exists in that pet.

http://www.murga-linux.com/puppy/viewtopic.php?t=66111

If you install that bug existing version and use it in your build puplets you can wreak a bad situation if you change the hostname. Why in earth people wants to do that hostname changing anyway. Well....maybe samba users need to do that.

Anyway, changing the hostname results that there is not all files updated. And that makes Rox angry. Angry Rox does not obey and leads to remarkable slowness in file functions like listing, showing and copying files. Rox will be happy and obedient again when all dependent files has the same hostname again.
I think that you gcmartin has been active in tracking this bug. Thank you of that.

I dont know why the Firstrun 1.8.2 pet is not updated to resolve that bug.

Now. You need to explain more precisely what is wrong.... where... and how the things has been and how they are now differently.
Because I am now at loss what is wrong/changed/wronged compared to linux standards.
What is the bug and how it is shown.

User avatar
jim3630
Posts: 791
Joined: Mon 14 Feb 2011, 02:21
Location: Northern Nevada

#328 Post by jim3630 »

DaveS wrote:
jim3630 wrote: can not get that so useful cpu temp gauge. how did you do that?
Here you go. Just re-name this to pfbpanel without the .zip check it is executable, and move it to /usr/sbin. Allow it to overwrite the existing, then just click on it.
This stopped working. I deleted the original pfbpanel or it may have been fbpanel then placed new one above. On reboot would revert to orginal without cpu temp, dragged icon from /usr/sbin to desktop then clicking would restore until today. at startup desktop icon was unavailable, opened/usr/sbin clicking on pfbpanel did nothing so looks like there is a lack of permanence.

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#329 Post by DaveS »

jim3630 wrote:
DaveS wrote:
jim3630 wrote: can not get that so useful cpu temp gauge. how did you do that?
Here you go. Just re-name this to pfbpanel without the .zip check it is executable, and move it to /usr/sbin. Allow it to overwrite the existing, then just click on it.
This stopped working. I deleted the original pfbpanel or it may have been fbpanel then placed new one above. On reboot would revert to orginal without cpu temp, dragged icon from /usr/sbin to desktop then clicking would restore until today. at startup desktop icon was unavailable, opened/usr/sbin clicking on pfbpanel did nothing so looks like there is a lack of permanence.
Cannot imagine why that should be and have not experienced this myself. As a matter of interest, could you see if there is a copy of pfbpanel in /sbin/, as well as usr/sbin?
Spup Frugal HD and USB
Root forever!

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#330 Post by DaveS »

Dear old Chromium 14 seg faults.
After re-boot could not connect to my wifi network even though it could see it. Connected after turning off firewall.
Opera 11.50 good as gold :)
Spup Frugal HD and USB
Root forever!

User avatar
jim3630
Posts: 791
Joined: Mon 14 Feb 2011, 02:21
Location: Northern Nevada

#331 Post by jim3630 »

DaveS wrote:
jim3630 wrote:
DaveS wrote: Here you go. Just re-name this to pfbpanel without the .zip check it is executable, and move it to /usr/sbin. Allow it to overwrite the existing, then just click on it.
This stopped working. I deleted the original pfbpanel or it may have been fbpanel then placed new one above. On reboot would revert to orginal without cpu temp, dragged icon from /usr/sbin to desktop then clicking would restore until today. at startup desktop icon was unavailable, opened/usr/sbin clicking on pfbpanel did nothing so looks like there is a lack of permanence.
Cannot imagine why that should be and have not experienced this myself. As a matter of interest, could you see if there is a copy of pfbpanel in /sbin/, as well as usr/sbin?
There is a copy in usr/sbin/ because I replaced it today with your copy but none in /sbin/. there is a fbsplash in /sbin/.

stu90

#332 Post by stu90 »

DaveS,
In opera 11.50 do you have any problems with opera menu > extension > get extensions page not loading - i also cant log into yahoo mail.

I have tried Terryph 11.50.sfs and running portable from the 11.50 tar.gz opera download no joy. :(

This is only happening for me with Opera 11.50 my firefox 5 portable works.

User avatar
jim3630
Posts: 791
Joined: Mon 14 Feb 2011, 02:21
Location: Northern Nevada

#333 Post by jim3630 »

installed aria2 which woks without issue then added aria2fe and get this error.

sh-4.1# aria2fe
aria2fe: error while loading shared libraries: libqt-mt.so.3: cannot open shared object file: No such file or directory

User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#334 Post by DaveS »

stu90 wrote:DaveS,
In opera 11.50 do you have any problems with opera menu > extension > get extensions page not loading - i also cant log into yahoo mail.

I have tried Terryph 11.50.sfs and running portable from the 11.50 tar.gz opera download no joy. :(

This is only happening for me with Opera 11.50 my firefox 5 portable works.
Just checked it... no problems at all. I just downloaded the .deb from Opera.com, undebbed it, stuck the whole thing in a directory opera at mnt home, symlinked it into root and run it with /root/opera/opera
Spup Frugal HD and USB
Root forever!

gcmartin

#335 Post by gcmartin »

... If you install that bug existing version and use it in your build puplets you can wreak a bad situation if you change the hostname. Why in earth people wants to do that hostname changing anyway. ...
There is a VERY good reason for this requirement. An International standard dating all the way back to 1983. I had occasion to comment then when they came up with LAN addressing approach.

The rule that is "taught" in all LAN networking classes that I am aware is that each LAN PC is a unique element in the network. There are 3 things which are unique to each element:
  • NIC's MAC address
  • IP address
  • hostname
Much network software over the almost 30 years depend on these unique items. Administrators are taught that they have responsibility to insure that no 2 elements (PC, cameras, phones, etc.) will duplicate this information. Thus, no 2 PCs on any LAN should broadcast the same hostname. That is the reason Shinobar added the field, for, he understood that you could have more than one Puppy on your LAN. And it would give at system start the opportunity to insure (probably not the right word, but I think we understand the intent) that the booting PC would get a unique name.

The standard exist to be OS independent with the expectation that all LAN OSs will respect properly.

I guess my concern is whether this is something wrong with the hostname command (not Puppy) or whether its a distro specific problem with each and every distro.

Hope this helps

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#336 Post by pemasu »

Gcmartin. You are right. I had just too narrowed perspect to the hostnaming. I have been too long just home user with my comps.

But what is wrong with hostname command. I am still at loss....

gcmartin

Hostname

#337 Post by gcmartin »

Checking other distro to see if they exhibit the same hostname problem as found here in Puppy.

On checking on another Linux distro, I logged into a Ubuntu server and did the following from my ID with root access rights.
  1. I checked the HOSTNAME environment variable. It matches the STDout of hostname command
  2. I changed the hostname in a terminal window using the system's hostname command.
  3. I closed the terminal and reopened it.on the desktop
  4. The HOSTNAME is now set to the new, changed from the hostname command
This is consistent with the ISO standard.
I don't know how they accomplished it. Whether is a Linux solution or something they did local. I know also, that it works this way with SUSE servers as well.

Edited: Also tested. The problem does not exist on Fedora, HPUX, AIX, and on PartedMagic as well. Parted Magic is closest to Puppy in that it is a RAM based small Linux distro. Observations show that the "hostname" command problem to be only on Puppy.

Hope this is helpful information for us.
Last edited by gcmartin on Tue 12 Jul 2011, 18:40, edited 4 times in total.

gcmartin

Explain the console list.

#338 Post by gcmartin »

pemasu wrote:Gcmartin. You are right. I had just too narrowed perspect to the hostnaming. I have been too long just home user with my comps.

But what is wrong with hostname command. I am still at loss....
If you look down the console listing from the terminal here, you will notice the differences between what the /etc/hostname, the /etc/hosts (which has the correct hostname information; namely "Polar02-Laptop") and the SET command's output for HOSTNAME (which does not contain the correct hostname; namely "puppypc").

Somewhere after system startup and the running of Personalize Settings where the hostname is set to a unique name all things were not made consistent. The hostname should be the same (consistent) among all 3 of these fields. But, for some reason, they are not.

/etc... had correct info...but HOSTNAME is not correct.

This should be an automatic whenever the hostname command is run in any Linux system.

I think this is an OS level problem because the system's hostname command is not changing all thngs correctly. BUT, I;m not the expert to make that call.

Hope this helps

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#339 Post by rcrsn51 »

@gcmartin: People have been running Puppy networks for years where all the machines are named "puppypc". Could you please describe a situation where this is a problem?

The only one I can think of is where multiple machines are running Samba servers. But this is easily resolved by giving each server a unique name in its smb.conf.

gcmartin

#340 Post by gcmartin »

rcrsn51 wrote: ...
Thanks @Rcrsn51

As you know I am aware of the Netbios field in smb.conf.

This, I share here, is about whether the system hostname command is the root for "the fields in the system" not getting updated correctly. These fields are suppose to be the same.

This has nothing to do with SAMBA, per se. All applications within the Linux system draw upon the fields from time to time as required. They are suppose to match what the hostname command does on behalf of the PC admin/user, I believe.

Hope this helps
Last edited by gcmartin on Mon 11 Jul 2011, 19:18, edited 2 times in total.

Post Reply