Saturday, November 26, 2016

wireless - wifi keeps dropping on Lenovo U430 touch - Running Ubuntu 13.10



Recently I installed ubuntu 13.10 on my new Lenovo U430 Touch alongside windows 8.1



Now wifi keeps dropping every few mins, I disable and enable wifi and then it works again, but dropped after a few mins again.




I checked many forums and none of the suggestions seem to work. This problem does not happen on win 8 though.



Here is the output of




sudo lspci -nnk | grep -B4 Network



Subsystem: Lenovo Device [17aa:3978]

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
Subsystem: Lenovo Device [17aa:3801]
Kernel driver in use: r8169
02:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 73)


and the output of



 dmesg | tail -n 50 



as soon as the wifi stopped






[ 6493.935237] WARNING: CPU: 0 PID: 6423 at /build/buildd/linux-3.11.0/net/mac80211/util.c:1538 ieee80211_reconfig+0x1234/0x13f0 [mac80211]()
[ 6493.935240] Modules linked in: hid_generic hid_multitouch uvcvideo videobuf2_vmalloc videobuf2_memops usbhid videobuf2_core videodev hid btusb parport_pc(F) ppdev(F) bnep rfcomm bluetooth snd_hda_codec_hdmi snd_hda_codec_realtek joydev(F) arc4(F) x86_pkg_temp_thermal coretemp kvm(F) nls_iso8859_1(F) crct10dif_pclmul(F) crc32_pclmul(F) ghash_clmulni_intel(F) aesni_intel(F) aes_x86_64(F) lrw(F) gf128mul(F) glue_helper(F) ablk_helper(F) cryptd(F) iwlmvm mac80211 snd_hda_intel iwlwifi snd_hda_codec snd_hwdep(F) snd_pcm(F) cfg80211 snd_page_alloc(F) i915 snd_seq_midi(F) microcode(F) snd_seq_midi_event(F) psmouse(F) snd_rawmidi(F) snd_seq(F) serio_raw(F) snd_seq_device(F) drm_kms_helper wmi snd_timer(F) drm ideapad_laptop sparse_keymap snd(F) lpc_ich i2c_algo_bit mei_me mei soundcore(F) video(F) intel_smartconnect mac_hid lp(F) parport(F) ext2(F) ahci(F) libahci(F) r8169 mii(F)
[ 6493.935362] CPU: 0 PID: 6423 Comm: kworker/0:4 Tainted: GF W 3.11.0-13-generic #20-Ubuntu
[ 6493.935365] Hardware name: LENOVO 20270/Cherry 4A Touch, BIOS 7CCN32WW 09/04/2013
[ 6493.935380] Workqueue: events ieee80211_restart_work [mac80211]

[ 6493.935382] 0000000000000009 ffff880008e69d40 ffffffff816e54ba 0000000000000000
[ 6493.935401] ffff880008e69d78 ffffffff81061dbd ffff880158b8e800 0000000000000003
[ 6493.935407] 00000000ffffffea ffff880157498600 0000000000000004 ffff880008e69d88
[ 6493.935413] Call Trace:
[ 6493.935419] [] dump_stack+0x45/0x56
[ 6493.935427] [] warn_slowpath_common+0x7d/0xa0
[ 6493.935454] [] warn_slowpath_null+0x1a/0x20
[ 6493.935474] [] ieee80211_reconfig+0x1234/0x13f0 [mac80211]
[ 6493.935492] [] ieee80211_restart_work+0x87/0xa0 [mac80211]
[ 6493.935509] [] process_one_work+0x17c/0x430

[ 6493.935514] [] worker_thread+0x11c/0x3c0
[ 6493.935520] [] ? manage_workers.isra.24+0x2a0/0x2a0
[ 6493.935528] [] kthread+0xc0/0xd0
[ 6493.935549] [] ? kthread_create_on_node+0x120/0x120
[ 6493.935554] [] ret_from_fork+0x7c/0xb0
[ 6493.935561] [] ? kthread_create_on_node+0x120/0x120



Appreciate help in resolving it.




PS. I am a new user for ubuntu and have added the details I seem to think might help identify the problem.



Ehm..i dont know how to explain this BUT...




  1. Turn off your router.

  2. Wait at least 10 secs.

  3. Turn it on again.




Or, the short answer : just restart your router, it might saved you from a lot of strange problems :D


cpu load - Can "startup applications" be less cumbersome?



With this tip I saw there is a total of about 60 applications being launched by startup applications, and at the moment I have to sit back and wait about 45s while the desktop is unresponsive...



How does startup applications work? can I tweak it in some way to make these apps start more gradually, not all together?




I don't want to disable any of them, just stop them all being loaded simultaneously and freezing the desktop



First I saw this tip, but sleep 20;xscreensaver -nosplash seems not to work anymore on Ubuntu 14.04.



So I coded this script execLater.sh and put it at a place in my $PATH, chowned it root:root and mode permissions rwxr-xr-x, and put it on a fully root:root folder structure like /usr/local/bin.



sleep $1;shift;"$@"



So it sleeps before executing the command.



Show all hidden startup applications by following this tip



Now for each startup application.



If there is, for example, this:



xscreensaver -nosplash



change to this below, where "20" is the delay; I used up to "60" knowing I dont care much for some applications; and a minimum of "5" for the ones I care most.



execLater.sh 20 xscreensaver -nosplash


The tricky part



each of these below must have an exclusive delay of "1" because everything else depends on them




/usr/bin/gnome-keyring-daemon --start --components=secrets
/usr/bin/gnome-keyring-daemon --start --components=pkcs11
/usr/bin/gnome-keyring-daemon --start --components=gpg
/usr/bin/gnome-keyring-daemon --start --components=ssh
/usr/lib/unity-settings-daemon/unity-fallback-mount-helper
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
gsettings-data-convert
start-pulseaudio-x11
nautilus -n



My guess is, when all 60 apps startup at same time, these above take longer to complete and so the whole desktop stays unavailable...



If you log when each command was executed, you will understand what applications must have delay of "1", because all others are "actually only executed (?)" or "called?" after these; the above list is not fixed, it is just a tip, just logoff and login (no need to reboot to complete this list) so you can make the tests until you are satisfied with the results - now my desktop is available after only 5 seconds :)


Install VLC on offline ubuntu

i have 32 bit ubuntu 12.04 on an offline computer. I can access the internet using a different windows 7 computer and i have a memory key. How do i install vlc on my offline ubuntu computer?

Friday, November 25, 2016

How do you get the Broadcom BCM4306 wireless card working?


I've done a fresh install of Natty 11.04.
I have a Broadcom BCM4306 wireless network card and it failed to come up. It said no drivers installed.


After a bit of reading, I installed the b43-fwcutter and the firmware-b43-installer.
Now it will attempt to connect to the wireless network and asks for the WPA2 password.
However after entering the correct password, it still won't connect and after a minute or so, it asks for the password again.


I've checked the additional drivers list as apparently after installation of the b43 driver it should be listed but there is nothing there.


Not sure if it matters but when I was installing I was connected on a USB WIFI. This works without any additional drivers.


Anyone know how to get this card working?
Thanks.



I would perhaps re install your drivers which should not take long
Do this via a terminal and you should see if anything goes wrong


So in a terminal type the following


sudo apt-get remove b43-fwcutter firmware-b43-installer

then


sudo apt-get install b43-fwcutter firmware-b43-installer

This should reinstall your wifi driver


Alternatively what I have done is install the other broadcom proprietry driver STA


This was just as easy again via the terminal


Clear out any older files


sudo apt-get remove bcmwl-kernel-source
sudo apt-get install bcmwl-kernel-source

If you are still being prompted for entering your password make sure that you have enabled your pc to remember the password


software recommendation - Comparison of backup tools


This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the help center.




Backup is incredibly important. Obviously there's no best backup tool, but a comparison of the options would be very interesting.





  • Graphical Interface? Command line?

  • Incremental backups?

  • Automatic backups?

  • Install method: In standard repositories? PPA?

12.04 - Wireless network card is dectected but not working



I installed Ubuntu 12.04 LTS in my HP laptop. My wireless card is not working. But, I could see wireless controller in lspci and lshw -C network. Here, I have enclosed the output.



Whether should i need to install any specific drivers?
If so, What are the drivers?




lspci -k:



02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
Subsystem: Hewlett-Packard Company Device 2190
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller: Atheros Communications Inc. Device 0036 (rev 01)
Subsystem: Hewlett-Packard Company Device 217f



lshw -C network:



  *-network               
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 07

serial: fc:15:b4:05:02:59
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=N/A ip=192.168.12.190 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:105 ioport:1000(size=256) memory:90600000-90600fff memory:90400000-90403fff
*-network UNCLAIMED
description: Network controller

product: Atheros Communications Inc.
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:03:00.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:90500000-9057ffff memory:90580000-9058ffff



iwconfig:



lo        no wireless extensions.

eth0 no wireless extensions.


I don't why my wireless network is UNCLAIMED.




Guide me to fix this issue.



Please run:



lspci -nn


Is your wireless device 168c:0036? If so, it is not covered in 12.04 by the default driver ath9k, so install the compat-wireless suite. First, determine your kernel version:




uname -r


If your kernel is -pae, then do:



sudo apt-get install linux-backports-modules-cw-3.10-precise-generic-pae


If not, then do:




sudo apt-get install linux-backports-modules-cw-3.10-precise-generic


Then do:



sudo modprobe ath9k


Detach the ethernet and your wireless should be working.


ubuntu 14.10 wireless driver not working, dual boot with windows 7



Broadcom driver is working fine when ubuntu 14.10 is not yet installed on my system. But when I installed it alongside with Windows 7(Dual Boot) it says that "This device is not working"(Broadcom). I cant connect WIFI in ubuntu but it does in Windows 7. I search solutions in windows 7, i boot ubuntu, and it doesn't work. I boot windows again, boot ubuntu again. Thats what im doing every-time but i can't fixed it. Help me lease. Thanks :)




02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)



Please obtain a temporary internet connection, open a terminal and do:



sudo apt-get update
sudo apt-get purge bcmwl-kernel-source
sudo apt-get install firmware-b43-installer



Reboot and your wireless should be working.



'Additional Drivers' is incorrect for your 14e4:4315 device.



If you have no internet capability, then do the purge step and then download this on some other computer: https://www.dropbox.com/s/7exlzch25ap6uha/b43.zip?dl=0 Transfer it on a USB or similar to your Ubuntu computer and drop it on your desktop. Right-click it and select 'Extract Here.' Now, in the terminal:



sudo mkdir /lib/firmware/b43
sudo cp ~/Desktop/b43/* /lib/firmware/b43



Reboot.


11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...