Advertisement
lynnykmaksym

Untitled

May 21st, 2016
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pi@raspberrypi:~ $ lsusb
  2. Bus 001 Device 006: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
  3. Bus 001 Device 005: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
  4. Bus 001 Device 004: ID 046d:c050 Logitech, Inc. RX 250 Optical Mouse
  5. Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
  6. Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
  7. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  8.  
  9. pi@raspberrypi:~ $ cat /etc/network/interfaces
  10. # interfaces(5) file used by ifup(8) and ifdown(8)
  11.  
  12. # Please note that this file is written to be used with dhcpcd
  13. # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
  14.  
  15. # Include files from /etc/network/interfaces.d:
  16. source-directory /etc/network/interfaces.d
  17.  
  18. auto lo
  19. iface lo inet loopback
  20.  
  21. iface eth0 inet manual
  22.  
  23. auto wlan0
  24. allow-hotplug wlan0
  25. iface wlan0 inet dhcp
  26.  #   address 192.168.1.100
  27.  #   netmask 255.255.255.0
  28.  #   gateway 192.168.1.1
  29.     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  30.  
  31. allow-hotplug wlan1
  32. iface wlan1 inet manual
  33.     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  34.  
  35. pi@raspberrypi:~ $ sudo cat /etc/wpa_supplicant/wpa_supplicant.conf
  36. country=GB
  37. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  38. update_config=1
  39.  
  40. network={
  41.     ssid="ASUS"
  42.     psk="MYPASSWORD"
  43.     id_str="edup"
  44. }
  45.  
  46. pi@raspberrypi:~ $ sudo iwlist wlan0 scan
  47. wlan0     Scan completed :
  48.           Cell 01 - Address: 00:26:18:C3:BA:22
  49.                     ESSID:"ASUS"
  50.                     Protocol:IEEE 802.11bg
  51.                     Mode:Master
  52.                     Frequency:2.462 GHz (Channel 11)
  53.                     Encryption key:on
  54.                     Bit Rates:54 Mb/s
  55.                     Quality=96/100  Signal level=66/100
  56.  
  57. pi@raspberrypi:~ $ uname -a
  58. Linux raspberrypi 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux
  59.  
  60. pi@raspberrypi:~ $ find /lib/modules | grep 8192cu
  61. /lib/modules/4.4.9-v7+/kernel/drivers/net/wireless/realtek/rtl8192cu
  62. /lib/modules/4.4.9-v7+/kernel/drivers/net/wireless/realtek/rtl8192cu/8192cu.ko
  63. /lib/modules/4.4.9+/kernel/drivers/net/wireless/realtek/rtl8192cu
  64. /lib/modules/4.4.9+/kernel/drivers/net/wireless/realtek/rtl8192cu/8192cu.ko
  65.  
  66. pi@raspberrypi:~ $ lsmod
  67. Module                  Size  Used by
  68. bnep                   10340  2
  69. bluetooth             326105  5 bnep
  70. cfg80211              427855  0
  71. rfkill                 16037  4 cfg80211,bluetooth
  72. 8192cu                519156  0
  73. evdev                  11396  4
  74. snd_bcm2835            20511  1
  75. snd_pcm                75698  1 snd_bcm2835
  76. snd_timer              19160  1 snd_pcm
  77. snd                    51844  5 snd_bcm2835,snd_timer,snd_pcm
  78. bcm2835_gpiomem         3040  0
  79. bcm2835_wdt             3225  0
  80. uio_pdrv_genirq         3164  0
  81. uio                     8000  1 uio_pdrv_genirq
  82. i2c_dev                 5859  0
  83. fuse                   83461  3
  84. ipv6                  347530  48
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement