Limiting the capacity of SD cards for the pi

Sep 17, 2023 Last reply: 2 years ago 204 Replies

Interesting point. You might suggest that to the Mint developers. They did something very similar with device drivers

They are easy to use and easy tro find

formatting link
the first thing I found

Linux is not windows, It doesn't do windows serving by default. No one dies windows serving by default. Windows serveing is a ghastly morass of permissions and restrictions. Even windows post about XOP wont allow you to share without delving into the registry from memory.

Patience grasshopper. You are doing really well. Better than my 80+ year old friends do with their i-phones.

Full of applications that they neither need nor want with no way to remove them and no way to shut them down, and a 'dont ring' button placed exactly where your thumb will press it when picking the phone up to talk. And an instruction manual that says 'before you start insert SIM' with no instructions as to who this is to be done whatsoever. And when you do get it going you need 'your apple psssword' 'your apple '; at various stages and they haven't a clue what those are.

If you think Linux is s*it, you don't own an I-phone where the merest brush against your face will terminate a call.

lol, difficult, compared to MS Windows workgroups, etc?

I think you have rose-tinted spectacles.

Nowadays, I have a magic combination of File Explorer menu commands and command line USE statements to mount and preserve remote network drive mounts on Windows. But on balance, I find Linux SAMBA/fstab mounts easier.

formatting link
two pages of 'I cant get microsoft windows 10 to share files' support.

Since the divorce, and the OS/X gone with her, I don't use samba anymore But if someone turns up with a windows machine and needs access it can be installed in minutes

And removed even faster.

Ordinary Joes do not work on servers. That is specialist. And before you say it, I know a samba share is a server but a very domestic one.

So is it exactly the same command? Important as other method failed see later...

Okay, yes I've seen that and tried to use it.

Hmmm. Well yes you have to buy windows but you can add packages from control panel that install without extra cost.

Right I didn't know that package was down there I'll be honest. I did find it after your comments. Certainly anything but obvious way down the list following a search for just SAMBA. I assumed it would be all packages listed but was very unsure and hesitant to commit to that.

I selected the package. I set it going. It advised about changes it was going to make.

It downloaded some items and failed to download 3 others.

W:Failed to fetch

formatting link
Not Found [IP:91:189.91.80]

W:Failed to fetch

formatting link
Not Found [IP:91:189.91.80]

W:Failed to fetch

formatting link
Not Found [IP:91:189.91.80]

"amazingly clever" :-)

Apparently, it is !!

Providing switches, information and links would not have any impact to make it "unusable".

I can agree that.

Quite a task it seems.

:-) :-)

As the "windows way" failed, could you confirm the exact command please.

Thank you.

Bob.

Trying that advice right now...

Clearly you're better at the google action than me.

True. :-)

That may be true but it works for me and easily.

Not been near the registry to get my PC sharing.

Thanks for that. :-)

I've given the wrong impression then. I don't think Linux is crap, not at all. I think it's fine especially for things like pi, routers, NAS boxes etc. The problem for me is one of finding information and realising that with a linux desktop you can do very, very little without getting into command line. It rubs me up the wrong way when folks talk about Linux desktop being as "sorted" as windows cos it ain't, not by a long, long way.

Still trying to install samba....

Bob.

sudo apt-get install samba -y.

But it looks like you MAY have some issue unrelated to samba with your installations set to point to servers that are not present .

That is simply not true. See Synaptic in this isntance.

And even if it were, so what?

It is. You just want it to work in the same way a massively overpriced piece of s*it pre-installed on a computer by someone else and designed to sell, but not to work, operates.

The point is that the reasons why linux works *better*, come at a price, and that price is learning the basics of how to install new software and update existing. Its no different from the apple store or google play on a mobile

You have far more choices, but you have to learn how to exercise those choices

I don't like those 404 not found messages.

If the installation fails with more of those, we may need to look into things more

Have you looked at this page?

formatting link
Or this one?
formatting link
Most major applications like Samba have their own website and its typically the best place to look when adding a new application to your Linux system. Took me one search using "Installing Samba" as the search text to find those links.

I used DuckDuckGo, not the Google search engine, which I haven't touched for years.

Google works OK.

Installing samba should be trivial, but it looks like Bob has a weird and broken repository list.

Probably synaptic needs setting to its default repository and an update and upgrade performing, to normalise.

Bob: Did you do those as part of the installation?

sudo apt-get update sudo apt-get upgrade -y

????

Which didn't work I'll remind you. I tried it twice it failed both times.

After web surfing and writing an email configuring it is hard to do and very techie so only technical people go near it.

I don't think that is fair at all.

But it didn't work. Twice.

The installation failed with 3 not founds. It didn't work, it is broken.

This parrot is no more! He has ceased to be! 'E's expired, shuffled off 'is mortal coil, run down the curtain and joined the bleedin' choir invisible!! You get the idea. :-)

But....

Anyway, I've got further with the link you gave me and the commands therein. They worked without error.

I briefly hoped this would add a share tab to folder properties but no such luck.

To smb.conf I added the same as the article suggested.

I now have a shared folder which I can "see" from the pc. Can't get in though.

I tried to create an smb user called "bob" using : sudo smbpasswd -a bob

It then asked for the password twice test test I got: failed to add entry for user bob.

Excellent, I thought .

So I thought maybe you can only create a user for the same id as who is logged into the machine.

I had not logged in as such it didn't ask me to but I think I was logged as "mint"

I tried sudo smbpasswd -a mint test test added a user ! it worked.

Maybe I was correct ???.

restart sudo systemctl restart smbd

I can see the share from the pc, I can put in my new user and password but it will not let me in.

Just to experiment I tried: sudo smbpasswd -a root test test added a user ! it allowed that. sudo systemctl restart smbd

credentials didn't let me in though.

Permissions obviously but where??.

Still I'm further along slightly.

It's odd because on a pi I share the root in just a few seconds and it works fine eveytime.

Bob.

Surely if you are messing around with Raspberry pi's like you are then you are a geek! Ordinary folk don't do that.

Indeed, I googled linux raspberry pi installing smb server

and got ...

formatting link
looks like this guy handholds you through it. However as I have already said, it one is doing this sort of stuff then you are de facto a geek and if one isn't upto the smarts to cope then any number of handholding tutorials aren't going to get one there.

No I hadn't but I have now. I've had a reasonable look but it doesn't seem to tell me what I need to know, it's on another level. I looked at installation and it talks about

Package dependences File system support Build samba from source Distribution specific Package Installation.

I admit nothing there looks helpful to me, yes I'm thick.

That appears to be an advert for a hosting company.

But thanks for trying to help.

It should.

I've had this install a couple of days, I'm sure its exactly as it installed.

I did but to be honest, I'm not sure when. It may have been when following the instructions in the command line link you gave me.

permissions permisions, permissions.

Bob.

I have been using samba shares on rasberrypi for at least 10 years. I've installed dozens of them and they work fine takes 10 minutes.

One command to install. tweak smb.conf set passwords. restart server.

Working

But not so mint!

Bob.

:-)

First off I didn't mean geek as an insult. Second I don't consider myself good enough to be a geek.

I agree that normal folk don't mess like I do. :-)

Bob.

WORKING !!!!!

Restarted all machines and it just worked. It even allowed me to enable the evil and dangerous SMB1 so that I could get RISC OS to connect and it did.

Thanks everyone.

Cheers,

Bob.

Hmmm. If it's not installed, it's not working in my book. It does have potential to work.

It is falling off a log easy to install *IF* *IF* *IF* you know how!

Yes. When you find one.

Bob.

[A huge amount of painful deliberate cluelessness stripped]

I think Bob's trolling here is some of the best I've seen on Usenet in

2023. Blows R. Weiser straight out of the water.

And everyone had been so helpful and friendly and they got me there until...

Cheers,

Bob.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required