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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
03-11-2005, 10:38 AM
|
#1
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Rep:
|
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.
|
|
|
03-11-2005, 11:08 PM
|
#3
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Original Poster
Rep:
|
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....
|
|
|
03-11-2005, 11:22 PM
|
#4
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
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.
|
|
|
03-12-2005, 09:03 AM
|
#5
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Original Poster
Rep:
|
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.!!
|
|
|
03-12-2005, 10:10 AM
|
#6
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Original Poster
Rep:
|
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
|
|
|
03-12-2005, 10:12 AM
|
#7
|
Member
Registered: Apr 2004
Posts: 65
Rep:
|
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
|
|
|
03-12-2005, 10:14 AM
|
#8
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Original Poster
Rep:
|
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
|
|
|
03-12-2005, 10:20 AM
|
#9
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
How about Secure Shell?
man ssh
|
|
|
03-12-2005, 11:08 AM
|
#10
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
How about just using a switch.
|
|
|
03-12-2005, 11:18 AM
|
#11
|
Senior Member
Registered: May 2002
Location: Horsham Australia
Distribution: elementary os 5.1
Posts: 2,479
Rep:
|
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.)
|
|
|
03-12-2005, 03:36 PM
|
#12
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
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
|
|
|
03-13-2005, 01:32 AM
|
#13
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Original Poster
Rep:
|
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!!
|
|
|
03-13-2005, 04:02 AM
|
#14
|
Senior Member
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555
Rep:
|
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
|
|
|
03-13-2005, 05:55 AM
|
#15
|
LQ Newbie
Registered: Mar 2005
Location: india
Posts: 18
Original Poster
Rep:
|
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!!
|
|
|
All times are GMT -5. The time now is 11:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|