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

Re: computer name on a LAN

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 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?

It is hard to say without more information. Please post the output of:


[root d500 ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:08:02:40:94:68
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::208:2ff:fe40:9468/64 Scope:Link
          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?

/sbin/route -n

[root d500 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface   U     0      0        0 eth0     U     0      0        0 eth0         UG    0      0        0 eth0

cat /etc/resolv.conf

; generated by /sbin/dhclient-script
nameserver is my router.

Also, can you ping

[mpk d500 documents]$ ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=1.22 ms

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