Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ubuntu@ubuntu:~$ iwconfig
- wlan0 unassociated Nickname:"<WIFI@REALTEK>"
- Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
- Sensitivity:0/0
- Retry:off RTS thr:off Fragment thr:off
- Power Management:off
- Link Quality:0 Signal level:0 Noise level:0
- Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
- Tx excessive retries:0 Invalid misc:0 Missed beacon:0
- lo no wireless extensions.
- eth0 no wireless extensions.
- ubuntu@ubuntu:~$ ifconfig
- eth0 Link encap:Ethernet HWaddr b8:27:eb:15:fb:dc
- inet addr:192.168.1.12 Bcast:192.168.1.255 Mask:255.255.255.0
- inet6 addr: fe80::ba27:ebff:fe15:fbdc/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:230 errors:0 dropped:0 overruns:0 frame:0
- TX packets:180 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:20250 (20.2 KB) TX bytes:26086 (26.0 KB)
- 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:65536 Metric:1
- RX packets:16 errors:0 dropped:0 overruns:0 frame:0
- TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:1184 (1.1 KB) TX bytes:1184 (1.1 KB)
- wlan0 Link encap:Ethernet HWaddr 74:da:38:cf:a0:fa
- 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)
- ubuntu@ubuntu:~$ cat /etc/network/interfaces
- # interfaces(5) file used by ifup(8) and ifdown(8)
- # Include files from /etc/network/interfaces.d:
- source-directory /etc/network/interfaces.d
- # The loopback network interface
- auto lo
- iface lo inet loopback
- # The primary network interface
- allow-hotplug eth0
- iface eth0 inet dhcp
- # For the usb-wifi adapter
- allow-hotplug wlan0
- auto wlan0
- iface wlan0 inet dhcp
- wpa-ssid "Deliver beer to 301"
- wpa-psk "<my password>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement