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

home network problem



I am having a pc and laptop. I was coonecting them both witj crossover cable and could transfer files etc. Today I am unable to ping laptop from pc  and vice versa. But yesterday I have installed irda utils and bluetooth in laptop. Can ts cause this problem. I am having guessnet to select network in my laptop.
my laptop data
lvgdell600m:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0D:56:79:2E:2E
          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::20d:56ff:fe79:2e2e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:7358 (7.1 KiB)
          Interrupt:11

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:79 errors:0 dropped:0 overruns:0 frame:0
          TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5012 (4.8 KiB)  TX bytes:5012 (4.8 KiB)
     
lvgdell600m:~# cat /etc/network/interfaces
auto lo eth0

iface lo inet loopback

mapping eth0
        # Too bad there's no way to pass commandline options to script
        # script /usr/sbin/guessnet -i
        script /usr/sbin/guessnet-ifupdown
        # List of stanzas guessnet should scan for
        #   If none is specified, scans for all stanzas
        #map home work
        map default: none
        map timeout: 3
        map verbose: true

# Home network configuration
iface home inet static
        address 192.168.0.2
        netmask 255.255.255.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
        #dns-search home.loc
        #dns-nameservers 192.168.1.1
        # Check for one of these hosts:
        up echo "smarthost: main.home" > /etc/roaming/exim_options
        up rm -f /etc/roaming/not_online
        test1 peer address 192.168.0.1
        #test2-peer address 192.168.1.3 mac 00:01:02:03:04:06

# I'd really appreciate a 'disabled' method for iface that just
# keeps the interface down)
iface disconnected inet static
        address 192.168.0.2
        netmask 255.255.255.0
        up echo "missing-cable" > /etc/roaming/not_online
        test2 missing-cable
        # It could also be:
        #test-missing-cable please

# If nothing is found, try negotiating DHCP
iface work inet static
       address 150.1.35.141
        netmask 255.255.0.0
        test3 peer address 150.1.35.36

# If nothing else is found, try DHCP
iface none inet dhcp
lvgdell600m:~# cat /etc/roaming/not_online
missing-cable
lvgdell600m:~#           

my pc data
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth1
iface lo inet loopback

# The primary network interface
iface eth1 inet static
        address 192.168.0.1
        netmask 255.255.255.0
        broadcast 192.168.0.255
lvghomepc:~# /etc/init.d/networking restart
Setting up IP spoofing protection: rp_filter.
Reconfiguring network interfaces...ifup: interface lo already configured
done.
lvghomepc:~# ifconfig
eth1      Link encap:UNSPEC  HWaddr 00-E0-18-00-00-23-C1-AD-00-00-00-00-00-00-00-00
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:216 (216.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6972 (6.8 KiB)  TX bytes:6972 (6.8 KiB)

lvghomepc:~#
Whether eth1 encap:UNSPEC can be the reason. If so how to correct it?

--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042
Reply to: