OESF Portables Forum

Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: Howard Roark on April 17, 2005, 10:28:06 pm

Title: Please Check My Smb.conf File
Post by: Howard Roark on April 17, 2005, 10:28:06 pm
This is my smb.conf file. I can ping the C3k (192.168.1.113)and I can ping my XP desktop (192.168.1.1) so they talk. I am on a linksys router using the wireless access.

When I type 192.168.1.113\home on my desktop, I get a message saying connection was refused.

Can someone read my .conf file and tell me if I have errors in it? Any suggestions??

---------

[global]                  
# workgroup is either a domain name or a workgroup name
   workgroup = mshome
   netbios name = Z3000
   hosts allow = 192.168.1.0/24
   log file = /dev/null
#
# encrypt passwords is required for Win98, NT and Windows 2000
#
   encrypt passwords = yes

   coding system = utf8
   client code page = 932
   force create mode = 0755
   strict sync = yes
   sync always = yes

   interfaces = usb0   wlan0
   wins support = yes
   bind interfaces only = yes
[system]                     
   comment = System Folder
   path = /root/samba
   read only = no
   
   
   browseable = yes
   guest ok = yes
   force user = root
[home]                     
   comment = for User Data
   path = /home/samba
   short preserve case = no
   read only = no      
   guest ok = yes
   force user = zaurus
Title: Please Check My Smb.conf File
Post by: wiredog on April 18, 2005, 12:31:09 pm
In the [home] section, try replacing "path = /home/samba" with "path=/home/samba/Internal_Disk"

Otherwise it looks just like mine.
Title: Please Check My Smb.conf File
Post by: craigtyson on April 18, 2005, 12:41:37 pm
Does your WIFI connection come up as wlan0 or eth0 ??? if its eth0 you need it in the interfaces line.
Title: Please Check My Smb.conf File
Post by: craigtyson on April 18, 2005, 12:44:50 pm
also check your inetd.conf for

#samba
netbios-ssn stream tcp nowait root /usr/sbin/tcpd /usr/sbin/smbd
netbios-ns dgram upd wait root /usr/sbin/tcpd /usr/sbin/nmdb
Title: Please Check My Smb.conf File
Post by: Howard Roark on April 18, 2005, 07:02:10 pm
All the lines in inetd.conf have a # in front and there is no samba section. Is there suppose to be?

I see it in my mshome listing using explorer. It identifies itself as 'Zaurus'in the tree listing.  In the right hand side pane in explorer, it lists itself as 'Samba 2.0.7-ja-2.2(Zaurus)'. Is that right?

So I see it but it states (when I double click it):

'\\Zaurus is not accessible. You might not have permission to use it. Contact administrator. Network path not found.''
Title: Please Check My Smb.conf File
Post by: craigtyson on April 19, 2005, 06:04:47 pm
as far as I know you need those two lines to get NetBIOS running so windoze can connect.  I is not an expert but there is an article in the FAQ / Howtoos to get SMB working with M$ ps if your on XP you will need to mess with your firewall if its enabled (XP sp2 by default enables it)
Title: Please Check My Smb.conf File
Post by: Howard Roark on April 19, 2005, 09:01:28 pm
I have about 20 hours in on this now. I am somewhat confused by the number of smb.conf files in different locations

/usr/lib/samba/smb.conf
/home/etc/samba/smb.conf

are they all supposed to be the same?
Title: Please Check My Smb.conf File
Post by: craigtyson on April 20, 2005, 04:28:35 am
one should be in ROM.  The other should be a symlink to the other or a genuine file which takes prefrence over teh ROM version.
Title: Please Check My Smb.conf File
Post by: Howard Roark on April 20, 2005, 08:33:22 am
For the third time, I restored to factory condition and then just edited the smb.conf to list my workgroup, access my router and add wlan0.

AND it worked!!!

No idea why.

Thanks to everyone who answered my post, all your help is most appreciated!