Ifconfig
From OLPC
| This command is run in the standard Linux environment via the Terminal Activity. The GUI will probably not integrate comfortably with the XO Laptop's Sugar environment. Your user experience may vary considerably depending on the established environment and the other programs running on the laptop, may need re-installation after an OS Update. See the Linux software category for other commands. |
This page is part of the XO Support FAQ. Support Index | Print This Page

ifconfig is a Linux command to review network configuration options and must be run through the "Terminal Activity".
[edit] ifconfig for Wireless eth0
At a Terminal Activity command prompt, enter
/sbin/ifconfig -a eth0
[edit] MAC Address
The MAC Address is listed as HWaddr in the first line.
/sbin/ifconfig -a eth0
eth0 Link encap:Ethernet HWaddr 00:17:C4:05:24:24
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::217:c4ff:fe05:2424/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1597 errors:0 dropped:0 overruns:0 frame:0
TX packets:747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:260962 (254.8 KiB) TX bytes:110450 (107.8 KiB)
[edit] IP Address
If your XO is connected to a wireless network, the IP address is listed on the second line as inet addr:
/sbin/ifconfig -a eth0
eth0 Link encap:Ethernet HWaddr 00:17:C4:05:24:24
inet addr:192.168.1.107 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::217:c4ff:fe05:2424/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1597 errors:0 dropped:0 overruns:0 frame:0
TX packets:747 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:260962 (254.8 KiB) TX bytes:110450 (107.8 KiB)

