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 Wed 22 Oct 2014, 01:03
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
DebianDog HowTo thread
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
saintless


Joined: 11 Jun 2011
Posts: 2564
Location: Bulgaria

PostPosted: Thu 15 May 2014, 12:45    Post_subject: Firewall from Puppy linux  

Puppy Linux default Firewall available now for DebianDog.
http://murga-linux.com/puppy/viewtopic.php?p=777580#777580

The main script is in /opt/bin and it creates $HOME/rc.firewall script which is started from $HOME/Startup/firewall-puppy script after login and can have different setup for each user account.
For user account there will be GUI window to type root password.
Back to top
View user's profile Send_private_message MSNM 
saintless


Joined: 11 Jun 2011
Posts: 2564
Location: Bulgaria

PostPosted: Sat 17 May 2014, 16:11    Post_subject: Boot DebianDog with systemd  

Edit: Systemd workaround from Fred for porteus-boot (for now works only with the default included in the iso kernel 3.2.0-4-486):
http://murga-linux.com/puppy/viewtopic.php?p=798987#798987
fredx181 wrote:
Hi Toni, All,

---------------------------------------------

Here's a more solid way to enable systemd for porteus-boot instead of what I wrote here:
http://murga-linux.com/puppy/viewtopic.php?p=792672#792672

Only for porteus-boot method.
Enable systemd using patched initrd1.xz (kernel 3.2.0-4-486), it's here:
https://googledrive.com/host/0ByBgCDlZZ8K5bUsxVnhCTkhoZDA/DebianDog/Extra/initrd1.xz-systemd.tar.gz
Edit from saintless: this initrd1.xz is included in the iso from October 2014 both DebianDog versions and DebianDog-Squeeze.
by adding "init=/bin/systemd" parameter to your kernel boot line like this:

Code:
kernel /live/vmlinuz1 noauto from=/  changes=/live/changes.dat init=/bin/systemd


The steps:
In terminal:
Code:
apt-get update # if needed
apt-get install systemd


Installing also the 'systemd-sysv' package will make it permanent (by not installing it you'll be still able to use the old initscripts when not using 'init=/bin/systemd' parameter)

To enable autologin for user root, run in terminal:
Code:
# Set ExecStart to autologin as root (inittab doesn't work anymore under systemd)
EXESTART=`cat /etc/systemd/system/getty.target.wants/getty@tty1.service | grep 'ExecStart='`
EXESTARTNEW="ExecStart=-/sbin/agetty --noclear -a root %I 38400"
sed -i "s,$EXESTART,$EXESTARTNEW,g" /etc/systemd/system/getty.target.wants/getty@tty1.service


Then reboot and systemd should be enabled if you added the 'init=/bin/systemd' parameter.

More info about what's changed to make init=/bin/systemd parameter work in the ReadMe-enable-systemd inside initrd1.xz-systemd.tar.gz.

Note: Uninstalling systemd afterwards may give a problem.
If apt-get refuses to uninstall it, best thing to do then is:

Code:
apt-get install sysvinit # if it isn't already installed

Then reboot without 'init=/bin/systemd' parameter added.
Then you should be able to uninstall systemd because it's not running anymore.

Fred

The autologin as root command works also for live-boot-2x and live-boot-3x.

Boot DebianDog with systemd: - for live-boot-2x and live-boot-3x.

More information about systemd here:
https://wiki.debian.org/systemd

Only two easy steps needed:

1. Install systemd:
Code:
root@debian:~# apt-get install systemd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libcryptsetup4 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0
  libwrap0
Suggested packages:
  systemd-gui python python-dbus python-cairo
Recommended packages:
  tcpd libpam-systemd
The following NEW packages will be installed:
  libcryptsetup4 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0
  libwrap0 systemd
0 upgraded, 6 newly installed, 0 to remove and 32 not upgraded.
Need to get 1696 kB of archives.
After this operation, 4310 kB of additional disk space will be used.
Do you want to continue [Y/n]? y

..................................................................................

Unpacking systemd (from .../systemd_44-11+deb7u4_i386.deb) ...
Setting up libwrap0:i386 (7.6.q-24) ...
Setting up libsystemd-daemon0:i386 (44-11+deb7u4) ...
Setting up libsystemd-id128-0:i386 (44-11+deb7u4) ...
Setting up libsystemd-journal0:i386 (44-11+deb7u4) ...
Setting up libcryptsetup4 (2:1.4.3-4) ...
Setting up systemd (44-11+deb7u4) ...
Initializing machine ID from D-Bus machine ID.
root@debian:~#


2. For DebianDog Frugal install add at the end of your kernel boot line init=/bin/systemd

Example boot code for live-boot-2x:
Code:
title DebianDog Wheezy live-boot-2 Persistent Changes
 uuid 25e43216-01b1-43eb-b02d-6350e970da2c
 kernel /live/vmlinuz1 boot=live persistent config swapon quickreboot noprompt autologin init=/bin/systemd
 initrd /live/initrd1.img


Example boot code for live-boot-3x:
Code:
title DebianDog Wheezy live-boot-3 Persistence Changes
 uuid 25e43216-01b1-43eb-b02d-6350e970da2c
 kernel /live/vmlinuz1 boot=live config swapon persistence quickreboot noeject autologin init=/bin/systemd
 initrd /live/initrd.img


For DebianDog Full install add at the end of your kernel boot line init=/bin/systemd rw. Replacing ro with rw is important for full install otherwise you will get "Could not write in /tmp..." message and you can't start X.

Example boot code for Full install:
Code:
title DebianDog Wheezy Full install
 uuid 090712ec-7b56-47de-87a5-be8b1f99534d
 kernel /boot/vmlinuz-3.2.0-4-486 root=UUID=090712ec-7b56-47de-87a5-be8b1f99534d init=/bin/systemd rw
 initrd /boot/initrd.img-3.2.0-4-486


After reboot you will notice the change in boot messages and a little bit faster boot for live-boot-2x and live-boot-3x.

Removing init=/bin/systemd from your boot code will bring back default sysvinit boot.

============================================

Edited_times_total
Back to top
View user's profile Send_private_message MSNM 
saintless


Joined: 11 Jun 2011
Posts: 2564
Location: Bulgaria

PostPosted: Tue 17 Jun 2014, 04:52    Post_subject: Preventiing default kernel upgrade  

Debian stable provides upgrades for many packages (including linux-image). If we upgrade the default kernel we need also to replace /live/vmlinuz1 with new created from the upgrade process. To prevent troubles we have this file included: /etc/apt/preferences
Code:
Package: linux-image-3.2.0-4-486
Pin: version 3.2.51-1
Pin-Priority: 1001

Having this file running apt-get upgrade will not upgrade linux-image.
If you like to activate default kernel upgrade just remove /etc/apt/preferences and run apt-get update.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
saintless


Joined: 11 Jun 2011
Posts: 2564
Location: Bulgaria

PostPosted: Tue 17 Jun 2014, 05:00    Post_subject: Enable touchpad tapping:  

Touchpad tapping option is disabled by default in Debian. I read many discussions and solutions to make it work and I also see disable by default as logical for users who prefer to plugin mouse and can't work well with touchpad yet. Single touch by mistake can activate window or even delete important data.

Type in terminal tapbutton to enable this option when needed. If you like to keep the changes permanent after reboot symlink the /opt/bin/tapbutton script in /root/Startup.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
saintless


Joined: 11 Jun 2011
Posts: 2564
Location: Bulgaria

PostPosted: Tue 29 Jul 2014, 02:57    Post_subject: Install AMD legacy proprietary driver (fglrx-legacy-driver)  

Installing AMD legacy proprietary driver (fglrx-legacy-driver):

Edit2: Instructions how to build ati driver for kernel 3.2.0-4-486 and 3.14-0.bpo.1-686-pae here (thank you, Devil.Dog!):
http://www.murga-linux.com/puppy/viewtopic.php?p=798674#798674
http://www.murga-linux.com/puppy/viewtopic.php?p=798838#798838
Maybe no need to read the information below. Devil.Dog's method building ati driver in DebianDog works.

Edit: Read this posts first:
http://www.murga-linux.com/puppy/viewtopic.php?p=793228#793228

There was a question about this but I can't really tell if it works OK or not on AMD hardware. The install process seems to finish and the system works but testing on proper hardware can confirm if there are problems or not.

I read about problems in google and possible solutions patching amd installer like this one if apt-get install method doesn't work:
http://forums.debian.net/viewtopic.php?f=5&t=94847
Or here:
http://www.debianuserforums.org/viewtopic.php?f=7&t=2606
http://ftp.debian.org/debian/pool/non-free/f/fglrx-driver/

There are suggestions to use newer kernel above 3.10 so you can test this with separate kernel module for DebianDog from here (026-kernel-3.14-Pae.tar.gz or 024-kernel-3.12.0.bpo.1.zip) :
http://murga-linux.com/puppy/viewtopic.php?p=774459#774459

How to install AMD legacy proprietary driver (fglrx-legacy-driver) with apt-get:

1. Rename /etc/apt/sources.list to /etc/apt/sources.list-original
2. Create new file /etc/apt/sources.list, add only this one line inside and save it:
Code:
deb http://ftp.de.debian.org/debian wheezy-backports main contrib non-free

3. Run in terminal apt-get update
4. Install with apt-get fglrx-legacy-driver
Code:
apt-get install fglrx-legacy-driver

You will see similar information:
Code:
root@debian:~# apt-get install fglrx-legacy-driver
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  glx-alternative-fglrx glx-alternative-mesa glx-diversions libfglrx-legacy
  nvidia-installer-cleanup
Suggested packages:
  fglrx-legacy-control xvba-va-driver amd-opencl-icd-legacy fglrx-driver
Recommended packages:
  fglrx-legacy-modules-dkms fglrx-kernel-8.97.100.7 libgl1-fglrx-legacy-glx
  fglrx-legacy-atieventsd libfglrx-legacy-amdxvba1
The following NEW packages will be installed:
  fglrx-legacy-driver glx-alternative-fglrx glx-alternative-mesa
  glx-diversions libfglrx-legacy nvidia-installer-cleanup
0 upgraded, 6 newly installed, 0 to remove and 16 not upgraded.
Need to get 15.8 MB of archives.
After this operation, 75.5 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.de.debian.org/debian/ wheezy-backports/contrib nvidia-installer-cleanup i386 20131102+1~bpo70+1 [17.9 kB]
Get:2 http://ftp.de.debian.org/debian/ wheezy-backports/contrib glx-diversions i386 0.4.1~bpo70+1 [9066 B]
Get:3 http://ftp.de.debian.org/debian/ wheezy-backports/non-free libfglrx-legacy i386 8.97.100.7-3~bpo70+1 [9513 kB]
Get:4 http://ftp.de.debian.org/debian/ wheezy-backports/contrib glx-alternative-mesa i386 0.4.1~bpo70+1 [2792 B]
Get:5 http://ftp.de.debian.org/debian/ wheezy-backports/contrib glx-alternative-fglrx i386 0.4.1~bpo70+1 [3658 B]
Get:6 http://ftp.de.debian.org/debian/ wheezy-backports/non-free fglrx-legacy-driver i386 8.97.100.7-3~bpo70+1 [6225 kB]
Fetched 15.8 MB in 1min 49s (144 kB/s)                                         
Preconfiguring packages ...
Selecting previously unselected package nvidia-installer-cleanup.
(Reading database ... 28451 files and directories currently installed.)
Unpacking nvidia-installer-cleanup (from .../nvidia-installer-cleanup_20131102+1~bpo70+1_i386.deb) ...
Setting up nvidia-installer-cleanup (20131102+1~bpo70+1) ...
Selecting previously unselected package glx-diversions.
(Reading database ... 28459 files and directories currently installed.)
Unpacking glx-diversions (from .../glx-diversions_0.4.1~bpo70+1_i386.deb) ...
Selecting previously unselected package libfglrx-legacy:i386.
Unpacking libfglrx-legacy:i386 (from .../libfglrx-legacy_8.97.100.7-3~bpo70+1_i386.deb) ...
Selecting previously unselected package glx-alternative-mesa.
Unpacking glx-alternative-mesa (from .../glx-alternative-mesa_0.4.1~bpo70+1_i386.deb) ...
Selecting previously unselected package glx-alternative-fglrx.
Unpacking glx-alternative-fglrx (from .../glx-alternative-fglrx_0.4.1~bpo70+1_i386.deb) ...
Selecting previously unselected package fglrx-legacy-driver.
Unpacking fglrx-legacy-driver (from .../fglrx-legacy-driver_8.97.100.7-3~bpo70+1_i386.deb) ...
Setting up glx-diversions (0.4.1~bpo70+1) ...
Adding 'diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions'
Adding 'diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1 by glx-diversions'
Adding 'diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions'
Adding 'diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2 by glx-diversions'
Adding 'diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 by glx-diversions'
Adding 'diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions'
Adding 'diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions'
Adding 'diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 to /usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2.0 by glx-diversions'
Setting up libfglrx-legacy:i386 (8.97.100.7-3~bpo70+1) ...
Setting up glx-alternative-mesa (0.4.1~bpo70+1) ...
update-alternatives: using /usr/lib/mesa-diverted to provide /usr/lib/glx (glx) in auto mode
Setting up glx-alternative-fglrx (0.4.1~bpo70+1) ...
update-alternatives: using /usr/lib/fglrx to provide /usr/lib/glx (glx) in auto mode
I: update-initramfs is disabled (live system is running without media mounted on /lib/live/mount/medium).
Setting up fglrx-legacy-driver (8.97.100.7-3~bpo70+1) ...
root@debian:~#

At some point you will have to confirm to continue and information how to configure the driver manually (see the picture):



5. Remove (or rename) /etc/apt/sources.list and rename back /etc/apt/sources.list-original to /etc/apt/sources.list and run apt-get update

I'm not sure if rebuilding initrd files is really needed after installing fglrx-legacy-driver but if it is and someone can give testing details and errors we can add further details in this post. Maybe someone will test this to confirm if it works or not and maybe provide working method if there is a problem with this one.

The best place to post if there is a problem and searching for solution is the development thread:
http://www.murga-linux.com/puppy/viewtopic.php?t=90660

=========================================

_________________
Farewell, Nooby, you will be missed...

Edited_times_total
Back to top
View user's profile Send_private_message MSNM 
step

Joined: 04 May 2012
Posts: 196

PostPosted: Sun 03 Aug 2014, 19:28    Post_subject: DebianDog + Blue Pup Quirky Tahr Dual Boot USB Stick How-To
Sub_title: step towards How To Make A Network Storage NAS Appliance With DebianDog and OpenMediaVault
 

DebianDog + Blue Pup Quirky Tahr Dual Boot USB Stick How-To:
http://murga-linux.com/puppy/viewtopic.php?t=95139

and

How To Make A Network Storage NAS Appliance With DebianDog and OpenMediaVault
http://murga-linux.com/puppy/viewtopic.php?t=95249

_________________
FatDog64 631|Blue Pup 4|DebianDog+OpenMediaVault stick

Edited_time_total
Back to top
View user's profile Send_private_message 
saintless


Joined: 11 Jun 2011
Posts: 2564
Location: Bulgaria

PostPosted: Wed 06 Aug 2014, 03:30    Post_subject:  

Thank you, Step!
Link added to the first post thread:
http://www.murga-linux.com/puppy/viewtopic.php?p=771569#771569

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send_private_message MSNM 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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