LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Network issues (https://www.linuxquestions.org/questions/linux-networking-3/network-issues-502776/)

24giovanni 11-18-2006 09:45 AM

Network issues
 
Hi, I am trying to get access to my linuc fc5 computer but I am unable to see it on my XP computer but I can see it from the opposite setup. Can someone help me out as to why I can't access my linux machine from my XP machine. I would really appreciate it.

tia

amitsharma_26 11-18-2006 11:01 AM

How exactly have you configured your fc5 box to make it available for your windows boxes ?

24giovanni 11-18-2006 11:06 AM

I setup my smb.conf with workgroup of stooges entered netbios of shemp (computer name) hosts allow is ip address of computer. that's about it. Do I need to do anything else?

amitsharma_26 11-18-2006 11:22 AM

Concerning about the first problem, i.e. you cant see your linux ssamba box in xp neighbourhood places.
Does XP computer fall in the same workgroup ?
Can you try it browsing by \\ip-address-of-samba-box ?

24giovanni 11-18-2006 11:26 AM

network path was not found.yes, same workgroup.

amitsharma_26 11-18-2006 11:31 AM

Can you ping the ip of samba box from windows ?

\& wht do you mean by that i can see it from opposite setup ?
Can you also run
Code:

testparm -s smb.conf > smb.posting.conf
& post the output of this file & also see if you find any errors while you run this command.

24giovanni 11-18-2006 01:16 PM

I can ping it from xp machine and here's the result from linux box

Load smb config files from smb.conf
Unknown parameter encountered: "netbios"
Ignoring unknown parameter "netbios"
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[root@localhost samba]#

amitsharma_26 11-18-2006 01:49 PM

Quote:

Originally Posted by 24giovanni
I can ping it from xp machine and here's the result from linux box

Load smb config files from smb.conf
Unknown parameter encountered: "netbios"
Ignoring unknown parameter "netbios"

Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[root@localhost samba]#

You got to change that netbios value to "netbios name" in your smb.conf & as that sets up the name for your samba box; & probably as its not there it will be displaying you as your machine dns name in your windows neighbourhoobd.

24giovanni 11-18-2006 01:54 PM

Ok, I made change...do I need to reboot both machines in oder to see it?

amitsharma_26 11-18-2006 02:05 PM

NO it doesnt requires a reboot as samba daemon looks for smb.conf every single minute but you can still do a
Code:

service smb restart
or
Code:

/etc/rc.d/init.d/smb restart
to bring it in effect prior to that.
./

24giovanni 11-18-2006 02:19 PM

ok i restarted it but win I am on my xp machine it is saying stooges (WG) is not accessable. Network path not found.

oh, firewall is disabled on linux box as well.

amitsharma_26 11-18-2006 02:30 PM

If your windows box really fall in the same workgroup, i.e. stooges (checkback that windows xp box is having the same workgroup)then you will not get any error of that sorts. (as this has nothing to do with your samba configuration)

Infact if you confirm the same then you can checkback your samba server directly by browsing its ip also. Please also be informed that once you get through to your samba server; you got to add some username & pass to unix & samba user database as well. Further i hope permissions at filesystem level & in smb.conf should also got to be specified.

24giovanni 11-18-2006 02:34 PM

XP is stooges, so now I have to add my XP user login ID with it's password under users and groups on Linux box?

Should I put this same user/password in my smb.conf file? If so, where would I do that please?

24giovanni 11-18-2006 02:41 PM

in smb.conf do I uncomment the entries
guest account = NT user name here ....and next to

password server = password from NT box????

amitsharma_26 11-18-2006 02:47 PM

Prior to that can you please post your smb.conf ?

or if you just want it for some test purpose, you can also set your samba as
Code:

netbios name = shemp
workgroup = stooges
map to guest = Bad user
[share1]
path = /<path-to-share>
read only = no
guest ok = yes

You do not need any user to be added if you are going to follow the above mentioned smb.conf (for test purpose only)

or otherwise you got to add users via
Code:

useradd
to unix passwd database & then the same username to samba password database by
Code:

smbpasswd
Yes you can keep your windows & linux user & pass same for easier access.

You should also check http://amitsharma.linuxbloggers.com/how_to_samba.htm for further reference.


All times are GMT -5. The time now is 04:32 AM.