Sunday, July 31, 2016

How do I get a Broadcom BCM430N wireless card working?

My acer computer with ubuntu12.10 can't connect the wifi. how can i do with this. i see the question at Wireless doesn't work on a Broadcom BCM4312,the first answer said i can use b43-fwcutter and firmware-b43-lpphy-installer ,but there isn't a download link at https://apps.ubuntu.com/cat/applications/b43-fwcutter/,



Neither nor firmware-b43-lpphy-installer ,who has it.how can i do.

live usb - Bootable Ubuntu on USB

I am looking to create a permanent copy of Ubuntu on a USB, not just a trial version. I have succesfully created a bootable version on USB (Ubuntu 14.04.3) and even managed to install packages etc. I have even been able to apply updates (some errors are displayed about filesystems).
The problem arises when I try to reboot from this USB version. It gets into a screen with "initramfs" prompt, which is essentially a dead end. Even more bothersome is that Windows 7 (on the hard disk) displays boot problems (scary blue screen), but does come back in the 2nd or 3rd attempt...phew!
I am looking for a sure shot remedy - not a trial and error process. I cannot afford to have the laptop messed up. Also, it has an encrypted hard drive so I cannot make it into a dual boot.
Thanks in advance.

14.04 - Installing Nvidia Drivers: open source vs proprietary

I have a fresh installation of Ubuntu 14.04.2, and now I want to start using Nvidia's official drivers, rather than the Nouveau drivers that come as default with Ubuntu. So, on the Nvidia website, I found which driver is needed for my graphics card, which is version 346. I ran sudo add-apt-repository ppa:xorg-edgers/ppa to update the repository, and then sudo apt-get install nvidia-346 to install the Nvidia driver.


Now, if I open Ubuntu Software Centre and go to Additional Drivers, it lists six drivers: five Nvidia drivers, and one Nouveau driver (which is currently selected). The Nvidia drivers are nvidia-331, nvidia-331-updates, nvidia-340, nvidia-346, and nvidia-349.


I have two questions:


1) Seeing as I only told Ubuntu to install nvidia-346, why has it also installed all of these other Nvidia drivers (331, 340 and 349)?


2) All the Nvidia drivers, except for nvidia-331-updates, are described as "open source". However, nvidia-331-updates is described as "proprietary". Why are these drivers open source, when I thought that all official Nvidia drivers would be proprietary, and only Nouveau would be open source?


Thank you!

Unity Lenses Missing (files/folders, applications)



The File & Folders lens and default Applications lens is missing from my dock. How can I get them back?



I attempted the guide here: http://www.webupd8.org/2011/04/how-to-reset-unity-launcher-icons-or.html



All the icons came back except the two missing lenses. unity-place-applications and unity-place-files are both currently installed.





  • Make sure you have those packages installed:



    unity-lens-applications
    unity-lens-files

  • Make sure you have those two files in /usr/share/unity/lenses:



    applications.lens

    files.lens

  • If it still doesn't work, try to reinstall the two packages:



    sudo apt-get purge unity-lens-applications unity-lens-files
    sudo apt-get install unity-lens-applications unity-lens-files

  • If it still doesn't work, I suggest reporting a bug report:



    ubuntu-bug unity # if unity is the wrong package, others will fix it



wireless - Broadcom B43 WiFi not working in Ubuntu 14.04 LTS


I have installed Ubuntu 14.04 LTS on my laptop.


Under the networking menu at the top, it is not showing any WiFi options.


How can I get Wifi working in Ubuntu 14.04 LTS?


I have a Broadcom BCM4311 WLAN card.



For Broadcom BCM4311,


sudo apt-get purge bcmwl-kernel-source broadcom-sta-common broadcom-sta-source broadcom-sta-dkms
sudo apt-get install b43-fwcutter firmware-b43-installer

See here https://help.ubuntu.com/community/BroadcomSTA(Wireless)


mount - Why is my NTFS partition read-only?

Until now, by every boot my NTFS partition (sda3) was mounted for reading and writing and I am the owner, not root. Suddenly, I can't write to it. Here is what fstab looks like, and mount. Could it be that doual-boot Win did something? Fastboot, some flags by NTFS?



screenshot1



And here is mount cmd where it says 'ro' and permissions in Dolphion
screenshot2



screenshot3




Edit: It is not a duplicate of this, because there was a problem with ntfs-3g missing which was 2011. thing.

Ubuntu 15.10 freezes on Acer Aspire E11




I have successfully upgraded from Ubuntu 15.04 to Ubuntu 15.10 using do-release-upgrade on my Acer Aspire E11 laptop. However the whole computer freezes (i.e. gets unresponsive) after some minutes of work. It's impossible to switch to text screens and there is nothing in the logs.





  • Windows is working well on the same machine, so perhaps there is a problem somewhere in Linux or its drivers.


  • The problem is not caused by the system upgrade. The problem is there also on a fresh installation of 15.10.


  • The problem is not caused by faulty RAM. The memtest86 was able to run successfully for 14 hours.


  • The problem doesn't seem to be related to WiFi because it occurs even if WiFi is deactivated in the menu, i.e. Enable Wifi is unchecked.


  • If Chromium browser is not running the system never freezes. How is it possible for the user-space application to block the whole system?


  • The system freezes even if Chromium browser is not used, but it doesn't happen so often in this case.




Honestly I don't know how to debug such a situation. How to obtain useful information from a frozen system? What shall I look for? What to enable/disable? What to try?




I have been suffering freezes on my Acer E5-511 ever since 15.10, and upgraded to 16.04 2 weeks ago in the hope it would go away, but the problems continued, freeze every 10-30 min max ( and usually when moving the mouse strangely!).



I finally tried this 3 days ago in /etc/default/grub



GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux i8042.nopnp intel_idle.max_cstate=0 processor.max_cstate=1"



and have so far been crash free







Updated by OP



The single required option is intel_idle.max_cstate=2 so the necessary modification of /etc/default/grub is:



GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=2"


Perhaps the Acer Aspire E11 hardware is buggy, unable to wake up CPU from idle states higher than C2.


sound - How to open or convert .GPK (audio) files?

I wondering how I could open .gpk files? These files were created by my DigiTech JamMan Loopstation. Internet says WaveLab, but this is not available for Ubuntu, am I right?

command line - "sudo apt-get update error" ubuntu 17.10

Hello. I have had this issue when I run the apt-get update command I get the following added to the end of it:


rr:15 http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu artful Release
404 Not Found
Hit:16 https://dl.yarnpkg.com/debian stable InRelease
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20171018) artful Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu artful Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

12.04 - Why can I not boot from the hard disk?

I installed 12.04 from a USB stick (alternate image, 64-bit). If I boot off the USB, and select the option to boot from the hard disk, then it all works fine.



But if I remove the USB stick and attempt to boot off the hard drive, then the computer doesn't boot. Instead, it displays the following message after the BIOS POST:



ERROR: No boot disk has been detected or the disk has failed.



The computer is an Acer Aspire X1470.



Anyone know what I must do to get it to boot from the hard disk?






Update: I'm not sure what this means:



$ sudo grub-install /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.

/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.

system installation - How do I wipe my computer completely clean and remove ubuntu?

I have decided to switch to Windows. I would like to completely remove ubuntu, and all the other files on my computer. How do I do this? I basically want to wipe my computer clean.

grub2 - Resolution Problem Using Ubuntu on a Dell Monitor

I am having trouble running Ubuntu on a custom made desktop (some specs below). The problem is that at a certain point my monitor shuts off and gives me the message:


The current input timing is not supported by the monitor, Please
change your input timing to be 1920x1200@60Hz

Initially I was having this problem during installation, so when the first purple screen would come up I hit the down arrow and set nomodeset and added "vga=0x14d" to the end of the command. This allowed me to continue without getting the above error on my monitor. Once installation was complete I edited /etc/default/grub to include the line:


GRUB_GFXMODE=1920x1200

Then I entered:


sudo update-grub

And restarted the computer. Now when I get to the Grub screen, everything is fine but after the that I again run into the input timing error. I have tried various permutations and combinations in the edit screen but I can't seem to set the resolution properly to actually see Ubuntu once it has started up.


Relevant specifications:
Ubuntu version: 16.04
Motherboard: Asus X99-E
GPU: Nvidia GTX 1080
Monitor: Dell U2412M


EDIT: The motherboard does not have an integrated graphics card.
EDIT2: I tried following the answer for Graphics issues after/while installing Ubuntu 16.04 with NVIDIA graphics, however setting nouveau.modeset=0 at the end of the line that begins with "linux" does not work, I still get the input timing error above and if I cannot boot into Ubuntu then I am unable to install drivers.

How can I unbreak compiz so that unity will start?

I have been playing around with compiz settings, and I apparently did something that is making compiz (and therefore unity) not start when I log in. Is there a compiz settings directory somewhere I can delete to restore default settings and get unity back?

live cd - Where do I start to create my own Ubuntu derivative?


I would like to create my own Ubuntu derivative with my desktop environment of choice and my preferred set of prepackaged programs.


What base should I start with and what modifications should I start adding?


I know two possible starting points:



  • Ubuntu Core, an official set of bare necessities (which ones?) that seems suitable for creating appliance firmware or one's very own Linux distribution. Unlike JeOS that came before it, this is not a complete distribution, as it lacks a bootable image with an installer or a boot loader.


  • Ubuntu Mini Remix, a fully working Ubuntu livecd containing only the minimal set of software to make the system work; not an official Ubuntu project.


  • probably I could use Ubuntu Server or something else as a base.



Then, I need to customize my distribution. I know of the following tools:


that should allow for me to easily customize my installation media. But what if I need not just something to create a one-off remix of Ubuntu for my own enjoyment, but a maintainable project with all its trappings: I guess I need to have a set of scripts trackable by version control system, amenable for automated testing and building with some build infrastructure. That's how they build a halfway decent OS distribution, right?


How should I best start creating my own Ubuntu derivative in a way that could naturally transcend a one-off custom CD for myself, and be built in a more controlled, robust manner, like proper Ubuntu derivatives supposedly do?



An Ubuntu remix is just a meta package (like xubuntu-desktop) that depends on whatever software should be installed by default. To get the source of some existing meta *buntu desktops do:


apt-get source xubuntu-desktop
apt-get source lubuntu-desktop

This will fetch the base package of x/lubuntu. It is just a regular Debian package, it has files debian/control debian/rules etc. It can be rebuilt by doing:


apt-get build-dep xubuntu-desktop
dpkg-buildpackage -b -uc

Each architecture has its own list of files to install ("desktop-amd64", "desktop-powerpc" etc). To create your own derivative:



  • take the lubuntu/xubuntu source as a base

  • adapt it (eg. replace lubuntu with nicbuntu everywhere)

  • edit the dependency lists to add the packages you want

  • build your meta package

  • install it (dpkg -i nicbuntu.deb or gdebi nicbuntu.deb if you want to pull in dependencies)


Once you have your meta package working, you can build an installer iso image. There are plenty of answers already explaining how to do that (this one is quite detailed).


The only extra things you need to remember to do are:



  • add your nicbuntu.deb and any packages it depends on to the iso image

  • regenerate the Packages file (apt-ftparchive, see linked answer)

  • add "nicbuntu" to the the pre-seed file (again, see linked answer)


Obviously there are a lot of specific details that you will need to get working, but basically that's all there is to it.


Saturday, July 30, 2016

Need Ubuntu 19.04 Default Source List

Unfortunately i am unable to install/remove any software from my Ubuntu 19.04 as there is showing "E: Malformed entry 58 in list file /etc/apt/sources.list (Component)" therefore, i want to restore source list as earlier as default. so please support me to get default source list for Ubuntu 19.04.



Thanks in advance!

unity - What to do when everything freezes





I'm coming from windows and still new to Ubuntu. Occasionally everything freezes and I lose my taskbar and launcher. What do I do? What's the Ubuntu equivalent of ctrl+alt+del in Windows? I tried alt+f2 to bring up the "special terminal," but what can I do from there? I tried "sudo shutdown now" but that didn't fully shut down the computer and I needed a hard shutdown.



If I do manage to figure out what's wrong and fix it from the alt+f2 terminal, how do I get back to the desktop?



You may try "sudo reboot now" which will send a reboot signal and reboot the computer or sudo reboot -f now which will do the same but forcing the reboot.



Other valid commands are:



For a shutdown




sudo shutdown -h now


or



sudo poweroff


For a reboot




sudo shutdown -r now


But if everything simply halted (stopped working) you may wish to first give a chance to the killall5 command in the terminal which will attempt to log out your current session without rebooting nor shutting down. This will automatically return you to the desktop session in order to choose your username and write your password.



If you already fixed the issue in the virtual terminal you can hit CtrlAltF7 in order to return to your Desktop session.



Good luck!


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 installation - How to install and configure Wine?



I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.



What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?




If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?



If you want to use the latest development/staging version of Wine, please make sure to follow the guide in the Official WineHQ Guide for Ubuntu, basically covering:




  • If you are using a 64-bit Architecture, then enable 32-bit for better compatibility



    sudo dpkg --add-architecture i386

  • Add the Wine Key, Wine Repository & Update Repositories




    wget -nc https://dl.winehq.org/wine-builds/winehq.key
    sudo apt-key add winehq.key



For Ubuntu 19.04 for example, we would add the repository like this (just change the name of the version at the end of the command line, in this case, the word disco to the name of the Ubuntu version you are using):



    sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
sudo apt update




  • Then install the version of Wine you wish to use:




    • Based on Wine Development (Stable) (eg: 4.0)



      sudo apt install --install-recommends winehq-stable


    • Based on Wine Development (Testing Stage) (eg: 4.1)



      sudo apt install --install-recommends wine-devel winehq-devel

    • Based on Wine-Staging (Bleeding Edge) (eg: 4.1.1)



      sudo apt install --install-recommends wine-staging winehq-staging




    Lastly run



    WINEARCH=win32 winecfg


    in the terminal to make sure it configures Wine correctly (In that order). You will also need to install winetricks (Another configuration package, really helpful for installing Windows components like .NET Framework and other needed libraries). So after this, please do:



    sudo apt install winetricks




Video Demostration showing Wine 1.9.X in Action - Wine 1.9.X Performance



1. Differences between Wine Stable, Development & Staging versions



Stable versions offer less bugs with better stability and receive updates every 3-6 months after release.



Development version is the next stable version in development and receives updates every 2 weeks.



Staging version is the same as Development Version but includes all patches and enhancements from Wine-Staging




The decision to stick with the stable version (Even number versions: 1.0, 1.2, 1.4...) or with the unstable versions (Odd number versions: 1.1, 1.3, 1.5...) is up to the user, the main difference is compatibility and performance which are both enhanced in the Development version. You get the latest fixes it offers, and also become a tester that can help in the development cycle.



2. Installing the Recommended Stable Wine version (from PPA)



In the terminal type the following to add the Wine PPA, update repositories, and install latest Wine & Winetricks version:



wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/ && sudo apt update && sudo apt install wine-devel winehq-devel winetricks



or you could include the Wine 32-Bit Arch (Better support) and configuring winecfg (This should only be applied to new installations since it will move the existing Wine installation to a folder called winebck):



sudo dpkg --add-architecture i386 && wget -nc https://dl.winehq.org/wine-builds/Release.key && sudo apt-key add Release.key && sudo apt-add-repository -y https://dl.winehq.org/wine-builds/ubuntu/ && sudo apt update && sudo apt install wine-devel winehq-devel winetricks && export WINEARCH=win32 && winecfg


3. How to know which components an application needs



To find out what components an app needs, look in the Wine Application Database. It lists if the application is usable, what components it needs and how to install them.



4. How to install additional components, DLLS and Libraries to Wine




To have a working and enhanced Wine environment for your games and apps, I suggest you use winetricks to install additional components which offer better compatibility with games. To have a better working system do the following here is an example for HL/HL2 (Non-Steam. For the Steam Version go here: How can I install Steam? . Know that Half-Life and HL2 are natively supported in Ubuntu):



To play HL/HL2 you need the Wine PPA as mentioned above. After opening winecfg at least once on the terminal, open winetricks by running winetricks --gui then follow this steps:



Select Select the default wineprefix



enter image description here



Select Install a windows DLL or component




enter image description here



Install all that I have marked (and any additional you need). This covers many apps:



enter image description here



enter image description here



enter image description here




enter image description here



Right click the installer for HL/HL2 and select Open with Wine. Both games should work perfectly. This applies to apps in general and depending on the app you will need to install more or less components.



You can also install each component in terminal by adding the name of the component after the winetricks command:



winetricks vcrun2010 - Will install vcrun2010 using winetricks



winetricks xna40 - Will install xna40




5. Troubleshooting a Wine App



Sometimes, when running an App one or several of the following can actions can happen:




  • Frozen App

  • Wine opens a Blue window for a moment and then closes it

  • Nothing appears to happen

  • Inside the Wine window everything is Black in the start or at some point


  • DLL, Video card or Component not recognized



    For most of this problems there are solutions. Here are the recommended steps for you to start troubleshooting your way into a Wine app:




    1. Always visit the Wine App Site to see what other testers have done to make the App work. For example here is me testing Dead Island: Riptide which I gave it a Bronze since after the selecting the character the whole game went to a Black screen. What I did to test out what was happening was to go to the terminal and run the game from there. In the terminal some of the errors suggested I was missing a vital piece for the game to work. After reading the error output and doing what it suggested (Replacing a corrupted DLL) I could install a component the game needed and the game worked perfectly.


    2. Knowing what the game needs is crucial to getting the game working correctly. Setting the winecfg options and OS environment is only a small part. This is only creating the environment for the app. You need to add other functionality like DirectX, XNA, .NET Framework and more that the app might need in order to work. These are key components for some apps. Without them, even if some apps work correctly, others will not. Making sure you have all of this components gives you a higher chance of complying with what an app needs.


    3. As you can see from my Dead Island test I added several winetricks packages and also installed 3 packages the games comes with (DirectX, Windows Media Format and Microsoft Visual C++ 2010). With this I managed to guarantee that the game would start and be playable.


    4. Some apps are only created for certain Windows versions as seen with Dungeon Keeper. To specify a particular Windows Version for a particular app you can open winecfg navigate to Applications and select Add Application, then search for the applications executable file and click on Open. Now select the application from the list and then change the Windows Version for it. This way, only this application will have an specific version of Windows assigned to it, instead of globally changing the Windows version for all apps.


    5. Changing the Windows version globally can affect apps that were installed with a different Windows version. For example, Installing Terraria in a Windows XP environment and then changing it after playing to Windows 7 will give you one of two errors, one, not finding the saved games and two not running the app.



    6. Running an app to diagnose what the problem can be done through the terminal which is the best way by far to know what the app is doing or needing. The app can tell you information like:




      • What missing DLL it needs to run (mscore.dll, steam_api.dll)

      • What missing component it needs to run (XNA, DirectX, .NET...)

      • If the problem is you are using a 64 Bit environment instead of a 32 Bit

      • If you need to add a parameter for the app to run



      For missing DLLs I suggest using dll-files to download specific DLLs missing that are needed for the APP. Normally you can paste this DLLs inside the game folder or in the Windows/System32 folder (Or both) and that should solve the problem. For missing components use winetricks.



    7. When troubleshooting an App, always run the app in an emulated Desktop Window. Open winecfg go to Graphics and enable Emulate a Virtual Desktop. Then set the resolution for it. This way, if the app freezes, hijacks the keyboard and/or mouse focus, at least you have a way to eliminate the app instead of having it fullscreen where you have few choices:



      enter image description here


    8. For freezing scenarios of an app at fullscreen I suggest activating the "Kill X" feature that is found in the Keyboard Layout Window which can save you several seconds of time when trying to get out of a frozen Wine app:



      enter image description here


    9. Another technique of getting out of a frozen state is either opening a terminal and type wineserver -k or killing the X server. To do this firs configure it by running sudo dpkg-reconfigure keyboard-configuration and on the last option there that talks about killing X, say "YES". This will enable the CTRL+ALT+BACKSPACE combination.


    10. Remember that if an app needs a minimum or recommended hardware requirement in Windows, it will also need the same on Linux. If the app needs 512 MB of RAM and a 2.0 Ghz CPU, it will need the same on Linux using Wine.


    11. Sometimes you will come across an app in an ISO or any other Image format that you can not manage to open or install. Ubuntu comes with several tools to open this files but the best one I have tried so far is CDEMU which covers several types of images that bring Multi-Sector or Protected format. This is the closest you will get to something similar to DAEMON Tools. Cases like The Sims 3, Simcity 2000 and others can only be opened and installed using this app. More info in Apps capable of mounting/unmounting CD/DVD Images with multi-sector or protected format


    12. For cases where an specific app is not running, showing graphical glitches, black screen or not running with full graphics I actually recommend reading one of the following links that applies to the end user for video support:




      Nvidia Users - How do I install the Nvidia drivers?



      Hybrid - Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?



      Ati - What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?



      Apart from checking the above, if you have the correct drivers I would also add that you need to check if your video card has OpenGL support. For this I would first install mesa-utils if not yet installed:



      sudo apt-get install mesa-utils




      to test for OpenGL support. Simply run a check to see if you have OpenGL support:



      glxinfo|grep 'direct rendering'



      which should say Yes if you do have support. Another alternative would be:



      /usr/lib/nux/unity_support_test -p



      Lastly, you can run glxgears to give you an idea of how your video card renders and its FPS for the render. Another very important point is to run the application from the terminal as in wine AppName.exe, this way it will show what the problem is.



    13. If the Unity Launcher is not hiding itself when running a Wine app or is moving the app to the right you can do one of 2 things:




      • Hold the ALT key and click and drag the Wine to the Left


      • In the appearance option select "Auto-Hide The Launcher" and set the sensitivity to a level you like. This way the launcher will hide when the mouse leaves it's area.




      enter image description here


    14. Shader Model 3.0 is not recognized in Wine (Including Steam games)




      There are games that require Shader Models and output an error similar to Required OpenGL extension GL_EXT_texture_compression_s3tc. To fix this simply type the following in the terminal:





sudo apt-get install libtxc-dxtn-s2tc0
( note in recent version of Ubuntu libtxc-dxtn-s2tc0 is not longer needed )



Wine has come a LONG way from the days where newer games could not be played. It has gotten to a point where playing in Ubuntu is effortless. Wine has even some support for SM4.0 and DirectX 10/11 on Wine 1.6. If the problem persists it means that either your video card does not support this or you are missing the correct libraries.



Another reason that Wine might not detect Shader Model is because it might be set to Disabled in the Winetricks. Open the Dash and type winetricks. Select your wineprefix then Change Settings. Then look for the glsl=enabled option and select it. This should solve the Shader Model issue. Cases like the game Limbo are solved this way.




6. How do I open multiple Wine apps without them using the same Window (Overlapping)



You can setup multiple Wine windows by adjusting some Wine parameters before starting each individual Wine program. The fastest way is to open the terminal where the executable of the app you want to run exists. Let us assume it is the Wow.exe app. Then simply type the following:



wine explorer /desktop=WOW,1024x768 "Wow.exe" -opengl -console


This would open the Wow.exe executable with a Window titled "WOW", a resolution of 1024x768 for that specific Window and it would apply the parameters -opengl and -console to the Wow executable. Now assuming you have the game installed somewhere else, you would the following change:




wine explorer /desktop=WOW,1024x768 "/media/cyrex/fun/wow/Wow.exe" -opengl -console


This executes Wow.exe assuming it resides in the folder wow inside a partition called fun in your /media/USER folder. The output should be similar to this when running for example 4 apps:



Wine



There is a more easier way to accomplish this. The idea is to create a Desktop shortcut by right clicking on the Desktop and selecting New Document --> Empty Document. This should create an "Untitled Document" file on your desktop. Now open the file and paste in it the following:



   [Desktop Entry]

Type=Application


Now save it and rename the file to the application you want to open but at the end add ".desktop". It will turn into an "Executable Windows Icon". Now right click the Icon again and go to Properties --> Permissions --> Activate Allow executing file as program. Now go to the Basic Tab and insert the information you need to execute that wine app. The end result should be something like this:



enter image description here



7. Does having Ubuntu 64 bit influence Wine



Yes, having Ubuntu 64 Bit will also set Wine as 64 bit. This will create several problems for many Windows apps that only work on 32 Bit, for example not being able to install several of the .NET Frameworks since they will only work on the 32-Bit version, which will result in the user not being able to run many Windows applications. To solve this you need to do the following after having succesfully installed the PPA version as I mentioned above. Immediately afer installing the PPA wine package and before opening winecfg open the terminal (Make sure you are at your home folder by typing cd ~) and type the following:




rm -fr ~/.wine  
export WINEARCH=win32
export WINEPREFIX="/home/USER/.wine"
winecfg


Change USER with your user account. For example in My case, that line would read export WINEPREFIX="/home/cyrex/.wine"



With this method you have changed the Wine architecture to 32 bit and on the moment you open Winecfg, it will configure all the Windows versions available to 32 Bit.




8. Alternatives to Wine PPA



PlayOnLinux (PoL)



Although you can actually install and configure everything you need with Wine alone and it's complementing apps (winetricks, regedit, explorer) using PoL can save you some trouble and time when installing an application. With PoL you can find a list of apps that you can select and install in it's database:



enter image description here



and by simply selecting to install you achieve the following benefits:





  • Creating an independent container which holds the app installed, a specific Wine version for the app installed (In some cases, a specific Wine version works better for a specific app than the current Wine version).


  • Automatically installing any additional DLL and Components the app needs to function correctly.


  • Adding the appropriate registry keys the app needs


  • Create an independent way of running multiples apps without them overlapping each other with Windows version changes, regedit changed, specific Wine versions, etc..



    Of course, it is important to know that PoL works side by side with Wine and it needs Wine to work correctly (It is based on it). In many cases, an app might not work with PoL but will work with the default Wine configurations I have mentioned in this guide. So if you find the app you want to use in PoL, great. But if you don't find it, remember you always have the alternative to using the default Wine to install and configure the app.



    The benefits of installing the app using Wine and installing it using PoL is that with Wine, you can access and execute the App using the DASH, like in the images below:




    enter image description here
    (Terraria)



    enter image description here
    (Dead Space & Dead Island)



    CodeWeavers CrossOver (CC)



    CC is very similar to PoL on how to install and configure apps. The main difference is that CC offers official support. They even have their own CodeWeavers Database which holds more than 10.000+ apps. Not only that but they have a ranking system similar to the one in Wine's AppDB. They have also contributed to the development of Wine some of which you can see in their Support.




    DosBox (DB)



    DB is to MS-DOS apps as Wine is to Windows apps. With DB you can run MS-DOS apps in your system. Simply install the dosbox package and you are done. Running an app is as simple as going to the folder where the app resides and executing the following:



    dosbox ./



    This will open the current folder as a drive letter on the DB environment.



    You can also mount a folder by doing the following after opening DB:




    mount x: /Absolute/Path/To/Folder/Of/App



    For example



    mount c: /home/cyrex/Desktop/Dune2



    Will create the C: Drive letter which contains the Dune2 folder. So if I simply execute dune2.exe I get the following:



    enter image description here





9. What are some special parameters and tips I can use with Wine



There are a couple, for example:



COMMANDS



wine --version - Shows the version of wine




wineserver -k - Kills all wine versions for the specific user. This is useful if your Wine app is frozen, took the whole screen and does not let you use Ubuntu, has the mouse or keyboard focused on it and other Wine issues that might appear with some apps.



wine explorer - Will open an explorer similar to the Windows Explorer



wine explorer /desktop=X,Y - Creates a virtual desktop where X is the name of the Desktop Window and Y is the resolution of the Window. For example: wine explorer /desktop=WOW,1024x768 Wow.exe



regedit - Will open the regedit version of Wine similar to the Windows one.



wine uninstaller - Will open the Add & Remove of Wine similar to the one in Windows. Here you will be able not only see which apps you have install and uninstall them, but also be able to install new apps if you wish.




winetricks - Will open the winetricks app to install missing Libraries, DLLS and Components essential for the correct functionality of many Windows apps.



winecfg - Will open the Wine Configuration where you can set Video, Sound and Windows version.



wine ipconfig - Shows you the IP that Wine can see. Similar to ipconfig.



wine netstat - Shows you the IP/Port connections made. Similar to netstat.



wine start - Sets the working directory for the executable. This option helps in cases where the executable only works from the same folder and not from a full path. An example is if you wanted to run a .bat file or simply execute a command from another folder (eg: Parent folder), you would do something like this, assuming we are not in the same folder as MetroLL.exe:




 `wine start /d "C:\\Program Files\\GMT-MAX.ORG\\Metro Last Light" MetroLL.exe`


This would do two things, it will first set the directory to the Metro Last Light folder and then it would run the MetroLL.exe mentioned at the end. This is similar as running the executable from the same folder but it has the advantage of running the app from any other place. The thing to know here is that:




  • Wine does not like Unix paths, so you need to separate folders with \\ instead of \

  • You need to use an absolute path. You need to start from C:\\ to make sure the executable will always work as it should.

  • If the executable is outside the C: drive, then add the corresponding letter. For example, to execute a Windows binary outside of Wine, you would use the Z:\\ letter since Z: normally points to the Linux system's root directory.

  • If in doubt ask the command for help with the /? parameter, (eg: wine start /?)




export WINEPREFIX - This variable is used to change the Wine Prefix to another location. For example if you wish to merge PoL and Wine (Not recommended since PoL has multiple Prefixes) you can do the following:



   `export WINEPREFIX="/home/USER/.PlayOnLinux/wineprefix/PREFIX"`


Where PREFIX is the one you want to merge with Wine. You would have to run winecfg again.



TIPS





  • When dealing with a folder tha has spaces (eg: World of Warcraft), you can execute the Wow.exe file by adding the \ symbol in front of every space, this escapes the symbol. The end result would be something like "World\ of\ Warcraft\Wow.exe". If you do not want to add this escape symbols to your line of code, simply double quote the entire link, so it looks like:



    wine explorer /desktop=WOW,1024x768 "/media/cyrex/My Partition/World of Warcraft/Wow.exe" -opengl -console



    as you can see, there are 2 folders with spaces in them, "My Partition" and "World of Warcraft", but since I quoted the whole string, the need to include escape characters is not needed. If you wished to use the Wine Path (eg: C:/) then all slashes would be a double slash (eg: "C:\Program Files\App").


  • Parameters that are applied to an app should always be OUTSIDE the quoted strings. Using the example above, we can see -opengl and -console outside the quotes.


  • When dealing with apps that take hold of you mouse and/or keyboard, you can use wineserver -k to kill the app, or simply opening the App in Windows mode or setting the Windows mode with the wine explorer /desktop parameter will save you from having this mouse/keyboard problems.





10. Stability, Performance and App Support Wine offers to end users



APP SUPPORT



I have tried Wine since 2005 and seen how the developing process in Wine under Ubuntu has been quickly catching up to the latest games.



Before Wine 1.2 came out around 2012, it was difficult to get many apps working on Wine, but after Wine 1.2 came out it was a totally different result. Even more so after 1.4 came out in 2012, 1.6 in 2013 and then 1.8 in 2015. Many cases started to appear where they would work out of the box. Cases like Deep Space 2 which is/was one of the latest games I could play at that moment and which I tested 3 days after it was released. Alice in Wonderland (The new one I mean), The Sims 3, World of Warcraft, Amnesia and others. Even Skyrim could be played. These are games that demand powerful graphics and you can play them with little to no additional setups other than the normal install provided above.



To know what games you can play on Wine I recommend visiting the Wine App Database: http://appdb.winehq.org/ which holds more than 10K+. This includes information about their performance & stability and it helps in knowing if a game is playable.




The Wine App Database also offers a Ranking which determines what games can be played with less issues, if any. When you see this ranks, you have an idea if the App will work or not. Mind that you need to also take into consideration what hardware and Wine version the tester shows on the Wine Database. The rankings are as follow:



Platinum Rank - Means you have an almost 100% chance the app will work out of the box.



Gold Rank - Means you might find yourself doing a little bit of configuring but it will work out at the end.



Silver Rank - Means that the app will run, but might have graphical, sound or control issues.



Bronze Rank - Means the app will not work correctly.




Garbage Rank - Means the app still does not work and probably will not even install. The only way you could make it work would be when Superman starts eating kryptonian cereal in the morning.



For reference, a couple of years ago the amount of Platinum games was less than 50. In 2012 you could find More than 1.5K games out of which almost 200 were in the Latest Titles. Today there are more than 6K+ Games of which 4K+ are Platinum. The more people that participate in testing Wine apps, the better. Main reason I always recommend using the PPA from Wine.



PERFORMANCE



For performance information see Gaming performance difference between Windows and Ubuntu



11. How to Uninstall Wine




Uninstalling Wine can be done in 2 ways depending on your needs. If you only need to "Reset" Wine to the default values, you can simply delete the .wine folder and then create it again by running winecfg. If you have apps on the .wine folder that you wish to backup, now would be a good time before deleting the folder. To delete the folder simply do the following and it will take care of the whole Wine environment:



rm -fr ~/.wine
rm -fr ~/.cache/wine



Now if you want to actually uninstall Wine from Ubuntu, you can do the following, but note that this will NOT delete your .wine or cached folder:



sudo apt purge wine*



This would uninstall every package related to wine, including wine, wine1.9, winehq, winetricks and more. Basically removing anything related to wine.



customization - How can I customize the Ubuntu boot up logo?



I am making a custom distribution, and have a question about the Ubuntu Logo with 5 dots displayed when booting up.




The Ubuntu-Logo-Script in the /lib/plymouth/themes/ubuntutext folder has the word Ubuntu and beneath that 5 progressing 'dots'. Is it possible to remove the progress bar dots, and instead replace it with a faded Ubuntu logo, that gradually colors up to full?



enter image description here



Install Theme



I have created theme as you wanted with a faded Ubuntu logo (moreover I have added an animation of the Ubuntu logo. Hope you'd like it :-P )



Screenshot




Spinning Ubuntu logo and the Ubuntu text logo with a moving fade effect.



Want to see it live?



Go to http://www.youtube.com/watch?v=zPo50gM3txU



Where can you get this theme?



I have uploaded it to Mediafire cloud here.




How do you install it?



Download from the above link, save it on your Desktop, then issue these commands one by one.
Please replace /lib/plymouth/themes with /usr/share/plymouth/themes in the commands, if you are on 16.04 or later.



cd ~/Desktop/
tar -xf ubuntufaded.tar
sudo cp -r ubuntu-faded-screen '/lib/plymouth/themes'
sudo rm '/lib/plymouth/themes/default.plymouth'
sudo ln -s '/lib/plymouth/themes/ubuntu-faded-screen/ubuntu-faded-screen.plymouth' '/lib/plymouth/themes/default.plymouth'

sudo update-initramfs -u


How to check it?




  1. Restart Ubuntu and you'll see a nice animation while booting up and
    shutting down. OR

  2. Copy the whole command below and paste it into a terminal and hit enter. (You will probably need to install a package: sudo apt-get install plymouth-x11)




    sudo plymouthd --debug --debug-file=/tmp/plymouth-debug-out ; sudo plymouth --show-splash ; for ((I=0;I<10;I++)); do sleep 1 ; sudo plymouth --update=event$I ; done ; sudo plymouth --quit




How to create a Plymouth theme yourself



Plymouth Scripting Language is very similar to C or JavaScript. If you know these languages, it'll be very easy to create Plymouth scripts yourself.



Let's start with basics like operators, looping, comments, etc. Three type of comments are supported.



# comment like in bash

// single line comment like in C
/* block comments */


Statements are terminated with a semicolon, e.g.



foo = 10;


Statement blocks can be created with curly brackets, e.g.




{
foo = 10;
z = foo + foo;
}


The supported operators are +, -, *, /, %.
Shorthand assignment operators are also supported +=, -=, *=, etc.
Unary operators are also supported, e.g.




foo *= ++z;


+ is used for concatenation e.g.



foo = "Jun" + 7; # here foo is "Jun7"


Comparison operator example:




x = (3 >= 1); # assign 1 to x because it's true
y = ("foo" == "bar"); # assign 0 to y because it's false


Conditional operations and looping:



if (foo > 4)
{
foo--;

z = 1;
}
else
z = 0;


while (foo--)
z *= foo;



&&, ||, ! are also supported.



if ( foo > 0 && foo <4 )


This may be new to many readers: hashes, similar to arrays. Hashes can be created by accessing their contents using dot or [ ] brackets, e.g.



foo.a = 5;
x = foo["a"] ; # x equals to 5



Use the fun keyword to define function, e.g.



fun animator (param1, param2, param3)
{
if (param1 == param2)
return param2;
else
return param3;
}



The two basic Plymouth objects



Image



To create a new Image, give the filename of an image within the theme directory to Image(). Remember, only .png files are supported. For example:



background = Image ("black.png"); 



To show a text message you must create an Image of the text. (This might surprise you.) For example:



text_message_image = Image.Text("I love Ubuntu");


Width and height can be found using GetWidth() and GetHeight(); for example:



image_area = background.GetWidth() * background.GetHeight();



One can rotate or change the size of an Image; for example:



down_image = logo_image.Rotate (3.1415); # Image can be Rotated. Parameter to Rotate is the angle in radians
fat_image = background.Scale ( background.GetWidth() * 4 , background.GetHeight () ) # make the image four times the width


Sprite



Use Sprite to place an Image on screen.




Creating a Sprite:



first_sprite = Sprite ();
first_sprite.SetImage (background);


Or by supplying image to its constructor,



first_sprite = Sprite (background);



How to set different the sprite to different positions on screen (x,y,z):



first_sprite.SetX (300); # put at x=300
first_sprite.SetY (200); # put at y=200
background.SetZ(-20);
foreground.SetZ(50);



Or you can set all at once with SetPosition():



first_sprite.Setposition(300, 200, 50) # put at x=300, y=200, z=50


Changing opacity:



faded_sprite.SetOpacity (0.3);
invisible_sprite.SetOpacity (0);



Some miscellaneous methods used are:



Window.GetWidth();
Window.GetHeight();
Window.SetBackgroundTopColor (0.5, 0, 0); # RGB values between 0 to 1.
Window.SetBackgroundBottomColor (0.4, 0.3, 0.6);
Plymouth.GetMode(); # returns a string of one of: "boot", "shutdown", "suspend", "resume" or unknown.
etc.



Predefined Functions



Plymouth.SetRefreshFunction (function); # Calling Plymouth.SetRefreshFunction with a function will set that function to be called up to 50 times every second
Plymouth.SetBootProgressFunction(); # function is called with two numbers, time spent booting so far and the progress (between 0 and 1)
Plymouth.SetRootMountedFunction(); # function is called when a new root is mounted
Plymouth.SetKeyboardInputFunction(); # function is called with a string containing a new character entered on the keyboard
Plymouth.SetUpdateStatusFunction(); # function is called with the new boot status string
Plymouth.SetDisplayPasswordFunction(); # function is called when the display should display a password dialogue. First param is prompt string, the second is the number of bullets.
Plymouth.SetDisplayQuestionFunction(); # function is called when the display should display a question dialogue. First param is prompt string, the second is the entry contents.

Plymouth.SetDisplayNormalFunction(); # function is called when the display should return to normal
Plymouth.SetMessageFunction(); # function is called when new message should be displayed. First arg is message to display.


Mathematical Functions



Math.Abs()
Math.Min()
Math.Pi()
Math.Cos()

Math.Random()
Math.Int()
etc.


It is better to modify an existing script than to start from scratch.



Open up .script file from my uploaded theme and try to understand what it does. A fantastic guide can be found here.



I'm sure you'll learn this. It isn't hard. Let me know if you need any help.




Hope it'd help you create one yourself.



Answer to Roshan George's Comment :
Is it possible to replace the purple colour with an image as background in the default Plymouth theme names "ubuntu-logo" ?



background = Image ("your-image.png"); 
sprite = Sprite (background.Scale (Window.GetWidth(), Window.GetHeight()));
sprite.SetX (0); # put at x=0
sprite.SetY (0); # put at y=0



You might need to add sprite.SetZ (-10);



You should remove



Window.SetBackgroundTopColor (p, q, r);
Window.SetBackgroundBottomColor (a, b, c);



where p, q, r, a, b, c are some values.



More links




networking - Network UNCLAIMED Realtek d723 Ubuntu 16.04

I have installed Ubuntu 16.04 on HP bs179tx laptop, but I am unable to connect to wireless networks. When I checked sudo lshw -C network, it is displaying *-network UNCLAIMED.

16.04 - Cannot loging because of ubuntu--vg-root: clean - Ubuntu 16.0.4 LTS

After a reboot I could not log back in via the GUI. I got the black screen with a flash of text saying:


WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
/dev/mapper/ubuntu--vg-root: clean, XXX/XXXfiles, XXX/XXX

and then reverts back to the login screen.


I did the 'uselvmetad = 0' fix and ran 'sudo update-initramfs -u -k all'


THis got rid of the lvmetad errors, but not the 'ubuntu--vg-root: clean' error. From what I can tell people have fixed it by running 'sudo apt-get install --reinstall ubuntu-desktop', but this did not work for me. I also tried 'sudo apt-get install --reinstall unity' with no luck.


Does anyone know of anything else that I could try?

Friday, July 29, 2016

dual boot - Black screen after Grub2 menu with Live USB on Acer E15 with Windows 10

I just bought an Acer Aspire E15 (E5 573G-71L9) with an NVIDIA Geforce 940M, Intel Core i7-5500U processor, 15.6'' FHD LED LCD, and Windows 10 Home pre-installed. The default boot method is UEFI - Secure Boot.



I created 700 GB free disk space by shrinking the Windows partition in Windows 10. I created a bootable USB stick using the Startup Disk Creator in Ubuntu with an ISO of Ubuntu 15.10 64-bit (the checksum is correct).




After having changed the boot order to have the USB stick first, I got the GRUB2 menu. After selecting 'Trying Ubuntu without installing', I got a blank/black screen. The 'working light' on the USB stick did not flash anymore, indicating that nothing was happening.



I tried the following proposed fixes, without success:
- Replacing 'quiet splash' with 'nomodeset' (assuming it was the graphic card)
- Using an external monitor (for the same reason, using both 'quiet splash' and 'nomodeset')
- Setting the boot method to 'Legacy' (no valid boot device was found)
- Disabling 'secure boot' in UEFI (still blank screen after grub)
- Adding the two files in BOOT/EFI (or was it EFI/BOOT..) to trusted boot methods and putting them on top of the boot order (still blank screen after grub)



With that, it looks like I covered virtually all suggestions given in 'similar questions' and I have no clue how to continue. Suggestions, pointers to similar questions that I may have missed and other help would be much appreciated. Thanks.




Update 1 January 2016: in addition, I tried to run the live USB of Ubuntu 14.04 LTS and Mint 17.3 (normal and compatibility mode). I also burned Ubuntu 15.10 on a DVD. In all cases, after having selected an option from the menu, I got a black screen. Both the CPU and the graphic card are used in 'Ubuntu certified systems'.



Are there any tests that I can carry out to find the probable cause of the black screen?

touchpad - Syndaemon won't start as startup application


I've added the following line into my startup applications:


/usr/bin/syndaemon -i 0.5 -d -K

but syndaemon is never running when I log in. I always have to execute the command manually from the terminal, at which point it works normally. My other startup applications work fine. This issue occurs in both gnome and unity.


I'm using ubuntu 14.10 (issue occurred in 14.04 as well). I doubt my hardware matters, but I'm on a lenovo yoga 2 pro.


Ideas?



I am not sure what Syndeamon is or should do, but it could very well be that it is started too early, and crashes because the desktop is not fully loaded yet.


What you can do is to add a small pause of 10-15 seconds to the start up command.


To do that:



  • Open the automatically created .desktop file in ~/.config/autostart (drag it over a gedit window)

  • Replace the line, starting with


    Exec=

    change it into:


    Exec=/bin/bash -c "sleep 10&&/usr/bin/syndaemon -i 0.5 -d -K"


You can experiment a bit with the time to optimize it.


Explanation


Some commands break if you add them to startup applications, because they need a fully loaded desktop to run succesfully, and Startup Applications runs the commands too early.


Touchpad- related commands are in that category, and then you need to add a little break after startup to make it work.


Since Startup Applications creates a .desktop file in ~/.config/autostart to run the startup command, you need the "regular" syntax to add a complicated command to be used in a .desktop file, which is in this case:


/bin/bash -c "sleep 15&&syndaemon -i 0.3 -d -K"

12.04 - What is the correct output of cat /etc/apt/sources.list?

I have Ubuntu 12.04 LTS. I need the correct output because I edited it because it wasn't working but it has only made it worse.

AMD Hybrid catalyst driver installation for 14.10

Is there any worked procedure to install catalyst driver on AMD Hybrid with powerXpress on Utopic? I have tried the procedure explained in wiki.cchtml.com/index.php/Ubuntu_Trusty_Installation_Guide modified to buildpkg Ubuntu/utopic, with catalyst Omega 14.12. The installation ended smoothly, but amdconfig --initial -f, failed to configure the driver. It seems that the problem related to powerXpress issue.



Many thanks.




Systems: HP 431, with AMD radeon 7000/6400 and Intel HD 3000. Currently opensoure AMD driver is installed from PPA:oibaf/graphics-drivers.

installation - how to solve "/lib/modules/3.5.0-17-generic/build: no such file or directory" error

I installed ubuntu 12.10 64 bit on my desktop HP Elite 7500, but I have no ethernet connection. I have an Atheros ethernet card is. I have downloaded drivers to install. I extracted files. When I try to install it, it gives :



/lib/modules/3.5.0-17-generic/build: no such file or directory


What is the problem.



I googled found some sites where some people tell to install kernel headers, but if I have no network and an internet so how can I download and install it.




Another interesting thing is that, when I try to install driver from Live-CD it installed and I connected to the network. Then what is the problem, when I try to do this from installed Ubuntu?

Upgrade from 13.10 to 14.04: "No new release found"




I am trying to upgrade from lubuntu 13.10 to 14.04 using



apt-get update
apt-get dist-upgrade
do-release-upgrade


However the last command returns No new release found



I also tried do-release-upgrade -d with the same result.




/etc/apt/sources.list looks like:



# deb cdrom:[Lubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://de.archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy main restricted


## Major bug fix updates produced after the final release of the
## distribution.
deb http://de.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy universe

deb http://de.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://de.archive.ubuntu.com/ubuntu/ saucy multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy multiverse

deb http://de.archive.ubuntu.com/ubuntu/ saucy-updates multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://de.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse
deb-src http://de.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse


deb http://security.ubuntu.com/ubuntu saucy-security main restricted
deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
deb http://security.ubuntu.com/ubuntu saucy-security universe
deb-src http://security.ubuntu.com/ubuntu saucy-security universe
deb http://security.ubuntu.com/ubuntu saucy-security multiverse
deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.

## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu saucy partner
# deb-src http://archive.canonical.com/ubuntu saucy partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu saucy main
deb-src http://extras.ubuntu.com/ubuntu saucy main


deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu raring main
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu raring main
deb http://dl.google.com/linux/earth/deb/ stable main
# deb-src http://archive.canonical.com/ubuntu saucy partner


Note that I just upgraded lubuntu another using the same servers without problems.



File contents of /etc/update-manager/meta-releases




# default location for the meta-release file

[METARELEASE]
URI = http://changelogs.ubuntu.com/meta-release
URI_LTS = http://changelogs.ubuntu.com/meta-release-lts
URI_UNSTABLE_POSTFIX = -development
URI_PROPOSED_POSTFIX = -proposed


/etc/update-manager/release-upgrades looks like:




# some comments...

Prompt=normal


I also changed normal to lts without success.



I also checked the directory /var/lib/ubuntu-release-upgrader/ which is empty.




There is also no proxy file in /etc/apt/apt.conf.d/ so no proxy seems to be used.



The file /etc/hosts looks like:



127.0.0.1       localhost
127.0.1.1 mybox

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet

ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


So I tried every solution from Distribution upgrade problem "No new release found" without success.



Any idea what may be wrong here?



Edit




Using the graphical interface update-manager I got the error message: "Failed to download repository information"



Perhaps this gives you a hint how to solve the problem.



Edit2



I now changed from the de servers to the main servers and removed all ppas from my sources.list and sources.list.d. If possible using ppa-purge. If not I purged the relevant packages with aptitude and then removed the ppa-entries.



The ppa's where about following packages: sagemath, google-earth, handbrake, freetuxtv and julia (a math program).




However without success.



It finally worked. The problem was that I did do-release-upgrade as root, this didn't work. Invoking this command as normal user worked. Hower I don't understand why it doesn't as root.


grub2 - Grub menu is not showing. And ubuntu is starting automatically

I installed ubuntu alongside windows 10.
But when i switched on the pc, Ubuntu started automatically without showing the grub menu.
How do i boot my windows 10 back?

"apt-get update" fails with "Malformed entry in list file" error

After logging in as root, I input apt-get update, and it gives me:


E: Malformed entry 51 in list file /etc/apt/sources.list (URI parse)
E: Malformed entry 1 in list file /etc/apt/sources.list.d/docker.list (Component)
E: The list of sources could not be read.

What's wrong with it?


Seeing many related answers I input the code: sudo -H gedit /etc/apt/sources.list


then it shows:


# deb cdrom:[Ubuntu 16.10 _Yakkety Yak_ - Release amd64 (20161012.2)]/ yakkety main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety main restricted
## Major bug fix updates produced after the final release of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety universe
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety multiverse
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ yakkety-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu yakkety partner
# deb-src http://archive.canonical.com/ubuntu yakkety partner
deb http://security.ubuntu.com/ubuntu yakkety-security main restricted
# deb-src http://security.ubuntu.com/ubuntu yakkety-security main restricted
deb http://security.ubuntu.com/ubuntu yakkety-security universe
# deb-src http://security.ubuntu.com/ubuntu yakkety-security universe
deb http://security.ubuntu.com/ubuntu yakkety-security multiverse
deb http yakkety main
# deb-src http yakkety main
deb http://dl.openfoam.org/ubuntu yakkety main
# deb-src http://dl.openfoam.org/ubuntu yakkety main
# deb-src http://dl.openfoam.org/ubuntu yakkety main
# deb-src http://security.ubuntu.com/ubuntu yakkety-security multiverse

Please explain to me how to remove this malformed line - line 51 is deb http yakkety main 6th from the end.

dell - Can't enable the proprietary drivers for Broadcom BCM43142 wireless after installing Ubuntu 14.10? Offline package required?

I have installed the new Ubuntu 14.10 on my Dell Inspiron 3521.



I was able to use my wifi in the Boot Live Stage and during the Installation phase by enabling the BroadCom BCM 43142 proprietary drivers.



But after installation I can't enable the proprietary drivers.



I can see the drivers listed there and when I select the option to use them and click Apply, the progress bar starts going ahead but stops in process and the 'Do not use them' option gets reselected.




I have searched some questions here according to which I must connect my laptop with an ethernet cable to get my wifi drivers working.



But I don't have any ethernet cable at present with me. I can only use the wifi on my second laptop.



Is there any other way to get the drivers working or Is there any offline installer like a .deb file for the drivers?



If anyone knows, please help!



I've reinstalled ubuntu thrice but the problem remains same.

boot - 0xc000000f error when starting Windows from Grub


Recently I corrected the dual boot by re-installing the grub bootloader.


I did that by first adding an entry pointing to Linux in easyBCD settings.
Then, when I restarted the computer it showed Windows 7 and Grub Bootloader in Windows' bootloader. When I selected the Grub bootloader, it took me to Ubuntu Grub 2 bootloader from where I booted Ubuntu. Then I installed Boot-Repair and did receommended repair.


Everything went fine, on startup grub bootloader appeared, but when I select Windows 7, it would then take me to the Windows bootloader with choices of Windows 7 and Grub bootloader, which I inserted using easyBCD.


I removed this entry using easyBCD again and restarted. And since then, my Ubuntu is working fine but when booting Windows, it gives an 0xc000000f error.


I have generated a report using boot-repair.


What do I do next?



So you are using GRUB, selecting the windows 7 entry, selecting Windows in the windows boot manager, and then it fails with the error.


This guide should work, however I have not tested this myself and I am not responsible for any data loss. If you are paranoid I would make a entire clone of your hard drive to somewhere else.


Things you will need



  • USB with the Ubuntu live desktop (aka Ubuntu installer)

  • Windows 7 repair/install media


What to do:



  1. Boot into the Windows 7 repair/install media, and at the language screen, then press SHIFT + F10 to get a command prompt. Type bootrec /fixmbr followed by bootrec /fixboot.

  2. Reboot your PC to the hard drive. Windows should boot, without any sign of the boot manager.

  3. Reboot into the Ubuntu live desktop media and install boot repair, and have boot repair install GRUB (or use the command line if you know the grub-install params).

  4. Reboot to your hard drive, and you should see the GRUB menu with Ubuntu boot options and a Windows boot option. Boot into Ubuntu, and confirm it boots.

  5. Boot into Windows, install EasyBCD (if it isn't already installed), and add the Linux option to the Windows boot manager.

  6. Reboot your PC, select the Windows option in GRUB. You should see two options for booting at this point - one for Windows and one for Linux/GRUB that you added earlier. Select the Linux option, and if it goes back into GRUB, then the tutorial is complete and your boot system should work again!


server - Still on previous 4.15 kernel after apt upgrade to 18.04.2


TL;DR


I can't force my ubuntu server, after upgrading to 18.04.2 from 18.04.1, to upgrade the kernel to corresponding 4.18 version.


Historical background


Yesterday I run


sudo apt upgrade

and had a conflict on one of the minor files (I think it was /etc/issue.net). Unfortunately, during solving that conflict I accidentally turned off putty... When I logged back in I had a lock on the apt database. I restarted my server and executed


sudo dpkg --configure -a

Then sudo apt upgrade went fine. After I restarted my server I saw, in the welcome message, that my system got updated but the kernel is still in 4.15 version.


Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)

What I have tried so far


I tried all the solutions I could find on the Internet but none of them helped:


rychu@RychuSRV:~$ sudo apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:4 https://download.docker.com/linux/ubuntu bionic InRelease
Get:5 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Fetched 177 kB in 1s (161 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
rychu@RychuSRV:~$ sudo apt-get install linux-image-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-generic is already the newest version (4.15.0.45.47).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rychu@RychuSRV:~$ sudo apt-get install linux-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-generic is already the newest version (4.15.0.45.47).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
rychu@RychuSRV:~$ uname -r && dpkg --get-selections linux
4.15.0-45-generic
linux-base install
linux-firmware install
linux-generic install
linux-headers-4.15.0-45 install
linux-headers-4.15.0-45-generic install
linux-headers-generic install
linux-image-4.15.0-23-generic deinstall
linux-image-4.15.0-29-generic deinstall
linux-image-4.15.0-30-generic deinstall
linux-image-4.15.0-32-generic deinstall
linux-image-4.15.0-33-generic deinstall
linux-image-4.15.0-34-generic deinstall
linux-image-4.15.0-36-generic deinstall
linux-image-4.15.0-38-generic deinstall
linux-image-4.15.0-39-generic deinstall
linux-image-4.15.0-42-generic deinstall
linux-image-4.15.0-43-generic install
linux-image-4.15.0-44-generic install
linux-image-4.15.0-45-generic install
linux-image-generic install
linux-modules-4.15.0-23-generic deinstall
linux-modules-4.15.0-29-generic deinstall
linux-modules-4.15.0-30-generic deinstall
linux-modules-4.15.0-32-generic deinstall
linux-modules-4.15.0-33-generic deinstall
linux-modules-4.15.0-34-generic deinstall
linux-modules-4.15.0-36-generic deinstall
linux-modules-4.15.0-38-generic deinstall
linux-modules-4.15.0-39-generic deinstall
linux-modules-4.15.0-42-generic deinstall
linux-modules-4.15.0-43-generic install
linux-modules-4.15.0-44-generic install
linux-modules-4.15.0-45-generic install
linux-modules-extra-4.15.0-23-generic deinstall
linux-modules-extra-4.15.0-29-generic deinstall
linux-modules-extra-4.15.0-30-generic deinstall
linux-modules-extra-4.15.0-32-generic deinstall
linux-modules-extra-4.15.0-33-generic deinstall
linux-modules-extra-4.15.0-34-generic deinstall
linux-modules-extra-4.15.0-36-generic deinstall
linux-modules-extra-4.15.0-38-generic deinstall
linux-modules-extra-4.15.0-39-generic deinstall
linux-modules-extra-4.15.0-42-generic deinstall
linux-modules-extra-4.15.0-43-generic install
linux-modules-extra-4.15.0-44-generic install
linux-modules-extra-4.15.0-45-generic install
rychu@RychuSRV:~$ sudo update-grub
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-45-generic
Found initrd image: /boot/initrd.img-4.15.0-45-generic
Found linux image: /boot/vmlinuz-4.15.0-44-generic
Found initrd image: /boot/initrd.img-4.15.0-44-generic
Found linux image: /boot/vmlinuz-4.15.0-43-generic
Found initrd image: /boot/initrd.img-4.15.0-43-generic
Adding boot menu entry for EFI firmware configuration
done
rychu@RychuSRV:~$ sudo reboot

And...


Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-45-generic x86_64)
rychu@RychuSRV:~$ uname -r
4.15.0-45-generic

I also tried


rychu@RychuSRV:~$ sudo do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.

Please help.



You can upgrade kernel and keep it getting upgraded to future point Ubuntu releases by running


sudo apt install linux-generic-hwe-18.04

As for now it will install the 4.18 kernel.


Thursday, July 28, 2016

dual boot - How to uninstall Ubuntu from Legacy mode?

I'm trying to dual boot Ubuntu 18.04 with Windows 10 on my Lenovo laptop, but have run into some problems :)


Specifically, my problems seem to come from choosing UEFI or Legacy as the Bootmode in the BIOS.


Here is what I have found so far:


Windows 10 needs to boot using UEFI and doesn't work in the Legacy mode while Ubuntu needs to boot using Legacy mode.


So how I uninstall ubuntu from my Legacy mode?


Currently both Windows and Ubuntu are installed on my laptop and disk partitioning type is GPT.

networking - No Ethernet on Lenovo P50, (`ifplugstatus` reports unplugged) Intel I219-LM network card

Issue



On a Lenovo P50, the network card does not seem to be able to detect Ethernet cables or establish a network connection. The ethernet conection is set-up to be hot-plugged and managed by avahi. The wired connection once worked, but seems to have failed some time in the past six months or so.



Debugging so far





  • Computing support confirms that network ports are working

  • Other machines plugged into network ports work, indicating cables are good

  • Plugging in ethernet cables to laptop does not cause port to light up (but it is not clear that this port has lights)

  • Wireless connection works

  • Network configuration appears ok, common pitfalls not present



System information




$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.3 LTS"





$ cat /proc/version
Linux version 4.4.0-112-generic (buildd@lgw01-amd64-010) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) ) #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018




$ lspci | grep Ethernet
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM (rev 31)





$ sudo lshw -C network
*-network
description: Wireless interface
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
logical name: wlp4s0

version: 3a
serial: [MAC_ADDRESS]
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.4.0-112-generic firmware=16.242414.0 ip=172.20.174.88 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:133 memory:c4c00000-c4c01fff
*-network
description: Ethernet interface
product: Ethernet Connection (2) I219-LM

vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 31
serial: [MAC_ADDRESS]
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation

configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k firmware=0.8-3 latency=0 link=no multicast=yes port=twisted pair
resources: irq:130 memory:c5700000-c571ffff




$ ifconfig
enp0s31f6 Link encap:Ethernet HWaddr 50:7b:9d:e4:d8:49
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:16 Memory:c5700000-c5720000

enp0s31f6:avahi Link encap:Ethernet HWaddr 50:7b:9d:e4:d8:49
inet addr:[IP_ADDRESS] Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:16 Memory:c5700000-c5720000
...





$ ifplugstatus
lo: link beat detected
enp0s31f6: unplugged





$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

allow-hotplug enp0s31f6
iface enp0s31f6 inet dhcp





$ sudo ifdown enp0s31f6 && sudo ifup -v enp0s31f6
Killed old client process
Internet Systems Consortium DHCP Client 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp0s31f6/[MAC_ADDRESS]

Sending on LPF/enp0s31f6/[MAC_ADDRESS]
Sending on Socket/fallback
Configuring interface enp0s31f6=enp0s31f6 (inet)
/bin/run-parts --exit-on-error --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

/sbin/dhclient -1 -v -pf /run/dhclient.enp0s31f6.pid -lf /var/lib/dhcp/dhclient.enp0s31f6.leases -I -df /var/lib/dhcp/dhclient6.enp0s31f6.leases enp0s31f6
Internet Systems Consortium DHCP Client 4.3.3

Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp0s31f6/[MAC_ADDRESS]
Sending on LPF/enp0s31f6/[MAC_ADDRESS]
Sending on Socket/fallback
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 3 (xid=0xf5fca319)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 6 (xid=0xf5fca319)
DHCPDISCOVER on enp0s31f6 to 255.255.255.255 port 67 interval 7 (xid=0xf5fca319)

No DHCPOFFERS received.
No working leases in persistent database - sleeping.




$ sudo ip a
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo

valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s31f6: mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether [MAC_ADDRESS] brd ff:ff:ff:ff:ff:ff
inet [IP_ADDRESS]/16 brd 169.254.255.255 scope link enp0s31f6:avahi
valid_lft forever preferred_lft forever





The following questions with similar symptoms do not resolve the issue:



Suggested solutions that do not work in this case:



The suggested command ip link set enp1s0 up does not resolve it. The suggested commands ifconfig .. down ... up do not resolve it.



Similar symptoms, but probably unrelated hardware issues:



This issue is common with Realtek cards, and there are several related questions (1234), but this machine has an Intel card.




This question
seems specific to a USB Ethernet device, related to hot-plug issues.



This question involves the network interface disappearing entirely, and returning on reboot.



This question is a bit vague and lacks definitive answers.



This question pertains to Ethernet, but the answer is a link to wifi troubleshooting.




This question appears to be different, as it involves the Ethernet adapter being unavailable, wheres it is available on my machine but registers as disconnected.



This question has similar symptoms, but was due to a conflicting configuration from a previous network card.



This question related to a corrupted driver (I think?).



In this case they were able to regain network access simply by deleting /etc/network/interfaces and rebooting. I have tried this and it did not work in this case.



Potentially related questions without resolution




This question may be related (unclear), but does not have an answer.
Likewise for this question.



In this question it was assumed that the problem lay with the building network configuration. I have been assured by the building support staff that this is not the case here.



This question was diagnosed as a hardware fault of the network card. It is not clear that it applies in this case. This one seemed also to be a hardware failure. (I would like to rule out other explanations before presuming hardware failure).



Update and resolution



We determined that the machine could not use Ethernet when booted from a different operating system on removable media, indicating a hardware issue. Indeed, on the Lenovo P50 there are status LEDs (yellow and green) on the port, and these should respond when Ethernet is plugged in. They were dark on this machine, indicating a hardware issue.

11.10 - Can&#39;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 (...