You are not logged in.

#1 2020-01-19 06:39:14

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Can't connect to FritzBox via Samba, but my Raspberry Pi can

I am trying to connect to my NAS via Samba. I can connect to it without problems with KODI on my RPi4, but it doesn't work with Arch. It used to work before, but I don't know what I did. Does anyone have an idea where to start? I did not change my /etc/samba/smb.conf or anything!

When I type "\\fritz.box" or "\\192.168.178.1", Dolphin shows me "Internal Error Please send a full bug report at http://bugs.kde.org Unknown error condition in stat: The program caused the connection to be cancelled.". I can also not connect via SSH in my terminal, so I don't think it is a KDE bug. I can connect via FTP though. No idea why that works...

I can also not connect via terminal

smbclient -N -L \\fritz.box
Unable to initialize messaging context
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED

Last edited by gunjah292 (2020-01-19 06:48:34)


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#2 2020-01-19 06:46:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't connect to FritzBox via Samba, but my Raspberry Pi can

If only developers enabled debugging flags, or the init system shipped with a journal... Life would be so sweet.

How To Ask Questions The Smart Way

Make some effort. You have been given this link so many times over the years, yet you still seem preternaturally incapable of helping yourself. You bring nothing to the community but asinine questions and an expectation of having your hand held.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-01-19 06:55:45

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Can't connect to FritzBox via Samba, but my Raspberry Pi can

Sorry Jason, I've been expecting this to come up in a long time. I am kind of an impulsive poster and only come here when I need help, honestly. Usually the information I give in a post builds up with time, because I get better ideas while dealing with the problem. I also try afterwards to make the solution comprehensable for others, when I find the time.

Last edited by gunjah292 (2020-01-19 06:57:24)


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#4 2020-01-19 07:04:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Can't connect to FritzBox via Samba, but my Raspberry Pi can

So don't abuse the good will of the community. Spend some of your time doing basic research. Ultimately, it will mean that you actually don't need to ask because as you look through the logs/journal etc you'll find the clues that you need to solve it yourself.

As a basic rule of thumb, if your post contains no logs, no journal data, no configs, etc: don't hit "submit". There is no evidence that you have done any work, and there is nothing for anyone here to go on.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2020-01-19 07:50:34

gunjah292
Member
From: Hamburg
Registered: 2011-05-05
Posts: 186

Re: Can't connect to FritzBox via Samba, but my Raspberry Pi can

Well, I am pretty much at my wit's end here. I've tried to set "min protocol = SMB2" in /etc/samba/smb.conf now. No success. I've looked up all saved passwords in kwalletmanager and ~/.samba and deleted them. I also tried to fill them with the right credentials afterwards. No success. I reinstalled samba and kdenetworkfilesharing. I added my user again to the sambashare group. Nothing helps.

The thing is I can connect to my Raspberry Pi's share with Arch, but not to my router's. Is it possible that the router (which is really old) uses an old protocol, which just stopped being supported?


KDE Plasma, ThinkPad X380 Yoga, Intel Core i7-8550U, Intel UHD Graphics 620, 512GB PCIe-NVMe SSD (OPAL 2.0), 16GB PC4-19200 (2400 MHz)

Offline

#6 2020-01-19 15:16:00

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Can't connect to FritzBox via Samba, but my Raspberry Pi can

What is the output of

$ smbclient -N -L \\fritz.box -I 192.168.178.1

What model fritzbox is the router and which firmware version are you running on it ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2020-01-19 15:32:12

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Can't connect to FritzBox via Samba, but my Raspberry Pi can

As far as I know, all fritzbox models currently only support SMB1.0. I'm not sure about smbclient, but you might have to allow the use of this old and insecure protocol. They seem to be working on SMB3 support, but I don't know the timeline and which models will get the update at all.

https://en.avm.de/service/fritzbox/frit … FRITZ-Box/
https://en.avm.de/service/fritzbox/frit … FRITZ-Box/
https://en.avm.de/service/fritzbox/frit … FRITZ-Box/
https://en.avm.de/service/fritzbox/frit … ork-drive/

Personally, I use an ftp client or curlftpfs if I need to connect to a fritzbox.

Edit: It should be the "client min protocol" setting in smb.conf or with --option on the commandline as described in the smb.conf manpage

--option='client min protocol=NT1'

Last edited by progandy (2020-01-19 15:38:10)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB