LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-21-2004, 11:39 AM   #1
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Rep: Reputation: 0
Question Using Network and Samba. Cant get worlking


I'm very very very new to linux

I have RedHat9 installed, with a copy of Samba that has been configured to share a directory. I'm taking it that the software is working alright. I installed a network card and it detected the hardware and enabled the networking stuff, but how do I actually get this dog to perform tricks?

Also, are there any tools / commands to monitor network utilisation?

Any help on this is greatly appreciated Thanks
 
Old 01-21-2004, 12:07 PM   #2
Tramontane
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 39

Rep: Reputation: 15
For samba, since this is all new to, I strongly suggest reading the documentation at their site(http://www.samba.org/). Then look into using a utility called 'swat' to configure your samba settings until you're comfortable enough to edit the config files by hand.

For network monitoring, try ntop.
 
Old 01-21-2004, 02:08 PM   #3
Buick
LQ Newbie
 
Registered: Jan 2004
Posts: 25

Rep: Reputation: 15
I agree....

I finally got Samba working a couple of days ago....

Read this Using Samba....http://us2.samba.org/samba/docs/using_samba/toc.html

I am new to Linux myself and I found it very easy to read.

Here are my tips (these are the things that gave me trouble)

WINS Server - Setup Samba as your WINS Server and make it the Master Server.
Samba User - setup the users through the console (Terminal)...SWAT didn't register user correctly

Leave these for last after doing everything else
Create share folder in directory with correct file permissions - make sure that all the users have permission to the share.

Good luck....
 
Old 01-21-2004, 06:06 PM   #4
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
if I plug a crossover cable between my windows and linux machine, should my windows one be recieving packets? cos its not.

I'll try those things that both of you suggested, thanks a lot
 
Old 01-21-2004, 09:57 PM   #5
Buick
LQ Newbie
 
Registered: Jan 2004
Posts: 25

Rep: Reputation: 15
It should....see no reason why it shouldn't.

There is another new post about setting up a LAN with crossover.

There really shouldn't be any difference from setup with hub or router.

Can you test the cable with another computer?
 
Old 01-21-2004, 11:15 PM   #6
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
I dont have another computer handy at the moment, unfortunately. I'll see what info that ntop app can give me, maybe it'll help.
 
Old 01-21-2004, 11:56 PM   #7
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
if I do "ip addr show" it returns the following: (on the NIX box)

Quote:
1: lo: <loopback,up> mtu .....
2. eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 100
link/ether 00:40:f4:82:c0:66 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.200/24 brd 192.168.0.200 scope global eth0
if that helps at all

and when I plug in the cables, my windows box doesnt recieve any packets, but does send quite a few.

Last edited by xyuri; 01-21-2004 at 11:57 PM.
 
Old 01-22-2004, 08:50 AM   #8
Tramontane
Member
 
Registered: Oct 2003
Distribution: Debian
Posts: 39

Rep: Reputation: 15
Your windows box mays still be set up to use DHCP. That would be part of the reason it's so gregarious. So unless you're running a DHCP service on your linux box the windows box will just sit there and wonder why no one wants to talk to it. Look for more resources about networking two computers with a crossover cable. You'll probably have to set the IPs manually.
 
Old 01-22-2004, 10:59 AM   #9
Buick
LQ Newbie
 
Registered: Jan 2004
Posts: 25

Rep: Reputation: 15
It looks like a subnet issue....

Tramontane is right.

Setup the IPs manually than try to ping each other. If that works than you are good to go.
 
Old 01-22-2004, 04:14 PM   #10
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
I tried setting the IP's manually with a 255.255.255.0 subnet, it didnt work. I'll give it another shot though.

my windows box, by default is set to configure itself automatically, but I have a DHCP on my DSL modem, which I use to give it specific settings.

Is doing a "ip addr show" basically like ipconfig in windows?
 
Old 01-22-2004, 09:05 PM   #11
Buick
LQ Newbie
 
Registered: Jan 2004
Posts: 25

Rep: Reputation: 15
I think the equivalent is "ifconfig"

It give the same information that "ipconfig /all" gives in Win.
 
Old 01-22-2004, 10:32 PM   #12
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
ipconfig doesnt work for me, and I dont think its a 3'rd party tool is it?
 
Old 01-23-2004, 09:16 PM   #13
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
ok, I have both windows and NIX settings being assigned by DHCP, and I can ping RH from windows, but not the other way around I've never felt a larger sense of acheivement since I started trying linux

Now to get samba configured correctly
 
Old 01-23-2004, 10:48 PM   #14
Buick
LQ Newbie
 
Registered: Jan 2004
Posts: 25

Rep: Reputation: 15
Check the security level & firewall on RH.

Can you ping yourself from the RH. By 127.0.0.1 & 192.168.0.***

I would try to get the ping issue resolved first. You don't want to setup Samba with problems already.
 
Old 01-24-2004, 02:28 AM   #15
xyuri
LQ Newbie
 
Registered: Jan 2004
Distribution: RedHat
Posts: 9

Original Poster
Rep: Reputation: 0
I have installed RH7.2 instead now, and with "No Firewall" selected during setup. Both windows and Redhat can ping themselves left, right anc center; with the exception that Redhat cannot ping Windows, but Windows can Ping Redhat.
 
  


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
samba..? network..? how..? captain skywave Linux - Networking 5 12-12-2004 02:37 PM
Can't see samba on the network... EnigmaX Linux - Newbie 8 04-26-2004 12:41 PM
Samba share - network name no longer available when browsing samba from win2k dorango Linux - Software 0 03-02-2004 01:02 PM
Quakeworld: Anyone have a worlking port? WhiteChedda Mandriva 1 11-19-2003 09:20 PM
network cd-r with samba alaios Linux - Networking 6 06-17-2003 01:45 PM

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

All times are GMT -5. The time now is 03: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