Advertisement
opiumJ

Setting up Wireless(2) | Gentoo

Nov 18th, 2011
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.35 KB | None | 0 0
  1. I am using Gentoo and eth0 works fine when plugged in, but I have no idea how to set up my wireless.
  2.  
  3. /etc/wicd/wireless-settings.conf is empty.
  4.  
  5. Here is the contents of /etc/wpa_supplicant/wpa_supplicant.conf : http://pastebin.com/cfJSGUKH
  6.  
  7.  
  8. # ifconfig -a
  9. eth0 Link encap:Ethernet HWaddr 00:25:64:4d:86:37
  10. inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
  11. inet6 addr: fe80::225:64ff:fe4d:8637/64 Scope:Link
  12. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  13. RX packets:8152381 errors:0 dropped:1310 overruns:0 frame:0
  14. TX packets:7165679 errors:0 dropped:0 overruns:0 carrier:0
  15. collisions:0 txqueuelen:1000
  16. RX bytes:2120259049 (1.9 GiB) TX bytes:8652916050 (8.0 GiB)
  17. Interrupt:18
  18.  
  19. lo Link encap:Local Loopback
  20. inet addr:127.0.0.1 Mask:255.0.0.0
  21. inet6 addr: ::1/128 Scope:Host
  22. UP LOOPBACK RUNNING MTU:16436 Metric:1
  23. RX packets:1510 errors:0 dropped:0 overruns:0 frame:0
  24. TX packets:1510 errors:0 dropped:0 overruns:0 carrier:0
  25. collisions:0 txqueuelen:0
  26. RX bytes:170692 (166.6 KiB) TX bytes:170692 (166.6 KiB)
  27.  
  28. wlan0 Link encap:Ethernet HWaddr 00:22:5f:eb:6d:30
  29. BROADCAST MULTICAST MTU:1500 Metric:1
  30. RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  31. TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  32. collisions:0 txqueuelen:1000
  33. RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
  34.  
  35. # iwconfig
  36. lo no wireless extensions.
  37.  
  38. eth0 no wireless extensions.
  39.  
  40. wlan0 IEEE 802.11bg ESSID:off/any
  41. Mode:Managed Access Point: Not-Associated Tx-Power=off
  42. Retry long limit:7 RTS thr:off Fragment thr:off
  43. Encryption key:off
  44. Power Management:off
  45.  
  46.  
  47. # ifconfig wlan0 up
  48.  
  49. # iw dev wlan0 scan
  50. command failed: Network is down (-100)
  51.  
  52. # lspci
  53. 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07)
  54. 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
  55. 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
  56. 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03)
  57. 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03)
  58. 00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03)
  59. 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03)
  60. 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
  61. 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03)
  62. 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03)
  63. 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03)
  64. 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03)
  65. 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03)
  66. 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03)
  67. 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03)
  68. 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03)
  69. 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
  70. 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
  71. 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03)
  72. 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
  73. 09:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8040 PCI-E Fast Ethernet Controller (rev 13)
  74. 0c:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g (rev 01)
  75.  
  76. # wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant/wpa_supplicant.conf
  77. Line 1: unknown global field 'ctrl_interface = /var/run/wpa_supplicant'.
  78. Line 1: Invalid configuration line 'ctrl_interface = /var/run/wpa_supplicant'.
  79. Line 2: unknown global field 'ctrl_interface_group = 0'.
  80. Line 2: Invalid configuration line 'ctrl_interface_group = 0'.
  81. Line 3: unknown global field 'ap_scan = 1'.
  82. Line 3: Invalid configuration line 'ap_scan = 1'.
  83. Line 6: unknown global field 'network = {'.
  84. Line 6: Invalid configuration line 'network = {'.
  85. Line 7: unknown global field 'ssid = "virginmedia0217907"'.
  86. Line 7: Invalid configuration line 'ssid = "virginmedia0217907"'.
  87. Line 8: unknown global field 'psk = "MYPASSPHRASE"'.
  88. Line 8: Invalid configuration line 'psk = "MYPASSPHRASE"'.
  89. Line 9: unknown global field 'proto = WPA2'.
  90. Line 9: Invalid configuration line 'proto = WPA2'.
  91. Line 10: unknown global field 'key_mgmt = WPA-PSK'.
  92. Line 10: Invalid configuration line 'key_mgmt = WPA-PSK'.
  93. Line 11: unknown global field 'pairwise = CCMP'.
  94. Line 11: Invalid configuration line 'pairwise = CCMP'.
  95. Line 12: unknown global field 'group = CCMP'.
  96. Line 12: Invalid configuration line 'group = CCMP'.
  97. Line 13: unknown global field 'priority = 5'.
  98. Line 13: Invalid configuration line 'priority = 5'.
  99. Line 14: unknown global field '}'.
  100. Line 14: Invalid configuration line '}'.
  101. Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
  102.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement