LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 11-18-2006, 09:45 AM   #1
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Rep: Reputation: 15
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
 
Old 11-18-2006, 11:01 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
How exactly have you configured your fc5 box to make it available for your windows boxes ?
 
Old 11-18-2006, 11:06 AM   #3
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
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?
 
Old 11-18-2006, 11:22 AM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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 ?
 
Old 11-18-2006, 11:26 AM   #5
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
network path was not found.yes, same workgroup.
 
Old 11-18-2006, 11:31 AM   #6
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
 
Old 11-18-2006, 01:16 PM   #7
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
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]#
 
Old 11-18-2006, 01:49 PM   #8
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
 
Old 11-18-2006, 01:54 PM   #9
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
Ok, I made change...do I need to reboot both machines in oder to see it?
 
Old 11-18-2006, 02:05 PM   #10
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
./
 
Old 11-18-2006, 02:19 PM   #11
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
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.

Last edited by 24giovanni; 11-18-2006 at 02:25 PM.
 
Old 11-18-2006, 02:30 PM   #12
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
 
Old 11-18-2006, 02:34 PM   #13
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
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?

Last edited by 24giovanni; 11-18-2006 at 02:37 PM.
 
Old 11-18-2006, 02:41 PM   #14
24giovanni
Member
 
Registered: Jan 2003
Posts: 95

Original Poster
Rep: Reputation: 15
in smb.conf do I uncomment the entries
guest account = NT user name here ....and next to

password server = password from NT box????
 
Old 11-18-2006, 02:47 PM   #15
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network issues jjorloff1 Mandriva 3 12-18-2004 07:57 PM
Network Issues djljjm Linux - Networking 16 12-06-2004 02:49 PM
Mandrake 10 network issues nanofa Mandriva 13 06-22-2004 04:07 PM
Network issues kingkrill Linux - Newbie 14 05-29-2004 08:57 AM
Network issues jfranks214 Linux - Laptop and Netbook 0 02-12-2004 01:06 PM


All times are GMT -5. The time now is 07:06 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration