Recent Changes - Search:




*Here the network cable is not connected to the laptop

shibu@shibu-laptop:~$ sudo mii-tool
[sudo] password for shibu:
eth0: no link

*Once the cable is connected you can run the command once again..

shibu@shibu-laptop:~$ sudo mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok

shibu@shibu-laptop:~$ sudo ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 24
        Transceiver: internal
        Auto-negotiation: on
        Current message level: 0x00000001 (1)
        Link detected: yes
*Search for bonding command as follows..

shibu@shibu-laptop:~$ sudo apt-cache search ifenslave

ifenslave - Attach and detach slave interfaces to a bonding device

ifenslave-2.6 - Attach and detach slave interfaces to a bonding device


shibu@shibu-laptop:~$ sudo ifconfig -s
[sudo] password for shibu:

eth0       1500 0         0      0      0 0            15      0      0      0 BMRU
lo        16436 0      3014      0      0 0          3014      0      0      0 LRU
ppp0       1500 0      1612      0      0 0          1754      0      0      0 MOPRU

       Ifconfig  is  used  to configure the kernel-resident network interfaces.  It is used at
       boot time to set up interfaces as necessary.  After that, it  is  usually  only  needed
       when debugging or when system tuning is needed.

       If  no arguments are given, ifconfig displays the status of the currently active inter‐
       faces.  If a single interface argument is given, it displays the status  of  the  given
       interface  only; if a single -a argument is given, it displays the status of all inter‐
       faces, even those that are down.  Otherwise, it configures an interface.

Address Families
       If the first argument after the interface name is recognized as the name of a supported
       address  family,  that  address family is used for decoding and displaying all protocol
       addresses.  Currently supported address families include inet (TCP/IP, default),  inet6
       (IPv6),  ax25 (AMPR Packet Radio), ddp (Appletalk Phase 2), ipx (Novell IPX) and netrom
       (AMPR Packet radio).

       -a     display all interfaces which are currently available, even if down

       -s     display a short list (like netstat -i)

       -v     be more verbose for some error conditions

              The name of the interface.  This is usually a driver name  followed  by  a  unit
              number,  for  example eth0 for the first Ethernet interface. If your kernel sup‐
              ports alias interfaces, you can specify them with eth0:0 for the first alias  of
              eth0.  You can use them to assign a second address. To delete an alias interface
              use  ifconfig  eth0:0  down.   Note:  for  every  scope  (i.e.  same  net   with
              address/netmask  combination)  all  aliases are deleted, if you delete the first

       up     This flag causes the interface to be activated.  It is implicitly  specified  if
              an address is assigned to the interface.

       down   This flag causes the driver for this interface to be shut down.

Edit - History - Print - Recent Changes - Search
Page last modified on June 01, 2008, at 11:24 AM