[W98 <-> RH9] W98-pc zichtbaar op netwerk, RH9 niet

Pagina: 1
Acties:

  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
Helaas, ik heb gezocht in Linux, en op GoT, en ik kwam er niet uit ;).

Situatie: Ik heb 1 Windows 98 PC, die overigens niet van mij is, en een PC waar ik alles op kan flikken, met daarop RH9 en WinXP.
Sinds kort is daar een 4-poorts router bij gekomen, waarna ik veeleisend werd:

Als alle 2 de pc's aan staan(en die van mij onder Linux bakt) kan ik op het netwerk alleen mijn vaders pc zien. Mijn vader kan niet die van mij vinden. Downloaden van de PC van Windows 98 gaat overigens ook prima. Ik heb wat door de Samba config files geneust, maar dat mocht niet baten. Ook is het handig te weten dat Windows 98 een deel van zijn netwerksupport te danken heeft van het flopje die ik onder Windows XP gemaakt heb.

Over Windows XP gesproken: daar had ik weleens een crosslink kabeltje tussen de XP PC en de 98 PC gelegd, dat ging goed. Maar met die WinXP bak wil het HELEMAAL niet vlotten met dat netwerk. Als ik die wizard niet draai kan ik erop op internet, waar ik die router voor had gekocht. Draai ik de Wizard Netwerk, dan wil ook dat niet en is de enige remedie een systeemherstel. Helaas valt er onder Windows weinig meer te configgen met die wizards, dus had ik daar de hoop al opgegeven ;).

Wie o wie zou mij willen helpen? :)

Schaadt het niet, dan baat het niet


  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
*boink* Kan niemand mij helpen, of heb ik het verkeerde moment uitgekozen om mijn topic te posten?
Soz, ben best wel wanhopig :/ ... ik wil gewoon n goed-werkend netwerk...

Dus, nogmaals: wie zou mij willen helpen met mijn probleem?

offtopic:
voor de modjes, dit spaart de database volgens mij meer dan een nieuw topic met hetzelfde probleem. Die kosten meer db-ruimte ;)

[ Voor 4% gewijzigd door RSpliet op 25-10-2003 18:38 ]

Schaadt het niet, dan baat het niet


Verwijderd

Is het zo'n probleem dat je elkaar niet kan zien in Netwerkomgeving? Sowieso, dat dit niet kan ligt aan NetBIOS, wat een protocol van Microsoft is. Je zult dus moeten kijken of RedHat hier ondersteuning voor heeft. Anders is het jammer maar helaas.

Maar nogmaals: je kunt toch gewoon op IP-adres browsen :? Is dat zo'n probleem?

Verwijderd

Ik heb het vermoeden dat er in je smb.conf iets niet goed geconfigureerd staat.

In principe moet een Win98 pc een redhat 9 machine (met samba) gewoon kunnen zien, mits natuurlijk IP-adressen en werkgroepen goed geconfigureerd zijn.

Misschien wil je je smb.conf eens posten?

  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
mijn smb.conf:
# 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
#
# 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
workgroup = MSHOME

# server string is the equivalent of the NT Description field
server string = Roys PC

# 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.2. 127.

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = no

# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx, cups
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.log

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

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user

# 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>

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd

# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt

# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*

# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.

pam password change = yes

# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers

# 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
; include = /etc/samba/smb.conf.%m

# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes

obey pam restrictions = yes

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# 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

# Configure remote browse list synchronisation here
# request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
; remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
; remote announce = 192.168.1.255 192.168.2.44

# 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 = w.x.y.z

# 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 built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no

# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user


# 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


# 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 = no
writable = no
printable = yes

[shared]
comment = Roy's gedeelde bestanden
path = /Shared
browsable = yes
guest ok = yes
writable = yes
printable = no
[knip]

[ Voor 23% gewijzigd door RSpliet op 26-10-2003 17:21 ]

Schaadt het niet, dan baat het niet


  • sphere
  • Registratie: Juli 2003
  • Laatst online: 16-08 15:48

sphere

Debian abuser

Als je nou is local master op yes zet...

http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454


  • Yalopa
  • Registratie: Maart 2002
  • Niet online

Yalopa

Less is more!

luisterd er wel iets op de linuxdoos op de netbios poorten? kijk eens met netstat -a

Als er iets op poort 137-139 zit indien niet moet je samba aanzetten in /etc/inetd.conf.

[ Voor 4% gewijzigd door Yalopa op 26-10-2003 17:31 ]

You don't need eyes to see, you need vision


  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
leffe_blond: Ik kan wel mijn vader's pc bekijken, dus dat lijkt mij wel. Ook kan ik in de Redhat-firewall niets vinden dat duid op het blokkeren van de Netbios poorten.

sphere2: ik ga het van de week eens proberen. Helaas heeft de PC het vandaag begeven (je raad nooit wat er aan de hand is... Het aan/uit-knopje is afgebroken 8)7), dus dat moet ik van de week (denk ik) nog even bekijken ;).

[ Voor 3% gewijzigd door RSpliet op 26-10-2003 22:05 ]

Schaadt het niet, dan baat het niet


  • Yalopa
  • Registratie: Maart 2002
  • Niet online

Yalopa

Less is more!

mja meestal zal je niets terugvinden van blokades op netbios omdat bij een normale firewal je enkel entrys vind van dingen die je doorlaat de rest valt onder de default deny. Bovendien heb je om een service te bereiken vanaf PC A naar PC B niet noodzakelijk de service nodig op PC A, moet de service in beide richtingen werken, zoals jij dus wil nl van A naar B en van B naar A dan moet je op beide PC de service draaien...

vb: client server model

A = http server (heeft HTTP service draaien)
B = http client (heeft geen HTTP service draaien)

B kan HTTP opvragen bij A met een HTTP client (bvb netscape)
A Kan geen HTTP opvragen bij B, B heeft immers geen HTTP service draaien (bvb apache)

kort door de bocht:

in jou geval gaat het echter niet om een zuiver client server model maar om een peer to peer model, en omdat dat goed zou werken heb je op elke PC zowel de client als de service nodig.

Voor de puristen: dit klopt waarschijnlijk niet voor de volle 100 % maar klopt voldoende om hem zijn probleem uit te leggen :)

You don't need eyes to see, you need vision


  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
goed, ik ben er intussen na wat prutsen achtergekomen wat er mis zou kunnen zijn (eventjes lokaal getest, m'n pa's pc kan ik nog altijd niet op. Zou dell ook losse voorkantjes verkopen? 8)7). Maar dat probleem dat de poorten geblockt zijn, daar wil ik nog wel even naar kijken. Dan zit ik dus met het probleem dat de enige firewallsettings die ik kan kiezen van die leuke aanvink-knopjes zijn. Daar zie ik niets tussen staan dat in de buurt van een netwerk komt. Hoe kan ik deze poorten als 'trusted' markeren? Dit moet veilig kunnen, aangezien onze router deze poorten alleen lokaal doorlaat, en menschen van internet mogen geen gebruik maken van die poortjes (block!).

Schaadt het niet, dan baat het niet


  • Yalopa
  • Registratie: Maart 2002
  • Niet online

Yalopa

Less is more!

mja op je router zn firewall hoef je niets te veranderen, maar zoek om te beginnen in /etc/inetd.conf eens naar een lijn waar iets van smbd of nmbd voorkomt, dit zijn nl de services die moeten draaien voor samba. Dan weten we iig al dat samba gestart wordt als service...

Wat betreft die vinkjesfirewall: die bediend waarschijnlijk een heel wat krachtiger spulletje nl ipchains of iptables (zal wel de laatste zijn) Dit is een erg flexibel spulletje dat met de command line te bediennen is :p

[ Voor 30% gewijzigd door Yalopa op 26-10-2003 22:59 ]

You don't need eyes to see, you need vision


  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
ok, dan ga ik als eerst even googlen op iptables, aangezien ik weet dat Samba wel draait :p (rode hoed/systeemwerkset/serverdingesjes/enige optie, daar kan ik services aan en uit zetten, en herstarten ;)).

offtopic:
Dell kan mijn vader's PC fixen voor 250, dat word dus ff naar de wit fietsen, n nieuwe kast kopen en alles daar laten overzetten in de nieuwe, a 60 euri ;))

[ Voor 31% gewijzigd door RSpliet op 27-10-2003 19:39 ]

Schaadt het niet, dan baat het niet


  • sphere
  • Registratie: Juli 2003
  • Laatst online: 16-08 15:48

sphere

Debian abuser

Niet om het een of ander, maar draait er geen sshd? Of is die bak nu uit en kan hij niet aan? (Dit bedacht ik net onder het tiepen :o) Anders kan je het ook gewoon remote doen.

http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454


  • RSpliet
  • Registratie: Juni 2003
  • Laatst online: 11-07 00:42
De kapotte bak is de Win98 machine, zal weinig zin hebben dus. Ik heb al enige vooruitgang geboekt, ik heb zowaar mijn naam op de Win98 PC gezien. Nelaas was die na n paar tellen net zo hard weer verdwenen :(. Ik ga nog eens verder kijken. tnx ;)

offtopic:
M'n pa heeft het aan/uit knopje uit de pc gesloopt, dus nu kunnen we m doormiddel van een lucifer aanzetten

Schaadt het niet, dan baat het niet

Pagina: 1