VectorLinux
April 23, 2014, 12:40:54 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: 1 [2] 3
  Print  
Author Topic: Problems accessing LAN  (Read 8358 times)
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #15 on: December 07, 2008, 06:47:43 pm »

have you modify the /etc/nsswitch.conf?
btw, do you enable any firewall option?
Logged
newt
Vectorian
****
Posts: 1132



« Reply #16 on: December 07, 2008, 07:04:46 pm »

pyNeighborhood still fails to scan.
StrayBit, just to make sure, when I use pyNeighborhood I have to go into the options and uncheck the 'scan as anonymous' option (or whatever it's called), which allows the option to 'Scan as user'.  Do you have the option to 'scan as user'?
Logged
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #17 on: December 07, 2008, 07:07:39 pm »

You can use command line as below to view the share folder instead of using pyNeighborhood

Quote
smbclient -L hostname -U username
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #18 on: December 08, 2008, 11:12:41 am »

No change to nsswitch
No firewall
Quote
root:# smbclient -L gateway -U bruce
Unknown parameter encountered: "status"
Ignoring unknown parameter "status"
WARNING: no network interfaces found
Error connecting to 192.168.1.103 (No route to host)
Connection to gateway failed (Error NT_STATUS_HOST_UNREACHABLE)
vector:/~
root:# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:21:91:21:CF:AB 
          inet addr:192.168.1.102  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
I tried all 3 ways: It was Anon, without (as root) and use bruce - no difference

Handtyped from compaq:
Quote
root:# smbclient -L vector -U bruce
connection to vector failed. (Error NETWORK_STATUS_BAD_NETWORK_NAME)
root:# smbclient -L gateway -U bruce
Password:
cli_rpc pipe_open: cli_nt_create failed on pipe \srvsvc to machine gateway. Error was ERRSRV-ERRerror (Non-specific error code.)
Sharename    Type  Comment
C                         Disk
IPCS                   IPC    Remote Inter Process Communication

Server      Comment
Gateway       Win98

Workgroup    Master
FOWLPLAY           Gateway

I thought Samba on Vector was the master!
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #19 on: December 08, 2008, 07:19:30 pm »

how about your replace the hostname vector with the IP address.......maybe u can post your smb.conf too...
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #20 on: December 09, 2008, 05:45:24 am »

My network froze this AM requiring reboot of all machines including the WAB.  On restart. smbclient -L 192.168.1.101 -U bruce from compaq worked then pyNeighborhood found vector.  Trying from vector to compaq (smbclient -L 192.168.1.102 -U bruce) yields Connecrion refused.  And pyNeighborhood still fails.

Does anyone know where the default background color is set for mc?

Quote
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/10/10 20:14:35

[global]
   workgroup = FOWLPLAY
   server string = %h (Samba %v)
   interfaces = 192.168.1.101
   security = USER
   passdb backend = tdbsam
   guest account = pcguest
   null passwords = yes
   password level = 3
   browseable = yes
   status = yes
   auto services = cdrom
   log file = /var/log/samba.%m
   max log size = 50
   add user script = /usr/sbin/useradd %u
   delete user script = /usr/sbin/userdel %u
   logon path = \\%L\Profiles\%U
   domain logons = Yes
   preferred master = Yes
   domain master = Yes
   wins proxy = Yes
   wins support = Yes
   hosts allow = 192.168.1. 192.168.0. 127.
   printcap name = lpstat
   printing = cups
   print command =
   lpq command = %p
   lprm command =

[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

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No

[tmp]
   comment = Temporary file space
   path = /home/tmp
   read only = No
   guest ok = Yes

[public]
   comment = Public Stuff
   path = /home/public
   read only = No
;   write list = @staff
;   guest only = Yes
   guest ok = Yes

[Win]
   comment = OldWin98 disk
   path = /mnt/win
   read only = No
;   write list = @staff
;   guest only = Yes
   guest ok = Yes
   fstype = vfat

[cdrom]
   comment = Shared CD-ROM drive on Linux
   user = guest
   path = /mnt/cdrom
   writeable = no
   read only = true
   browseable = yes
   public = yes
   guest ok = yes
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #21 on: December 09, 2008, 07:01:38 am »

First of all, below smb.conf is belong to vector or compaq? It seem to me there is some miss configure setting for the samba. I believe below samba setting is not need for a user-level samba server setting....

Quote
interfaces = 192.168.1.101
domain logons = Yes
preferred master = Yes
domain master = Yes
wins proxy = Yes
wins support = Yes

Quote
Trying from vector to compaq (smbclient -L 192.168.1.102 -U bruce) yields Connecrion refused

Did you add the username to smbpasswd?
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #22 on: December 09, 2008, 03:33:16 pm »

smb.conf is from Vector.  The intent was that, rather than trying to maintain 3 files on umpteen machines, use Vector to supply the information as to who is on and what their IP is.  My attempts to locate info on DNS or WINS just give me "No manual entry for  {entry}"   I suppose I could remove the interface - that was put in when the Wireless Modem was attached to eth0.
Quote
Did you add the username to smbpasswd?
My attempts to use smbpassword (as root where all slibs are in the path) only gave me
Quote
root:# smbpassword
bash: smbpassword: command not found
Bruce is a user on both machines (I wouldn't mind being able to use a common - roving? profile.) with all permissions allowed by the gui adduser.
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #23 on: December 09, 2008, 05:29:36 pm »

Quote
Trying from vector to compaq (smbclient -L 192.168.1.102 -U bruce) yields Connecrion refused.  And pyNeighborhood still fails.

Does this mean you also have samba running on your compaq client? If yes can pls post the smb.conf on your compaq client.
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #24 on: December 10, 2008, 06:43:25 am »

Compaq:
Quote
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba HOWTO Collection.
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
   workgroup = FOWLPLAY

# server string is the equivalent of the NT Description field
   server string = Compaq Samba Server

# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the HOWTO Collection for details.
   security = user

# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.1. 192.168.0. 127.

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = yes

# you may wish to override the location of the printcap file
;   printcap name = /etc/printcap

# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
;   printcap name = lpstat

# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
;   printing = cups

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
;  guest account = pcguest

# this tells Samba to use a separate log file for each machine
# that connects
   log file = /var/log/samba.%m

# Put a capping on the size of the log files (in Kb).
   max log size = 50

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
   password server = *
;   password server = <NT-Server-Name>

# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
;   realm = MY_REALM

# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
;   passdb backend = tdbsam

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
#       this line.  The included file is read at that point.
;   include = /usr/local/samba/lib/smb.conf.%m

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
#         SO_RCVBUF=8192 SO_SNDBUF=8192
   socket options = TCP_NODELAY

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
;   interfaces = 192.168.12.2/24 192.168.13.2/24

# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
;   local master = no

# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
;   os level = 33

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
;   domain master = yes

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   preferred master = yes

# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
;   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

# Where to store roving profiles (only for Win95 and WinNT)
#        %L substitutes for this servers netbios name, %U is username
#        You must uncomment the [Profiles] share below
;   logon path = \\%L\Profiles\%U

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
#   Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
   wins server = 192.168.1.101

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one   WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
   dns proxy = no

# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
;  add user script = /usr/sbin/useradd %u
;  add group script = /usr/sbin/groupadd %g
;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
;  delete user script = /usr/sbin/userdel %u
;  delete user from group script = /usr/sbin/deluser %u %g
;  delete group script = /usr/sbin/groupdel %g


#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


[public]
   comment = Public Stuff
   path = /home/public
   read only = No
;   write list = @staff
;   guest only = Yes
   guest ok = Yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = Yes
   writable = no
   printable = yes

# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /home/tmp
   read only = No
   guest ok = Yes
   public = yes

;[cdrom]
;   comment = Shared CD-ROM drive on Compaq
;   user = guest
;   path = /mnt/cdrom
;   writeable = no
;   read only = true
;   browseable = yes
;   public = yes
;   guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = yes
;   printable = no
;   write list = @staff

# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes

# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765


Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #25 on: December 10, 2008, 06:12:44 pm »

First of all I am not expert in Samba and some more linux, so I may not can help you much. But from your smb.conf, I believe you are using vector as a WINS server too right? If yes, try to turn off the win proxy setting at your compaq smb.conf. That is all that i can see from your smb.conf....

Quote
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one   WINS Server on the network. The default is NO.
;   wins proxy = yes

Or you can reset your compaq's smb.conf and start with the share-level samba setting. If it work then you might can do it 1 by 1.....
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #26 on: December 11, 2008, 10:56:51 am »

The semi-colon (Wink at the beginning of the line (in Compag smb.conf) indicates it is a comment just like the cross-hatch (#).  I set both Vector and Compaq to share as you indicated.  smbclient works (Vector shown):
Quote
root:# smbclient -L Compaq -U bruce
Unknown parameter encountered: "status"
Ignoring unknown parameter "status"
Password:
Domain=[FOWLPLAY] OS=[Unix] Server=[Samba 3.0.26a]

        Sharename       Type      Comment
        ---------       ----      -------
        public          Disk      Public Stuff
        tmp             Disk      Temporary file space
        IPC$            IPC       IPC Service (Compaq Samba Server)
Domain=[FOWLPLAY] OS=[Unix] Server=[Samba 3.0.26a]

        Server               Comment
        ---------            -------
        COMPAQ               Compaq Samba Server
        GATEWAY              Win98
        VECTOR               vector (Samba 3.0.32)

        Workgroup            Master
        ---------            -------
        FOWLPLAY             VECTOR
Same on Compaq with out the  Unknown parameter. 
Quote
root:# smbclient -L Gateway -U bruce
Unknown parameter encountered: "status"
Ignoring unknown parameter "status"
Password:

        Sharename       Type      Comment
        ---------       ----      -------
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine Gateway.  Error was ERRSRV - ERRerror (Non-specific error code.)
        C               Disk     
        IPC$            IPC       Remote Inter Process Communication

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
Same command on compaq
Quote
root:# smbclient -L Gateway -U bruce
timeout connecting to 192.168.0.3:445
timeout connecting to 192.168.0.3:139
Error connecting to 192.168.0.3 (Operation already in progress)
Connection to Gateway failed (Error NT_STATUS_ACCESS_DENIED)
compaq:/~
root:# smbclient -L 192.168.1.100 -U bruce
session request to 192.168.1.100 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
Gateway is 192.168.1.100 today.

pyNeighborhood on Compaq only shows Gateway..  Gateway now shows Compaq but not Vector.

Gslapt on Compaq is missing.  I also want to try to reinstall pyNeighborhood on Vector.  I can't locate either of those packages!  Any idea where I can find them?
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #27 on: December 11, 2008, 05:23:48 pm »

It seem like your samba for compaq is working now.....did you do anything to it?
Logged
StrayBit
Vectorite
***
Posts: 373



« Reply #28 on: December 12, 2008, 08:09:12 am »

I switched to Share on both.

Vector will NO LONGER boot Cry  A couple of lines after Coldplugging it stops at
Quote
Remounting root device with read-write enabled
/dev/hda2 on /type xfs (rw)
VL4 Live cannot handle xfs, it can open /home (reiserfs on hda3).  I guess my only option now is to reinstall!  (Waiting to see if there might be any other options Huh).  It has been a good 2 months  Smiley

Also, smbclient on Compaq again has the cli_rpc_pipe_open error again for Gateway (but still shows its shares), Connection refused for itself, and, of course, connection to Vector failed.,
Logged

Dell GX280: [7.0-Gold-Final], 6.0-Gold-Final, 5.9-Gold
HP 670 Win7 & VL7.0
hata_ph
Packager
Vectorian
****
Posts: 3210


-- Just being myself --


« Reply #29 on: December 12, 2008, 08:29:02 am »

Too bad...maybe u can start all over again with a new installation....wish u good luck
Logged
Pages: 1 [2] 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!