| Author |
Message |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Thu 26 Mar 2009, 10:31 Post subject:
|
|
More updates:
1. mount.cifs is missing. So mount to CIFS share can only use the older protocol smbfs. (got a warning in dmesg that smbfs is deprecated and will be removed in kernel 2.6.27 - but we're already in 2.6.28 and it's still working?)
2. missing symlink /sbin/mount.smbfs . Without this, mount -t smbfs will fail, it forces you to use smbmount.
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Thu 26 Mar 2009, 10:53 Post subject:
|
|
| techtype wrote: |
That sounds very promising then!!! Let's hope you have identified another route to a fix. (' ') |
I definitely hope so
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Thu 26 Mar 2009, 10:55 Post subject:
|
|
| jamesbond wrote: | More updates:
2. missing symlink /sbin/mount.smbfs . Without this, mount -t smbfs will fail, it forces you to use smbmount. |
Actually when I tried with smbmount, that doesn't connect to my CIFS share (which is a WD Mybook World Edition). smbclient works ok.
Got to test it with other CIFS shares ...
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Fri 27 Mar 2009, 04:38 Post subject:
|
|
Test with W2003 CIFS shares - didn't work - it says smb signing is required (only cifs supposed signing, not smbmount)
I guess we need mount.cifs ...
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Fri 27 Mar 2009, 20:07 Post subject:
mount.cifs Subject description: It works !!! |
|
I got mount.cifs source from here: http://mirrors.ibiblio.org/pub/mirrors/samba/cifs-cvs/mount.cifs.c
Do a compile, put it to /sbin and we fly !
I've tested it with my CIFS share with WD and it works.
Attached is the source and the compiled mount.cifs in tar.gz, and a dotpet for easy install.
cheers!
| Description |
The dotpet contains the binary only, and will be placed in the correct location. No manual work needed.
|

Download |
| Filename |
mountcifs-1.5.pet |
| Filesize |
7.95 KB |
| Downloaded |
494 Time(s) |
| Description |
Source (from http://mirrors.ibiblio.org/pub/mirrors/samba/cifs-cvs/mount.cifs.c) and compiled binary. Compiled binary to be placed under /sbin
|

Download |
| Filename |
mountcifs-1.5.tar.gz |
| Filesize |
14.72 KB |
| Downloaded |
460 Time(s) |
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Sun 29 Mar 2009, 00:19 Post subject:
Patch and updated binary for nbtscan |
|
nbtscan segfaulted on me when run with the full subnet (172.16.1.0/24, for example).
I tried to compile from what seems to be the source (http://www.inetcat.net/software/nbtscan.html), and it also segfaulted on me. Not only that, it kills my NAS requiring a hard-reboot on that poor harddisk.
The fix is attached here - both the source, patch and compiled dotpet.
1. Segfault comes because of out of range assignment to an array. Fixed that.
2. The NAS killing happens because of packed flooding - the delay interval between scan is too low (author intended to be 1ms, but the code was set to 0.001ms. I fixed it to 0.1ms which is intended for 100mbps network).
cheers!
| Description |
And this is the compiled pet.
|

Download |
| Filename |
nbtscan-1.5.1a-james-patched.pet |
| Filesize |
11.08 KB |
| Downloaded |
466 Time(s) |
| Description |
Contains original sources, patched source, and patch inside. Source obtained from http://www.inetcat.net/software/nbtscan.html
|

Download |
| Filename |
nbtscan-1.5.1a-james-patched.tar.gz |
| Filesize |
76.71 KB |
| Downloaded |
432 Time(s) |
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
kirk
Joined: 11 Nov 2005 Posts: 1334 Location: florida
|
Posted: Mon 30 Mar 2009, 22:25 Post subject:
|
|
Thanks Mr. Bond, I'll include it. I've got kind of side tracked right now though. I saw that the AUFS package includes a kernel patch for making the loopback block device resizable while mounted. Got to try that!
|
|
Back to top
|
|
 |
Kenny-M

Joined: 15 May 2009 Posts: 147 Location: United States
|
Posted: Thu 30 Jul 2009, 18:31 Post subject:
|
|
James,
Thanks for mount.cifs it works great connecting to my NAS server.
I am using Puppy 4.2.1 Seamonkey
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6201 Location: Auckland, New Zealand
|
Posted: Thu 06 Aug 2009, 04:24 Post subject:
|
|
People using pdfedit might also like to try pdfshuffler
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
Kenny-M

Joined: 15 May 2009 Posts: 147 Location: United States
|
Posted: Thu 06 Aug 2009, 08:27 Post subject:
|
|
disciple ,
It looks like that uses Phyton.
Thanks, but I think I'll leave that for another day...
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6201 Location: Auckland, New Zealand
|
Posted: Thu 06 Aug 2009, 21:23 Post subject:
|
|
Yes, I always avoided Python like the plague, but I've decided if you need to do document assembly type work with pdfs this is worth it
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
Kenny-M

Joined: 15 May 2009 Posts: 147 Location: United States
|
Posted: Thu 06 Aug 2009, 21:34 Post subject:
|
|
disciple,
Well if you do a new pet package are you going to include all the required python stuff so it's a simple install?
Or, at least list the locations of the required Phyton packages.
Thanks
|
|
Back to top
|
|
 |
disciple
Joined: 20 May 2006 Posts: 6201 Location: Auckland, New Zealand
|
Posted: Fri 07 Aug 2009, 01:33 Post subject:
|
|
I believe I included links in that post to all the packages I used, as well as a couple of extra steps I did.
FWIW I started off booting to ram with Puppy 4.1.1
When I get the time I might make an .sfs, but not a .pet
_________________ DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
|
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 4950 Location: Australia
|
Posted: Sat 15 Aug 2009, 22:12 Post subject:
|
|
| kirk wrote: | | * removed module ssb from the initrd.gz, no idea why it was there |
Barry explained the reason here
http://puppylinux.com/blog/?viewDetailed=00484
In recent kernels ssb is required by ohci-hcd.
| kirk wrote: | | and it causes problems with bcm43xx and wl. |
bcm43xx should not be used with recent kernels anyway. It's deprecated in favour of b43/b43legacy.
|
|
Back to top
|
|
 |
kirk
Joined: 11 Nov 2005 Posts: 1334 Location: florida
|
Posted: Sun 23 Aug 2009, 09:21 Post subject:
|
|
| Quote: | | In recent kernels ssb is required by ohci-hcd. |
Yes, I found that out soon after. Should have edited the post.
It's still a problem with wl.ko. Those wifi modules have to load before ssb or they won't work. I put this script in init.d:
#!/bin/sh
case "$1" in
start)
if [ "$(scanpci | grep 4328 | grep 14e4)" != "" ] ; then
rmmod wl
rmmod ohci_hcd
rmmod ssb
modprobe wl
modprobe ohci_hcd
fi
;;
stop)
echo -n "Nothing to stop"
;;
restart)
echo -n "Nothing to restart"
;;
esac
That's just the id of the wifi card that's in my kid's laptop, it requires wl.
I wouldn't be surprised if b43 has the same problem.
|
|
Back to top
|
|
 |
|