LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-24-2003, 02:44 PM   #1
monty_neo
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
newbie in networking linux needs help


i have just installed redhat 9. I have a LAN in windows using ethenet card and hub. i have three PC 's in the LAN.

Plz help me so that i can connect them using LAN using the same hardware i.e ethernet card and a hub.

also tell how to share windows clients with linux and how to begin with samba

as i am a newbie plz give all the details of the network

thanking in anticipation

Monty
 
Old 09-24-2003, 02:55 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

How far have you got?
Have you connected all computers and got link lights on the hub and cards?

Are your other computers already networked?

If they all have ip addresses can you ping them from each other.
 
Old 09-24-2003, 03:01 PM   #3
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Rep: Reputation: 30
how do i ping from linux?
how do i find out ip config in linux?

thanks
 
Old 09-24-2003, 03:30 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Ping is the same as windows:
ping your.ip.add.ress

To get your ip (like ipconfig):
ifconfig
 
Old 09-24-2003, 03:44 PM   #5
thegreatgatsby
Member
 
Registered: Aug 2003
Location: England
Distribution: SuSE 9.3 pro
Posts: 332

Rep: Reputation: 30
excellent, that worked fine.
(it kept on pinging so had to kill the application)
 
Old 09-24-2003, 04:11 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Well if you cna ping the computers then you are networked ok. If you want to access files on windwos from linux look at the smbclient command.

To share files with windows you will need to add users using "smbadduser" or "smbpasswd". Make sure that you have the samba services running:
service smb restart

You can edit the smb options by editing /etc/samba/smb.conf - to find out about the config options then try running "man smb.conf". Make sure you make a copy of the config file if you intend to change it.

Other than that, just make sure you have no firewall rules blocking ports 137, 138 & 139.
 
Old 09-25-2003, 01:24 PM   #7
monty_neo
LQ Newbie
 
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
by doing

ifconfig 192.168.0.1 netmask 255.255.255.0
am i assigning a ip addr to my machine with mask

what does localhost.localdomain mean
can i change both of them and what does that signify

how can change the name of my computer

i was unable to find it in /etc/host in rh8
 
Old 09-26-2003, 12:31 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You should also specify a device to allocate the address to - eg "eth0".

localhost.localdomain as a safe sample domain for you system. localhost and localhost.localdomain shount NOT be removed from your hosts file but you can set your hostname to what you want. To change it run "hostname myhostname". To make the change permenant - edit /etc/sysconfig/network and add/modify the HOSTNAME entry like:
HOSTNAME="myhostname"
 
  


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
newbie on linux networking gizmoteck Linux - Networking 3 06-21-2004 11:14 AM
Newbie to Linux and Microsoft Networking rmsat Linux - Networking 4 05-28-2004 12:05 PM
Linux newbie-networking problems snip128 Linux - Newbie 2 01-16-2004 02:11 PM
Linux Newbie Networking Help!! SyN3x Linux - Networking 5 07-27-2003 07:22 PM
Reccomendations for a Linux networking newbie? meeshka Linux - Networking 5 06-16-2003 11:31 PM

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

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