« 1.1.2. Afficher/Modifier la config des cartes réseaux » : différence entre les versions

De UnixWiki
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
 
(Aucune différence)

Dernière version du 16 mars 2011 à 13:35

Afficher la conf des cartes réseaux:

 watch-net-all
 /pci@2,600000/network@0,1
 Timed out waiting for Autonegotation to complete
 Check cable and try again
 Link Down
 Timed out waiting for Autonegotation to complete
 Check cable and try again
 Link Down
 Timed out waiting for Autonegotation to complete
 Check cable and try again
 Link Down
 Timed out waiting for Autonegotation to complete
 Check cable and try again
 Link Down
/pci@2,600000/network@0 Timed out waiting for Autonegotation to complete Check cable and try again Link Down Timed out waiting for Autonegotation to complete Check cable and try again Link Down Timed out waiting for Autonegotation to complete Check cable and try again Link Down Timed out waiting for Autonegotation to complete Check cable and try again Link Down
/pci@0,600000/pci@0/pci@8/pci@0/network@2,1 Timed out waiting for Autonegotiation to complete Check cable and try again Link Down
/pci@0,600000/pci@0/pci@8/pci@0/network@2 1000 Mbps full duplex Link up Looking for Ethernet Packets. '.' is a Good Packet. 'X' is a Bad Packet. Type any key to stop. ......................

Afficher la mac-adress et autres infos:

 ok cd /pci@0,600000/pci@0/pci@8/pci@0/network@2
 {0} ok .properties
 status                   okay
 assigned-addresses       82051010 00000000 00600000 00000000 00200000 
                          82051018 00000000 00000000 00000000 00010000 
 compatible               pci14e4,1648.14e4.1648.10
                          pci14e4,1648.14e4.1648
                          pci14e4,1648
                          pci14e4,1648.10
                          pci14e4,1648
                          pciclass,020000
                          pciclass,0200
 reg                      00051000 00000000 00000000 00000000 00000000 
                          03051010 00000000 00000000 00000000 00200000 
                          03051018 00000000 00000000 00000000 00010000 
 local-mac-address        00 21 28 7e 4f 1c 
 max-frame-size           00010000 
 address-bits             00000030 
 network-interface-type   ethernet
 device_type              network
 name                     network
 66mhz-capable 
 fast-back-to-back 
 devsel-speed             00000001 
 latency-timer            00000040 
 max-latency              00000000 
 min-grant                00000040 
 interrupts               00000001 
 cache-line-size          00000010 
 class-code               00020000 
 subsystem-id             00001648 
 subsystem-vendor-id      000014e4 
 revision-id              00000010 
 device-id                00001648 
 vendor-id                000014e4 


Modifier la conf:

 setenv network-boot-arguments host-ip=10.80.64.59,router-ip=10.80.64.254,subnet-mask=255.255.255.0,hostname=ylas8530,file=http://10.68.157.14/cgi-bin/wanboot-cgi