Ubuntu Natty teething problems - wireless losing connectivity on Samsung N130
Firstly I'm still pretty new to linux so please bear with me.
I have a fresh install of 11.04 natty running on my N130.
~$ lsmod | grep r81
r8192e_pci 251260 0
r8192se_pci 482505 0
cfg80211 156212 1 r8192se_pci
However the se driver doesn't do anything, I usually just modprobe -r it and the cfg 80211 goes with it.
After about 5 mins inactivity I cannot ping the router(and obviously anything beyond this). I can ping loopback. I'm not 100% sure but the connectivity seems to drop if I let the screensaver come on and I have to unlock the netbook.
I can rmmod r8192e_pci and then modprobe r8192e_pci and it works again until the next timeout but this is extremely annoying. When it drops I'm still showing as connected and iwconfig shows no changes.
I've tried blacklisting the se driver by adding "blacklist r8192se_pci" to /etc/modprobe.d/blacklist.conf but it doesn't seem to stop the driver from loading.
"sudo network-manager stop" produces the same symptoms, can somebody maybe talk me through going around network manager to see if this solves the issue?
I've tried adding "auto wlan0" and "iface wlan0 inet dhcp" with the wpa ssid and passphrase and running "ifup wlan0" but it tells me it's already up and I can't connect.
"dhclient wlan0" does not renew ip address after stopping network manager. I have set the essid using iwconfig but cannot add the wpa2 key, can anyone tell me how to do this via command line? ifconfig only shows loopback interface when network manager is stopped, I assume this is because I haven't managed to add the wpa key.
For completion lspci and modprobe -l | grep r81 shown below
~$ lspci | grep Realtek
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192E Wireless LAN Controller (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
~$ modprobe -l | grep r81