Installed the official Ubuntu 14.04 distribution on the hp laptop. In a freshly installed OS, I cannot apply the settings for the connection "Wired connection 1". When you click on the "Options .." button in "All Settings -> Network", a modal window opens once and I enter the correct provider settings (MAC address, IPv4 addresses, DNS). On subsequent attempts to open this window, I get an error:

assertion `uuid != NULL' failed 

There is the same installed distribution on the PC - the settings have been successfully applied. I copy a config from a PC to a laptop located at:

 /etc/NetworkManager/system-connections/Wired\ connection\ 1 [802-3-ethernet] duplex=full mac-address=XX:XX:XX:XX:XX [connection] id=Wired connection 1 uuid=f27f2946-a3f8-4982-acb7-4d64ba4050b5 type=802-3-ethernet timestamp=1454749932 [ipv6] method=auto [ipv4] method=manual dns=XXX.XXX.XXX.XXX; dns-search=XXX.XXX.XXX.XXX; address1=XXX.XXX.XXX.XXX/XX,XXX.XXX.XXX.XXX 

Did not help. I tried to reinstall the distribution kit again on the laptop, copied the config right away without opening the modal window - did not work.

Opened from root network settings:

 sudo unity-control-center network 

Changed settings - also unsuccessfully. The settings are not applied, the feeling as if ignoring configs.

How to apply network settings in Ubuntu 14.04 on hp laptop?

  • I also want to add that before this, on this laptop was fedora version 25, in which all the settings were picked up right the first time, and the Internet appeared. - Matvey Safronov
  • Tried to set up the settings manually in /etc/network/interfaces without NetworkManager ? Maybe it, this NetworkManager ? - zombic
  • @zombic thanks for the response. Not ever, I can try only in the evening. At work now, too, ubuntu, there is only this way /etc/network/interfaces.d, there is nothing inside (ls -laF) - Matvey Safronov

1 answer 1

The problem was that the mac-address of the laptop network card was “slipped”. Forcedly substituted the one you need in ifconfig:

 /etc/init.d/networking stop ifconfig eth0 hw ether XX:XX:XX:XX:XX:XX /etc/init.d/networking start 

True, this service was still unable to connect automatically (due to the lack of additional IPv4 settings), and what is interesting is that it was resetting the MAC address back. I had to repeat the procedure. The bottom line is that the button with connection settings was pressed (that error with NULL actually meant a mismatch between uuid hashes of mac addresses). By clicking, I noticed that a configuration file was created in NetworkManager. This is where I entered IPv4 with the right hands. Also in the cloned MAC-address indicated the desired, and in the first field - the factory. Everything rebooted and the connection was established