Quirky Pyro64 version 0.6 (alpha) -- and Pyro32 0.5

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#196 Post by BarryK »

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.
[url]https://bkhome.org/news/[/url]

User avatar
ally
Posts: 1957
Joined: Sat 19 May 2012, 19:29
Location: lincoln, uk
Contact:

#197 Post by ally »

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.)

:)

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

devx fails?

#198 Post by scsijon »

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, 07:16, edited 1 time in total.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#199 Post by technosaurus »

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: Select all

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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

probedisk -m doesn't work in some distros

#200 Post by don570 »

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: Select all

 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) :lol: ...

Code: Select all

 _____________________________________________________
 
 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. ... 803#976803
______________________________________________
Last edited by don570 on Mon 11 Dec 2017, 22:56, edited 1 time in total.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#201 Post by BarryK »

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 ... eater.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.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#202 Post by BarryK »

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.
[url]https://bkhome.org/news/[/url]

foxpup
Posts: 1132
Joined: Fri 29 Jul 2016, 21:08

feedback on pyro32-0.6.1

#203 Post by foxpup »

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 ;-) 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 :D

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#204 Post by don570 »

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

https://www.theurbanpenguin.com/setting ... pberry-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.
_______________________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#205 Post by don570 »

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
@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

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

Printing with Cups and Samba

#206 Post by scsijon »

Maybe what you also want is to allow other subnets to print, in your cups config add --remote-any to your cupsctl statement. It's one of those settings that's sometimes there in help and sometimes not otherwise you can only use the local subnet, other subnets connected will fail to print on your printer.

and as for the Samba print servert bit, just read
https://wiki.samba.org/index.php/Settin ... int_Server
I think that will sort it out. Make sure your Samba wasn't built with --disable-cups, or is configured with this switch somewhere, else it will never work.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#207 Post by BarryK »

I have released Easy Pyro64 0.6.4, with QuickSamba, if anyone wants to give that is spin:

http://murga-linux.com/puppy/viewtopic. ... 657#977657

I am thinking of upgrading my wireless/ethernet router/repeater, as mine is older technology (slow). Was thinking of this:

https://www.aliexpress.com/item/TOTOLIN ... 26467.html

...but, what do they mean by "US plug with box" and "US plug without box"? It is probably obvious... does the meaning jump out at anyone?
[url]https://bkhome.org/news/[/url]

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#208 Post by Sage »

what do they mean by "US plug with box" and "US plug without box"
It's the mains plug. Either they'll fit one for you or you can DIY. In the UK, they're supposed to supply moulded-on plugs. Not sure what your Law says, but either way, cut it off and fit your own. If you're arrested, show the Court your qualifications and ask them if they'd like a lecture on connecting electrical and electronic equipment. Indicate that your 'usual rates' apply. That usually silences some of the know-it-all pen-pushers with degrees in ancient Greek, no offences to the Greeks.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#209 Post by don570 »

I wonder if they are talking about adaptors. Here's Mele's adaptor.
https://www.aliexpress.com/store/produc ... 68228.html

'With box' would mean that it is adaptable to regions like in picture.
'Without a box' would mean it is all moulded tightly together.
______________________________________________
Attachments
Adaptor-mele.jpg
(111.93 KiB) Downloaded 223 times

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#210 Post by BarryK »

BarryK wrote:I am thinking of upgrading my wireless/ethernet router/repeater, as mine is older technology (slow). Was thinking of this:

https://www.aliexpress.com/item/TOTOLIN ... 26467.html

...but, what do they mean by "US plug with box" and "US plug without box"? It is probably obvious... does the meaning jump out at anyone?
Got up this morning, and suddenly realised what it means. That link is the manufacturer's sales outlet, so they are optionally selling it without the fancy box that these things normally come in. Saves them a couple of dollars.

That's my reasoning anyway.
[url]https://bkhome.org/news/[/url]

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#211 Post by BarryK »

BarryK wrote:
BarryK wrote:I am thinking of upgrading my wireless/ethernet router/repeater, as mine is older technology (slow). Was thinking of this:

https://www.aliexpress.com/item/TOTOLIN ... 26467.html

...but, what do they mean by "US plug with box" and "US plug without box"? It is probably obvious... does the meaning jump out at anyone?
Got up this morning, and suddenly realised what it means. That link is the manufacturer's sales outlet, so they are optionally selling it without the fancy box that these things normally come in. Saves them a couple of dollars.

That's my reasoning anyway.
I ordered one of these:

https://www.aliexpress.com/item/A2004NS ... 30540.html

Fast wi-fi and gigabit ethernet. Very cheap, cost US$41.15 including delivery to Australia, and an AU (Australian) plug. Ordered the "with full package", so I guess that is the same as "with box".

Aliexpress Standard Shipping, which I think is registered, courier delivered.

I looked at some reviews, some criticisms, but then it is much cheaper than others.
[url]https://bkhome.org/news/[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#212 Post by don570 »

barryk wrote:Saves them a couple of dollars.
I've noticed that sometimes they don't put in software and instruction booklet.
____________________________________________

scsijon
Posts: 1596
Joined: Thu 24 May 2007, 03:59
Location: the australian mallee
Contact:

#213 Post by scsijon »

don570 wrote:
barryk wrote:Saves them a couple of dollars.
I've noticed that sometimes they don't put in software and instruction booklet.
____________________________________________
Not that unusual nowadays when sales are made while translation and testing fixes to the software are still being worked out. I actually prefer this to getting faulty software/unreadable manuals.

Post Reply