TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:3823] Samba Problem




-----Original Message-----
From: Bob Tanner <tanner@real-time.com>
To: tclug-list@listserv.real-time.com <tclug-list@listserv.real-time.com>
Date: Monday, February 01, 1999 2:43 PM
Subject: Re: [TCLUG:3823] Samba Problem


>Your linux box has 2 NIC card right?
>
>1 has a static IP from Vector.
>1 has a static IP for your "internal network".
>
>Right?
>

Exactly.

>Wanna give me the IP addresses for each of the Linux NIC cards?
>Give me the IP address for the Windows PC too.
>
>Subnet masks also. Like this 206.10.252.1/24.
>

Linux NIC connected to Visi.com = 209.98.224.228, subnet mask =
255.255.254.0
Linux NIC connected to internal network = 192.168.1.1, subnet mask =
255.255.255.0

Copy of "ifconfig":
-------------------------------------------
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
          RX packets:708 errors:0 dropped:0 overruns:0 frame:0
          TX packets:708 errors:0 dropped:0 overruns:0 carrier:0 coll:0

eth0      Link encap:Ethernet  HWaddr 00:10:5A:A9:DD:48
          inet addr:209.98.224.228  Bcast:209.98.224.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11543 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7713 errors:0 dropped:0 overruns:0 carrier:0 coll:0
          Interrupt:10 Base address:0xe000 Memory:4-3c590

eth1      Link encap:Ethernet  HWaddr 00:A0:24:70:61:73
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8224 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9943 errors:0 dropped:0 overruns:0 carrier:0 coll:0
          Interrupt:9 Base address:0xd800

Windows machines are on 192.168.1.2 and 192.168.1.3

>I have a feeling this is because Vector bridges across the DSL link,
>so I am guessing your Linux box default gateway is an IP address on
>Visi's router. I am guessing you do not have a route for your Internal
>network so all SMB traffic is going down the default gateway.

Probably correct..I don't claim to know much about IP traffic/routing,
etc...(yet..8p)


copy of route:
------------------------------------------------
skj:/etc/rc.d# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
localnet            *               255.255.255.0               U     0
0        2 eth1
209.98.224.0  *               255.255.254.0               U     0      0
33 eth0
loopback         *               255.0.0.0                        U     0
0        2 lo
default         e0.border-1.mpl 0.0.0.0                     UG    0      0
38 eth0



Thank you!!

Scott K. Johnson
skj@visi.com

>
>
>Quoting Scott K. Johnson (skj@visi.com):
>> Hello all,
>>
>> I've been having a problem with samba since my DSL connection went live.
>>
>> I've got my linux box set up as my NT domain for logging into.  When I
try
>> to log in from my windows box, I get the following error in my log.nmb
file:
>>
>> [1999/02/01 01:03:14, 0]
>> nmbd/nmbd_incomingdgrams.c:process_get_backup_list_request(652)
>>   process_get_backup_list_request: Cannot find workgroup HOME on subnet
>> UNICAST_SUBNET.
>>
>> Anyone have any clues as to what I might start investigating??  Like I
said,
>> I'm feeling very "green" about dealing with a live connection to the
>> internet, and having two NIC's/IP addresses for my box...
>>
>> Thanks again!!
>>
>> Scott K. Johnson
>> skj@visi.com
>>
>> Below is my smb.conf file:
>> -----------------------------------------------------
>>
>> cat smb.conf
>> # Samba config file created using SWAT
>> # from localhost (127.0.0.1)
>> # Date: 1999/01/29 15:35:44
>>
>> # Global parameters
>>  workgroup = HOME
>>  server string = Samba Server
>>  interfaces = 192.168.1.1/24 127.0.0.1/24
>>  bind interfaces only = Yes
>>  encrypt passwords = Yes
>>  log file = /usr/local/samba/var/log.%m
>>  max log size = 50
>>  socket options = TCP_NODELAY
>>  domain logons = Yes
>>  preferred master = Yes
>>  local master = No
>>  domain master = Yes
>>  dns proxy = No
>>  hosts allow = 192.168.1.2 192.168.1.3 127.
>>
>> [homes]
>>  comment = Home Directories
>>  read only = No
>>  browseable = No
>>
>> [netlogon]
>>  comment = Network Logon Service
>>  path = /usr/local/samba/lib/netlogon
>>  guest ok = Yes
>>  share modes = No
>>
>> [tmp]
>>  comment = Temporary file space
>>  path = /tmp
>>  read only = No
>>  guest ok = Yes
>>
>> [office97]
>>  comment = Office97
>>  path = /usr/local/samba-share/Office
>>  valid users = sjohnson
>>  read only = No
>>
>> [Jaz]
>>  comment = Jaz Drive
>>  path = /usr/local/jaz
>>  valid users = sjohnson
>>  read only = No
>>
>> [Data]
>>  comment = Data
>>  path = /usr/local/samba-share/Data
>>  valid users = sjohnson
>>  read only = No
>>
>> [Share]
>>  comment = Shared Drive for Network Storage
>>  path = /usr/local/samba-share/Share
>>  valid users = sjohnson
>>  read only = No
>>
>> [Games]
>>  comment = Shared Drive Space for Games
>>  path = /usr/local/samba-share/Games
>>  valid users = sjohnson
>>  read only = No
>>
>> #[public]
>>  #path = /usr/somewhere/else/public
>>  #read only = No
>>  #guest only = Yes
>>  #guest ok = Yes
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>> For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>> Try our website: http://tclug.real-time.com
>
>--
>Bob Tanner <tanner@real-time.com>       | Phone : (612)943-8700
>http://www.real-time.com                | Fax   : (612)943-8500
>Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tclug-list-unsubscribe@listserv.real-time.com
>For additional commands, e-mail: tclug-list-help@listserv.real-time.com
>Try our website: http://tclug.real-time.com
>
>