You are not logged in.

#1 2007-12-03 21:08:05

gormine
Member
Registered: 2007-11-26
Posts: 55

Best setup to browse windows network?

I am trying to use arch at work but this is holding me back from being able to do my job without logging into a windows machine. I have to access a lot of other computer's root shares (not individual shares, I want to see all the shares on each computer). There is an option in gnome to "connect to server". Doing this does what I want but is there an easier way? I want to use openbox too, which doesn't have that option of course. On windows machines, I can just go to start > run and type in the name of the machine. Any ideas?

Offline

#2 2007-12-03 22:19:08

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Best setup to browse windows network?

If it is a smb share and you know the name of the machines you could try pyneighborhood, smb4k, and the like.

Offline

#3 2007-12-03 22:26:11

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: Best setup to browse windows network?

smbtree can print you a tree of available shares. But that's probably more work mounting the stuff manually (or adding to fstab) than just using whatever gnome provides.

Offline

#4 2007-12-03 22:31:18

moses
Member
From: Finland
Registered: 2006-07-02
Posts: 28

Re: Best setup to browse windows network?

kde & konqueror browses smb/cifs shares like a charm.

alt+f2, \\192.168.181.5\music


- Judge a pig competition? But I'm no super genius... or are I?

Offline

#5 2007-12-04 13:09:07

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

Is there a specific package konqueror is in so I don't have to download the whole DE?

Offline

#6 2007-12-04 13:35:11

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Best setup to browse windows network?

Have a look at smbnetfs (in community), it's very efficient.

Offline

#7 2007-12-04 15:42:40

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

I like the looks of smbnetfs but i'm having a problem with it. When I mount it, it shows a folder for the domand and for the workgroup but there is nothing in them. How do I setup the conf files?

Is there an option I need to use?

When I mount the network with the debug option, I get this "Kinit failed: Cannot contact any KDC for requested realm"

Last edited by gormine (2007-12-04 16:14:02)

Offline

#8 2007-12-04 16:29:08

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Best setup to browse windows network?

install fuse and modprobe it (you also may want to add it to your rc.conf modules)
configure /etc/fuse.conf as per pacman's output when installing smbnetfs
copy the content of /etc/smbnetfs to ~/.smb
try to mount your share with the -o allow_other option

i just did it right now and it's working properly.

HTH

Offline

#9 2007-12-04 16:43:56

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

Maybe i'm missing something but I followed that step by step and its not working. I have permission to see the folder, there is just nothing in it.

FYI: My fuse.conf was empty or nonexistent before I added the allow option to it. Also, my smb.conf in ~/.smb is empty.

Last edited by gormine (2007-12-04 16:45:39)

Offline

#10 2007-12-04 16:51:44

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

I am running the program without root as a user and its changing the owner and group on the mounts to "root root" The permissions are 777 though.

Offline

#11 2007-12-04 16:58:43

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

Ok I mounted with the gid and uid options set correctly and still doesn't work... Correct owner, group and permissions... still empty folders.

Last edited by gormine (2007-12-04 16:59:28)

Offline

#12 2007-12-04 17:06:15

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Best setup to browse windows network?

I'm mounting my shares with sudo, works fine.

Offline

#13 2007-12-04 17:15:52

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

Well this sucks.. that would be sweet to have them all in the local file system.

Offline

#14 2007-12-06 17:31:32

gormine
Member
Registered: 2007-11-26
Posts: 55

Re: Best setup to browse windows network?

I've tried this at home with the same results. That is with a totally different computer and network. I would really like to get this working. Anybody have any ideas?

FYI: sshfs worked easily for me

Last edited by gormine (2007-12-06 17:32:22)

Offline

#15 2008-03-10 07:55:22

pobstil
Member
Registered: 2005-06-25
Posts: 19
Website

Re: Best setup to browse windows network?

hey, I have been looking around the net for documentation on smbnetfs, after finding absolutely nothing, I decided to just have a play around. I was fortunate enough to actually get it going! So thread this being the only help towards me getting it going, and not actually having a real solution to your problem, I've decided to type up what I've done to get it going for you.

Having said all that, and after a bit of trouble getting it going myself, it's not too difficult.

Like bangkok_manouel said earlier in the thread, install fuse and modprobe it, and add it to the list of modules to probe at boot.

If /etc/fuse.conf isn't there, create it, and add the line

user_allow_other

Create the directory ~/.smb and copy over smb.conf from /etc/samba

Create a directory where you would like to mount your Network Neighborhood shares, and make sure this directory has user Read/Write access. I'll call this /media/smbnetfs

Then simply mount your network shares by running as user:

smbnetfs /media/smbnetfs/

This mounts your shares in that directory. As simple as that.

You have to unmount it as root.

You can add that command to your auto started applications to be run when your GUI starts up, whatever you use (I'm not sure what it is now for each environment).

I think there should be a way to mount it with /etc/fstab which will allow you to unmount as user, but I'm still figuring out how to work it into /etc/fstab at the moment.

I'm pretty sure thats all I did to get it going, please try it out and if you have any trouble with it let me know, I'll try to help.

Offline

Board footer

Powered by FluxBB