I have Ubuntu 14.04, however, this problem existed on my install of 13.04 too.
When I use my laptop at university over the WI-Fi, the connection is lost often. At home on my WI-Fi network the connection never drops.
The only difference between the connections that I know of is that the university one uses a proxy and automatic proxy config script.
Are there any steps I can take to diagnose the problem and perhaps fix it?
description: Wireless interface
product: RTL8723AE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlan0
version: 00
serial: 20:16:d8:d4:14:cf
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl8723ae driverversion=3.13.0-24-generic firmware=N/A ip=10.0.0.8 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:18 ioport:d000(size=256) memory:f7900000-f7903fff
EDIT: This is from the log files after my internet has disconnected.
May 19 09:23:58 Jethro-Laptop kernel: [ 407.463513] wlan0: associate with cc:d5:39:d1:95:90 (try 1/3)
May 19 09:23:58 Jethro-Laptop NetworkManager[767]: <info> (wlan0): supplicant interface state: authenticating -> associating
May 19 09:23:58 Jethro-Laptop wpa_supplicant[4100]: wlan0: Associated with cc:d5:39:d1:95:90
May 19 09:23:58 Jethro-Laptop kernel: [ 407.468895] wlan0: RX AssocResp from cc:d5:39:d1:95:90 (capab=0x431 status=0 aid=41)
May 19 09:23:58 Jethro-Laptop kernel: [ 407.469141] wlan0: associated
May 19 09:23:58 Jethro-Laptop kernel: [ 407.469260] cfg80211: Calling CRDA for country: ZA
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473538] cfg80211: Regulatory domain changed to country: ZA
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473545] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473550] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473554] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473559] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473563] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
May 19 09:23:58 Jethro-Laptop kernel: [ 407.473567] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
May 19 09:23:58 Jethro-Laptop NetworkManager[767]: <info> (wlan0): supplicant interface state: associating -> associated
May 19 09:23:58 Jethro-Laptop NetworkManager[767]: <info> (wlan0): supplicant interface state: associated -> 4-way handshake
May 19 09:23:58 Jethro-Laptop wpa_supplicant[4100]: wlan0: WPA: Key negotiation completed with cc:d5:39:d1:95:90 [PTK=CCMP GTK=TKIP]
May 19 09:23:58 Jethro-Laptop wpa_supplicant[4100]: wlan0: CTRL-EVENT-CONNECTED - Connection to cc:d5:39:d1:95:90 completed [id=0 id_str=]
May 19 09:23:58 Jethro-Laptop NetworkManager[767]: <info> (wlan0): supplicant interface state: 4-way handshake -> completed
May 19 09:23:58 Jethro-Laptop NetworkManager[767]: <info> (wlan0): roamed from BSSID (none) ((none)) to CC:D5:39:D1:95:90 (eduroam)
May 19 09:23:57 Jethro-Laptop whoopsie[968]: message repeated 6 times: [ offline]
May 19 09:23:58 Jethro-Laptop whoopsie[968]: online
May 19 09:24:00 Jethro-Laptop NetworkManager[767]: <info> wpa_supplicant die count reset
May 19 09:24:06 Jethro-Laptop ntpdate[4228]: adjust time server 91.189.94.4 offset -0.006569 sec
May 19 09:24:12 Jethro-Laptop NetworkManager[767]: <info> (wlan0): IP6 addrconf timed out or failed.
May 19 09:24:12 Jethro-Laptop NetworkManager[767]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May 19 09:24:12 Jethro-Laptop NetworkManager[767]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May 19 09:24:12 Jethro-Laptop NetworkManager[767]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
May 19 09:24:14 Jethro-Laptop wpa_supplicant[4100]: wlan0: CTRL-EVENT-SCAN-STARTED
/var/log/syslog
? What wifi driver are you using?