LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2005, 06:28 PM   #1
spudler
LQ Newbie
 
Registered: Nov 2004
Location: Barrie, Ontario Canada
Distribution: RedHat
Posts: 7

Rep: Reputation: 0
not sure why it doesn't work (view drive from lan)


Ok, so I once had a machine with RedHat 9 on it - I installed w/ all the graphical options & Gnome desktop.

I managed to get various things running - one of which was acting as a rudimentary file server for my windows machines.

Now, I'm installing RH9 on my only P133 - in command line mode only... its installed, I've setup Samba and can view my w2k sever on my lan (& read files).

However, my Windows machines can't see my RH9 P133 machine... they can ping it, but can't see it in network neighborhood or access it via its IP (static on my lan).

My router shows the box connectd, but as "unknown name" even though I've set its hostname to "P133" (in 3 different locations - I think).

I've disabled iptables for checking things out and still no luck getting the windows machine to even see the Linux box... again, they can ping it, but that is all.

I'm at a loss for ideas now.. what should I be looking at? Again, I'm in command line only, so no gui configuration tools please -- I already had that type of setup working flawlessly!
 
Old 02-06-2005, 06:47 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,719

Rep: Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912Reputation: 5912
Are you positive samba is running on the P133 PC?
Also look at the log files for errors.
 
Old 02-06-2005, 06:47 PM   #3
phlppmrtns5
LQ Newbie
 
Registered: Mar 2004
Location: madeira
Distribution: red hat 8.2
Posts: 19

Rep: Reputation: 0
Question Help for network problem!

I dont really remeber where but in your network configurations there is somewhere something where you can define the kind of network, you can either choose between windows network or linux network.
Choosing a linux network could be handy.

Another reason why your linux machine may not be visible is because unlike linux windows is only compatible with fat or ntfs file systems.

any doubts contact me through: linuxphilippe@yahoo.com

or

http://groups.yahoo.com/group/linux_dot3
 
Old 02-06-2005, 07:55 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Uhhh, wrong. Over a network filesystems don't matter in the slightest, the network protocol used is what counts. You'll have to edit /etc/samba/smb.conf to setup a share for the Windows machine to connect to, the file is fairly heavily commented so you shouldn't have too much trouble working it out
 
Old 02-06-2005, 09:52 PM   #5
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
netbios name

I've found that setting a "netbios name" for the Samba server helps Windows so see it in Network neighbourhood.

So, in the global section try...

netbios name = name_I_want_to_use
workgroup = windoze_workgroup_name


Also make sure to use encrypted passwords in smb.conf with Win2k and WindowXP clients:

password encryption = yes

And create smbpasswords for all users who will use shares or make shares public browseable:

smbpasswd -a user_name adds user_name and prompts for a password

Alternatively,

guest ok = yes

in the share will allow public access to the share making the password unnecessary.
 
Old 02-07-2005, 02:48 PM   #6
spudler
LQ Newbie
 
Registered: Nov 2004
Location: Barrie, Ontario Canada
Distribution: RedHat
Posts: 7

Original Poster
Rep: Reputation: 0
ok, smbusers / password file was needed.. but still no hostname

Thanks to all for the assistance....

I figured I would have been able to at least see the machine w/o setting up smb users, but I guess not

Anyway, after adding a username and password I can now connect to a shared directory on my P133 linux machine (from a w2k machine).

However, in network neighborhood (in w2k systems) my linux machine is in the 'unknown' workgroup and only accessible via its static IP.

I'm missing out on its workgroup and hostname somewhere - even though I've put it into the smb.conf file - also 'hostname' shows its named as p133

Any ideas for this part of the problem?

Thanks!
 
Old 02-07-2005, 03:46 PM   #7
scott2004
Member
 
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
please post smb.conf

Post /etc/samba/smb.conf

If it's too large, post only sections you have uncommented (sections with no preceding #).
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Internet but LAN and VPN connect LAN work fine??? xavior SUSE / openSUSE 7 11-09-2005 01:14 PM
why am i not able to view my webpage from outside my LAN yusha Red Hat 6 09-06-2004 09:09 AM
Can't view apache server files on lan Remy Avril Jr. Linux - Newbie 18 10-20-2003 08:38 AM
cannot view web page from local lan Tigger Linux - Networking 4 05-31-2003 01:03 AM
able to set Lan, but unable to view web sites gogo Linux - General 2 10-09-2001 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:25 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration