LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 09-25-2004, 12:44 AM   #1
tonan
Member
 
Registered: Nov 2003
Location: india, New Delhi
Distribution: Red Hat Linux
Posts: 62

Rep: Reputation: 16
connect from windows to linux using samba


Respected friends,

i have used samba on my Red Hat 9.0, but on a differnet manchine running 8.0 i am unable to configure the samba.
The problems i am having are as :

1. In Red Hat 9.0 i was able to share folders using the samba server, which was available from the servers options. It had a neat GUI frontend but now i am unable to find it on the Red Hat 8.0. Please tell me how to find it or install it or configure it...

2. Well i was able to browse the windows network using the options "Netwrok Servers" from the Gnome. It showed me the workgroup and the systems attached to that workgroup. How to do that from the Red hat 8.0 now.

3. If i were trying to use telnet from the windows to connect to the linux box, what do i have to do, i am trying to start the telnet service from the linux 8.0 but the start, stop and the restart options are not highligted, even if i am trying to use the command

service telnet restart

it is displaying that so such service is installed, but i can see the telent listed in the services,what shall i have to do in such a case, plz explain in detail.. if possible..

kindly part with me as i am new to this field of networking more over i am new to RED HAT 8.0

thankyou very much for reading such a long request

with due respect
saurav
 
Old 09-25-2004, 01:30 AM   #2
Kahless
Member
 
Registered: Jul 2003
Location: Pennsylvainia
Distribution: Slackware / Debian / *Ubuntu / Opensuse / Solaris uname: Brian Cooney
Posts: 503

Rep: Reputation: 30
Hello



first of all, ditch telenet if you can, and use SSH. It is the exact same interface and does the same thing, but it is MUCH more secure. Telenet sends your passwords over the network in plain text, ssh encrypts everything. Google Putty for a free client

fire up a terminal and do this:
service sshd start
chkconfig sshd on

Aside from that, ive never used telenet because of its suckey security, so i cant help much if you REALLY need it. (ssh is telenet with encryption)


moving on to samba. It would probally be more worth your time to learn to configure it via command line. You will find that doing it this way will work the same way on every distro, so you wont have to learn different tools for different distros. Also, i distrinctly remember getting pissed off becasue the gui tool RH had would reset the workgroup and other settings every time it was run, and I got really sick of telling it the same things over and over again.


use any text editor you are happy with to open
/etc/samba/smb.conf

spend about 10 minutes reading this file. It is very well commented, so you should be able to figure out what you need to do by just reading it and setting the options you need. if you need some more to read, go to your console and type "man smb.conf" You should get some more detailed instructions there.

make sure its running btw
service smbd start (or this might be service samba start, its been awhile)
chkconfig smbd on (or again, it might be chkconfig samba on, did i mention its been awhile?)


If you have directries that complain about permissions, keep in mind that unix permissions apply to samba directories. I useually create a /home/share direcotry, chmod it 0777, and use it as my sharing drive.


Dont be scared of that command line stuff, it will be your best friend when you get to know it. You can set up one config file that works, and jsut copy it to the next machine if you want the same config on 1000 machines. doesnt that beat point and click?


Hopefully that will get you started, if you need more detail tell us EXACTLY what you are trying to make samba do and im sure sombody can help you out. share or user sercurity, what directories do you want to share, ect.
 
Old 10-04-2004, 12:11 PM   #3
tonan
Member
 
Registered: Nov 2003
Location: india, New Delhi
Distribution: Red Hat Linux
Posts: 62

Original Poster
Rep: Reputation: 16
Well thankyou khaless, i get the point and your right on it. The fact is that i am just a newbie now and that i have shifted from the gui environment to the linux environment. But your stuff was greatm, i have read the file "smb.conf" carefully and it was working, all i needed was to share my linux files such that the windows client and share my files, and also the printer... Thats it simple enough...

Well if you could please help me on this, i am having strange ping problems now. That is when i ping any of the system in the network the packets are dropped that is the first reply is there and then second is not there, but when i try to ping from the windows box, then it works fine the ping doesnt break , but when i am trying to ping from the linux box the ping is breaking up, what can be possible cause for it. Well i know that i can set my network card up to 100MB BASE T, 10MB BASE T and so on. So could you please tell me is this problem occuring due to the duplex_setup or what. Please if you could throw some light on it.
 
  


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
Windows XP unable to connect to linux with Samba luthree Linux - Networking 13 03-10-2007 06:54 AM
Samba can't connect to Windows shares soren625 Linux - Software 2 01-22-2005 08:25 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
connect to windows share without samba? zuessh Linux - Software 7 01-30-2004 02:37 PM
Can't connect to Samba server from MS Windows kychan Linux - Networking 2 11-30-2003 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:00 PM.

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