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 Fri 15 Dec 2017, 23:55
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Quirky Pyro64 version 0.6 (alpha) -- and Pyro32 0.5
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 14 of 14 [205 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Author Message
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8346
Location: Perth, Western Australia

PostPosted: Thu 07 Dec 2017, 19:42    Post subject:  

don570 wrote:
I tried to get the samba server to be recognized by a second computer and
it still fails to connect. Has anybody succeeded ?
__________________________________________________


It is about time that I actually used samba myself!

I am going to install Open Media Vault, have downloaded the iso. This is a NAS operating system, based on Debian Stable.

Planning to install on my midi-tower PC, which has two ethernet sockets, 100MB/s and 1000MB/s. Then configure it as a Samba server.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
ally


Joined: 19 May 2012
Posts: 1649
Location: lincoln, uk

PostPosted: Thu 07 Dec 2017, 20:27    Post subject:  

openmediavault is awesome

my raspberry pi runs 7 drives quite comfortably

an observation though, when samba (yassm) is running the cpu load is high even when not transferring data, this happens whichever puppy I'm using (tahrpup,xenial,fatdog etc.)

Smile
Back to top
View user's profile Send private message Visit poster's website 
scsijon

Joined: 23 May 2007
Posts: 1263
Location: the australian mallee

PostPosted: Thu 07 Dec 2017, 22:48    Post subject: devx fails?  

devx (devx-0.6-pyro64.pet) is failing to install, seems to copy/expand itself into /root first then fails with an error>
Error package devx-0.6-pyro64.pet failed to install.

xerrs.log shows>
stat: cannot stat '/root/devx-0.6-pyro64.pet': No such file or directory
expr:syntax error
expr:syntax error
/usr/local/petget/installpkg.sh: line175: [: -gt: unary operator expected
/usr/local/petget/installpkg.sh: line201: [: -gt: unary operator expected

I've tried d/l from 3 sites with the same result so i don't think it's me as other pets install ok

md5# is f06ba3a6ed3fa17c1945d78c57f755e1 if that helps

regards


EDIT: wierd, downloading from other puppies won't install,but downloading with PKGGet in pyro 0.6 works and injstalls.

Last edited by scsijon on Wed 13 Dec 2017, 03:16; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4764
Location: Kingwood, TX

PostPosted: Thu 07 Dec 2017, 23:19    Post subject:  

BarryK wrote:
don570 wrote:
I tried to get the samba server to be recognized by a second computer and
it still fails to connect. Has anybody succeeded ?
__________________________________________________


It is about time that I actually used samba myself!

I am going to install Open Media Vault, have downloaded the iso. This is a NAS operating system, based on Debian Stable.

Planning to install on my midi-tower PC, which has two ethernet sockets, 100MB/s and 1000MB/s. Then configure it as a Samba server.

If the kernel is configured with CIFS support, local "samba" shares can be mounted as follows:
Code:
mount -t cifs -o username=USERNAME,password=PASSWD,uid=$USER,gid=$USER //192.168.1.88/shares ~/mnt/share

(substituting correct local IP address and directories)
Now if you've gone all out and want to resolve host names instead of using IP addresses directly, you'll also need "/sbin/request-key" (from keyutils IIRC) to resolve the IP for the kernel to use

To share files from Linux to Windows you'd still need the samba package for the server daemon, but for simple access to local Windows shares from Linux (probably ~90% of use cases), nothing else should be needed. Fortunately most routers and NAS devices will list the devices that are attached to it and the corresponding IP address on their UI (usually at 192.168.0.1/ for routers)


Extra info for developers. The kernel has a builtin keyring mechanism that it uses to store cached DNS resolutions (amongst other things) but no internal mechanism to resolve a hostname to an IP address; thus the need for /sbin/request-key (I don't get the reasoning behind using userspace tools from the kernel, but that's how it is) When you mount a remote SMB or CIFS share using the kernel's builitin filesystem, it will check to see if it is in //*.*.*.*/* format (not sure about IPv6 formatted addresses) and use IP addresses directly or make a call to dns_query to lookup the hostname. If it is already stored in the keyring, it uses the stored IP address to connect; otherwise it calls another builtin kernel function that calls /sbin/request-key. This is not unusual, /sbin/hotplug is used by the kernel to handle hot-plugging (though now most people use the netlink alternative these days) FWIW I experimented with my own DNS caching utility here, but it would need to be patched into the libc to really be helpful and Rich Felker didn't want to add it to musl since it is non-standard.

_________________
Check out my github repositories. I may eventually get around to updating my blogspot.
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 4811
Location: Ontario

PostPosted: Sat 09 Dec 2017, 16:44    Post subject: probedisk -m doesn't work in some distros  

probedisk -m doesn't work in some distros


BarryK has a script to install pyro64 to a drive i.e. a USB stick
pyro-0.5/4install-quirky-to-drive-mbr

it uses probedisk command
Code:
 echo "These are all of the drives found in your PC:"
 INFODRIVES="$(probedisk -m | sed -e 's%/dev/%%')"
 


The script doesn't work in some distros because of probedisk -m

Here are some examples when I checked
(precise 571 and xerus worked) Laughing ...

Code:

 _____________________________________________________
 
 echo "These are all of the drives found in your PC:"
 INFODRIVES="$(probedisk -m | sed -e 's%/dev/%%')"
 
 ____________________________________________
 xerus64  russian
# probedisk -m
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|drive|ATA Hitachi HUA72101
/dev/sdc|usbdrv|KingstonDataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E

# probedisk
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|drive|ATA Hitachi HUA72101
/dev/sdc|usbdrv|KingstonDataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E

_____________________________________________

precise 571
 probedisk -m
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|usbdrv|KingstonDataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E

# probedisk
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|usbdrv|KingstonDataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E

___________________________________________

xenialpup  64   7.5

root# probedisk -m
* probedisk -m: unknown option. type 'probedisk -help'

root# probedisk
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|usbdrv|Kingston DataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E
______________________________________________

slacko64 700

# probedisk -m
-m: invalid device

# probedisk   
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|usbdrv|Kingston DataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E
#
_____________________________________________

Dpup stretch 700a2

# probedisk -m
* probedisk -m: unknown option. type 'probedisk -help'

# probedisk
/dev/sda|drive|ATA SAMSUNG HD103SJ
/dev/sdb|usbdrv|Kingston DataTraveler 2.0
/dev/sr0|optical|SAMSUNG DVD-ROM SD-616E
___________________________________

 


Also see report
http://murga-linux.com/puppy/viewtopic.php?p=976803#976803
______________________________________________

Last edited by don570 on Mon 11 Dec 2017, 18:56; edited 1 time in total
Back to top
View user's profile Send private message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8346
Location: Perth, Western Australia

PostPosted: Sun 10 Dec 2017, 20:50    Post subject:  

BarryK wrote:
don570 wrote:
I tried to get the samba server to be recognized by a second computer and
it still fails to connect. Has anybody succeeded ?
__________________________________________________


It is about time that I actually used samba myself!

I am going to install Open Media Vault, have downloaded the iso. This is a NAS operating system, based on Debian Stable.

Planning to install on my midi-tower PC, which has two ethernet sockets, 100MB/s and 1000MB/s. Then configure it as a Samba server.


Never got around to using OpenMediaVault, nor FreeNAS.

But, have got Samba going:

http://bkhome.org/news/201712/toto-link-wifiethernet-routerrepeater.html

Only on Quirky Xerus64 though, which is built with Ubunu 16.04 DEBs.

I will fire up Pyro64 soon, and get Samba going on that.

There is one thing that puzzles me. I can access "puppyshare" from my Win10 machine, but was unable to do the reverse.

I installed network_roxapp_samba 0.9 PET, and clicked on /root/network, which scans for shared folders and creates local folders. It found the local puppyshare, but for the Win10 machine, found it's shared folder but asked for a username and password -- I just entered "root" and "woofwoof" but that didn't work.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 8346
Location: Perth, Western Australia

PostPosted: Mon 11 Dec 2017, 06:27    Post subject:  

Ah, found cause of samba troubles...

For the Pyro64 build anyway. 'mount.cifs' and 'umount.cifs' is missing. They are in Quirky Xerus64.

Reason is, Quirky Xerus64 is build with 'cifs-utils' DEB. This has those utilities. They used to be in samba, but got split out to a separate package, 'cifs-utils'.

I need to compile cifs-utils for Pyro64.

I discovered this when I attempted to get one PC running Easy Pyro64, another running Quirky Pyro64, to talk to each other via samba.

Progress, hope to upload Easy Pyro64 0.6.x very soon.

_________________
http://barryk.org/news/
Back to top
View user's profile Send private message Visit poster's website 
foxpup


Joined: 29 Jul 2016
Posts: 279
Location: europa near northsea

PostPosted: Mon 11 Dec 2017, 15:19    Post subject: feedback on pyro32-0.6.1  

Barry

I installed pyro32-0.6.1 frugally on a 64bit efi computer ssd. It boots fine!
Trick is to go from refind to grub2 to the 32bit distro. Not all grub binaries can boot a 32bit distro on a 64bit uefi that way, but the grub from puppy/fatdog can Wink but only after refind!

To my big surprise, after previous bad experiences on 64bit pyro/easy, I get automatic wifi connection on startup!! Everything works right! Connection takes about 50 seconds and the tray icon gets a red cross once or twice before turning green and finally blue again, but all works out well Very Happy
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4811
Location: Ontario

PostPosted: Mon 11 Dec 2017, 18:41    Post subject:  

The best source of information about setting up a Samba server that I have come across is ...

https://www.theurbanpenguin.com/setting-up-a-samba-server-on-raspberry-pi/

and the youtube video
https://www.youtube.com/watch?v=D1eD60_jhKI&nohtml5=1

It is meant for raspberry pi user but it's useful for linux user as well.
_______________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4811
Location: Ontario

PostPosted: Mon 11 Dec 2017, 20:57    Post subject:  

don570 wrote:

probedisk -m doesn't work in some distros


BarryK has a script to install pyro64 to a drive i.e. a USB stick
pyro-0.5/4install-quirky-to-drive-mbr


Mavrothal has suggestion

Quote:
@don570 I think that is probably BK's relic code as Pyro's (and older versions of) probedisk does not accept any cli arguments. -m, -a, -b, or anything else gives the same result as nothing.
In contrast the probedisk in recent (6+) puppies does have several option and exits if an unknown option is provided.
Delete "-m" from the script code and it should be fine
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 14 of 14 [205 Posts]   Goto page: Previous 1, 2, 3, ..., 12, 13, 14
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0924s ][ Queries: 15 (0.0151s) ][ GZIP on ]