How can I use my laptop as a wireless adapter?
[ubuntu] Errors when attempting to install RTL8712 driver for Edimax EW-7811Un wireless usb
———————
Authentication requested [root] for make driver:
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/3.2.0-34-generic-pae/build M=/home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05 modules
make[1]: Entering directory `/usr/src/linux-headers-3.2.0-34-generic-pae’
CC [M] /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.o
In file included from /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/drv_types.h:70:0,
from /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.c:24:
/home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_cmd.h:107:25: error: field event_tasklet has incomplete type
In file included from /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/drv_types.h:72:0,
from /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.c:24:
/home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_xmit.h:355:24: error: field xmit_tasklet has incomplete type
In file included from /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/drv_types.h:73:0,
from /home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.c:24:
/home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/include/rtl871x_recv.h:205:24: error: field recv_tasklet has incomplete type
make[2]: *** [/home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05/cmd/rtl871x_cmd.o] Error 1
make[1]: *** [_module_/home/stephen/Desktop/starter/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.201204 05] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-34-generic-pae’
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
————-
Any help with this would be appreciated. I am brand new to Ubuntu so go easy on the slang/skipping of "assumed" steps.
[ubuntu] Wireless not working after upgrade to 12.04
I recently upgraded to 12.04 and now the wireless connection keeps dropping after a few seconds.
None of my other devices have a problem with my router and vice versa so I can only think it’s this latest distribution that is causing the problem.
Here are some details.
Ethernet controller [0200]: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) [168c:001c] (rev 01)
Subsystem: Askey Computer Corp. WLL3141 (Toshiba PA3613U-1MPC) 802.11bg Wireless Mini PCIe Card [144f:7128]
Kernel driver in use: ath5kAnd here is the output from my syslog.
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) starting connection 'Auto sumpternet'
May 5 14:28:23 ubuntu NetworkManager[895]: <info> (wlan0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 5 14:28:23 ubuntu NetworkManager[895]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0/wireless): access point 'Auto sumpternet' has security, but secrets are required.
May 5 14:28:23 ubuntu NetworkManager[895]: <info> (wlan0): device state change: config -> need-auth (reason 'none') [50 60 0]
May 5 14:28:23 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 5 14:28:39 ubuntu NetworkManager[895]: get_secret_flags: assertion `is_secret_prop (setting, secret_name, error)' failed
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 5 14:28:39 ubuntu NetworkManager[895]: <info> (wlan0): device state change: need-auth -> prepare (reason 'none') [60 40 0]
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 5 14:28:39 ubuntu NetworkManager[895]: <info> (wlan0): device state change: prepare -> config (reason 'none') [40 50 0]
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0/wireless): connection 'Auto sumpternet' has security, and secrets exist. No new secrets needed.
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: added 'ssid' value 'sumpternet'
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: added 'scan_ssid' value '1'
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: added 'key_mgmt' value 'NONE'
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: added 'auth_alg' value 'OPEN'
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: added 'wep_key0' value '<omitted>'
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: added 'wep_tx_keyidx' value '0'
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 5 14:28:39 ubuntu NetworkManager[895]: <info> Config: set interface ap_scan to 1
May 5 14:28:39 ubuntu NetworkManager[895]: <info> (wlan0): supplicant interface state: disconnected -> scanning
May 5 14:28:40 ubuntu wpa_supplicant[973]: Trying to authenticate with 00:24:17:95:ed:e7 (SSID='sumpternet' freq=2437 MHz)
May 5 14:28:40 ubuntu kernel: [ 2491.054659] wlan0: authenticate with 00:24:17:95:ed:e7 (try 1)
May 5 14:28:40 ubuntu wpa_supplicant[973]: Trying to associate with 00:24:17:95:ed:e7 (SSID='sumpternet' freq=2437 MHz)
May 5 14:28:40 ubuntu NetworkManager[895]: <info> (wlan0): supplicant interface state: scanning -> authenticating
May 5 14:28:40 ubuntu kernel: [ 2491.057229] wlan0: authenticated
May 5 14:28:40 ubuntu kernel: [ 2491.057403] wlan0: associate with 00:24:17:95:ed:e7 (try 1)
May 5 14:28:40 ubuntu kernel: [ 2491.064038] wlan0: RX ReassocResp from 00:24:17:95:ed:e7 (capab=0x411 status=0 aid=1)
May 5 14:28:40 ubuntu kernel: [ 2491.064043] wlan0: associated
May 5 14:28:40 ubuntu wpa_supplicant[973]: Associated with 00:24:17:95:ed:e7
May 5 14:28:40 ubuntu wpa_supplicant[973]: CTRL-EVENT-CONNECTED - Connection to 00:24:17:95:ed:e7 completed (reauth) [id=0 id_str=]
May 5 14:28:40 ubuntu NetworkManager[895]: <info> (wlan0): supplicant interface state: authenticating -> associating
May 5 14:28:40 ubuntu NetworkManager[895]: <info> (wlan0): supplicant interface state: associating -> completed
May 5 14:28:40 ubuntu NetworkManager[895]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'sumpternet'.
May 5 14:28:40 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
May 5 14:28:40 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
May 5 14:28:40 ubuntu NetworkManager[895]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0]
May 5 14:28:40 ubuntu NetworkManager[895]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds)
May 5 14:28:40 ubuntu NetworkManager[895]: <info> dhclient started with pid 6296
May 5 14:28:40 ubuntu NetworkManager[895]: <info> Activation (wlan0) Beginning IP6 addrconf.
May 5 14:28:40 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
May 5 14:28:40 ubuntu dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R4
May 5 14:28:40 ubuntu dhclient: Copyright 2004-2011 Internet Systems Consortium.
May 5 14:28:40 ubuntu dhclient: All rights reserved.
May 5 14:28:40 ubuntu dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 5 14:28:40 ubuntu dhclient:
May 5 14:28:40 ubuntu NetworkManager[895]: <info> (wlan0): DHCPv4 state changed nbi -> preinit
May 5 14:28:40 ubuntu dhclient: Listening on LPF/wlan0/00:24:d2:be:34:e3
May 5 14:28:40 ubuntu dhclient: Sending on LPF/wlan0/00:24:d2:be:34:e3
May 5 14:28:40 ubuntu dhclient: Sending on Socket/fallback
May 5 14:28:40 ubuntu dhclient: DHCPREQUEST of 192.168.1.65 on wlan0 to 255.255.255.255 port 67
May 5 14:28:40 ubuntu dhclient: DHCPACK of 192.168.1.65 from 192.168.1.254
May 5 14:28:40 ubuntu dhclient: bound to 192.168.1.65 -- renewal in 41689 seconds.
May 5 14:28:40 ubuntu NetworkManager[895]: <info> (wlan0): DHCPv4 state changed preinit -> reboot
May 5 14:28:41 ubuntu NetworkManager[895]: <info> address 192.168.1.65
May 5 14:28:41 ubuntu NetworkManager[895]: <info> prefix 24 (255.255.255.0)
May 5 14:28:41 ubuntu NetworkManager[895]: <info> gateway 192.168.1.254
May 5 14:28:41 ubuntu NetworkManager[895]: <info> nameserver '192.168.1.254'
May 5 14:28:41 ubuntu NetworkManager[895]: <info> domain name 'lan'
May 5 14:28:41 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
May 5 14:28:41 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) started...
May 5 14:28:42 ubuntu NetworkManager[895]: <info> DNS: starting dnsmasq...
May 5 14:28:42 ubuntu dnsmasq[6166]: exiting on receipt of SIGTERM
May 5 14:28:42 ubuntu NetworkManager[895]: <info> (wlan0): writing resolv.conf to /sbin/resolvconf
May 5 14:28:42 ubuntu dnsmasq[6301]: started, version 2.59 cache disabled
May 5 14:28:42 ubuntu dnsmasq[6301]: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN
May 5 14:28:42 ubuntu dnsmasq[6301]: using nameserver 192.168.1.254#53
May 5 14:28:42 ubuntu dnsmasq[6301]: using nameserver 192.168.1.254#53
May 5 14:28:42 ubuntu NetworkManager[895]: <info> Policy set 'Wired connection 1' (eth0) as default for IPv4 routing and DNS.
May 5 14:28:42 ubuntu NetworkManager[895]: <info> (wlan0): device state change: ip-config -> activated (reason 'none') [70 100 0]
May 5 14:28:42 ubuntu NetworkManager[895]: <info> Activation (wlan0) successful, device activated.
May 5 14:28:42 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) complete.
May 5 14:28:42 ubuntu dbus[844]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 5 14:28:42 ubuntu dbus[844]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 5 14:28:42 ubuntu ntpd[6133]: ntpd exiting on signal 15
May 5 14:28:51 ubuntu kernel: [ 2501.152054] wlan0: no IPv6 routers present
May 5 14:28:53 ubuntu ntpdate[6382]: adjust time server 77.75.105.169 offset -0.001182 sec
May 5 14:28:53 ubuntu ntpd[6411]: ntpd 4.2.6p3@1.2290 Tue Mar 6 15:36:36 UTC 2012 (1)
May 5 14:28:53 ubuntu ntpd[6412]: proto: precision = 1.047 usec
May 5 14:28:53 ubuntu ntpd[6412]: ntp_io: estimated max descriptors: 2144, initial socket boundary: 16
May 5 14:28:53 ubuntu ntpd[6412]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen and drop on 1 v6wildcard :: UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen normally on 2 lo 127.0.0.1 UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen normally on 3 eth0 192.168.1.64 UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen normally on 4 wlan0 192.168.1.65 UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen normally on 5 wlan0 fe80::224:d2ff:febe:34e3 UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen normally on 6 eth0 fe80::21e:33ff:fed5:83b UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: Listen normally on 7 lo ::1 UDP 123
May 5 14:28:53 ubuntu ntpd[6412]: peers refreshed
May 5 14:28:53 ubuntu ntpd[6412]: Listening on routing socket on fd #24 for interface updates
May 5 14:28:53 ubuntu kernel: [ 2503.748166] type=1400 audit(1336224533.611:45): apparmor="DENIED" operation="open" parent=1 profile="/usr/sbin/ntpd" name="/etc/likewise-open/user-ignore" pid=6412 comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
May 5 14:29:00 ubuntu NetworkManager[895]: <info> (wlan0): IP6 addrconf timed out or failed.
May 5 14:29:00 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 5 14:29:00 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 5 14:29:00 ubuntu NetworkManager[895]: <warn> Activation (wlan0/wireless): could not get IP configuration for connection 'Auto sumpternet'.
May 5 14:29:00 ubuntu NetworkManager[895]: <info> (wlan0): device state change: activated -> need-auth (reason 'none') [100 60 0]
May 5 14:29:00 ubuntu NetworkManager[895]: <info> Activation (wlan0/wireless): asking for new secrets
May 5 14:29:00 ubuntu NetworkManager[895]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 5 14:29:00 ubuntu dbus[844]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 5 14:29:00 ubuntu kernel: [ 2511.128040] wlan0: deauthenticating from 00:24:17:95:ed:e7 by local choice (reason=3)
May 5 14:29:01 ubuntu dbus[844]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 5 14:29:01 ubuntu wpa_supplicant[973]: CTRL-EVENT-DISCONNECTED bssid=00:00:00:00:00:00 reason=3
May 5 14:29:01 ubuntu NetworkManager[895]: <info> (wlan0): supplicant interface state: completed -> disconnected
May 5 14:29:01 ubuntu kernel: [ 2511.168215] cfg80211: All devices are disconnected, going to restore regulatory settings
May 5 14:29:01 ubuntu kernel: [ 2511.168222] cfg80211: Restoring regulatory settings
May 5 14:29:01 ubuntu kernel: [ 2511.168237] cfg80211: Calling CRDA to update world regulatory domain
May 5 14:29:01 ubuntu kernel: [ 2511.173209] cfg80211: Ignoring regulatory request Set by core since the driver uses its own custom regulatory domain
May 5 14:29:01 ubuntu kernel: [ 2511.173213] cfg80211: World regulatory domain updated:
May 5 14:29:01 ubuntu kernel: [ 2511.173215] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 5 14:29:01 ubuntu kernel: [ 2511.173219] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 14:29:01 ubuntu kernel: [ 2511.173222] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 5 14:29:01 ubuntu kernel: [ 2511.173225] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
May 5 14:29:01 ubuntu kernel: [ 2511.173228] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 14:29:01 ubuntu kernel: [ 2511.173231] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 5 14:31:01 ubuntu NetworkManager[895]: <warn> No agents were available for this request.
May 5 14:31:01 ubuntu NetworkManager[895]: <info> (wlan0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
May 5 14:31:01 ubuntu NetworkManager[895]: <warn> Activation (wlan0) failed for access point (sumpternet)
May 5 14:31:01 ubuntu NetworkManager[895]: <info> Marking connection 'Auto sumpternet' invalid.
May 5 14:31:01 ubuntu NetworkManager[895]: <warn> Activation (wlan0) failed.
May 5 14:31:01 ubuntu NetworkManager[895]: <info> (wlan0): device state change: failed -> disconnected (reason 'none') [120 30 0]
May 5 14:31:01 ubuntu NetworkManager[895]: <info> (wlan0): deactivating device (reason 'none') [0]
May 5 14:31:01 ubuntu NetworkManager[895]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 6296
May 5 14:31:01 ubuntu dnsmasq[6301]: exiting on receipt of SIGTERMDoes anyone have ideas how I can make this work again?
[ubuntu] Help with built-in wireless card
I’m trying to figure out how to get network manager to not use my intel 3945abg (iwl3945 chipset) and instead use my more powerful d-link dwa-130 on Ubuntu 10.10 (2.6.35-22 generic)
I right click on my wireless network connection -> connection information
amongst other network info, it says:
Driver: iwl3945 (wlan0)
any ideas on how to configure it to use the rtl8187 on wlan1? I’m having difficulties finding documentation on it.
Thanks!
July 16, 2013
|
Posted by admin