Jump to content

Tech N Gamer

Member
  • Posts

    474
  • Joined

  • Last visited

Everything posted by Tech N Gamer

  1. No. The router is too far away and off of its jacks are taken up.
  2. I have found a workaround, and I think I know what the issue is. So, at startup, there is no internet connection therefor Samba is unable to bind to an ip/port. The workaround is to disable smbd.service and create smbd.timer. In the timer file located at /usr/lib/systemd/system/ I'd put in: [Unit] Description=Runs smbd 1 minutes after restart. [Timer] OnBootSec=1min [Install] WantedBy=timers.target And now it works fine aside from having to wait a minute till it starts it.
  3. In the first message, after the reboot, this message appears: Apr 22 14:56:26 Data_Laptop smbd[431]: [2018/04/22 14:56:26.377492, 0] ../source3/lib/util_sock.c:396(open_socket_in) Apr 22 14:56:26 Data_Laptop smbd[431]: bind failed on port 445 socket_addr = 2602:306:bd16:2d20:a2c:b33b:67f9:652c. Apr 22 14:56:26 Data_Laptop smbd[431]: Error = Cannot assign requested address Apr 22 14:56:26 Data_Laptop smbd[431]: [2018/04/22 14:56:26.377722, 0] ../source3/smbd/server.c:1093(smbd_open_one_soc> Apr 22 14:56:26 Data_Laptop smbd[431]: smbd_open_one_socket: open_socket_in: Cannot assign requested address Apr 22 14:56:26 Data_Laptop smbd[431]: [2018/04/22 14:56:26.377761, 0] ../source3/lib/util_sock.c:396(open_socket_in) Apr 22 14:56:26 Data_Laptop smbd[431]: bind failed on port 139 socket_addr = 2602:306:bd16:2d20:a2c:b33b:67f9:652c. Apr 22 14:56:26 Data_Laptop smbd[431]: Error = Cannot assign requested address Apr 22 14:56:26 Data_Laptop smbd[431]: [2018/04/22 14:56:26.377808, 0] ../source3/smbd/server.c:1093(smbd_open_one_soc> Apr 22 14:56:26 Data_Laptop smbd[431]: smbd_open_one_socket: open_socket_in: Cannot assign requested address After I restart the service, it's gone.
  4. I created the path to the log file, restarted the system to test if it worked, and it didn't change the outcome. SMB Share's is inaccessible until I restart the service.
  5. This is the output of that. ● smbd.service - Samba SMB/CIFS server Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled; vendor preset: disabled) Active: active (running) since Sun 2018-04-22 13:58:22 CDT; 47s ago Process: 388 ExecStart=/usr/bin/smbd -D (code=exited, status=0/SUCCESS) Main PID: 414 (smbd) Tasks: 4 (limit: 4915) Memory: 30.0M CGroup: /system.slice/smbd.service ├─414 /usr/bin/smbd -D ├─416 /usr/bin/smbd -D ├─417 /usr/bin/smbd -D └─418 /usr/bin/smbd -D Apr 22 13:58:22 Data_Laptop smbd[388]: [2018/04/22 13:58:22.660768, 0] ../lib/util/debug.c:1053(reopen_logs_internal) Apr 22 13:58:22 Data_Laptop smbd[388]: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory Apr 22 13:58:23 Data_Laptop smbd[414]: [2018/04/22 13:58:23.269761, 0] ../lib/util/debug.c:1053(reopen_logs_internal) Apr 22 13:58:23 Data_Laptop smbd[414]: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory Apr 22 13:58:23 Data_Laptop smbd[414]: [2018/04/22 13:58:23.269993, 0] ../lib/util/debug.c:1053(reopen_logs_internal) Apr 22 13:58:23 Data_Laptop smbd[414]: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory Apr 22 13:58:23 Data_Laptop smbd[414]: [2018/04/22 13:58:23.269713, 0] ../lib/util/become_daemon.c:124(daemon_ready) Apr 22 13:58:23 Data_Laptop smbd[414]: STATUS=daemon 'smbd' finished starting up and ready to serve connections Apr 22 13:58:23 Data_Laptop smbd[418]: [2018/04/22 13:58:23.312547, 0] ../lib/util/debug.c:1053(reopen_logs_internal) Apr 22 13:58:23 Data_Laptop smbd[418]: Unable to open new log file '/usr/local/samba/var/log.smbd': No such file or directory By the way, this SMB Server is just an old laptop that I repurposed into an SMB server.
  6. Yes, it is accessible after I do that. It becomes inaccessible when Arch restarts or starts up after shutdown. The service is enabled. I have a script that makes sure the system is up to date and restarts once it is to force anything running to use the newer version.
  7. That didn't work, still, have to SSH or go to it and type sudo systemctl restart smbd.
  8. The distro is Arch, hence the tag Arch. smb.conf
  9. First off, I have no idea where to put this, I'm putting it here since it's a Linux issue. Secondly, no matter which OS I'm using, rather it is Arch or Windows, I cannot access my SMB shares. I have to SSH into the device (or walk over to it and log in) and type: sudo systemctl restart smbd It's annoying since I have a script that will run pacman and update the system and once updated, it will restart it. Problem is, Samba won't load/broadcast any shares listed in the config. Please help.
  10. Apparently, it was missing font and/or the font cache wasn't able their.
  11. I was able to fix it by doing the following on tty2: mkdir /usr/share/fonts/WindowsFonts cp -vR /windows/Windows/Fonts/* /usr/share/fonts/WindowsFonts chmod -vR 755 /usr/share/fonts/WindowsFonts fc-cache -f
  12. As the tag says, I'm using Arch Linux.
  13. Yes, and now it's just a bunch of symbols after I opened Visual Studio Code. Both VS Code and the Deepin Terminal are just fucked up. I've tried rebooting and reinstalling everything. EDIT: BTW, I know it's not VS Code since both worked in the past and never did this.
  14. Can someone help me, I have no idea why the text is all crunched together, in most applications the text is fine, but in others, it's crammed together. I also have Steam installed.
  15. From what I can tell, the major distro's are both UEFI and BIOS compatible, along with what bootloader you're using.
  16. Does no one read the post I made earlier? I just ended up reinstalling Arch after I wiped the entire partition. Since I don't Linux THAT much and especially my laptop, I just went with that option.
  17. As you can see in the post above yours, I destroyed the Linux partition and re-installed Arch onto it. So now everything is working and I found the culprit too. The culprit is Deepin DPI setting, when you change it, it messes up Plasma (going to a hypothesis as to why) since they both use QT5-base. However, Deepin also uses gtk2 and gtk3 if I'm reading this table correctly: https://wiki.archlinux.org/index.php/Desktop_environment#Comparison_of_desktop_environments So in the end, I switched the Arch distro over nothing but Deepin. My Linux install on my Desktop has both because I don't use DPI scaling on it.
  18. Does anyone know how to access an SMB share on Deepin's File Manager? I want to know since I have a share on a laptop that I am using as a share but Deepin cannot see it for some reason. I don't know if it doesn't support SMB or what. I do have Samba and it is accessible on my desktop on Windows. If anyone knows how to, I would love to know. By the way, I'm using Arch Linux.
  19. I ended up just destroying the Linux partition and reinstall Arch with both Plasma and Deepin. And as for the effect you see, it's wasn't only the taskbar, every KDE app was like that and had weird ghosting effects to it with barely readable text.
  20. Welp, that just made everything worse, even on Deepin.
  21. If you want to. I use it for my at home only data server. I have a script that runs at root level. It runs pacman -Syu --noconfirm then it restarts the server.
  22. If you mind having no UI, I would recommend Arch Linux, you do have to set it up but there are quite a few tutorials to get it installed. Once it's installed and you are booted into it, just log into root and type pacman -Syu sudo samba. Sudo so you can use sudo in other accounts while samba is used to share folders/files to Window clients. Here's some guides if you go down this route: https://wiki.archlinux.org/index.php/Installation_guide https://wiki.archlinux.org/index.php/Samba https://wiki.archlinux.org/index.php/Sudo EDIT: Also, a network is a network. Doesn't matter if it's ethernet or wireless, for as long as it's maintained by the same router.
  23. Another way is to right-click on the Windows Start Button and it's listed there.
×