Hi!
I use realtek ethernet cards to connect 2 redhat linux 8 systems together to form a peer to peer network.
My stats for the first network card are ::
IP add: 169.254.156.54 Mask:255.255.0.0 Bind to MAC add: 00:50:2c:05:98:a9 Host IP add: 127.0.0.1 HostName:localhost.localdomain DNS Hostname:localhost.localdomain
The stats for the 2nd network card are::
IP add:169.254.61.56 Mask:255.255.0.0 Bind to MAC add: 00:50:fc:84:32:56 HostIP add:127.0.0.1 HostName:localhost.localdomain DNS Hostname:localhost.localdomain
I read up on the redhat documentation on samba,followed its instructions and configured the last part of the smb.conf file. The very last section of the file reads as follows after modification:
[sharename]
comment = My stuff
path = /home/share
valid users = ong ocy
public = no
writable = yes
printable = no
create mask = 0765
I only modified the last part of the smb.conf file cos the documentation shows only tis part.
So i logged in as root on both pcs,went to the terminal and typed
smbclient //169.254.61.56/home/share -U ong on one pc. However the following messages appeared:
added interface ip=169.254.156.54 bcast=169.254.255.255 nmask=255.255.0.0
error connecting to 169.254.61.56:139(connection refused)
error connecting to 169.254.61.56(connection refused)
connection to 169.254.61.56 failed
The other pc also showed a similar error message when i tried the connection on the other pc.
Do you know where the problem lies ? Is it because of the configuration of the ethernet cards and the smb.conf or the wrong commands typed ? Please help because i have spent a long time reading the documenation,tinkling with the settings and trying out different commands but to no avail. ( Btw,i think the connection works because i have tried out the ping command )
Please reply quickly if you can.........thanks!! :?: