On Mon, Apr 6, 2009 at 3:22 PM, Arun Khan <kn...@yahoo.com> wrote:

> On Monday 06 Apr 2009, Suresh Kumar wrote:
> > > list output of ifconfig -a (i.e. all interfaces)
> >
>
 after having done some changes...

here is the output of certain commands

# ifconfig -a
eth0
Link encap:Ethernet  HWaddr 00:1F:C6:A4:83:F3
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21f:c6ff:fea4:83f3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:63 errors:0 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:1000
          RX bytes:420 (420.0 b)  TX bytes:0 (0.0 b)
          Memory:dffc0000-e0000000
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:133105 errors:0 dropped:0 overruns:0 frame:0
          TX packets:133105 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6701025 (6.3 Mb)  TX bytes:6701025 (6.3 Mb)
===============================================
 # /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.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
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
========================================
 # /etc/init.d/network status
Checking optional network interfaces:
    eth0      device: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter
(rev a0)
    eth0      IP address: 192.168.1.1/24
running
Checking mandatory network interfaces:
    lo
    lo        IP address: 127.0.0.1/8
    secondary lo IP address: 127.0.0.2/8
running
checking service network .  .  .  .  .  .  .  .  .  .  .  .  .  .  .
running
==========================
# /etc/init.d/network restart
Shutting down network interfaces:
    eth0      device: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter
(rev a0)
Error while executing:
   Command 'ip route del to 192.168.1.1/24 via 192.168.1.1 dev eth0'
returned:
  RTNETLINK answers: Invalid argument
   Configuration line: 192.168.1.1 192.168.1.1 255.255.255.0 eth0     done
Shutting down service network  .  .  .  .  .  .  .  .  .  .  .  .  .  done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    lo
    lo        IP address: 127.0.0.1/8
              IP address: 127.0.0.2/8                                 done
    eth0      device: Attansic Technology Corp. L2 100 Mbit Ethernet Adapter
(rev a0)
    eth0      IP address: 192.168.1.1/24
    eth0:eth0 IP address: 192.168.1.1/24
Error while executing:
   Command 'ip route replace to 192.168.1.1/24 via 192.168.1.1 dev eth0'
returned:
  RTNETLINK answers: Invalid argument
   Configuration line: 192.168.1.1 192.168.1.1 255.255.255.0 eth0
Checking for network time protocol daemon (NTPD):                     done
Setting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  done
==========

But still not able to connect to internet..
any help..?


~ J Suresh Kumar
  99400 95614
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to