LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-30-2004, 03:28 AM   #1
akhil1
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
Unable to get hostname by linksys BEFW11S4 router




Hi,
I am new to the Linux networking.

I have two Linux boxes (L1 and L2) running Redhat Linux 9.0. They are on a LAN and getting their dynamic IP addresses from Linksys BEFW11S4 router. My problem is:

1. How can I provide hostname to each of the linux box? I am unable to ping L1 to L2 or vice-versa using hostname of box. Although I can ping them using IP addresses.

2. How can I share my files available on L1 from L2?

Thanks in advance.
 
Old 03-30-2004, 11:48 AM   #2
skel
Member
 
Registered: Jan 2004
Distribution: Slackware 10 ; Gentoo ; OpenBSD 3.6
Posts: 101

Rep: Reputation: 15
the simplest way is to add entries in your /etc/hosts file. Using this approach, the machines will need static ip addresses (or they need to be online frequently enough that their dhcp lease never expires).
have a look at: http://publib16.boulder.ibm.com/pser...htm#seg3b0sara

For sharing files between two linux machines i would use nfs:
http://www.tldp.org/HOWTO/NFS-HOWTO/index.html

But if there are also windows machines on the network, then use samba:
http://www.tldp.org/HOWTO/SMB-HOWTO.html
 
Old 03-30-2004, 11:12 PM   #3
akhil1
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0


Thanks, but I don't know the IP addresses (as they are dynamically alloted by DHCP router). Is there any way I can enter hostname in /etc/hosts without IP address?

One more point I don't want to add entries in /etc/hosts for each linux box available on my network. Is there any way to do it?

Please help.
 
Old 04-08-2004, 12:57 AM   #4
akhil1
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0


No suggestions so far!

Should I change the netwrok architecture itself? Any suggestion.
 
  


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
Static IP trouble with linksys BEFW11S4 dizzutch Linux - Networking 8 01-17-2005 01:18 PM
router unable to determine hostname kodon Linux - Wireless Networking 0 09-08-2004 11:57 AM
Installation of Linksys BEFW11S4 Router deathboy Linux - Hardware 1 05-01-2004 06:37 PM
Redhat 9 No Ping to Win98 via Linksys BEFW11S4 rianjb Linux - Networking 1 11-09-2003 11:58 AM
Linksys BEFW11S4 without DSL possible (?) the_g Linux - Networking 0 06-02-2003 02:57 PM

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

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