browsing suddenly stopped working

browsing suddenly stopped working

Post by Thomas Wimme » Sun, 10 Aug 1997 04:00:00

Hi !

I installed Samba (1.9.16p10) on my Linux-PC (2.0.30), and it worked
fine (well, sort of).
I do have one NIC (eth0) connected to the 'net, and one NIC (eth1)
connected to the internat LAN.
Samba is only available to the internal LAN and some services to only
one Computer,

But then suddenly browsing stopped working. smbclient -L <name> doesn't
give a browse list. I didn't change anything in the /etc/smb.conf, but
fiddeled with the firewall-settings, as well with ifconfig.

I checked the entries, but I cannot locate the error.

Anyone got a clue ?

Thanks in advance


netbios-ssn     stream  tcp     nowait  root    /usr/sbin/smbd  smbd  -l
/var/log/samba -s /etc/smb.conf
netbios-ns      dgram   udp     wait    root    /usr/sbin/nmbd  nmbd


lcars:/root # route -n
Kernel IP routing table
Destination   Gateway         Genmask       Flags Metric Ref  Use Iface   U    0      0     8 eth0     U    0      0     1 eth1       U    0      0     5 lo         UG   0      0    25 eth0


lcars:/root # ifconfig
lo    Link encap:Local Loopback  
      inet addr:  Bcast:  Mask:
      RX packets:6579 errors:0 dropped:0 overruns:0
      TX packets:6579 errors:0 dropped:0 overruns:0

eth0  Link encap:10Mbps Ethernet  HWaddr 00:00:B4:45:2D:44
      inet addr:  Bcast:  Mask:
      RX packets:6933 errors:0 dropped:0 overruns:0
      TX packets:3297 errors:0 dropped:0 overruns:0
      Interrupt:10 Base address:0x300

eth1  Link encap:10Mbps Ethernet  HWaddr 08:00:00:22:51:96
      inet addr:  Bcast:  Mask:
      RX packets:0 errors:0 dropped:0 overruns:0
      TX packets:62 errors:0 dropped:0 overruns:0
      Interrupt:9 Base address:0x280



# Deny ALL Incoming Packets by Default
/sbin/ipfwadm -I -f
/sbin/ipfwadm -I -p deny

# Allow Requests on the Local Interface, From the Local Network, To
# Anywhere
/sbin/ipfwadm -I -a accept -W eth1 -S -D

# Deny Requests on the Public Interface which claim to be on the Private
# Network (IP Spoofing)
/sbin/ipfwadm -I -a deny -W eth0 -S -D -o

# Enable Loopback
/sbin/ipfwadm -I -a accept -V -S -D

# Allow connection from Internet
/sbin/ipfwadm -I -a accept -W eth0 -S -D

# Deny Everything Else
/sbin/ipfwadm -I -a deny -S -D -o


# Deny ALL Outgoing Packets by Default
/sbin/ipfwadm -O -f
/sbin/ipfwadm -O -p deny

# Allow Output on Private Interface, from Anywhere to Private Network
/sbin/ipfwadm -O -a accept -W eth1 -S -D

# Deny Packets on Public Interface, From Anywhere, Going to Private
# Network
/sbin/ipfwadm -O -a deny -W eth0 -S -D -o

# Deny Packets on Public Interface, From Private Network to Anywhere
# (Stuffed Masquerading)
/sbin/ipfwadm -O -a deny -W eth0 -S -D

# Enable Loopback
/sbin/ipfwadm -O -a accept -V -S -D

# Enable Access to Public Interface
/sbin/ipfwadm -O -a accept -W eth0 -S -D

# Deny Everything Else
/sbin/ipfwadm -O -a deny -S -D -o


# Deny ALL Forwarding by Default
/sbin/ipfwadm -F -f
/sbin/ipfwadm -F -p deny

# Enable Masquerading from Private Network on Private Interface to
# Anywhere
/sbin/ipfwadm -F -a m -W eth0 -S -D

# Deny Everything Else
/sbin/ipfwadm -F -a deny -S -D -o

# End


   server string = Thomas' Computer
   workgroup = wg-netz
   guest account = ftp
   keep alive = 60
   log file = /var/log/samba-log.%m
   max log size = 500
   lock directory = /var/lock/samba
   share modes = yes
   interfaces =
   auto services = h
   hosts allow = 172.16.26.,,
   preferred master = yes
   os level = 2
   printing = bsd
   printcap name = /etc/printcap
   dead time = 5
   valid chars = 229:197 228:196 246:214 252:220 233:201
   character set = iso8859-1

   comment = Laufwerk C
   path = /dos/%S
   browseable = yes
   force user = thomas
   writable = yes
   printable = no
   read only = no
   public = no
   hosts allow =
   valid users = sonja

   copy = c
   comment = Laufwerk D

   copy = c
   comment = Laufwerk E

   comment = CD-ROM Wechsler
   path = /cdrom
   read only = no
   locking = no
   browseable = yes

   comment = Home-Directory
   browseable = no
   read only = no
   create mode = 0750

   comment = Epson Stylus Color
   path = /var/spool/stylus
   printer name = lp5
   writable = no
   create mode = 0700
   public = yes
   printable = yes
   print command = lpr -h -r -P %p %s


Added interface ip= bcast= nmask=
Server time is Sat Aug  9 13:33:07 1997
Timezone is UTC+2.0
Domain=[WG-NETZ] OS=[Unix] Server=[Samba 1.9.16p10]

Server=[lcars] User=[thomas] Workgroup=[WG-NETZ] Domain=[WG-NETZ]

        Sharename      Type      Comment
        ---------      ----      -------
        c              Disk      Laufwerk C
        d              Disk      Laufwerk D
        e              Disk      Laufwerk E
        h              Disk      CD-ROM Wechsler
        IPC$           IPC       IPC Service (Thomas' Computer)
        stylus         Printer   Epson Stylus Color
        thomas         Disk      Home-Directory


Thomas Wimmer                    | When you're in a fight with an idiot,


1. NT4 Workstations suddenly stop browsing

Have a standard 2 nic internet setup using a 1 port linsys router

After a few days of the server being up, all the NT4 workstation computers
cannot browse the internet anymore

All the Windows 2000 workstations can though

Rebooting server fixes the problem

The only recent thing I have changed is setrup of VPN access via internet to
use netmeeting

Anyone any idea please


2. Shared borders - bookmark ?

3. POP3 connector suddenly stops working

4. How to get this code to work in VB ASP .NET

5. RAS suddenly stop working for selected users ??

6. Customization based on country.

7. Domain logons suddenly stop working

8. FP13 Trap C in OS2DASD?

9. SWAT suddenly stops working?

10. Site suddenly stopped working - re-boot cleared

11. SPS Stopped Working Suddenly

12. Can browse for awhile, then client stops working

13. STOP Samba from being a browse list master / backup browse list