Re: computer name on a LAN

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

 



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?

/sbin/route -n

[root@d500 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth0
0.0.0.0         10.0.0.2        0.0.0.0         UG    0      0        0 eth0

cat /etc/resolv.conf

; generated by /sbin/dhclient-script
nameserver 10.0.0.2

10.0.0.2 is my router.

Also, can you ping 10.0.0.6?

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


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

  Powered by Linux