I'm trying to connect my laptop with a PC using RH6.1's
netcfg. When I activate the plip0 interface, the following
error is reported:
netmask: Host name lookup failure
and ping, telnet don't work.
Can anyone give me some hint on what's going wrong? the
following is my configuration.
Thanks.
YuQian
P.S.
The same configuration worked well in RH6.0. And my PC
is just changed to connect to an ISP via PPP, do you think
this is the cause of the problem?
------------------------------------------------------------
[/root]# uname -a
Linux bony.home 2.2.12-21 #1 Fri Mar 3 17:20:51 GMT 2000 i686 unknown
[/root]# mdesg
...
parport0: PC-style at 0x378, irq 7 [SPP,ECP,ECPPS2]
parport0: no IEEE-1284 device present.
plip0: Parallel port at 0x378, using IRQ 7
...
[/root]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:42 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
plip0 Link encap:Ethernet HWaddr FC:FC:C0:A8:00:02
inet addr:192.168.0.2 P-t-P:192.168.0.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:41 dropped:0 overruns:0 carrier:41
collisions:0 txqueuelen:10
Interrupt:7 Base address:0x378
[/root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.0.0 * 255.255.255.0 U 0 0 0
plip0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo