Re: computer name on a LAN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2007-07-28 at 07:57 -0400, Michael Klinosky wrote:
> Sam:
> > Michael Klinosky writes:
> > 
> >> I have a 4-port router/dsl modem, and 4 machines connected. All of my 
> >> linux units have F7. All of the machines have names (set in 
> >> System>Admin>Network, in 'DNS'). E.g. d500.localdomain
> >>
> >> I'm trying to learn rsync. However, I decided that learning a less 
> >> complex program would ease the learning curve. So I'm working with rcp.
> >>
> >> LQ has a small tutorial at   http://wiki.linuxquestions.org/wiki/Rcp
> >> which states that I can give the computer name. However, it doesn't work:
> >> [mpk@d500 documents]$ rcp info 5bw130:
> >> 5bw130: Unknown host
> >>
> >> I also tried with its lan ip:
> >> [mpk@d500 documents]$ rcp info 10.0.0.6:
> >> 10.0.0.6: No route to host
> >>
> >> What's going on here?
> > 
> > 1) You do not have DNS or /etc/hosts set up
> > 
> > 2) You do not have routing set up correctly, most likely due to 
> > incorrect network interface configuration. Check your network 
> > interface's subnet mask.
> 
> I don't know how to set up either of them.
> 
> Also, for #2, is that stuff that I'd config on the computer or the router?
> 
> Mikkel:
> > It is hard to say without more information. Please post the output of:
> >
> > /sbin/ifconfig
> 
> [root@d500 ~]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:08:02:40:94:68
>            inet addr:10.0.0.50  Bcast:10.0.0.255  Mask:255.255.255.0
>            inet6 addr: fe80::208:2ff:fe40:9468/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:4745074 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:2730043 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:2545830161 (2.3 GiB)  TX bytes:208370217 (198.7 MiB)
> 
> You don't need the loopback, do you?
> 
I am n ot sure what you are doing but I also havd dsl router with 4
ports and 4 machines (2 are wireless). My hosts file is as follows:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1		localhost.localdomain localhost
192.168.1.100		vulcan vulcan.gateway.2wire.net
192.168.1.101		saturn saturn.gateway.2wire.net
192.168.1.65		cyrus cyrus.gateway.2wire.net

And I can do : ssh vulcan from saturn without problem. Is that what you
want to do?

--
=======================================================================
I'd rather just believe that it's done by little elves running around.
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@xxxxxxxxxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux