ArchPup 12.12.2

For talk and support relating specifically to Puppy derivatives
Message
Author
simargl

Re: Timezone

#76 Post by simargl »

mavrothal wrote:
simargl wrote: /etc/localtime is text file not symlink
Is there any reason for that or just an oversight?
I just changed to CET timezone, original file is from woof-code/rootfs-skeleton/etc/localtime.
Edit:
In attachment are documentation files for next release, three text files converted to pdf format.
I will make new release 12.12-1 when (if) problem with refreshing usb drives list in Thunar is fixed,
reported this in pup-volume-monitor-0.1.10 topic, still got no response. Plan is to make next version
when new stable gcc-4.8 package is added to archlinux repository, guess that's not very soon.
Attachments
archpup_docs.pdf.tar.gz
(40.36 KiB) Downloaded 515 times

feelsub
Posts: 39
Joined: Wed 20 Jun 2012, 17:29

#77 Post by feelsub »

Super happy if can get access to Arch repository, but where is the puppy save feature when shutting down from USB key?

simargl

#78 Post by simargl »

feelsub wrote:Super happy if can get access to Arch repository, but where is the puppy save feature when shutting down from USB key?
Hi, Savefile dialog on reboot is removed, to make one go to Setup --> Make personal savefile,
as location select one of your partitions. And yes it can access to Arch repository :wink:

smil99
Posts: 174
Joined: Sat 18 Aug 2007, 22:12

#79 Post by smil99 »

Downloaded archpup-12.12 and started playing with it. Very snappy and very different from the other puppies on the block. The flawless integration with arch repos is legendary. My only problem ... cant start cups :( ... so cant do any printing. I hope the printing issues would be addressed soon.
Thanks and cheers.
[b][color=green]Success is never ending. ... Failure is never final![/color][/b]
[size=75][i](Used with kind permission from jejy69)[/i][/size]

simargl

#80 Post by simargl »

Try with this:
in /root/.start add on top: ifconfig lo up
Then change ALL: LOCAL to ALL: ALL in /etc/hosts.allow.
Reboot and see what is output of:
netstat -nlp
ps -ef | grep cups

oui

#81 Post by oui »

Hi simargl

As I have the same problem, my answer:
# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 1519/didiwiki
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 3664 1394/cupsd /var/run/cups/cups.sock
unix 2 [ ACC ] SEQPACKET LISTENING 2338 789/udevd /dev/.udev/control
unix 2 [ ACC ] STREAM LISTENING 4404 1534/menu-cached /tmp/.menu-cached-:0-root
unix 2 [ ACC ] STREAM LISTENING 3996 1487/X @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 3997 1487/X /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 4037 1496/dbus-daemon @/tmp/dbus-ANWZd1IJXD
unix 2 [ ACC ] STREAM LISTENING 3645 1396/pup-volume-mon /tmp/pup_volume_monitor_socket
[root@archpup ~]# ps -ef | grep cups
root 1394 1 0 10:04 ? 00:00:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 1557 1554 0 10:06 pts/0 00:00:00 grep cups
what I see at line no. 4:

didiwiki is clear started (and does!) as I do it also in .start !

how does cups start?

rgds

smil99
Posts: 174
Joined: Sat 18 Aug 2007, 22:12

#82 Post by smil99 »

Hi simargl,
Thanks for the quick response. Below are the outputs requested.
[root@archpup ~]# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name

unix 2 [ ACC ] STREAM LISTENING 2683 1543/cupsd /var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 4503 1789/X /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 3745 1548/pup-volume-mon /tmp/pup_volume_monitor_socket
unix 2 [ ACC ] STREAM LISTENING 3963 1806/dbus-daemon @/tmp/dbus-ixHHiHU9E1
unix 2 [ ACC ] SEQPACKET LISTENING 1961 807/udevd /run/udev/control
[root@archpup ~]#

[root@archpup ~]# ps -ef | grep cups
root 1543 1 0 12:22 ? 00:00:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 1872 1870 0 12:24 pts/1 00:00:00 grep cups
[root@archpup ~]#
Hope this helps.
Cheers.
[b][color=green]Success is never ending. ... Failure is never final![/color][/b]
[size=75][i](Used with kind permission from jejy69)[/i][/size]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#83 Post by darkcity »

I've posted how I got Frisbee working (sort of) in Archpup1212-
http://www.murga-linux.com/puppy/viewtopic.php?t=83264
---

I've updating the SFS page on wiki, includes links to tools for messing with SFSs and PETs-
http://puppylinux.org/wikka/squashfs


---
Is there anyway to get pacman to install new files to a different directory other than RootFS?

Would be useful for making extra SFSs - adding packages without stuffing savefile?

smil99
Posts: 174
Joined: Sat 18 Aug 2007, 22:12

#84 Post by smil99 »

Hi darkcity,
From simargl's documentation files for next release,
arch2sfs has the same idea and functionality (as pet2sfs). Let's assume that you installed
gnumeric with pacman -Sf gnumeric. That package is installed including its
dependencies, and downloaded packages are stored in /var/cache/pacman/pkg.
Now you can change to cache directory and run arch2sfs gnumeric.
New sfs module gnumeric.sfs is created, so you can remove gnumeric withpacman -Rs gnumeric, and load this module to avoid using space in savefile.
Pacman will recognize converted packages as installed.
Hope this helps.
Cheers.
[b][color=green]Success is never ending. ... Failure is never final![/color][/b]
[size=75][i](Used with kind permission from jejy69)[/i][/size]

simargl

#85 Post by simargl »

oui, smil99:
From your output looks like there is same problem for you both: cupd service is running but it doesn't listen on default port 631. Try to search with google, seems like its common error. This is mine netstat output:
[root@archpup ~]# netstat -nlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1323/cupsd
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 2 [ ACC ] STREAM LISTENING 31826 1931/menu-cached /tmp/.menu-cached-:0-root
unix 2 [ ACC ] STREAM LISTENING 17240 1774/X /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 17239 1774/X @/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 17562 1787/dbus-daemon @/tmp/dbus-ApG64L5AjV
unix 2 [ ACC ] STREAM LISTENING 2690 1331/pup-volume-mon /tmp/pup_volume_monitor_socket
unix 2 [ ACC ] SEQPACKET LISTENING 1226 722/udevd /run/udev/control
unix 2 [ ACC ] STREAM LISTENING 17358 1808/dbus-daemon @/tmp/dbus-1V9MdJSwLs
unix 2 [ ACC ] STREAM LISTENING 2709 1323/cupsd /var/run/cups/cups.sock
darkcity:To install on different root directory this works,

Code: Select all

pacman -S leafpad -r /mnt/home/data/Downloads --dbpath /var/lib/pacman -y -v
pacman will use its existing base in /var/lib/pacman, so no need for updating with pacman -Syu,
and installed package will be listed in /var/lib/pacman/local.
If you want to try arch2sfs script it's here https://bitbucket.org/simargl/archpup/r ... n/arch2sfs
First copy, or move folder /var/cache/pacman/pkg outside of you savefile, then convert
all of your installed packages to single sfs module, with

Code: Select all

 arch2sfs modulename.sfs

simargl

#86 Post by simargl »

... to continue previous post and creating sfs module. It is possible to only download packages
with all needed dependencies, but not to install them, using pacman -Sw. As some test I made
xfce sfs module, and you can do it if you want to with:

Code: Select all

pacman -Sw xfce4-panel xfce4-settings xfce4-session xfwm4 xfdesktop
Now move folder /var/cache/pacman/pkg to /mnt/home, and inside that folder open terminal
and type arch2sfs xfce.
Load module xfce.sfs, then comment all 3 lines in /root/.xinitrc and add exec xfce4-session.
Edit:
Before you start first clean pacman cache with pacman -Scc

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#87 Post by darkcity »

Hi simargl, many thanks for the instructions. I will have a play around with that. Looking at something like

1. pacman to directory
2. remove bloat
3. make sfs

but now its time to take a break

have a good'un :twisted:

smil99
Posts: 174
Joined: Sat 18 Aug 2007, 22:12

#88 Post by smil99 »

simargl, oui:
Made some progress with cups.
1. I added "ifconfig lo up" to top of /root/.start and "cupsd" to the bottom.
Also changed "ALL: LOCAL" to "ALL: ALL" in "/etc/hosts.allow"
2. Renamed "cups" to "cupsd" at "/etc/init.d"
3. After reboot, "netstat -nlp" gave the following:

Code: Select all

[root@archpup ~]# netstat -nlp 
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      21020/cupsd         
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name     Path
unix  2      [ ACC ]     STREAM     LISTENING     2820     1621/pup-volume-mon  /tmp/pup_volume_monitor_socket
unix  2      [ ACC ]     STREAM     LISTENING     2862     1791/X               /tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     82038    21322/dbus-daemon    @/tmp/dbus-uwkgCDoiQQ
unix  2      [ ACC ]     STREAM     LISTENING     2861     1791/X               @/tmp/.X11-unix/X0
unix  2      [ ACC ]     STREAM     LISTENING     2852     1692/cupsd           /var/run/cups/cups.sock
unix  2      [ ACC ]     STREAM     LISTENING     5957     7504/dbus-daemon     @/tmp/dbus-fcZOqvne2x
unix  2      [ ACC ]     STREAM     LISTENING     13147    21020/cupsd          /var/run/cups/cups.sock
unix  2      [ ACC ]     SEQPACKET  LISTENING     1955     813/udevd            /run/udev/control
[root@archpup ~]#
which means cups is listening at the default port 631. However, localhost:631 gave "page not found" error.
4. I then reinstalled/ installed the following:
[root@archpup ~]# pacman -Sfd cups avahi ghostscript gsfonts gutenprint cups-pdf
5. Rebooting again, cups webpage appears however, I am unable to access other pages except http://localhost:631/help/. All others give

Code: Select all

Internal Server Error
message.
Hope this helps.
Cheers.
[b][color=green]Success is never ending. ... Failure is never final![/color][/b]
[size=75][i](Used with kind permission from jejy69)[/i][/size]

stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

#89 Post by stifiling »

anybody use teamviewer in wine? wonder why it doesn't wanna work. i've tried the default teamviewer with the integrated wine, about 5 different versions of wine, crossover, the wine.sfs for puppy.....that's the only wine app that i can't get to work.

oui

#90 Post by oui »

hi Simargl

is there eventually possible that cupsd doesn't because of absence of password security? I know that cups doesn't work in other distributions without acceptation of root password!

rgds

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#91 Post by mavrothal »

smil99 wrote:simargl, oui:
Made some progress with cups.
.....
If I understand correctly cups 1.6.1 needs avahi-daemon to run which needs dbus running beforehand. In arch-proper these are going through systemd. In archpup may need some work in init.d/rc.conf to get them going properly. Avahi-daemon is missing altogether for example, and cupsd.conf is from an earlier version.
Since you re-installed from the repo, see if you can start /etc/rc.d/avahi-daemon manually and then start cupds and see how this works. (sorry not much time till after the holidays :lol: )
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

toro
Posts: 6
Joined: Wed 26 Dec 2012, 19:25
Contact:

#92 Post by toro »

Just noting my experience from last night installing ArchPup 12.12 on a Lenovo T60. I was able to boot into the OS (at first not--stuck at a cli with /puppy_ro2 .. /puppy_ro9 etc, but then when I had a USB with the SFS files on it already stuck in at boot, for some reason it did. May have been I didn't properly check the MD5 hash on my first download of the iso.) But then

I'm much too excited about this distro to give up now. Had been fantasizing about going back from Lubuntu to Arch since about a year ago, so when Lubuntu crashed and wasn't restarting, I found this gem that I can hopefully run from within ram.

If it's useful to know my most useful programs that I'm hoping to run are Rstudio, tmux, perl, rvm, git, vi, and mplayer.
Last edited by toro on Thu 27 Dec 2012, 14:40, edited 1 time in total.

smil99
Posts: 174
Joined: Sat 18 Aug 2007, 22:12

#93 Post by smil99 »

mavrothal wrote:
...see if you can start /etc/rc.d/avahi-daemon manually...
avahi-daemon is found at /usr/sbin/ instead of /etc/rc.d.
Using the command etc/rc.d/avahi-daemon returned the following:

Code: Select all

[root@archpup ~]# etc/rc.d/avahi-daemon
bash: etc/rc.d/avahi-daemon: No such file or directory
[root@archpup ~]# 

Also, trying /usr/sbin/avahi-daemon rerurned:

Code: Select all

[root@archpup ~]# /usr/sbin/avahi-daemon
Failed to find user 'avahi'.
[root@archpup ~]#
Clearly, there seem to be conflicts between etc/rc.d calls and systemct calls as the latter also gave:

Code: Select all

[root@archpup ~]# systemctl enable avahi-daemon.service
bash: systemctl: command not found
[root@archpup ~]#
Nevertheless, reading around the internet, I came across the use of the following:

Code: Select all

chmod a+rw /dev/random /dev/urandom
So as a last resort, I tried it and lo and behold, I was able to navigate localhost:631, searched for a network printer (Canon MP640) and even installed it without any restrictions. However, it refuses to print as the printer starts shortly and then stops withotu printing anything. The print job also disappears from the CUPS interface. :(
I know we are almost close to solving this problem but I am at my wits end as at now. I only hope this can be resolved by the smarter guys around here. Is rcrsn51also reading this? :)
Hope this helps.
Cheers.
[b][color=green]Success is never ending. ... Failure is never final![/color][/b]
[size=75][i](Used with kind permission from jejy69)[/i][/size]

ciento
Posts: 181
Joined: Sat 18 Sep 2010, 02:53

Re: ArchPup 12.12

#94 Post by ciento »

simargl wrote:ArchPup is minimalistic Puppy Linux variant
Hi, is there any chance to include wvdial and it's depends? This would
help 3G usb modem users access the Arch repos, perhaps increasing
the userbase over time. It's a pretty lean distro to get wvdial going
by hand. (lean is good, almost lean, but with net access, is a hair better
for some of us :wink:

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#95 Post by mavrothal »

I'm getting a

Code: Select all

pup-volume-monitor-WARNING **: udev event monitor exited while daemon is running
in /tmp/pup-volume-monitor-log/log_XXXXXXX ?
Anybody else is seeing this?
This is maybe why volume-monitor is not refreshing.

BTW /etc/init.d/start-pup-volume-monitor has a typo in line 15. Should be "-starter" not "-start"
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

Post Reply