I have an ASUS RT-AC56R router and it has a USB attached disk that I share on my local (home) network. The router has several ids/passwords set up and has associated them with Shares on the disk.
I have downloaded the Raspberry Pi version of Ubuntu-Mate 16.04 and have used the Get Started app to update the software and add Samba to the configuration. My Raspberry Pi is 2B and it is happily configured to my local network.
The network consists of the ASUS router and a Netgear Wireless repeater. The router is connected to the Charter cable modem (and the disk) and the repeater connects to the Raspberry Pi. Both the router and repeater are broadcasting the same SSID and use the same password for simplicities sake. The Pi is located in the basement and the strongest signal is from the repeater.
I have successfully connected to the disk on the router using Raspbian and mounting the folder to a place prepared in the Raspbian’s file structure. Here’s the command I used to do so:
sudo mount -t cifs -o user=pi,password=********,rw,file_mode=0700,dir_mode=0700 //192.168.1.1/public /home/pi/router/public
The above doesn’t work with Ubuntu-Mate. After thrashing around a bit doing some google searches, I also tried:
smbclient //rt-ac56r/public -U pi%*****
No joy. I got error messages from both complaining that the server does not support Extended_Security and more specifically that "client use spnego = yes and “client ntlvm2 auth = yes” were problems.
So my question is… How do I tell Ubuntu-Mate’s Samba that its ok to NOT use Extended_Security with this server? ( Like Raspbian is able to do. )
ldw
PS: As an aside: In my thrashing with google searches I found that many recommended turning guest mode on in the router. And when I do so, I can access the router’s directories with the Places->Network approach. This network is in my home so this may be an acceptable approach, but it seems like an inelegant way to do things and I’d prefer to use the mount command if possible.