LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2005, 10:38 AM   #1
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Rep: Reputation: 0
LAN over Linux


hello all

i am an engg student and in my hostel my four friends has

connected LAN by four computer and i want to connect their

LAN in linux(redhat release 9).

so anybody can tell me, how to connect to lan in linux?

how to configure LAN in linux(exact procedure).


i will be very thankful for you intelligent guy.
 
Old 03-11-2005, 12:20 PM   #2
ksgill
Senior Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
http://www-128.ibm.com/developerwork...ary/l-lan.html

Read and follow the instructions from the above document.
 
Old 03-11-2005, 11:08 PM   #3
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Original Poster
Rep: Reputation: 0
LAN info

hello all

i have connected the LAN using four computer(there is no server).each
computer is connected directly through hub.(in redhat linux relaese 9).

can anybody tell me how would i know that LAN is running correctly

(i maen to say that windows gives us proper specification in the system tray

but how would i know all this in linux).

i would be very thankful to you....
 
Old 03-11-2005, 11:22 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
If you can connect to other machines, you're probably OK. If you'd like to detect it programmatically you could try to ping other hosts and see if it succeeds (assuming other hosts don't filter ICMP traffic). If you've got a DHCP server on your LAN and you use it, you can also check if you've obtained an IP address.

Hope this helps.
 
Old 03-12-2005, 09:03 AM   #5
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Original Poster
Rep: Reputation: 0
configuring LAN

hello all

can anybody tell me how to configure lan

in redhat linux release 9

i want to connect lan between 4 computer directly(means there is no server).
configure LAN (and how do i know LAN is connected and running).

i would be very thankful to you.!!
 
Old 03-12-2005, 10:10 AM   #6
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Original Poster
Rep: Reputation: 0
Connect to LAN

hello

i am totally confused to connect 4 computer directly through LAN (means there is no server)
every comp. directly connected

can anybody tell me how to connect them in (REDHAT RELEASE 9)

please tell me complete procedure to connect them.

i would be very thankful to you
 
Old 03-12-2005, 10:12 AM   #7
ping_wing
Member
 
Registered: Apr 2004
Posts: 65

Rep: Reputation: 15
get a hub/switch, connect all computers to hub/switch and configure their network interfaces

ip: 192.168.0.[1-4]
netmask: 255.255.255.0
broadcast 192.168.0.255
gateway: leave blank
 
Old 03-12-2005, 10:14 AM   #8
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Original Poster
Rep: Reputation: 0
file sharing in LAN

hello all

please tell me how to share file in linux in lan
how can i see that i am sharing these files.
and how send messages to another computer
 
Old 03-12-2005, 10:20 AM   #9
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941

Rep: Reputation: 129Reputation: 129
How about Secure Shell?

man ssh
 
Old 03-12-2005, 11:08 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
How about just using a switch.
 
Old 03-12-2005, 11:18 AM   #11
titanium_geek
Senior Member
 
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479

Rep: Reputation: 50
do you have a hub ? (it's a good idea to have one) if you do, then you can set them up in star topology.

Star topology is easy to set up and maintain. Take a look at the diagram before going any further.

OK. now you know what you need to set up. You'll need the right hardware. Ask me if you need help with the hardware.

SOFTWARE BIT:

Now, that you have wired up all the computers, you need to set up a few things.
The first is IP address. Are ALL your computers Linux? if they are not let me know and I'll help you.
the head honchos of TCP/IP (sorry, computer class lesson memory dim) set aside the 192.168 addresses for private (ie home) use. Ok, so you should give your computers the IP addresses of 192.168.0.1 192.168.0.2 192.168.0.3 192.168.0.4 192.168.0.5. Write this down. I assume you have named your computers unique memorable names (like Dad's, Mum's, etc.) on a sheet of paper write down the name and then the IP address.

Now, you know what to name them, now you need to know how to do it. find the networking bit under the system configuration. sorry, somebody running redhat will have to help you with that You should have set up a unique address during the install, but there should be someway to change it.

titanium_geek

(can you be a bit more specific? I could write a book on this stuff.)
 
Old 03-12-2005, 03:36 PM   #12
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
If all the computers are linux than as mentioned above, ssh is trhe way to do it with the scp (secure copy) command. If you have computers running Redmond's attempt at an OS, then you'll need to get samba server running. Samba server allows windows machines to see the samba server. SAmba also allows linux clients to see it, so one samba server can hold all the files you want to share between all of the computers.

Peace,
JimBass
 
Old 03-13-2005, 01:32 AM   #13
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Original Poster
Rep: Reputation: 0
Lan

hello all

can anybody tell me how to send text messages over LAN.

i have connected four computer directly(peer to peer) in REDHAT RELEASE 9


dont tell me the commnand "smbclient -M <hostname>".

please tell me another command except this because i do not configure through samba

every computer is running REDHAT RELEASE 9.

and please tell me how to share the files .




i would be very thankful to you!!
 
Old 03-13-2005, 04:02 AM   #14
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
I see two questions here. How to send messages and how to share files.

Messages
The write command would only work if you telnet'd to another PC and then used the command, so that might be an option, beyond that, my suggestions is to use AIM or MSN messengers and send each other IM's.

Sharing files.
Since you all have linux, setup an NFS share. There should be guides on LQ, or search google
 
Old 03-13-2005, 05:55 AM   #15
rinku
LQ Newbie
 
Registered: Mar 2005
Location: india
Posts: 18

Original Poster
Rep: Reputation: 0
Lan

hello all

can anybody tell me how to send text messages over LAN.

i have connected four computer directly(peer to peer) in REDHAT RELEASE 9





every computer is running REDHAT RELEASE 9.

and please tell me how to share the files .




i would be very thankful to you!!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
lan on linux asahlot Linux - Networking 3 10-13-2005 01:15 PM
machine has adsl ethernet modem, to make it gateway over lan do i need more lan cards b0nd Linux - Networking 2 10-04-2005 11:19 PM
LAN over Linux rinku Linux - Newbie 5 03-11-2005 06:53 AM
how to share linux files on LAN btwn other linux boxes shakeeb Linux - Networking 9 02-04-2004 03:10 PM
LAN help for linux 7.2 neo5p Linux - Networking 6 01-08-2004 02:27 AM

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

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