Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:04 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Small Linux for Raspberry Pi....

     Page 1 of 2    
Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 03:25am 27 May 2019
Copy link to clipboard 
Print this post

Howdy.

I know you can get the mammoth Raspbian - which takes longer to install then Windows does these days, and there are other distros for the Pi.

But I want one that is small, fast, quick to install and quick to boot.

I therefore decided on Puppy Linux, and installed Quirky Xeros 8.1.4 for Raspberry Pi 2 or 3 and this was really easy to get going, boots to the desktop in about 10 seconds which is fast.

The problem I am having, is that I cannot connect to the Pi in networking.

Following install, I used 'Dougal's Network Wizard' to set a static IP address(192.168.1.150)
Mount a USB flash drive for the purposes of testing.
Open a terminal, and passwd root to change the root password from the default.
Still in terminal, smbpasswd -a root to change the SAMBA password for windows sharing.
Apply those settings.
Start the SAMBA daemon.
Reboot the Pi now, so that the settings are saved.
Once rebooted, try to find it in Windows Network - totally invisible.
Use IP scanner to look for it - it is there on the IP address above.
Try to open the shares via IP scanner, and I am asked for username and password - this is back on a Windoze ten machine.
Enter in 'root' for user, as Puppy Linux does not really have users per-se', so you are ALWAYS the root user.
Enter in my changed password.

Windows keeps asking for the password over and over and over, and never connects to the Puppy Linux on the Pi.

Pretty much this same process on a PC hardware and a USB boot of Puppy, and you CAN talk to the Puppy box once you have entered in 'root' for user and the password as changed. But on the Pi version of Puppy, I cannot get past the password bit when trying to do the last step. One more step, and I would be in, but it won't let me past this point.

Can anyone suggest something else I could try? Willing to execute terminal commands if anyone knows of anything that I could execute to see what happens.

It is also possible, I guess, that there is a bug in the Puppy Linux for the Pi port in terms of the networking. They probably assumed users just wanted it for a general-purpose Puppy machine on a Pi for internet access etc, but I would have thought that once you enter in the password that you KNOW is correct, it won't accept it. Well, Windoze won't accept it.
Smoke makes things work. When the smoke gets out, it stops!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 04:38am 27 May 2019
Copy link to clipboard 
Print this post

Greetings for Estonia,

W10 no longer likes the early versions of Samba due to security issues.
If you puppy is using the V1x of samba, you can enable it in W10.

Not sure of what you are experiencing is related.

Jim
VK7JH
MMedit
 
Boppa
Guru

Joined: 08/11/2016
Location: Australia
Posts: 814
Posted: 05:33am 27 May 2019
Copy link to clipboard 
Print this post

Before win10 went the way of the dodo here, I had literally no end of issues with win10 and networking, it wasn't even consistent on how it failed, some days it worked, other days it didn't, it was one of the reasons I ended up in a dark house, I never did get it reliably working to the house network (the win7 machine had no issues strangely enough, before win10 installed itself anyway, then that machine also became possessed)

A mate who does commercial networking for a living was trying to get me to upgrade from the 'home' version, but as I didn't like it anyway, I just deleted it entirely

Know this might not be the answer you are looking for, but his opinion of the 'home' version of win10 was 'pretty poor' re networking ability
('pretty poor' being the polite way of putting his much swearing...)
You 'may' have to look at getting the flash business win10 version, whatever they call it now- assuming youcan't find a workaround
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 05:52am 27 May 2019
Copy link to clipboard 
Print this post

Hi.

@ Jim - Yes, SAMBA v1 is enabled on this machine, although, I don't think that is the problem as I am pretty sure that this Puppy is using SAMBA 4.

@ Boppa - Well, that does make me feel a little better in that I now know others also see these issues, and it is not just me.

For a test, I think I will boot up Puppy on my other machine, and use SAMBA SEARCH to look for SAMBA shares, and then I will try to talk to the Pi Puppy. I would not really be that surprised, if that actually works, as networking in Linux just seems to work most of the time if you have the vitals correct......shock, horror.....
Smoke makes things work. When the smoke gets out, it stops!
 
Boppa
Guru

Joined: 08/11/2016
Location: Australia
Posts: 814
Posted: 06:28am 27 May 2019
Copy link to clipboard 
Print this post

The October 2018 'biannual patch' on win10 did play extensively with the network settings and broke many, many, many peoples machines- I am not really up to date with how people got around those particular stuffups, but there was apparently another release being rolled out again now that may/maynot fix some of the issues with win10 networking they borked in the last patch rollout...
(I tend to ignore the win10 stuff these days as I no longer have/use it, so only when chatting to mates do I tend to pick up the latest horror stories)
 
BrianP
Senior Member

Joined: 30/03/2017
Location: Australia
Posts: 292
Posted: 08:33am 27 May 2019
Copy link to clipboard 
Print this post

Re Win10

Double check your network settings in case an update has reset some (bain of my life here).

Network & sharing centre (AUS spelling) -> Advanced network settings -> make sure network discovery is ON.

Also in connection settings, make sure network connection is PRIVATE - not PUBLIC.

If only Microsoft would stop buggering things up...

B
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 12:34pm 27 May 2019
Copy link to clipboard 
Print this post

  Grogster said  I know you can get the mammoth Raspbian - which takes longer to install then Windows does these days, and there are other distros for the Pi.

I don't understand this at all. Yes, there's a longish download of the image file. I use Raspbian Stretch Lite because I always run headless. Etcher flashes this to the SD card in a few minutes. I add the ssh and wpa_supplicant.conf files (see this post for my wifi.

Then after booting I log in with ssh, run "sudo apt-get update" and "sudo apt-get upgrade" (longish), raspi-config to set locale, keyboard, timezone, and maybe camera, set up a fixed wifi ip address. Then passwd and "sudo reboot" and I'm set.

I guess you're not running headless, but I wouldn't suppose it would take so much longer for the non-stretch version.

I'd have to have a very good reason to go to other than the standard Raspbian distro (hmmm, like the motioneye distro for cameras, which I'm also using).

(Sorry, doesn't address your Samba issue.)


Edited by lizby 2019-05-28
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 01:33pm 27 May 2019
Copy link to clipboard 
Print this post

  lizby said  
  Grogster said  I know you can get the mammoth Raspbian - which takes longer to install then Windows does these days, and there are other distros for the Pi.

I don't understand this at all.


huh..?

  lizby said  I use Raspbian Stretch Lite


Ahaaaa, so you do understand that full Raspbian is a bit large...;)

PicomiteVGA PETSCII ROBOTS
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 10:40pm 27 May 2019
Copy link to clipboard 
Print this post

Yes, I am talking about the full Raspian, not the lite one.

It took about 45 minutes to download from the NOOBS card, and once installed, it wanted to spend ANOTHER 50 minutes or so preparing the filesystem.

SD card was 16GB class-10, so it should not have been that slowing things up.

I actually got so sick of waiting for it, I just pulled the power. I am now back playing with Puppy. I would try Raspian lite, but I am still very much a Linux command-line novice. I am still learning things, but not confident enough to run a Linux without a GUI to help me!
Smoke makes things work. When the smoke gets out, it stops!
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 05:36am 28 May 2019
Copy link to clipboard 
Print this post

OK, a little progress. It seems to be the Puppy on the Pi that is not co-operating.
If I boot up Puppy on my laptop, and share \mnt\sda1, I can see it in Windoze 10 just fine. W10 still asks for the password, but once I enter that in, I am in no problems.

On the Pi with Puppy, no amount of trying the password works - it just outright refuses incoming connections. I can connect to the laptop with Puppy, from the Pi, but not back the other way from either the laptop with Puppy, or from Windows.

Pi Puppy does NOT have the firewall enabled - it is off.

I therefore think there is a bug in the networking in this build for the Pi, which is a real shame, as Puppy would be perfect for something like the Pi.

I will therefore have to look for something else.
Smoke makes things work. When the smoke gets out, it stops!
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5089
Posted: 05:36am 29 May 2019
Copy link to clipboard 
Print this post

Hi grogster,

You could ask your question about this problem on the puppy linux forum (murga linux forum). There is an active community there. Not sure how much knowledge on the raspberry pi, but it is worth a try. The quirky for pi is from 2015, so could use ancient security libs.

There is a puppy version for arm that runs on raspberry pi that is more recent. Search for fatdogarm. Fat dog arm....yes.

Success,

Volhout.
PicomiteVGA PETSCII ROBOTS
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 08:00am 29 May 2019
Copy link to clipboard 
Print this post

Cool, thanks for the post.
I have found this distro, and will check it out.
I had not heard of this one before, so thanks again.
Smoke makes things work. When the smoke gets out, it stops!
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 10:21pm 29 May 2019
Copy link to clipboard 
Print this post

Grogs,

For amusement in your "spare time", grab a spare card & try installing Win10 iOT.

Rolled my eyes for several hours & never saw it boot....
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:19am 30 May 2019
Copy link to clipboard 
Print this post

You can install it from the NOOBS card, but I have never bothered. I am not actually really sure what it can and can't do. I will have to have a quick read about it.
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:26pm 01 Jun 2019
Copy link to clipboard 
Print this post

Grogster,

I don't know about your Samba (or whatever) issue,
but speaking of RPi OS's in general.
The "Rasbian Stretch with Desktop"
(if you haven't already tried it)

here:

or from Noobs will save a little time.
It is a desktop but without all the apps contained
in the full Raspbian.
It still takes some time to download/install,
BUT!
You only have to do this once.
I use the RPi as my main system, and have tried
many distros. Perhaps arranged purposely by the
RPi people, Raspbian is by far the most robust
and fastest OS. In the long run you will save time
simply using it and making sure to back up your SD
fairly often. (download/install Piclone)
Another decent contender:

Q4OS Scorpion-Raspberry Pi/armf

from here

Mega Regards.................hitswareEdited by hitsware 2019-06-03
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 11:20pm 01 Jun 2019
Copy link to clipboard 
Print this post

I have downloaded Stretch Lite, and will have a play with that. I would prefer to use a distro for the Pi, that is actively maintained - and that would probably have to be Raspian hands down.

I just don't like how huge it has become. It's almost bigger then Windoze now!
Smoke makes things work. When the smoke gets out, it stops!
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 12:20am 02 Jun 2019
Copy link to clipboard 
Print this post

Here's a small one :
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9610
Posted: 12:27am 02 Jun 2019
Copy link to clipboard 
Print this post

Excellent - thanks.

I will download and try that right now. Raspbian Stretch Lite appears to be command-line only, and as I am still technically a Linux newbie(but learning more all the time), I need a GUI to help me!

I have just very successfully used OpenElec media player as a stand-alone SAMBA server with users and passwords. Very easy to setup and use, and DOES talk to Windoze 10 fine - even the passwords are working on OE when they weren't on my other experiments.

Windoze still flatly refuses to see the OE Pi on the network, but I can point to it manually using the IP address, and then it can talk to it. This is probably not really a bad thing, as a 'Hidden server' is a nice idea so people don't even know it is there - unless they know exactly where to look.

Anyway, I will burn PiCore to another SD card and have a play with that now.
Smoke makes things work. When the smoke gets out, it stops!
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 11:44am 02 Jun 2019
Copy link to clipboard 
Print this post

  hitsware said  Here's a small one

PiCore looks very interesting. Customizable like the openWrt I've been using for over a decade (will run devices with 4M flash), but with a more conventional Linux desktop for slightly bigger devices (apparently 10M flash and 48M ram). Should substantially reduce the problems I've encountered with SD corruption on the pi.

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 05:03pm 02 Jun 2019
Copy link to clipboard 
Print this post

Another small one :
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025