20
submitted 7 months ago* (last edited 7 months ago) by Phanlix@lemmy.world to c/linux@lemmy.world

I'd like it noted I'm an absolute Linux noob here.

Yesterday I had issues with Nvidia, which was fixed by switching to Pop!OS which worked swimmingly. Fedora failed at this spectacularly, Nobara, their Nvidia specific version, spectacularly so.

I also had issues with mounting a samba share. I have an asus router that's capable of hosting samba shares, but only in v1 of samba which as it turns out is disabled by default in Linux distros these days. Windows too but the fix for that is easier, just install the package. Anyways. I was able to get a temp fix going by enabling guest login and disabling the users server side, which was unsatisfying and only allowed me read access.

After following dozens of tutorials and reinstalling Pop!OS to clear my shenannigans I found a forum that had this listed.

client NTLMv2 auth = no

client use spnego = no

client min protocol = CORE

client max protocol = NT1

Post that under smb.conf (under workgroup=WORKGROUP... yes it matters) and it disables all versions of samba except for v1, which works for me since this is the only share I care about.

So now, I can log into my samba share, and I have full read write access, yay.

But I still couldn't figure out how to permanently mount this NAS, boo. I found some topics discussing adding a line to fstab to get it to mount on boot. After a few hours of poking I realized cifs was indeed not installed on PopOS! so the tutorial I was following was right, but still wrong.

After that I was at least getting an error, which referred me to mount.cifs(8) - Linux man page, which I'm pretty sure by arriving at that means I'm now a man.

//192.168.1.1/vault /media/alexandria cifs vers=1.0,_netdev,file_mode=0777,dir_mode=0777,nofail,username=phanlix,password=******* 0 0

Was the final syntax to get the ball rolling, yes I know I should do a credentials file and link that, get off my back mom.

And finally... my samba v1 file share is mounted within Linux.... and there was much rejoicing, yay.

Anyways half the reason I made this post is so I can search it later if I ever need to do this godforsaken task again, as exactly zero of this was intuitive or easy. In fact, all of this could have been avoided if whoever wrote this decided not to baby me and left V1 protocols intact, despite the security risk. The fact is all these package still have V1 in them, they're just disabled by a really really in depth process, and reenabling them was... a pain in the rear.

I still am having another issue. I have a local external harddrive that's connected via USB. I got that mounted fine through Disk and changing the settings there, which automatically updates fstab for you (thanks to whomever made that user friendly at least). However, steam will NOT point to that drive no matter what I do, chmod 777 is already in play. Weirdly, I was able to manually add it through the steam console commands, but that seemed to start it's own instance of steam, and none of the changes saved, the drive was working great and installed a few games fine, but on reboot or even just closing and reopening steam it's disassociating.

So gotta say, so far, I do NOT love drive management in Linux. I guess shame on me for using something semi-obscure, but Christ. I literally have been working on this all day since I got up at 10am. User friendly this is not.

you are viewing a single comment's thread
view the rest of the comments
[-] Phanlix@lemmy.world 6 points 7 months ago* (last edited 7 months ago)

The goal still is to game on Linux, day 2 has passed and I'm closer to being ready to install games.

Day 3 will be spent figuring out how to get that damn USB drive on steam as a secondary install location.

Any tips would be appreciated. I've chmod 777'd the mounted drive. And I was able to add it via steam console manually, but it didn't save unfortunately and reset everything after I exited steam.

EDIT: Got it, there are other comments where I linked how within this thread.

[-] umbrella@lemmy.ml 1 points 7 months ago* (last edited 7 months ago)

Steam should recognize any monted hard drive and work straight away.

It may reset if you start Steam without the drive mounted, as it kinda expects it to be fixed.

It can also have issues running games from an NTFS disk. Try EXT4 if you can.

Hope you get everything working without further issues, Linux is great!

[-] Phanlix@lemmy.world 3 points 7 months ago* (last edited 7 months ago)

There's infinity between should and does sometimes.

So it was already ext4.

I ended up manually running the steam console as described here. Still wasn't able to use the gui to add a drive but I was able to use the console command to do it manually. Then I restarted to make sure everything was working. On starting steam again it was gone! So I full exited steam and opened console again, and somehow it was there! So I set the option under settings to start on boot thinking that it'd run the console edition again on boot and I could live with that.

Well it turns out somehow there are now 2 steam installs on my computer. I'm not gonna touch it since it's working, but my working theory is somehow running the console created a second steam on my pc. It did act like it was doing a full install the first time I booted on command line. Weird. But like I said it's working now. I may poke at it later and see if I can uninstall the redundant one, but I kinda don't wanna poke it.

[-] floppingfish@kbin.social 3 points 7 months ago

"There’s infinity between should and does sometimes." Love that line and so true for Linux.

[-] Phanlix@lemmy.world 1 points 7 months ago

Life in general really.

load more comments (1 replies)
load more comments (1 replies)
load more comments (6 replies)
this post was submitted on 15 Nov 2023
20 points (77.8% liked)

Linux

7310 readers
13 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago