[gentoo-user] SMBBrowser for automount
This is my script that scans configured subnetwork for guest shares, makes entries for automount and restarts it. Is this script helpful to someone? Is it worth to continue making it, or is there a better way to allow normal programs to browse smb network. I don't have a inet page yet, but on next week... :D smbbrowser Description: Binary data
Re: [gentoo-user] SMBBrowser for automount
On Fri, 10 Feb 2006 11:49:32 +0100 CapSel <[EMAIL PROTECTED]> wrote: C> This is my script that scans configured subnetwork for guest shares, C> makes entries for automount and restarts it. C> C> Is this script helpful to someone? Is it worth to continue making it, C> or is there a better way to allow normal programs to browse smb C> network. In the past I've also used similar script to mount smb shares. But recently I've discovered SMBNetFS (http://smbnetfs.airm.net/) and I'm happy. Robert -- Robert Cernansky E-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SMBBrowser for automount
Thank you very much Robert, I'll try it right away. On 2/10/06, Robert Cernansky <[EMAIL PROTECTED]> wrote: > On Fri, 10 Feb 2006 11:49:32 +0100 CapSel <[EMAIL PROTECTED]> wrote: > > C> This is my script that scans configured subnetwork for guest shares, > C> makes entries for automount and restarts it. > C> > C> Is this script helpful to someone? Is it worth to continue making it, > C> or is there a better way to allow normal programs to browse smb > C> network. > > In the past I've also used similar script to mount smb shares. But recently > I've discovered SMBNetFS (http://smbnetfs.airm.net/) and I'm happy. > > Robert > > > -- > Robert Cernansky > E-mail: [EMAIL PROTECTED] > Jabber: [EMAIL PROTECTED] > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] SMBBrowser for automount
On 2/10/06, Robert Cernansky <[EMAIL PROTECTED]> wrote: > On Fri, 10 Feb 2006 11:49:32 +0100 CapSel <[EMAIL PROTECTED]> wrote: > > C> This is my script that scans configured subnetwork for guest shares, > C> makes entries for automount and restarts it. > C> > C> Is this script helpful to someone? Is it worth to continue making it, > C> or is there a better way to allow normal programs to browse smb > C> network. > > In the past I've also used similar script to mount smb shares. But recently > I've discovered SMBNetFS (http://smbnetfs.airm.net/) and I'm happy. > > Robert > > > -- > Robert Cernansky > E-mail: [EMAIL PROTECTED] > Jabber: [EMAIL PROTECTED] > > -- > gentoo-user@gentoo.org mailing list > > I did everything as on their page but I don't see any dirs or files inside. When I type cd komputer-name it shows shares, but I wanted to also see computer names as they wrote on page. Do you know how to force it? -- gentoo-user@gentoo.org mailing list
Re[2]: [gentoo-user] SMBBrowser for automount
On Fri, 10 Feb 2006 17:19:39 +0100 CapSel <[EMAIL PROTECTED]> wrote: C> > In the past I've also used similar script to mount smb shares. But recently C> > I've discovered SMBNetFS (http://smbnetfs.airm.net/) and I'm happy. C> > C> I did everything as on their page but I don't see any dirs or files C> inside. When I type cd komputer-name it shows shares, but I wanted to C> also see computer names as they wrote on page. C> Do you know how to force it? In my case I see (I have mounted it in /mnt/smb): $ ls /mnt/smb/ $ ls /mnt/smb/ PC1 PC2 PC3 ... It is also possible omit , for example: $ ls /mnt/smb/PC1 share1 share2 ... I did not force it in any way. Did you specify your workgorup/domain in config file? Robert -- Robert Cernansky E-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re[4]: [gentoo-user] SMBBrowser for automount
On Sat, 11 Feb 2006 12:46:36 +0100 CapSel <[EMAIL PROTECTED]> wrote: C> On 2/10/06, Robert Cernansky <[EMAIL PROTECTED]> wrote: C> > C> > In my case I see (I have mounted it in /mnt/smb): C> > C> > $ ls /mnt/smb/ C> > C> > C> > $ ls /mnt/smb/ C> > PC1 PC2 PC3 ... C> > C> > It is also possible omit , for example: C> > C> > $ ls /mnt/smb/PC1 C> > share1 share2 ... C> > C> > I did not force it in any way. Did you specify your workgorup/domain in C> > config file? C> C> [EMAIL PROTECTED] ~ $ smbnetfs ./smb C> SMBNetFs-0.3.3 C> C> [EMAIL PROTECTED] ~ $ cd smb C> [EMAIL PROTECTED] ~/smb $ ls C> C> Maybe I missed something but there is no option in smbnetfs.conf to C> specify workgroup, it's only specified in smb.conf which I linked from C> /etc/samba. Strange. It is corect to specify workgroup in ~/.smb/smb.conf (or copy it from /etc/samba) so your configs are probably OK. Do you have "fuse" module loaded or compiled into kernel? -- Robert Cernansky E-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re[6]: [gentoo-user] SMBBrowser for automount
On Sat, 11 Feb 2006 17:45:31 +0100 CapSel <[EMAIL PROTECTED]> wrote: C> On 2/11/06, Robert Cernansky <[EMAIL PROTECTED]> wrote: C> > C> > Strange. It is corect to specify workgroup in ~/.smb/smb.conf (or copy it C> > from /etc/samba) so your configs are probably OK. Do you have "fuse" module C> > loaded or compiled into kernel? C> C> Yes, I do have it. smbnetfs works at least when I 'cd' to computer C> name from my LAN, but when I 'cd ..' from it there is still nothing. I C> noticed that when I 'cd' to my workgroup it stays but inside there is C> only my router with smbd running and no other computers even after C> hour of testing (restarting computers, smbd on my router...). C> So it somekind of works, like windows :) Yeah, they say on homepage that it behaves like in windows, so that's it. ;-) One more thing - We're using WINS server on our network. My ~/.smb/smb.conf looks like (replace and with your values): # cat ~/.smb/smb.conf [global] workgroup = encrypt passwords = yes wins server = dos charset = 852 unix charset = utf-8 -- Robert Cernansky E-mail: [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: Re[2]: [gentoo-user] SMBBrowser for automount
On 2/10/06, Robert Cernansky <[EMAIL PROTECTED]> wrote: > > In my case I see (I have mounted it in /mnt/smb): > > $ ls /mnt/smb/ > > > $ ls /mnt/smb/ > PC1 PC2 PC3 ... > > It is also possible omit , for example: > > $ ls /mnt/smb/PC1 > share1 share2 ... > > I did not force it in any way. Did you specify your workgorup/domain in > config file? [EMAIL PROTECTED] ~ $ smbnetfs ./smb SMBNetFs-0.3.3 [EMAIL PROTECTED] ~ $ cd smb [EMAIL PROTECTED] ~/smb $ ls Maybe I missed something but there is no option in smbnetfs.conf to specify workgroup, it's only specified in smb.conf which I linked from /etc/samba. -- gentoo-user@gentoo.org mailing list
Re: Re[4]: [gentoo-user] SMBBrowser for automount
On 2/11/06, Robert Cernansky <[EMAIL PROTECTED]> wrote: > > Strange. It is corect to specify workgroup in ~/.smb/smb.conf (or copy it > from /etc/samba) so your configs are probably OK. Do you have "fuse" module > loaded or compiled into kernel? Yes, I do have it. smbnetfs works at least when I 'cd' to computer name from my LAN, but when I 'cd ..' from it there is still nothing. I noticed that when I 'cd' to my workgroup it stays but inside there is only my router with smbd running and no other computers even after hour of testing (restarting computers, smbd on my router...). So it somekind of works, like windows :) Thanks for help -- gentoo-user@gentoo.org mailing list