ArchPup 12.12.2

For talk and support relating specifically to Puppy derivatives
Message
Author
stifiling
Posts: 388
Joined: Sun 30 Dec 2007, 03:56

Wireless?

#181 Post by stifiling »

simargl,

The wireless 'hook up' in archpup is not getting it. the b43 module has to be modprobed, the libfirmware.sfs is 25mbs and is still missing the b43 firmware, and even after figuring all that out....pwireless2 isn't connecting. if it is for some it's finicky, because it's not for me.

when wireless doesn't work out of the box, and with linux having so many choices, it's kind of a deal breaker.

so i think we should work on that. i'll start now, and hope to find an acceptable solution.

xstylezx
Posts: 28
Joined: Wed 14 Nov 2007, 20:55

Re: Wireless?

#182 Post by xstylezx »

stifiling wrote:simargl,

The wireless 'hook up' in archpup is not getting it. the b43 module has to be modprobed, the libfirmware.sfs is 25mbs and is still missing the b43 firmware, and even after figuring all that out....pwireless2 isn't connecting. if it is for some it's finicky, because it's not for me.

when wireless doesn't work out of the box, and with linux having so many choices, it's kind of a deal breaker.

so i think we should work on that. i'll start now, and hope to find an acceptable solution.
getting my wireless to work would be awesome. this is the only puplet i've had a problem with out of the box. i use an older usb dongle to have my primary desktop online through my wireless network. b43 module is likely what i need as well. hope that gets worked out as was hoping to play around with this some more. out of the box ram use was shockingly low

User avatar
dennis-slacko531
Posts: 100
Joined: Wed 18 Jan 2012, 21:53
Location: Oregon
Contact:

Just a Big Thanks for ArchPup

#183 Post by dennis-slacko531 »

It's incredible!! And thank you for making Grub4dos work smoothly. I put it on my Puppy fan website. (Maybe my little parody website can help).

http://www.LNUX.com

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

Re: Wireless?

#184 Post by mavrothal »

stifiling wrote:pwireless2 isn't connecting. if it is for some it's finicky, because it's not for me.
Is Frisbee working for you?
Jemimah, the developer of Pwireless2 dropped it and developed Frisbee exactly because it was a bit "finicky"
== [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] ==

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

Re: Wireless?

#185 Post by stifiling »

mavrothal wrote:Is Frisbee working for you?
Jemimah, the developer of Pwireless2 dropped it and developed Frisbee exactly because it was a bit "finicky"
It's not....running Frisbee from command line i'm seeing:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
ioctl[SIOCISWENCODEEXT]: Invalid argument

those two errors. after a reboot, when i first run Frisbee, i get nothing...but then when i press 'Wireless Network Reset'...it populates with the wireless signals, but doesn't connect to any. Hit 'Wireless Network Reset' again...and the signals disappear and won't come back until i reboot again.

it 'almost' works on 1212...i only get the first error on that one, but i also have wicd installed on that one so not sure if it's helping it out some kind of way....but on an out the box 12.12.1...i'm getting those errors.

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

Re: Wireless?

#186 Post by mavrothal »

stifiling wrote:
mavrothal wrote:Is Frisbee working for you?
Jemimah, the developer of Pwireless2 dropped it and developed Frisbee exactly because it was a bit "finicky"
It's not....running Frisbee from command line i'm seeing:
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
ioctl[SIOCISWENCODEEXT]: Invalid argument
Is Pwireless also running?
If you have the chance try this (if you haven't already).
On a pfix=ram boot, remove Pwireless it from init.d, install b43 firmware, install Frisbee_archpup-2. Do not run it. Save on a new savefile and reboot.
Note: comment out the whiteout removal (line 16) in usbsave, because otherwise Pwirless will remain active on next reboot.
Last edited by mavrothal on Mon 07 Jan 2013, 17:06, edited 1 time in total.
== [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] ==

simargl

#187 Post by simargl »

REMOVED*
Last edited by simargl on Sun 06 Jan 2013, 11:51, edited 1 time in total.

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

Re: Wireless?

#188 Post by stifiling »

mavrothal wrote:Is Pwireless also running?
If you have the chance try this (if you haven't already).
On a pfix=ram boot, remove Pwireless it from init.d, install b43 firmware, install Frisbee_archpup-2. Do not run it. Save on a new savefile and reboot.
Note: comment out the whiteout removal (line 16) in usbsave, because otherwise Pwirless will remain active on next reboot.
ok i jus had some success with that method. Imma test it out a lil more because this first run was a lil rocky.
simargl wrote:Is this firmware package you are missing b43-firmware-5.100.138-2-any.pkg.tar.xz, built it from AUR. Try it, if it works I will add that package to linux-firmware sfs, you all seem to miss that one..
that more than likely is the working firmware for b43...i'll test it to be certain. i still though think it would be more familiar, and more user friendly to add the /lib/firmware folder from a traditional puppy, into the archpup-12.12.sfs. it'll add abt 4mb, but subtract a few steps for the users.

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

#189 Post by mavrothal »

12.12.1 looks OK at my end.

However start-pup-volume-monitor still has the typo error that prevents restart.
In case I was not clear the first time here it is in patch form

Code: Select all

--- a/etc/init.d/start-pup-volume-monitor	2012-12-13 15:32:16.000000000 +0200
+++ b/etc/init.d/start-pup-volume-monitor	2013-01-06 07:48:44.000000000 +0200
@@ -12,7 +12,7 @@
         killall pup-volume-monitor-starter
         killall pup-volume-monitor
 		sleep 1
-        pup-volume-monitor-start &
+        pup-volume-monitor-starter &
         ;;
     *)
         echo $"Usage: $0 {start|stop|restart}"
You may also want to change tint2rc so will remain border-less when the window border theme is changed

Code: Select all

--- a/root/.config/tint2/tint2rc	2013-01-04 16:31:41.000000000 +0200
+++  b/root/.config/tint2/tint2rc	2013-01-06 12:25:17.000000000 +0200
@@ -59,7 +59,7 @@
 panel_size = 100% 63
 panel_margin = -3 0
 panel_padding = 0 0
-panel_dock = 1
+panel_dock = 0
 wm_menu = 1
 panel_layer = top
 panel_background_id = 1

On a different subject, I can appreciate that aufs-utils are not in Arch and you may have problems including them in ArchPup, however this is a problem particularly if you start getting filesystem errors. You may want to revisit this matter if a v2 is planned.
And out of curiosity, what is the reasoning that the whiteouts are copied to the savefile when the savefile is in a HD but not when is on a USB stick or in pupmode5? :?
== [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] ==

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

#190 Post by stifiling »

Frisbee is really working, really well....and looks like the perfect candidate to fill that gap.

about pup volume monitor though, i noticed when i was taking the screenshots of the different desktops, that it doesn't seem to work with dolphin, and e17 desktop. I had to install dbus-core, systemd, pango, and everything else. but after that...it worked perfectly fine using the default gvfs/udisks2/gio. So i jus wanted to make that known.

as the time goes on i'm expecting to see some, "You know why my USB drives aren't showing up in dolphin??" type of questions.

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

#191 Post by mavrothal »

Can someone that still has it, post the archpup-1204-2.iso somewhere (in datafilehost or something).
Does not appear to be available anymore.
== [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] ==

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

#192 Post by stifiling »


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

#193 Post by stifiling »

@simargl

that firmware works for b43.

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

#194 Post by mavrothal »

It would appear that the 1.7MB libc-2.16.so is both in /lib and /usr/lib
== [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] ==

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

#195 Post by stifiling »

mavrothal wrote:It would appear that the 1.7MB libc-2.16.so is both in /lib and /usr/lib
well...that makes /lib/firmware only grow it abt 2.3MB now.

simargl

#196 Post by simargl »

stifiling wrote:@simargl

that firmware works for b43.
So what you suggest, add that package to linux-firmware from Arch, or use some different source. You mentioned 4mb package from somewhere, but please add link to it.
@mavrothal: I had to copy some libraries from /usr/lib to /lib, couldn't just move them because then compiling would not work.

Code: Select all

........
for i in ld-2.16.so ld-linux.so.2 libc-2.16.so libc.so libc.so.6 \
libdl-2.16.so libdl.so libdl.so.2; do cp -ax install/usr/lib/$i install/lib; done
..........
EDIT: Compressed size of those libraries is 650kb.

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

#197 Post by stifiling »

this is the firmware from traditional puppy. it's the /lib/firmware folder from out of precise. i'm thinking rather than using it as a separate sfs....it would be 'a load off' to integrate/mksquashfs it into archpup-12.12.sfs

wireless should just work shouldn't it? presently it's the exact same as having to install a driver on windows, to get wireless working.

firmware.sfs
http://www.datafilehost.com/download-1c630a23.html

simargl

#198 Post by simargl »

Thanks stifiling,
I have uploaded linux firmware to sourceforge, now you can test it. Maybe even Pwireless will now work :shock:
http://sourceforge.net/projects/archpup ... 2.12.1.sfs

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

#199 Post by mavrothal »

Here is my little pup-volume-monitor daemon that will refresh removable devices on thunar (with 10-some seconds delay...)

Code: Select all

#!/bin/sh
while $1
do
sleep 5
USBON=`dmesg | tail --lines=19| grep 'New USB device strings'`
USBOFF=`dmesg | tail | grep 'USB disconnect'`
if [ "$USBON" != "" ] || [ "$USBOFF" != "" ]; then
 if [ "$USBON" != "`cat /tmp/USBON`" ] ; then
  exec /etc/init.d/start-pup-volume-monitor restart & 
  echo "$USBON" > /tmp/USBON
 elif [ "$USBOFF" != "`cat /tmp/USBOFF`" ] ; then
  exec /etc/init.d/start-pup-volume-monitor restart & 
  echo "$USBOFF" > /tmp/USBOFF
 fi
fi
done
Give it a name (ie "PVM_daemon"), make it executable, place it in /usr/bin and edit the /root/.start file to include this line

Code: Select all

exec PVN_daemon &
It may miss an event here and there depending on the kernel log traffic, but is better than nothing till pup-volume-monitor is fixed in ArchPup.

Note The above assumes that you have corrected start-pup-volume-monitor as suggested
== [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] ==

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

#200 Post by stifiling »

mavrothal...the udev u posted in the last thread works. what makes it stop after a reboot though is the file /lib/libudev.so.0 gets overwritten. so my workaround for it was edit the /etc/init.d/start-pup-volume-monitor file to look like:

Code: Select all

#!/bin/bash

case "$1" in
    start)
	rm /lib/libudev.so.0 &
	sleep 1
	ln -s /lib/libudev.so.0.11.1 /lib/libudev.so.0 &
        pup-volume-monitor &
        ;;
    stop)
        killall pup-volume-monitor
        ;;
    restart)
        killall pup-volume-monitor
		sleep 1
        pup-volume-monitor &
        ;;
    *)
        echo $"Usage: $0 {start|stop|restart}"
        ;;
esac
pup-volume-monitor works normally on my machine after doing this.

Post Reply