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 Sat 25 Oct 2014, 00:44
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Fatdog 111
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: 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.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: 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. ('Very Happy')


I definitely hope so Smile

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: 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.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: 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) Sad

I guess we need mount.cifs ...

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: Fri 27 Mar 2009, 20:07    Post_subject: mount.cifs
Sub_title: 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!
mountcifs-1.5.pet
Description  The dotpet contains the binary only, and will be placed in the correct location. No manual work needed.
pet

 Download 
Filename  mountcifs-1.5.pet 
Filesize  7.95 KB 
Downloaded  571 Time(s) 
mountcifs-1.5.tar.gz
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
gz

 Download 
Filename  mountcifs-1.5.tar.gz 
Filesize  14.72 KB 
Downloaded  536 Time(s) 

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
jamesbond

Joined: 26 Feb 2007
Posts: 2230
Location: The Blue Marble

PostPosted: 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!
nbtscan-1.5.1a-james-patched.pet
Description  And this is the compiled pet.
pet

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

 Download 
Filename  nbtscan-1.5.1a-james-patched.tar.gz 
Filesize  76.71 KB 
Downloaded  498 Time(s) 

_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1420
Location: florida

PostPosted: 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
View user's profile Send_private_message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: 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
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: 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
View user's profile Send_private_message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: 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
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: 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 Smile
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send_private_message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: 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
View user's profile Send_private_message 
disciple

Joined: 20 May 2006
Posts: 6449
Location: Auckland, New Zealand

PostPosted: 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
View user's profile Send_private_message 
tempestuous

Joined: 10 Jun 2005
Posts: 5271
Location: Australia

PostPosted: 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
View user's profile Send_private_message 
kirk

Joined: 11 Nov 2005
Posts: 1420
Location: florida

PostPosted: 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
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
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.0811s ][ Queries: 13 (0.0051s) ][ GZIP on ]