The Official Release of Lucid 5.25 (Lucid Five Twenty-Five)

A home for all kinds of Puppy related projects
Message
Author
User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#1241 Post by Terryphi »

tasmod wrote:Firewallstate.

In firewallstate the code routine for turning the firewall on/off was originally meant to be for testing purposes, I never meant it to 'kill' the firewall program.

The routine uses the firewall programs stop/start feature. (Note:Firewall program, not firewallstate)

The firewall program once installed writes a code line to etc/rc.d/rc.local that checks for the firewall programs file rc.firewall which is created when the firewall program is first run.
Now this will then start the firewall each time at each boot and is independent of the stop/start feature.

To prevent the firewall from restarting at boot I would need to rewrite the code snippet in firewallstate that turns the firewall on/off so that it would erase the rc.firewall file and the rc.local file line for the firewall. This means that to restart the firewall would require a complete re-run of the firewall wizard install routine, hence the entry for this in the firewallstate menu.

I suppose I could add another option in the stop/start small window that would 'kill' the firewall preventing further boot starts. If that's what you wish. :)
Rob, thanks for the detailed explanation of the behaviour. The problem is that some of us who do not need the firewall on (because we have a router with built-in firewall or because it conflicts with a program) still cannot stop ourselves testing the dialog with the unintended result I described. :oops:

So, yes, an option to 'kill' the firewall would be good.

RandSec
Posts: 82
Joined: Mon 10 Aug 2009, 18:33
Location: Austin, Texas
Contact:

#1242 Post by RandSec »

tasmod wrote:In firewallstate the code routine for turning the firewall on/off was originally meant to be for testing purposes, I never meant it to 'kill' the firewall program. [...]

I suppose I could add another option in the stop/start small window that would 'kill' the firewall preventing further boot starts. If that's what you wish. :)
I think the firewall should start out installed and ON.

Starting every newbie without a firewall makes them vulnerable, unless they have an external router/firewall.

Yes, starting with a firewall could possibly cause problems for those with local networking. Perhaps a new menu selection might open the usual local networking ports. Networking experts can adjust their own ports.

Yes, a user should be able to turn the firewall OFF, if desired. And yes, that should survive a restart. But no, the firewall should not be OFF by default. That is what enabled the old Microsoft Windows worms of a decade ago.

The firewall should be in force before any driver download, or indeed, any network accesses. It is easy enough to turn OFF by someone who knows about it. But it is unlikely to be turned ON by a newbie who does NOT know about it, especially at start-up, when it may be needed.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#1243 Post by tasmod »

I don't want to get into the argument about default firewall either on/off at starting.

I wrote the basic firewallstate originally just to point out the fact that the firewall was off at first start of a new install. it has just developed from user requests since then.

The option I'm working on will just be for a seasoned user to be able to stop the firewall and prevent it's restart on rebooting.
Although I'm having to do a bit more work than I at first thought. The way it is all written requires checks to be done first before the routine to remove the firewall. Gtkdialog doesn't help :roll:
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

RandSec
Posts: 82
Joined: Mon 10 Aug 2009, 18:33
Location: Austin, Texas
Contact:

#1244 Post by RandSec »

tasmod wrote:I don't want to get into the argument about default firewall either on/off at starting.
There is no need to argue: The firewall should be ON by default, at first startup, before any network access. Not doing that is an obvious security flaw. This is just another bug which needs fixing.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#1245 Post by tasmod »

firewallstate-1.9 is available in forum Additional Software - Network.

This has the added stop and remove from bootup for the firewall. It is remembered when off.


Interesting results with gtkdialog in older version I wrote the On/Off routine with and new version.
One would echo a command and stop, the newer version execute it without any syntax change. :?
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

willem1940NLD
Posts: 205
Joined: Wed 07 Jul 2010, 01:07
Location: Sittard, Limburg, The Netherlands

#1246 Post by willem1940NLD »

Found out my problems were/are due to Hardware, think I need a new computer.

Have 525 kind of working for the time being, after low level format of harddisk.

Do not see IRC helpchat .... is it no more standard?

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#1247 Post by MinHundHettePerro »

Hello :)!

Took your latest offering, 525, for a spin ....

I lost internet connection quite a few times, something which never occured before :? :(. Had to re-configure, both with network wizard and sns. And, I'm on wired broadband internet through my router, here - just never happened before in any other puppy.

Hope you'll find a solution, just wanted to report.

Fwiw/hth :)/
MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

Re: oops late problem? maybe

#1248 Post by James C »

scsijon wrote:Decided to use the "latest and greatest" 525 for a new laptop machine.

Found I could not install grub to anything, said it did, nothing there and didn't boot grub!

Could a tester or two also try this out if possible please before I try to return the box.

------------
Also, can someone tell me where I stop connections being started on the network being started, I am finding a google connection on port 80 happening before a browser is even started.


thanks
scsijon
Took me a while but ......pulled an old P3 off the shelf,did a full install of 525 and grub would not install here either. I don't like Grub4dos but it did install and boot both 525 and Spup. Anyway, there does appear to be a problem with Grub in Lucid 525.
I also went ahead and used Spup to install legacy Grub with no problem.
HTH.

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

Re: oops late problem? maybe

#1249 Post by bigpup »

James C wrote:
scsijon wrote:Decided to use the "latest and greatest" 525 for a new laptop machine.

Found I could not install grub to anything, said it did, nothing there and didn't boot grub!

Could a tester or two also try this out if possible please before I try to return the box.

------------
Also, can someone tell me where I stop connections being started on the network being started, I am finding a google connection on port 80 happening before a browser is even started.


thanks
scsijon
Took me a while but ......pulled an old P3 off the shelf,did a full install of 525 and grub would not install here either. I don't like Grub4dos but it did install and boot both 525 and Spup. Anyway, there does appear to be a problem with Grub in Lucid 525.
I also went ahead and used Spup to install legacy Grub with no problem.
HTH.
I installed Grub with no problem.
My version of Lucid 5.2.5 I got from:
http://distro.ibiblio.org/pub/linux/dis ... ppy-5.2.5/

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

Re: oops late problem? maybe

#1250 Post by James C »

bigpup wrote:
James C wrote:
scsijon wrote:Decided to use the "latest and greatest" 525 for a new laptop machine.

Found I could not install grub to anything, said it did, nothing there and didn't boot grub!

Could a tester or two also try this out if possible please before I try to return the box.

------------
Also, can someone tell me where I stop connections being started on the network being started, I am finding a google connection on port 80 happening before a browser is even started.


thanks
scsijon
Took me a while but ......pulled an old P3 off the shelf,did a full install of 525 and grub would not install here either. I don't like Grub4dos but it did install and boot both 525 and Spup. Anyway, there does appear to be a problem with Grub in Lucid 525.
I also went ahead and used Spup to install legacy Grub with no problem.
HTH.
I installed Grub with no problem.
My version of Lucid 5.2.5 came from:
http://distro.ibiblio.org/pub/linux/dis ... ppy-5.2.5/
Interesting, I think my copy came from playdayz's server.......... guess I'll redownload from ibiblio and see if there is a difference. :)

PaulBx1
Posts: 2312
Joined: Sat 17 Jun 2006, 03:11
Location: Wyoming, USA

#1251 Post by PaulBx1 »

I think the firewall should start out installed and ON.

Starting every newbie without a firewall makes them vulnerable, unless they have an external router/firewall.
I have been saying this for a long time. For a newbie-friendly Linux like Puppy to have such a security flaw is just wrong. At the very least, if not defaulted on, Puppy should take the Windows approach and just nag the hell out of the user that he needs to turn the firewall on.

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

Re: oops late problem? maybe

#1252 Post by James C »

James C wrote:
bigpup wrote:
James C wrote: Took me a while but ......pulled an old P3 off the shelf,did a full install of 525 and grub would not install here either. I don't like Grub4dos but it did install and boot both 525 and Spup. Anyway, there does appear to be a problem with Grub in Lucid 525.
I also went ahead and used Spup to install legacy Grub with no problem.
HTH.
I installed Grub with no problem.
My version of Lucid 5.2.5 came from:
http://distro.ibiblio.org/pub/linux/dis ... ppy-5.2.5/
Interesting, I think my copy came from playdayz's server.......... guess I'll redownload from ibiblio and see if there is a difference. :)
Downloaded a new copy of 525 from ibiblio, reformatted the partition (sda1) and did another full install of 525. Guess I forgot how to install Grub.... :lol:

Posting from it now, after I used Spup 099 to install Grub.
Attachments
lucid 525 grub.png
(22.67 KiB) Downloaded 1363 times

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#1253 Post by James C »

Other than the Grub difficulty, everything working ootb.Internet,sound and display all good on initial boot.

VGA compatible controller : Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller (rev 03)
Multimedia audio controller : Intel Corporation 82801AA AC'97 Audio Controller (rev 02)
Communication controller : Agere Systems LT WinModem
Ethernet controller : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

User avatar
karm2865
Posts: 57
Joined: Sun 20 Mar 2011, 23:31

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

#1254 Post by karm2865 »

had the same problem.

just because i was out of things to try I decided to give up on GRUB boot-loader, and tried Grub4Dos instead no ideal why a DOS loader would work but had nothing to lose by trying.

I managed to get Grub4Dos to work first try no problem why?
No ideal why
see
http://www.murga-linux.com/puppy/viewtopic.php?t=66573

User avatar
Luluc
Posts: 200
Joined: Wed 16 Mar 2011, 07:10

#1255 Post by Luluc »

Just a small, but annoying glitch for me.

I upgraded it this way:

- Backed up my /root directory in a tar ball.
- Created a new FAT32 partition.
- Created a brand new Puppy 525 frugal installation.
- Booted the new Puppy.
- Renamed /root to something else.
- Restored my old root from the tar ball.
- Rebooted.

It works. I have a very new and clean Puppy, and most of my configuration choices were preserved. I just have to install programs all over again. Fine, because I went overboard the last time and installed too much, the save file got too big etc.

But when I open the package manager, the installed programs pane indicates the presence of all my old programs, from the old installation. They are not there, they are not installed. If I reinstall them, the corresponding entry is duplicated. So I am "uninstalling" them before reinstalling them, but that's really annoying. I can only uninstall one package at a time, and each time takes considerably long.

I don't think those ghost packages should be there. I don't think they should be carried across two different systems as a stowaway in the /root directory.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#1256 Post by Sage »

think I need a new computer.

Have 525 kind of working for the time being, after low level format of harddisk
You do not need a 'new' computer, that would be a disaster. At the very worst you would need another old computer, because Puppy is a compact distro aimed at 'old' computers and is landfill-saving. However, in your case, all you might need is another HD. But I doubt even that. Doublecheck for bad sectors with a DOS utility from a FDD because it is easier than using a liveCD and terminal.
You cannot 'low level' format an IDE or SATA HD - it is a factory operation, unless you are using an MFM device.
Too much loose HW speak here recently. One fears that the capitalist determination to make PC s commodity items like washing machines might yet succeed due to inertia, indolence and ignorance?

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#1257 Post by bigpup »

Luluc wrote:Just a small, but annoying glitch for me.

I upgraded it this way:

- Backed up my /root directory in a tar ball.
- Created a new FAT32 partition.
- Created a brand new Puppy 525 frugal installation.
- Booted the new Puppy.
- Renamed /root to something else.
- Restored my old root from the tar ball.
- Rebooted.

It works. I have a very new and clean Puppy, and most of my configuration choices were preserved. I just have to install programs all over again. Fine, because I went overboard the last time and installed too much, the save file got too big etc.

But when I open the package manager, the installed programs pane indicates the presence of all my old programs, from the old installation. They are not there, they are not installed. If I reinstall them, the corresponding entry is duplicated. So I am "uninstalling" them before reinstalling them, but that's really annoying. I can only uninstall one package at a time, and each time takes considerably long.

I don't think those ghost packages should be there. I don't think they should be carried across two different systems as a stowaway in the /root directory.
You did not do a Frugal install upgrade.
The best way is this example:
Upgrading Frugal install
You are using Puppy 511.
Ok, here comes the good bit. Lets assume puppy 5.1.2 is released and you want to try it.
Create another directory called /puppy512.
Copy the three new files (intrd.gz, vmlinuz, and pup_512.sfs) off the new ISO you have downloaded and place them in the directory /puppy512.
Copy the save file from /puppy511 to /puppy512.
Make the appropriate edits in the GRUB menu.lst file and reboot.
Select the new puppy 5.1.2.
It will load and convert your old save file to the new puppy. All of your settings and installed software will be available in the new distribution. The whole process will take between 1 - 5 minutes.
Last edited by bigpup on Wed 06 Apr 2011, 05:35, edited 1 time in total.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#1258 Post by 01micko »

Luluc

2 questions

Why FAT? (ok, that's your choice, puppy is about choice)

Why shouldn't certain system config files be stored in /root?

There are many of them there, all your browser bookmarks in ~/.mozilla (or whatever), all package information is stored in ~/.packages, lots of app configurations are in ~/.config, you will also find jwm settings, mtpaint, the list can go on.... and this is not unique to lucid puppy. All distros use $HOME or /etc (depending on how compiled) for config files, which in Puppy's case is root. BTW, configs in $HOME usually override configs in /etc.

You probably did other unforeseen damage to /root/.packages. I would suggest going in there and replacing the folder /root/.packages/builtin_files with the original off the CD, also all the Packages_puppy-[whatever] files will be old versions, need to be replaced with originals OR update PPM (I would use the originals), also you can delete the "ghost" packages which you introduced, and also edit the user-installed-packages file eliminating the ghost entries.

You realise you may have other problems with this method you used.

HTH
Puppy Linux Blog - contact me for access

User avatar
Luluc
Posts: 200
Joined: Wed 16 Mar 2011, 07:10

#1259 Post by Luluc »

bigpup wrote:You did not do a Frugal install upgrade.
The best way is this example:
Upgrading Frugal install
Ok, here comes the good bit. Lets assume puppy 5.1.2 is released and you want to try it.
Create another directory called /puppy512.
Copy the three new files off the new ISO you have downloaded and place them in the directory /puppy512.
Copy the save file from /puppy511 to /puppy512.
Make the appropriate edits in the GRUB menu.lst file and reboot.
Select the new puppy 5.1.2.
It will load and convert your old save file to the new puppy. All of your settings and installed software will be available in the new distribution. The whole process will take between 1 - 5 minutes.
Well, I did that at first, but the old save file was not recognized. All my stuff was gone, as if I had booted with pfix=ram (I had not). Since I wanted to make major structure changes in my save file, to wit: make it smaller and use encryption, I did it the way I did.

User avatar
Terryphi
Posts: 761
Joined: Wed 02 Jul 2008, 09:32
Location: West Wales, Britain.

#1260 Post by Terryphi »

tasmod wrote:firewallstate-1.9 is available in forum Additional Software - Network.

This has the added stop and remove from bootup for the firewall. It is remembered when off.


Interesting results with gtkdialog in older version I wrote the On/Off routine with and new version.
One would echo a command and stop, the newer version execute it without any syntax change. :?
Thanks, Rob. Much appreciated. :)

Post Reply