Author Topic: Please Check My Smb.conf File  (Read 4013 times)

Howard Roark

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Please Check My Smb.conf File
« 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
SL-6000L, CG-AE06 Camera, Battery Sled, Trendnote CF Lan, 6G Hitachi CF
Sl-C3000+Ambicom WiFi
Palm Tungsten C+Seiko Smartpad
Archos PMA400, Archos AV380 Package
Sony UX-50+Extended battery
Psion 5mx,xNetbook (fabulous mininote!)
Apple eMate
TC1000, TC1100, SC3000
...huge credit card bills..!

wiredog

  • Newbie
  • *
  • Posts: 45
    • View Profile
Please Check My Smb.conf File
« Reply #1 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.
Earth First!
(We can strip mine the rest later.)

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Please Check My Smb.conf File
« Reply #2 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.
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Please Check My Smb.conf File
« Reply #3 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
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Howard Roark

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Please Check My Smb.conf File
« Reply #4 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.''
« Last Edit: April 18, 2005, 07:27:38 pm by Howard Roark »
SL-6000L, CG-AE06 Camera, Battery Sled, Trendnote CF Lan, 6G Hitachi CF
Sl-C3000+Ambicom WiFi
Palm Tungsten C+Seiko Smartpad
Archos PMA400, Archos AV380 Package
Sony UX-50+Extended battery
Psion 5mx,xNetbook (fabulous mininote!)
Apple eMate
TC1000, TC1100, SC3000
...huge credit card bills..!

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Please Check My Smb.conf File
« Reply #5 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)
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Howard Roark

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Please Check My Smb.conf File
« Reply #6 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?
SL-6000L, CG-AE06 Camera, Battery Sled, Trendnote CF Lan, 6G Hitachi CF
Sl-C3000+Ambicom WiFi
Palm Tungsten C+Seiko Smartpad
Archos PMA400, Archos AV380 Package
Sony UX-50+Extended battery
Psion 5mx,xNetbook (fabulous mininote!)
Apple eMate
TC1000, TC1100, SC3000
...huge credit card bills..!

craigtyson

  • Sr. Member
  • ****
  • Posts: 462
    • View Profile
Please Check My Smb.conf File
« Reply #7 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.
« Last Edit: April 20, 2005, 04:28:55 am by craigtyson »
Craig
SL-C1000, Angstrom GPE 2007.12r13
Ambicom WL1100C, SanDisk UltraII 1GB SD
 
Old Faithfull - SL-5500 battery out of the C750 (see below) TKC v1 (New) 1GB SD
Dead - SL-C750, Cacko 1.23 lite (Dropped, very messy!)
Ambicom WL1100C, SanDisk Dead - 1GB SD
Keep your Z on a bungee, you never know.....

Howard Roark

  • Jr. Member
  • **
  • Posts: 63
    • View Profile
Please Check My Smb.conf File
« Reply #8 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!
SL-6000L, CG-AE06 Camera, Battery Sled, Trendnote CF Lan, 6G Hitachi CF
Sl-C3000+Ambicom WiFi
Palm Tungsten C+Seiko Smartpad
Archos PMA400, Archos AV380 Package
Sony UX-50+Extended battery
Psion 5mx,xNetbook (fabulous mininote!)
Apple eMate
TC1000, TC1100, SC3000
...huge credit card bills..!