Re: LAN and linux pc (newbie)

From: AC (aec$news_at_candt.demon.co.uk)
Date: 05/04/04


Date: Tue, 4 May 2004 14:15:53 +0100

In article <40965688$0$31684$fa0fcedb@lovejoy.zen.co.uk>, anc
<anc@nospam.net> writes
>AC wrote:
>
>> Something is weird, I can see the 3 other (win) PCs on this home network
>> (ethernet utp, windows networking) from the linux PC, but the linux PC
>> itself is not displayed. It works on the network otherwise - internet
>> connection ok and it prints to a network printer.
>>
>> I also cannot see the linux PC from the other PCs, which seem to be
>> operating normally.
>>
>> The linux PC has a name, IP number, samba server is 'enabled', samba
>> client presumably is working (to see the win PCs and their contents) -
>> the workgroup has the correct name. I use TCP/IP for the network,
>> netbios only over TCP/IP.
>>
>> What am I missing? Where do I look?
>
>
>Check that all machines have the same subnet mask.
> winipcfg from windows

===============
winipcfg (typical PC)

node type broadcast
wins proxy enabled

IP address 192.168.1.2
subnet mask 255.255.255.0
default gateway 192.168.1.1
DHCP server 192.168.1.1
===============

> and
>ifconfig from linux.

Mmmm..
I have everything set to use DHCP (I believe)
I do not know much about IP allocation, less about masks {:=(
Everything on the LAN is 192.168.1.[..] presumably from the adsl
router/switch/dhcp, although there is another switch, which is auto
setting, between that and the PCs.
I notice the loopback address is outside this range (?)

========================================
:~ # ifconfig
eth0 Link encap:Ethernet HWaddr
10:04:0B:40:4D:42
          inet addr:192.168.1.11 Bcast:192.168.1.255
Mask:255.255.255.0
          inet6 addr: fe80::1204:bff:fe40:4d42/64
Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST
MTU:1500 Metric:1
          RX packets:597 errors:0 dropped:0 overruns:0
frame:0
          TX packets:144 errors:0 dropped:0 overruns:0
carrier:1
          collisions:0 txqueuelen:100
          RX bytes:68749 (67.1 Kb) TX bytes:10476
(10.2 Kb)
          Interrupt:5 Base address:0x220

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:326 errors:0 dropped:0 overruns:0
frame:0
          TX packets:326 errors:0 dropped:0 overruns:0
carrier:0
          collisions:0 txqueuelen:0
          RX bytes:23058 (22.5 Kb) TX bytes:23058
(22.5 Kb)

:~ #
========================================

>Post the details of /etc/smb.conf

====================================================
# smb.conf is the main Samba configuration file. You
find a full commented
# version at
/usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-11-04
[global]
   workgroup = home_group
   os level = 2
   time server = Yes
   unix extensions = Yes
   encrypt passwords = yes
   map to guest = Bad User
   printing = CUPS
   printcap name = CUPS
   socket options = SO_KEEPALIVE IPTOS_LOWDELAY
TCP_NODELAY
   wins support = No
   veto files = /*.eml/*.nws/riched20.dll/*.{*}/
   security = user
   server string = Samba Server
   add user script =
   domain master = false
   domain logons = no
   local master = no
   preferred master = auto
;; ldap server = 127.0.0.1
[homes]
   comment = Home Directories
   valid users = %S
   browseable = no
   read only = No
   create mask = 0640
   directory mask = 0750
   guest ok = no
   printable = no
[printers]
   comment = All Printers
   path = /var/tmp
   printable = yes
   create mask = 0600
   browseable = no
   guest ok = no
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/drivers
   write list = @ntadmin root
   force group = ntadmin
   create mask = 0664
   directory mask = 0775
   browseable = yes
   guest ok = no
   printable = no
====================================================

Comments have been, and will be, much appreciated

-- 
AC


Relevant Pages

  • Re: virtualisation on SBS
    ... ....and some recent non windows guest OS as well. ... Qualified Linux Guest Operating Systems ... of supported guests for Virtual Server 2005 R2: ...
    (microsoft.public.windows.server.sbs)
  • Re: How to cennect to a windows network?
    ... box to "see" a home directory, ... map to guest = Bad User ... server string = Samba Server ... directory mask = 0750 ...
    (alt.os.linux.suse)
  • Re: [SLE] Samba Probs
    ... Ben Higginbottom wrote: ... when the server was in WinXP... ... map to guest = Bad User ... directory mask = 0750 ...
    (SuSE)
  • Re: [SLE] SUSE 9.1, Samba 3.0.4-1.2 and Windows NT Domain
    ... map to guest = Bad User ... server string = Samba Server-AF ... directory mask = 0750 ... comment = All Printers ...
    (SuSE)
  • samba locks up both machines
    ... One of the shares is my pictures. ... Also I can't get xp to print to linux. ... map to guest = Bad User ... directory mask = 0775 ...
    (alt.os.linux.suse)