This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
network_configuration [2012/10/06 12:20] 85.218.109.130 created |
network_configuration [2014/01/19 00:10] zoza |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== command line network howto ====== | ====== command line network howto ====== | ||
- | * which network card(s) do i have? | + | DNS settings |
+ | |||
+ | edit /etc/resolv.conf | ||
+ | |||
+ | add a nameserver (8.8.8.8 for google) | ||
+ | |||
+ | get online | ||
+ | |||
+ | * which network interfaces are up? | ||
+ | |||
+ | for ethernet | ||
+ | |||
+ | <code>dmesg | grep "eth"</code> | ||
+ | |||
+ | for wireless | ||
+ | |||
+ | <code>dmesg | grep "wlan"</code> | ||
+ | |||
+ | * which network card(s) do i have? (must have lshw package installed) | ||
<code>lshw -C network</code> | <code>lshw -C network</code> |