okay, a few fixes and still the same thing. lets start with my nsswitch for netbios.
I have this:
hosts: files wins dns mdns4_minimal [NOTFOUND=return] dns mdns4
my fstab now says this:
//192.168.1.100/movie1 /media/music1 cifs guest
and i have disabled my windows xp firewall.
I still get this when trying to sudo mount -a:
lucana@laptop:~$ sudo mount -a
mount error 111 = Connection refused
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
I have also put forward routing on my router ports 137-139 as suggested for samba. ( if that matters for this application)
any other information i can provide? I want to give you as much of a picture as you need. Thank you very much for your help.
Last edited by love2learn; April 6th, 2008 at 04:07 PM.
i think i see something else wrong, when i go to places then network i see that it is on workgroup instead of CHOPPERS for my network. how do i change that?
Okay, I got everything to work but I can't mount the drives. I am perfectly okay with that. I can just go to places > network>windows network>choppers>then whatever drive i need to get into. I am perfectly happy with this. Thanks dmizer!!
i think you'll find that: "places > network > windows network > choppers" will be inadequate and too slow for most applications, but if it works for what you need power to you.
you're really close to making this work though. all you need to do is make sure all the computers on your network are under the same workgroup. here's how:
sorry I am a little thick. click on the shared folder i made in the media folder?
ubuntu: right-click on your shared folder --> General Windows sharing settings --> (change the domain/workgroup name)
the Ubuntu 7.10 laptop is on the original 'workgroup' and i need to get it to CHOPPERS instead.
okay ... edit /etc/samba/smb.conf like so:
look for the section that reads:Code:sudo nano /etc/samba/smb.conf
change it so it reads:Code:# Change this to the workgroup/NT-domain name your Samba server will part of workgroup = workgroup
and restart samba:Code:# Change this to the workgroup/NT-domain name your Samba server will part of workgroup = CHOPPERS
this should put your ubuntu computer in the workgroup of CHOPPERS.Code:sudo /etc/init.d/samba restart
phew, this is a difficult learning curve for me. I am so used to windows it is hard to grasp. But I am here for life and I cant go back so here it goes:
I checked my smb.conf and there is absolutely Nothing
in there. Totally blank. I did however go to system>admin>network>wireless config and in general put in CHOPPERS for the workgroup and now when i go into natilus I see my 2 laptops and my server which means I am on the CHOPPERS network.
Here is the latest look at my fstab pay no attention to the # sections of course
# //192.168.1.***/Movie1 /media/Movies1 cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 $
//MEDIA/Movies1 /media/movies1 cifs credentials=/home/lucana/.smbcredentials,uid=1000 0 0
# ,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
I know it is a mess but i have tried multiple combinations to attempt a successful mount.
according to this guide:
Do you need Samba?
Samba is not necessary to:
- Access shared folders, drives and printers on a Windows computer (that is, act as a client with Windows servers), you only need a smbfs plugin. See MountWindowsSharesPermanently
so maybe you can help me understand why i need a samba config file in the first place and I can get past this mental block?
I am sorry I am so thick-headed, I just want a full understanding of what I am doing.