LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2016, 07:32 AM   #1
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Rep: Reputation: 0
Windows XP Home - no visible SAMBA shares


Hi, this used to work a while ago but some change seems to have caused a problem in that I am not seeing the Windows shares from my Linux machine, I shared a directory called 2016 and a directory called Z, but not appearing in the list - could this be a anonymous/guest access issue?

$/usr/bin/smbclient -L SYSTEN
Unknown parameter encountered: "time service"
Ignoring unknown parameter "time service"
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Got a positive name query response from 10.0.0.11 ( 10.0.0.11 )
Server time is Sat Dec 3 12:06:50 2016
Timezone is UTC-0.0
Domain=[HOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
connected as guest security=user

Server=[SYSTEN] User=[] Workgroup=[HOME] Domain=[]
$
 
Old 12-03-2016, 07:40 AM   #2
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
The SYSTEN shares can be seen from a fellow XP machine.
The linux machine samba shares can be seen from the SYSTEN machine and the fellow XP machine....
 
Old 05-27-2017, 03:21 AM   #3
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
Hi,

This problem actually got resolved on its own(I tried a few days later and the sharelist was listed!) and I could see a sharelist. However now it has come back again and I can no longer see the sharelist.

I dont know what things I can do to get the XP machine to "cough-up" a sharelist.

Last edited by Mr486; 05-27-2017 at 03:23 AM.
 
Old 05-27-2017, 03:28 AM   #4
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
I changed the XP machine Workgroup to "A" then I can see the Browselist and Workgroup list:


Code:
This machine has a browse list:

        Server               Comment
        ---------            -------
        SYSTEN


This machine has a workgroup list:

        Workgroup            Master
        ---------            -------
        A                    SYSTEN
        HOME                 LINUX

Last edited by Mr486; 05-27-2017 at 03:40 AM.
 
Old 05-27-2017, 06:27 AM   #5
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
What I have done now is change the name of the workgroup on the XP machine (to VALLEY) and also changed it in the linux machines /etc/smb.conf file (workgroup=VALLEY) to see if that makes any difference:


Code:

/usr/bin/smbclient -L systen -I 10.0.0.11 -U%

Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sat May 27 12:23:57 2017
Timezone is UTC+1.0
Domain=[VALLEY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
security=user


This machine has a browse list:

        Server               Comment
        ---------            -------
        SYSTEN


This machine has a workgroup list:

        Workgroup            Master
        ---------            -------
        VALLEY               SYSTEN

Last edited by Mr486; 05-27-2017 at 06:28 AM.
 
Old 05-27-2017, 09:33 AM   #6
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
Hi, I have got smbclient working in the following way.....

On the Windows machine I created and shared an empty directory called 99
Then on the linux machine I did the command as follows in the code excerpt:
Does anyone know what holds me back from mount a windows directory or seeing the share list?

Code:
/usr/bin/smbclient \\\\systen\\99 -I 10.0.0.11
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sat May 27 15:28:35 2017
Timezone is UTC+1.0
Password:
Domain=[VALLEY] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
connected as guest security=user
smb: \> cd
Current directory is \
smb: \> ls
  .                                   D         0  Sat May 27 15:24:10 2017
  ..                                  D         0  Sat May 27 15:24:10 2017

                39935 blocks of size 262144. 330 blocks available
smb: \> put backup_minimum_to_tar
putting file backup_minimum_to_tar of size 1540 bytes as \backup_minimum_to_tar (10.5168 kb/s) (average 10.5168 kb/s)
smb: \>
I am trying to mount the drive as follows:

Code:
/usr/bin/smbmount //systen/99 /mnt -I 10.0.0.11
Password:
mount error: No such device
Please look at smbmount's manual page for possible reasons

Last edited by Mr486; 05-27-2017 at 11:34 AM.
 
Old 05-28-2017, 06:06 AM   #7
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
This is an intersting result. On a windows 98 machine the share list works ok:

Code:
smbclient -L Laptop -I 10.0.0.12
Added interface ip=10.0.0.10 bcast=10.255.255.255 nmask=255.0.0.0
Server time is Sun May 28 12:01:48 2017
Timezone is UTC+1.0
security=share

Server=[LAPTOP] User=[] Workgroup=[HOME] Domain=[HOME]

        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       Remote Inter Process Communication
        PQBOOT         Disk      go


This machine has a browse list:

        Server               Comment
        ---------            -------
        SERVER1              IBM
        LAPTOP               Laptop
        OPTIPLEX780          Optiplex780


This machine has a workgroup list:

        Workgroup            Master
        ---------            -------
        HOME                 LAPTOP
 
Old 05-28-2017, 06:11 AM   #8
Mr486
Member
 
Registered: Nov 2013
Posts: 41

Original Poster
Rep: Reputation: 0
However trying to mount the Windows 98 smb share I still get mount error: No such device
 
Old 05-29-2017, 02:50 AM   #9
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Maybe: modprobe smbfs
From a web-search of: smbmount "mount error: No such device"
If not, this shows to post version info, strace -f
Quote:
Please do "cat /proc/filesystems". If "smbfs" does not show up in the output then your kernel is not compiled with smbfs support, or it is compiled with smbfs support in the form of a module but the module is not loaded.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba server visible on network intermittent - shares not accessible - UPDATE neoelf Linux - Networking 1 06-17-2009 02:34 AM
Samba 3.0.33 - problems accessing windows domain, and shares not visible vyruz18 Linux - Networking 1 04-08-2009 02:08 PM
Samba shares only visible using IP address but not host name louie1961 Linux - Networking 5 09-28-2008 08:59 AM
Only Some Windows Shares visible from Linux cyent Linux - Networking 3 08-02-2006 12:31 AM
Samba XP shares: Only first 36 folder visible in Konqueror sugna Linux - Software 1 07-04-2005 07:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration