[Balug-talk] Samba Configuration
espadajefferies at netscape.net
Tue May 13 21:00:03 PDT 2003
I'm cut up Ivan's post to ?aid clarity? I hope:
ivan at inviosoftware.com wrote:
> The good idea is to put both computers into same workgroup.
I believe I've put both computers in the same workgroup, i.e. JJJ_HOME
(imaginative name eh?) I this is in smb.conf as seen down below
and in the windowsME: "Control Panel->Network->Identification"
BTW, Name for linux box is linux_box and winME is pentium_266.
> smbclient shows if you run it against WinME?
Excellent suggestion which gives me reason to believe the two machines
are close to communicating:
[root at localhost samba]# smbclient -U% -L Pentium_266
added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
Sharename Type Comment
--------- ---- -------
266_F Disk <-- winME shared disks seen from linux_box
IPC$ IPC Remote Inter Process Communication
What would happen if on
> WinME box in command prompt you'll try to execute something like:
> net use z: \\<server>\<share>
net use z: \\linux_box\samba
"the computer name specified in the network path cannot be located."
and when I tried (on a dare)
net use z: \\JJJ_HOME\samba
I got "Error 59: an expected network error has occured. Restart....."
Looking below at the smb.conf file I have
netbios name = JJJ_HOME
could this be incorrect? I tried changing to "linux_box" but that
made no obvious difference (after restarting smb and nmb).
And I added the following to /etc/samba/smb.conf
> os level = 66
> preferred master = yes
> local master = yes
> also you may add:
> hosts allow = 192.168.1.0/255.255.255.0
> And I'm assuming that username on both systems is the same.
there is a "jefferi" as a user on linux_box and that is what I
logged into the winME box as. Also the password is the same in both
NOTE: however when I restart the winME machine I get the logon popup box
and when I enter the password winME comes back and complains that there
is not a domain server? Is SAMBA the domain server?
Also David Mandala suggested:
>Try this, on your Windoz boxen edit the lmhosts and hosts files and add
>an entry in each for the SAMBA server. See if that helps, it does many
>times in my experience. The SAMBA server needs a static address but the
>Windoz boxen are quite happy with DHCP addresses.
Which I did. But odd question where does one establish what the name of
a machine is for linux? Simply the /etc/hosts file? And what would be
the form? 192.168.1.100 linux_box localhost
and is there a conflict with
127.0.0.1 localhost.localdomain localhost
n Mon, 2003-05-12 at 23:41, Jonathan Jefferies wrote:
> Appreciate any comments or suggestions on how to get samba working
> to communicate between my linux box and windowsME box::
> After many adventures, I have changed from DHCP to static
> addresses on my home network(LAN) - as suggested by several folks here.
> I have run SWAT and configured what seems to be a basic samba.conf
> file. And I've gone into my windows box and configured networking
> there. But still I'm not able to see my linux box from windows, i.e.
> clicking on local neighborhood->entire network eventually times out.
> Setup is:
> Linksys firewall/router connected to cable modem (WAN)
> Linux box connected to Linksys via ethernet (LAN)
> windowsME box connected to Linksys via ethernet (LAN)
> Linksys uses DHCP to get IP from my ISP
> Linux box is set as ip 192.168.1.100 (static)
> windowsME box is set as ip 192.168.1.101 (static)
> linux box is able to ping both Linksys and windowsME
> windowsME is able to ping both Linksys and linux box
> samba.conf file is:
> # Samba config file created using SWAT
> # from localhost.localdomain (127.0.0.1)
> # Date: 2003/05/12 22:59:20
> # Global parameters
> workgroup = JJJ_HOME
> netbios name = JJJ_HOME
> server string = Samba Server
> encrypt passwords = Yes
> obey pam restrictions = Yes
> pam password change = Yes
> passwd program = /usr/bin/passwd %u
> passwd chat = *New*password* %n\n *Retype*new*password* %n\n
> unix password sync = Yes
> log file = /var/log/samba/%m.log
> max log size = 0
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> dns proxy = No
> wins support = Yes
> printing = lprng
More information about the Balug-talk-balug.org