Problems with multiple Ethernet devices ?

Urs Steiner urs.steiner at
Fri Dec 11 22:17:53 GMT 1998

I just installed a new Linux server which will be gateway between our local
intranet and the internet in a month or so ...

anyway, i copied my old samba(pre-alpha) to the new machine and installed
and behold: it's running
but:i can't connect to it , step 3 from DIAGNOSIS.txt:
(nerys is the server name, hte (internal) ip is

# smbclient -L nerys
doing parameter remote announce =
doing parameter log file = /var/log/samba.log.%m
doing parameter lock directory = /var/lock/samba
doing parameter share modes = yes
pm_process() returned Yes
Added interface ip= bcast= nmask=
Client started (version 2.1.0-prealpha).
resolve_name: Attempting lmhosts lookup for name nerys
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error
was No such file or directory
resolve_name: Attempting host lookup for name nerys
Connecting to at port 139
 session request ok
session setup failed: code 0

 is this a common problem when using multiple ethernet cards( i recall
reading something about problems but can't recall where) or do i just have
misconfigured something? I also can' connect to a newer CVS dated Dec 11

  and here comes my smb.conf:

# This smb.conf forbids any access. For a sensible default smb.conf,
# please rename the file smb.conf.sample to smb.conf

  guest account = nobody
  guest ok = yes
        ;try this one
  guest only = yes
        ;and this one
  security = USER
  workgroup = MAX

  interfaces =
        ;show up on which interface ?or ...
  hosts allow = 192.168.0. 127.

  protocol = NT1
  browsable = yes
  browse list = yes
  deadtime = 5
        ; after 5 minutes of inactivity close connection
  dns proxy = no
        ;otherwise there might be problems
  domain master = yes
        ;wan-browsing ...
  domain logons = yes
        ;act as domain server
  encrypt passwords = yes
        ;for nt4 sp3 this is important, see also winnt.txt

  smb passwd file = /usr/local/samba/private/smbpasswd
        ;where are the smb passwds stored ?
  null passwords = true
        ;could be risky ... allows access with empty passwords
  local master = yes
        ;participate in elections, master browser for this subnet
  message command = csh -c 'xedit %s;rm %s' &
        ;what todo with winpopup messages
  wins support = yes
        ; this server is a wins server/domain master browser
  wins proxy = yes
        ;respond to broadcast queries

  preferred master = yes
        ;force browser election at startup
  os level = 255
        ;win the elections ...

  read prediction = yes
        ;pre-read data from read-only files

  printing = bsd
  printcap name = /etc/printcap
  load printers = yes

  debug level = 4

  remote announce =
  ;  This next option sets a separate log file for each client. Remove
  ;  it if you want a combined log file.
  log file = /var/log/samba.log.%m

  ;  You will need a world readable lock directory and "share modes=yes"
  ;  if you want to support the file sharing modes for multiple users
  ;  of the same files
  lock directory = /var/lock/samba
  share modes = yes

; Der nachfolgende Eintrag beschert dem jeweiligen User einen Eintrag
; mit seinem Namen, in dem sich sein Homeverzeichnis befindet. (GUT!)

  comment = Home Directories
  browseable = no
;do not show a service called homes but %u only
  guest ok = no
  read only = no
  create mask = 0755
  public = no
  write list = @users

and here follow some more share definitions which shouldn't be important

Does anybody have an idea where to fix this ? Probably tomorrow i will have
time for a short reboot and remove the second adapter to look if it runs
then but in the mean time I hope one of has an answer


e-mail: urs [dot] steiner [at] switzerland [dot] org
Think of that:
 * <- Tribble  ÷÷÷\ÄÁÄÁÄ/~~~~*~~~ <- ship saving drowning tribble

More information about the samba-technical mailing list