Password "1" Not Working With SMB

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Password "1" Not Working With SMB

Unread post by Bren McGuire »

I'm trying to connect MiSTer to my windows 10 PC trough SMB, the PC correctly recognizes the username as "root" but the password "1" doesn't work.

F9 on the MiSTer accepts the "1" password, I can freely use the terminal. Could it be that only the SMB password has changed? Is there a way to check, maybe something like "smb.conf"?

jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Password "1" Not Working With SMB

Unread post by jca »

How do you know that username root is recognized?
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: Password "1" Not Working With SMB

Unread post by venice »

Bren McGuire wrote: Wed Jun 29, 2022 6:36 pm I'm trying to connect MiSTer to my windows 10 PC trough SMB, the PC correctly recognizes the username as "root" but the password "1" doesn't work.
….
If you are going to connect from your MiSTer to your Windows PC using SMB then you have to use an username and a password
of an existing and enabled user account on your PC.

If you are going to connect from the PC to the MiSTer and you have SMB enabled then root/1 should work.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Password "1" Not Working With SMB

Unread post by Bren McGuire »

jca wrote: Wed Jun 29, 2022 6:43 pm How do you know that username root is recognized?
Because the popup window that asks you for the password says "root" right after the IP address

Screenshot-301.png
Screenshot-301.png (12.44 KiB) Viewed 1676 times
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Password "1" Not Working With SMB

Unread post by Bren McGuire »

venice wrote: Thu Jun 30, 2022 5:16 am If you are going to connect from your MiSTer to your Windows PC using SMB then you have to use an username and a password
of an existing and enabled user account on your PC.
You mean from the MiSTer terminal? I'm not doing that.
venice wrote: Thu Jun 30, 2022 5:16 am If you are going to connect from the PC to the MiSTer and you have SMB enabled then root/1 should work.
Yes, I'm on windows explorer on my PC, I inputted MiSTer's IP into the address bar and windows asked me for a password.

P.S. Now that I think about it, it's strange that Windows already knows the user, it usually asks for it.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Password "1" Not Working With SMB

Unread post by Bren McGuire »

Update: now that I think about it, the only changes I did to my configuration was to run "update_all" and I added an external HDD. Could one of these be the cause?

Also, is there a command to reset/change the password?
User avatar
venice
Top Contributor
Posts: 788
Joined: Tue Jun 16, 2020 9:29 am
Location: Germany
Has thanked: 278 times
Been thanked: 278 times

Re: Password "1" Not Working With SMB

Unread post by venice »

The Password on the MiSTer Side is set in

Code: Select all

/media/fat/linux/samba.sh
See also the Wiki Article: https://github.com/MiSTer-devel/Main_MiSTer/wiki/Samba

As you are accessing your MiSTer from your Windows PC it's possible you saved the password at this end.

My MiSTer Add-On-Projects tty2oled, i2c2oled, SNAC2IEC
You can donate by sending a Postcard (Cardwarez) to me.

User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Password "1" Not Working With SMB

Unread post by Bren McGuire »

venice wrote: Fri Jul 01, 2022 7:35 am The Password on the MiSTer Side is set in

Code: Select all

/media/fat/linux/samba.sh
Problem solved, thanks a lot.
Post Reply