Results 1 to 10 of 10
Ok,
I have samba setup on suse 11.3 with kde 4.4.4 and have been sharing files with other computers. however, i have a problem seeing unsecured smb shares from a ...
- 10-12-2010 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
Suse 11.3 samba connect to smb share?
Ok,
I have samba setup on suse 11.3 with kde 4.4.4 and have been sharing files with other computers. however, i have a problem seeing unsecured smb shares from a ubuntu server in suse. xbmc and windows 7 see them fine.
if i try to mount from cl with
mount -t cifs -o guest //Servername/ /mnt/foldername
i get a timeout error
dolphin has a workgroup listed under smb shares, but there is nothing there. if i type //servername in the dolphin address bar, i just get back to workgroup.
if i try to add a network folder in dolphin i get a timeout error.
I was thinking something must be borked. then i thought, hey i have nautilus installed lets try that. nautilus... connect to share... put in info... BAM!! connected instantly.
so, whats up with that? any ideas appreciated.
thanks,
strax
- 10-15-2010 #2
Don't you need //servername/sharename in the mount
- 10-17-2010 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
txs for your reply swerdna! yes i do need //servername/sharename in the mount. it was my mistake to leave that out of my post.
mounting with the correct command as you stated does not work though.
- 10-17-2010 #4
Only Ubuntu can't see openSUSE properly, is that right?
Do you run the command "mount -t cifs etc........." as root?
Here's a bunch of questions aimed to clarify things and get at most potential problems.
What is this shorthand for: "xbmc"?
When you say this:What info exactly info do you put into nautilus on Ubuntu (it is Ubuntu right?)?connect to share... put in info... BAM!! connected instantly.
And run these two diagnostic commands in a console on openSUSE what do you get:
- Code:
cat /etc/sysconfig/SuSEfirewall2 | egrep "FW_DEV_EXT=|FW_CONFIGURATIONS_EXT="
- Code:
smbtree -N
And run these three terminal commands on Ubuntu:
- Code:
smbtree -N
- Code:
sudo ufw status
- Code:
sudo /etc/init.d/samba status
And to aid the interpretation if the above, what exactly are "servername" and "sharename" in //servername/sharename?
And which user and which group own directory "foldername" in /mnt/foldername (e.g. run "ls -l /mnt | grep foldername" to find out)Last edited by swerdna; 10-17-2010 at 04:01 AM.
-
- 10-17-2010 #5Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
Nt_status_unsuccessful
hello and ty for the follow up!
I cant see the Ubuntu shares on Suse.
xbmc stands for xbox media center. it is running on an original xbox. it can access both the ubuntu and suse shares fine.
i also have a windows 7 box that can access the shares fine.
In Nautilus, I click file... connect to server... i choose windows network from the dropdown menu... then i put in the ubuntu servers ip address... then click connect and it does.
ok here is the output from the commands you gave:
SUSE 11.3
# cat /etc/sysconfig/SuSEfirewall2 | egrep "FW_DEV_EXT=|FW_CONFIGURATIONS_EXT="
FW_DEV_EXT="any eth0"
FW_CONFIGURATIONS_EXT="netbios-server samba-client samba-server"
smbtree -N
WORKGROUP
\\SUSE Samba 3.5.4-5.1.2-2426-SUSE-SL11.3
cli_start_connection: failed to connect to SUSE<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
\\SUBUNTU subuntu server (Samba, Ubuntu)
cli_start_connection: failed to connect to SUBUNTU<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
UBUNTU
smbtree -N
WORKGROUP
\\SUSE Samba 3.5.4-5.1.2-2426-SUSE-SL11.3
cli_start_connection: failed to connect to SUSE<20> (0.0.0.0). Error NT_STATUS_UNSUCCESSFUL
\\SUBUNTU subuntu server (Samba, Ubuntu)
\\SUBUNTU\IPC$ IPC Service (subuntu server (Samba, Ubuntu))
\\SUBUNTU\500
\\SUBUNTU\data
\\SUBUNTU\print$ Printer Drivers
sudo ufw status
Status: inactive
sudo /etc/init.d/samba status
bash: /etc/init.d/samba: No such file or directory
- 10-17-2010 #6Linux Newbie
- Join Date
- Apr 2009
- Posts
- 160
- 10-17-2010 #7Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
ok,
i updated cifs-utils and samba through yast.
now i am able to go to dolphin and to network then to Add Netwok Folder. and it works!
still cant mount from cl. and workgroup in dolphin is still empty. it would be nice to figure that out, but its good enough for now.
strax
- 10-17-2010 #8Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
ok mikesd,
here is the output from those commands:
Ubuntu
sudo /usr/bin/service samba status
samba: unrecognized service
smbclient -L <servername>
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.7]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
data Disk
500 Disk
IPC$ IPC IPC Service (subuntu server (Samba, Ubuntu))
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.7]
Server Comment
--------- -------
SUBUNTU subuntu server (Samba, Ubuntu)
SUSE Samba 3.5.4-5.1.2-2426-SUSE-SL11.3
Workgroup Master
--------- -------
WORKGROUP SUBUNTU
Suse
sudo /usr/bin/service samba status
bash: /usr/bin/service: No such file or directory
smbclient -L <servername>
Connection to subuntu failed (Error NT_STATUS_UNSUCCESSFUL)
- 10-17-2010 #9Just Joined!
- Join Date
- Feb 2007
- Posts
- 24
Success
Ok,
so on suse i tried smbclient -L <ip address>
and that connected and gave me output that looked the same as smbclient -L <servername> from ubuntu
so then i used the command
mount -t cifs -o guest //ip address/data /mnt/foldername
and it worked!
I am pretty sure that i tried that before and it didnt work. but it is working now.
txs,
strax
- 10-17-2010 #10Linux Newbie
- Join Date
- Apr 2009
- Posts
- 160
[QUOTE=strax]Ok,
so on suse i tried smbclient -L <ip address>
and that connected and gave me output that looked the same as smbclient -L <servername> from ubuntu
so then i used the command
mount -t cifs -o guest //ip address/data /mnt/foldername
and it worked!
I am pretty sure that i tried that before and it didnt work. but it is working now.
txs,
strax[/QUOTE
If you can do it by IP, then it seems netbios isn't working or maybe nmb isn't running. If it's static IP, put then in /etc/resolv.confLast edited by mikesd; 10-17-2010 at 11:46 PM.


Reply With Quote
