Windows and Linux networking and Samba


retiredat44

Well-known member
Member
Local time
3:11 PM
Posts
118
Location
Oregon
OS
Win11
Windows and Linux networking and Samba. I can get windows 10 on my laptop to see linux desktop, but cannot get Windows 11 to see linux. wth?? what a PIA!
yes, I look on Ubuntu forums, but too much info and mostly worthless!

anyone know of a forum that has easy info that helps this issue? Thanx
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Home built
    CPU
    i9-13900
    Motherboard
    ASUS Strix Z90-H
    Memory
    64 GB
    Graphics Card(s)
    Nvidia RTX 2080-ti
    Monitor(s) Displays
    Sony 55"
    Hard Drives
    SSD
    PSU
    850 watt EVGA
    Case
    Cooler Master Haf 932
    Keyboard
    MS
    Mouse
    MS
    Internet Speed
    100/100
    Antivirus
    Norton 360
Firstly this is Windows 11 forum, not the separatw Windows 10 forum.

Have you tried enabling SMB1 which is now off by default as SMB1 is considered a security risk?
 

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Firstly this is Windows 11 forum, not the separatw Windows 10 forum.

Have you tried enabling SMB1 which is now off by default as SMB1 is considered a security risk?
I have 2 win10, 1 win11, and 1 linux computer.. plus phones..
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Home built
    CPU
    i9-13900
    Motherboard
    ASUS Strix Z90-H
    Memory
    64 GB
    Graphics Card(s)
    Nvidia RTX 2080-ti
    Monitor(s) Displays
    Sony 55"
    Hard Drives
    SSD
    PSU
    850 watt EVGA
    Case
    Cooler Master Haf 932
    Keyboard
    MS
    Mouse
    MS
    Internet Speed
    100/100
    Antivirus
    Norton 360
I found a way to use windows share.. with the ip address... so far it's ok. Keep me from transferring from win 11 to win10 and then to linux.
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Home built
    CPU
    i9-13900
    Motherboard
    ASUS Strix Z90-H
    Memory
    64 GB
    Graphics Card(s)
    Nvidia RTX 2080-ti
    Monitor(s) Displays
    Sony 55"
    Hard Drives
    SSD
    PSU
    850 watt EVGA
    Case
    Cooler Master Haf 932
    Keyboard
    MS
    Mouse
    MS
    Internet Speed
    100/100
    Antivirus
    Norton 360
I found a way to use windows share.. with the ip address... so far it's ok. Keep me from transferring from win 11 to win10 and then to linux.
I'm very much a beginner with Linux, but I have researched and found three lines to modify/add to the Global section of my Linux Mint VM's smb.conf that lets it be seen by name on the network by Windows machines, and lets it see the names of my Windows machines, be they W10 or W11.

workgroup = <set this to same workgroup as Windows machines>
netbios name = <name you want Windows machines to see>
name resolve order = bcast host
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB Samsung EVO 870 SSD
    Internet Speed
    50 Mbps
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October. Windows Update offered the 22H2 Feature Update on 20th September 2022. It got the 23H2 Feature Update on 4th November 2023 through Windows Update.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    Intel® Core™ i5-520M
    Motherboard
    0T6M8G
    Memory
    8GB
    Graphics card(s)
    (integrated graphics) Intel HD Graphics
    Screen Resolution
    1366x768
    Hard Drives
    500GB Crucial MX500 SSD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround. In-place upgrade to 22H2 using ISO and a workaround. Feature Update to 23H2 by manually installing the Enablement Package. Also running Insider Beta, Dev, and Canary builds as a native boot .vhdx.

    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro (and all my Hyper-V VMs).

    My SYSTEM FOUR is a 2-in-1 convertible Lenovo Yoga 11e 20DA, Celeron N2930, 8GB RAM, 256GB ssd. Unsupported device: currently running Win10 Pro, plus Win11 Pro RTM and Insider Beta as native boot vhdx.

    My SYSTEM FIVE is a Dell Latitude 3190 2-in-1, Pentium Silver N5030, 4GB RAM, 512GB NVMe ssd, supported device running Windows 11 Pro, plus the Insider Beta, Dev, and Canary builds as a native boot .vhdx.

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0
Hi folks

@retiredat44

@Bree

In the Samba configuration (usually in /etc/samba/smb.conf) in the global section - if you are using SMB1 (enable it on W11 via programs and features) then you need to ensure this line is present :

min protocol = NT1 <don't ask me why it's NT1 but I didn't design SAMBA !!!>

ensure also the WORKGROUP in your W11 machine is the same as that of your Linux machine.

workgroup = <Your workgroup name>

add your user to SAMBA via sudo smbpasswd <user>

Ensure the linux server name is in the netbiosname --this enable Windows to find it without having to connect via an IP address

netbios name = <server name>

Also on the W11 system ensure Network discovery is on,and "allow remote connections to this computer" since Samba sends info to networked machines. E.G a remote server to a linux laptop

Screenshot_20231001_113344.png

Finally I'd also add openssh-server in Windows -- add via "Add optional feature" in settings and ensure its started and install openssh on your linux box and ensure that the ssh daemon is enabled and running.

sudo systemctl enable sshd (This only needs to be done once then it automatically starts at boot)

sudo systemctl start sshd

This allows you to SSH from Windows via command line directly into the
cli of the server (don't allow root ssh remote connection though).




Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
yes, I found an easy way and am tired of using sudo nano on conf files in linux... now I use share with IP on the win11 end. All is fixed for me. Ubuntu often was be messed up if you didn't do something perfect. I am sick and tired of coding, I am retired and no longer have to worry about Dos, Cobolt, pascal, etc..etc.. binary, oct, hex... and machine language. I am tired of spending hours ready forums for editing files. I am good now. I just use my Linux computer to read my flight sim manuals while flying combat missions in VR. :)
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Home built
    CPU
    i9-13900
    Motherboard
    ASUS Strix Z90-H
    Memory
    64 GB
    Graphics Card(s)
    Nvidia RTX 2080-ti
    Monitor(s) Displays
    Sony 55"
    Hard Drives
    SSD
    PSU
    850 watt EVGA
    Case
    Cooler Master Haf 932
    Keyboard
    MS
    Mouse
    MS
    Internet Speed
    100/100
    Antivirus
    Norton 360
yes, I found an easy way and am tired of using sudo nano on conf files in linux... now I use share with IP on the win11 end. All is fixed for me. Ubuntu often was be messed up if you didn't do something perfect. I am sick and tired of coding, I am retired and no longer have to worry about Dos, Cobolt, pascal, etc..etc.. binary, oct, hex... and machine language. I am tired of spending hours ready forums for editing files. I am good now. I just use my Linux computer to read my flight sim manuals while flying combat missions in VR. :)
Well done !!!
I don't like coding either !!! - not me

but there's plenty of good GUI editors on Linux too --UBUNTU is hideous BTW -- On my laptop I just use ARCH LINUX with KDE (desktop XORG and Wayland plasma) with almost zero bloat. Programs like kate (editor) dolphin and gparted are far better than the Windows File explorer, notepad and any Windows partition manager. krusader also is excellent for moving files around with multiple panels, comparing source etc etc.

Also almost no bloat and can run as many Windows VM's as you want on a FREE VM system (KVM/QEMU)

On a really old laptop - doesn't use many resources either :

Screenshot_20231001_150454.png

and the krusader app

Screenshot_20231001_151326.png

Also no 266 char limit on path / directory/file names lengths either on any Linux file manager.

Anyway enough of the Sales pitch -- glad you got it all fixed

cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
I was looking to go back to Linux after decades of windows, I know someone who used Ubuntu, because it does an incredible amount of tasks and used to run concerts, lighting, sounds and more,, also in routers...and have had to load it into routers to use tomato like features. and it was his go to linux. So, I took a chance on the flavor of linux, and haven't changed after I got into it a few years ago for my one computer for just Internet and reading docs only...

I thought about using another flavor, but I really wasn't going to do it unless another flavor appealed to me. Your post caught my attention for changing to a simpler easier one. I will give it some thought. Thanx!!!
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Home built
    CPU
    i9-13900
    Motherboard
    ASUS Strix Z90-H
    Memory
    64 GB
    Graphics Card(s)
    Nvidia RTX 2080-ti
    Monitor(s) Displays
    Sony 55"
    Hard Drives
    SSD
    PSU
    850 watt EVGA
    Case
    Cooler Master Haf 932
    Keyboard
    MS
    Mouse
    MS
    Internet Speed
    100/100
    Antivirus
    Norton 360
I was looking to go back to Linux after decades of windows, I know someone who used Ubuntu, because it does an incredible amount of tasks and used to run concerts, lighting, sounds and more,, also in routers...and have had to load it into routers to use tomato like features. and it was his go to linux. So, I took a chance on the flavor of linux, and haven't changed after I got into it a few years ago for my one computer for just Internet and reading docs only...

I thought about using another flavor, but I really wasn't going to do it unless another flavor appealed to me. Your post caught my attention for changing to a simpler easier one. I will give it some thought. Thanx!!!
Arch Linux is a lot easier now these days -- download the iso and boot it up. It's command line based but these days there's a good "guided" wizard script you can use instead of the "old school manual way"). The wiki is also good - almost everything is covered on it and there's a good help forum.

Once you get the login just type arch-install and then it will ask a series of questions and install the basic package,
Exit and reboot. Then from the cli login simply run pacman -S <packages you want to install e.g a desktop GUI etc>

You'll want an Internet browser, a terminal program, a WYSISYG text editor to start with and then you can google etc for other stuff. Add also the YAY helper so you can also add packages from the AUR extra repository -- loads of good stuff in there too.GIT, CURL and WGET are also worth installing.

That way you keep it lean and mean -- when installing a desktop just install the base and add applications individually afterwards otherwise you'll get a whole slew of stuff you don't want or use. For VM's install qemu-desktop.

Cheers
jimbo
 

My Computer

System One

  • OS
    Windows XP,7,10,11 Linux Arch Linux
    Computer type
    PC/Desktop
    CPU
    2 X Intel i7
I will keep it all in mind. Ubuntu does have extensive help forums.. and I only want it for the backup and documents.. and of course Samba sucks, but can't fix that. One very annoying thing is that Ubuntu has constant updates. One doesn't have to apply them if they don't want to.
 

My Computer

System One

  • OS
    Win11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Home built
    CPU
    i9-13900
    Motherboard
    ASUS Strix Z90-H
    Memory
    64 GB
    Graphics Card(s)
    Nvidia RTX 2080-ti
    Monitor(s) Displays
    Sony 55"
    Hard Drives
    SSD
    PSU
    850 watt EVGA
    Case
    Cooler Master Haf 932
    Keyboard
    MS
    Mouse
    MS
    Internet Speed
    100/100
    Antivirus
    Norton 360

Latest Support Threads

Latest Tutorials

Back
Top Bottom