-
-
Save nurupo/7bccdff3af1c708a6982 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ifconfig | |
eth0 Link encap:Ethernet HWaddr 8c:89:a5:da:d7:71 | |
inet addr:192.168.1.108 Bcast:192.168.1.255 Mask:255.255.255.0 | |
inet6 addr: fe80::8e89:a5ff:feda:d771/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:451 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:222 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:48478 (47.3 KiB) TX bytes:30086 (29.3 KiB) | |
Interrupt:20 Memory:f7f00000-f7f20000 | |
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:0 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) | |
wlan0 Link encap:Ethernet HWaddr 80:1f:02:b5:d6:bf | |
UP BROADCAST MULTICAST MTU:1500 Metric:1 | |
RX packets:0 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
iface lo inet loopback | |
# The primary network interface | |
allow-hotplug eth0 | |
iface eth0 inet dhcp | |
# wifi | |
auto wlan0 | |
iface wlan0 inet dhcp | |
wpa-ssid router-ssid-name | |
wpa-key-mgmt WPA-PSK | |
wpa-psk router-pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment