Quantcast
Channel: Ubuntu Forums
Viewing all 82528 articles
Browse latest View live

[ubuntu] automatically save screenshots upon pressing PrintScreen key without prompting

$
0
0
Every time i want to screenshot something, i press PrintScreen key and it always prompts me where to save, but when the prompt window appears it freezes some fullscreen applications and wine applications, any way to make it automatically save without prompting when i press PrintScreen?
i use the default screenshot software that came with ubuntu 16.04 lts

wanting to remove this annoying message

[ubuntu] Security permissions on external HDD with Artful Aardvark

$
0
0
I have a Samsung M3 1TB HDD attached to my Lenovo Thinkpad R61. Before upgrading from 17.04 the Samsung HDD worked quite happily with no problem under Ubuntu or Windows 10. Since upgrading to 17.10 the hard disk has refused to let me create files or folders.

The permissions listed in the Settings window do not appear to have changed but I have reset them down to the file level to allow r/w access to everybody, several times. This seemed to be effective once but I have been unable to re-create this success.

I am still able to gain full access to the HDD in Widows 10 but Artful Aardvark will not allow write access.

Any suggestions welcomed.

Noel Bell

My ongoing battle against Sound

$
0
0
Hello friends, i'm new to the forum and I home to help those who face the same problems as I'm facing right now. I bougth a new MOBO (M5A78 LM USB3 PLUS). After installing all drivers and updating windows 7, as usual, i'm not new to this, I struggled to make my sound work in both rear and front ports.

I know i'm talking about windows but it will get to ubuntu soon, sorry but I think it's relevant.

After days i managed to make the rear ports work by overwriting all audio drivers using the amd catalyst for managing audio and video drivers. After reading about this issue for days I was told to change my bios setup from HDAUDIO to AC97 even though i was using the HDAUDIO cables connected to the mobo. The audio died in all ports so I changed the bios setting back to HDAUDIO and restarted.

Oddly, both front and rear ends started working normally and i noticed that windows asked for an update that I had already installed before, something about AMD advanced drivers. So I did not installed it again. I restarted my pc, the sound kept working in both ends but that strange update was now installed, even though I did not do it.

So I installed ubuntu but here the sound only works by the front connectors, not the rear ones. Since I use Ubuntu for College and I'm still learning to use it, I need the sound to work propperly.

I checked and rechecked my mobo's manual for anny mistakes I may have commited but it is a verry straightfoward installation. I really hope my mobo is not deffective. I hope the problem is me being verry stupid.

Sorry for anny english mistakes.

Thank you.

apache require ip not functioning

$
0
0
Hello all,

Im trying to restrict some websites hosted on my 17.10 Desktop with Apache to be internal on my network only while other sites are public. The sites currently are all accessible from anywhere which is the problem. I have enabled four configs. The default 000-default.conf, nagios.conf, jupiter.com.conf and one called Internal.conf The 000-default one is still default configuration and has not been touched. Jupiter.com is used for external sites, nagios is nagios, and internal is for internal websites.

Here is the config for Internal
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName jupiter/teampass
DocumentRoot /var/www/html/teampass
ErrorLog ${APACHE_LOG_DIR}/teampass-error.log
CustomLog ${APACHE_LOG_DIR}/teampass-access.log combined
<Directory /var/www/html/teampass>
Options Indexes FollowSymLinks
AllowOverride All
<IfModule mod_authz_core.c>
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
Require ip 192.168.8
</RequireAny>
</IfModule>
</Directory>
</VirtualHost>


One thing that comes off as odd is the RequireAny comes up as just white text like its not recognizing it. Require ip does show color so it looks like the module is loaded. I have also tried the following config setting with the same results.

<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName jupiter/teampass
DocumentRoot /var/www/html/teampass
ErrorLog ${APACHE_LOG_DIR}/teampass-error.log
CustomLog ${APACHE_LOG_DIR}/teampass-access.log combined
<Directory /var/www/html/teampass>
Options Indexes FollowSymLinks
AllowOverride All
Require ip 127.0.0.1
Require ip ::1
</Directory>
</VirtualHost>

Here is some information about my envirionment


@Jupiter:~$ apache2ctl -S
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
VirtualHost configuration:
*:80 is a NameVirtualHost
default server 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1)
port 80 namevhost 127.0.1.1 (/etc/apache2/sites-enabled/000-default.conf:1)
port 80 namevhost jupiter/teampass (/etc/apache2/sites-enabled/internal.conf:31)
port 80 namevhost jupiter/phpmyadmin (/etc/apache2/sites-enabled/internal.conf:51)
port 80 namevhost redacted_url.net/minecraft (/etc/apache2/sites-enabled/jupiter.com.conf:35)
alias www.redacted_url.net/minecraft
port 80 namevhost redacted_url.net/tametheark (/etc/apache2/sites-enabled/jupiter.com.conf:44)
alias www.redacted_url.net/tametheark
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www/html"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex watchdog-callback: using_defaults
Mutex default: dir="/var/run/apache2/" mechanism=default
Mutex mpm-accept: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33 not_used
Group: name="www-data" id=33 not_used


In jupiter.com.conf config I am using AuthUserFile to require a site password so I know the configs are being read but cant seem to get require ip to work in any of my congfigs.

@Jupiter:~$ apache2 -version
Server version: Apache/2.4.27 (Ubuntu)
Server built: 2017-09-18T15:05:48

Any help would be greatly appreciated.

Ubuntu 17.10 (Artful Aardvark) and Dropbox

$
0
0
Long time Ubuntu user and very long long time linux user (from Yggdrasil, somebody remember it ?).

I'm using Ubuntu 17.10 (Artful Aardvark) with Gnome on my MacMini (6,1, late 2012, Intel® Core™ i5-3210M CPU @ 2.50GHz × 4, RAM 10 GB, HD 500 GB) with refind.

Dropbox icon in the panel is working erratically, and only if you install Topicon Plus extension. Ubuntu Appindicators is not enough.

When the icon is present is very small and right clicking does not show the Dropbox menu.

When the icon disappears I launch this script:

===============================================
#!/bin/bash
dropbox stop
env XDG_CURRENT_DESKTOP=Gnome dropbox start -i
===============================================

and the icon returns.

After launching the script the terminal shows:

sandro@macmini:~$ ./restart_dropbox
Dropbox daemon stopped.
Starting Dropbox...dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-MgSa9I
dropbox: initializing
dropbox: running python 2.7.11
dropbox: setting program path '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/dropbox'
dropbox: setting home path '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29'
dropbox: setting python path '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29:/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/python-packages-27.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/cryptography.hazmat.bindings._constant_time.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/cryptography.hazmat.bindings._openssl.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/cryptography.hazmat.bindings._padding.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/psutil._psutil_linux.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/psutil._psutil_posix.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/linuxffi.pthread._linuxffi_pthread.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/tornado.speedups.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/cpuid.compiled._cpuid.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/linuxffi.resolv.compiled._linuxffi_resolv.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/posixffi.libc._posixffi_libc.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/librsyncffi.compiled._librsyncffi.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/linuxffi.sys.compiled._linuxffi_sys.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtWebKit.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtCore.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtNetwork.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtGui.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtWebKitWidgets.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtWidgets.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtPrintSupport.so'
dropbox: load fq extension '/home/sandro/.dropbox-dist/dropbox-lnx.x86_64-37.4.29/PyQt5.QtDBus.so'
Done!


There is something that I can do ?


Apart from this, Ubuntu Gnome is improving (though not yet refined as Unity :))

Thank you

Sandro

How do I change Aspect Ratio?

$
0
0
As the title says I'm looking if there's is a possibility to change the aspect ratio of my display.

The thing is my native aspect ratio is 16:9 with a resolution of 1366x768. However I'm currently trying to play a pretty old game with maximum resolution of 800x600 (it's Diablo 2) and whenever that happens the aspect ratio changes to 4:3 and since the the resolution and aspect ratio don't match I end up having two big black lines at both sides of the screen.

I know I will lose some image quality but I want to try it, so could somebody please tell me how to change it please?

I have an Intel GPU, if anybody asks.

PS:If anybody knows how to change aspect radio when using the game alone that would be wonderful.

Trying to format an ext micro USB card but "Write Protection" is preventing it.

$
0
0
All I want to do it "dd" the Ubuntu Mate img to a micro USB card for RPi, and can't do it. I started with GParted to clean up the disk, and wipe it. Can'r because it is "write protected" for I decide to go tried and true terminal with fdisk to wipe the partitions.

I confirmed the drive:
Code:

sudo fdisk -l
...
Device    Boot Start    End Sectors  Size Id Type
/dev/sdc1  *    8192  49151  40960  20M  c W95 FAT32 (LBA)
/dev/sdc2      57344 581631  524288  256M 83 Linux


Code:

sudo fdisk /dev/sdc

Welcome to fdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

fdisk: cannot open /dev/sdc: Read-only file system


Code:

sudo blkid /dev/sdc*
/dev/sdc: PTUUID="5452574f" PTTYPE="dos"
/dev/sdc1: SEC_TYPE="msdos" UUID="18B5-D2B0" TYPE="vfat" PARTUUID="5452574f-01"
/dev/sdc2: PARTUUID="5452574f-02"


Code:

sudo hdparm -r0 /dev/sdc*

/dev/sdc:
 setting readonly to 0 (off)
 readonly      =  0 (off)

/dev/sdc1:
 setting readonly to 0 (off)
 readonly      =  0 (off)

/dev/sdc2:
 setting readonly to 0 (off)
 readonly      =  0 (off)

Code:

dmesg | tail

[275532.603421] scsi host20: usb-storage 1-1.4:1.0
[275533.729524] scsi 20:0:0:0: Direct-Access    Multiple Card  Reader    1.00 PQ: 0 ANSI: 0
[275533.730929] sd 20:0:0:0: Attached scsi generic sg2 type 0
[275534.398398] sd 20:0:0:0: [sdc] 30881792 512-byte logical blocks: (15.8 GB/14.7 GiB)
[275534.399487] sd 20:0:0:0: [sdc] Write Protect is on                                                   
[275534.399496] sd 20:0:0:0: [sdc] Mode Sense: 03 00 80 00
[275534.400632] sd 20:0:0:0: [sdc] No Caching mode page found
[275534.400649] sd 20:0:0:0: [sdc] Assuming drive cache: write through
[275534.405880]  sdc: sdc1 sdc2
[275534.409980] sd 20:0:0:0: [sdc] Attached SCSI removable disk


Code:

sudo mount -o "remount,rw" /dev/sdc1 /mnt/1
mount: /mnt/1 not mounted or bad option

      In some cases useful info is found in syslog - try
      dmesg | tail or so.

Code:

dmesg | tail
[275532.603421] scsi host20: usb-storage 1-1.4:1.0
[275533.729524] scsi 20:0:0:0: Direct-Access    Multiple Card  Reader    1.00 PQ: 0 ANSI: 0
[275533.730929] sd 20:0:0:0: Attached scsi generic sg2 type 0
[275534.398398] sd 20:0:0:0: [sdc] 30881792 512-byte logical blocks: (15.8 GB/14.7 GiB)
[275534.399487] sd 20:0:0:0: [sdc] Write Protect is on
[275534.399496] sd 20:0:0:0: [sdc] Mode Sense: 03 00 80 00
[275534.400632] sd 20:0:0:0: [sdc] No Caching mode page found
[275534.400649] sd 20:0:0:0: [sdc] Assuming drive cache: write through
[275534.405880]  sdc: sdc1 sdc2
[275534.409980] sd 20:0:0:0: [sdc] Attached SCSI removable disk

I am out of ideas. And for those wondering, I am using a micro USB adapter, and it does have a switch on the side, and I have tried it both positions with no success.

Any help in solving this conundrum would be appreciated.

Stuck booting (post-grub) after upgrade

$
0
0
I have ubuntu with gnome fallback session. After upgrade to 17.10 (partial, because full gave me error - details here: https://bugs.launchpad.net/ubuntu/+s...r/+bug/1510841 ), I had to restart computer. Now I can not get to ubuntu. I get to grub menu and after that I get row "Ubuntu:clean, 998941/2949120 files, 8509242/11796480 blocks" and it is just stuck there. Please someone help me

[ubuntu] mdadm array shrink disks

$
0
0
I am building a mdadm Raid5 array with three disks sized: 4TB, 5TB, and 6TB. This will only yield 8TB usable space. I am ok with the loss as I will be replacing the 5TB and 6TB soon with 2 more 4TB drives.

The question. If I fail the 5TB drive, can I replace it with a 4TB drive, or will mdadm complain?

[ubuntu] Can I upgrade bios mobo to uefi mobo and not have to re-install anything

$
0
0
I couldn't find anything on here that is like this question so I am asking it. Please forgive if it is a duplicate. Also I know it might not be exactly germaine, but I hope someone will answer. I have an older dual-boot computer with 2 IDE hard drives and one SATA hard drive. On sda/sda1, an MBR IDE drive, there is WinXP. On sdb/sdb1, the other MBR IDE drive, is Ubuntu. I want to upgrade the Mobo/CPU,etc, and the new Mobo will be UEFI. Can I do it and the Mobo will recognize that I have IDE/MBR drives and boot up OK? I know WinXP is old. I'll take care of that after the upgrade. Maybe Win7. It is the Ubuntu that I will mostly use. Also I will upgrade that to 16.04.1 after the upgrade. I guess my question is do these mobos sense what kind of disks you have an automatically adjust and boot up using my hard drives as they are?.

[ubuntu] ALSA not passing audio to apps (Skype, Audacity, for example)

$
0
0
ALSA is not forwarding my audio input to applications, such as Skype and Audacity, although it does send it to Cheese.

With PulseAudio Volume Control (PAVU) open, I select the source (Built-in microphone, etc) and see that it is active under Input. I start the application (Audacity) and start recording. I go to the Recording tab on PAVU and see that the chosen input is active (meter goes up and down with sound). Yet nothing comes through to Audacity. Same results with Skype. However, Cheese does receive the audio when recording.

This problem just started recently, seemingly after a kernel update, but perhaps is a coincidence.

Running Ubuntu 16.04 LTS on Dell E6400 laptop.

[ubuntu] Heeeelp! o.O Images washed-out in one app, fine in another

$
0
0
Hey guys!

When I display images, some apps display them fine (like XnView), other apps display them washed-out, turning the blacks grey and revealing a cacophony of blocks and pixels hidden in the dark parts of images. For instance, Opera/Chrome/Firefox, Gimp, Darktable.

Examples:
https://cdn.vox-cdn.com/thumbor/jqKR...iew_main.0.jpg
http://www.melinas-music.com/wp-cont...elinaclose.jpg

I know this *supposedly* has to do with colour profiling for my 2 screens, but no matter what I do, nothing reliably changes things:

  • Turn color profiling off
  • Use the "Standard Space - Compatible with Adobe RGB (1998)" profile
  • Use a standard sRGB profile
  • Use the profile that Ubuntu automatically determines for the screen


In the past years, the only way to I've found to get all programs to display images properly was:

Blindly switch options back and forth and reboot until it works.

I'm a bit frustrated at this point, because I just installed 17.10 and I'm back to square one with this again. I mean, really, all I want is for pictures to display fine. I'm not a color scientist and I don't own color space metering tools or whatever graphic designers use to calibrate their screens. I just want pictures to look ok, like they do in Windows.

So I'm asking... Has anybody figured this out? Reliably?

[ubuntu] Mouse pointer frozen after suspension

$
0
0
Hi

I have just upgraded to Ubuntu 17.10, really happy with 80% of the upgrade, however, there's a small problem I can't find a solution to.

When my laptop wakes from suspension, my mouse is frozen.

I have a Dell Inspiron 15 running an intel i7-7500U CPU with Ubuntu 17.10.

Can anyone help with this?

[ubuntu] cannot boot live USB (neither Ubuntu 16.04, nor 17.10)

$
0
0
I have several problems. I'll tell the whole story.
I bought a new computer and created two partitions: One is Windows, the other Ubuntu. Ubuntu is a logical partition even though I didn't create a swap partition.
Problem 1: Whenever I access my Ubuntu partition from my Windows partition, the Ubuntu partition gets corrupted or something because I cannot boot it properly again. That's why I chose my Ubuntu partition's file system as XFS, so that I would not accidentally access its files from my Windows partition and corrupt it again.
Problem 2: I couldn't resize my Ubuntu partition. I've tried GRUB from a live USB, I could shrink my Windows partition but not Ubuntu. Then, I got frustrated and tried doing it from my Windows partition, which unfortunately corrupted my Ubuntu partition again (Even though, I couldn't see my files from Windows, viewing my partitions via a partition manager was enough to corrupt it.).
Problem 3: To salvage my files, I used my old Ubuntu 17.04 disk image to create a live USB and access my files using that. Fortunately, I could see all my files; but when I tried to copy those files to my external Solid State Drive, it couldn't mount it because its file system was exFAT. I tried installing the necessary packages to mount it (which I don't know if you can do it on a live drive) but there was a problem.
Problem 4: I saw that there were changes to 17.10 so I tried creating a live USB of that instead. I could select it from the boot menu, but it soon froze and I had to force shut my computer. I tried the same with 16.04 created with both Rufus and Unetbootin with the same result. So even if I decide to forgo my data, I'm unable to install Ubuntu again!
What I want now is to boot Ubuntu from a live USB and mount my external Solid State Drive, which has exFAT file system, to copy my data to it; and then install Ubuntu again, this time taking care that I don't access my partitions while on Windows.
I'm also seeking a long term solution to my Problem 1 and would be pleased if you could tell me where I can get more support for that (my computer manufacturer?).
I'm a computer newbie, so please bare that in mind when answering :) Thank you.

[ubuntu] installing a package broke ubuntu 16.04

$
0
0
So, i was trying to mount my DOS VHD file, and i installed the package libguestfs-tools. It took a long time to install but then when it finished a couple of things happened:

  • The checkboxes changed
  • The menu buttons broke

And then i rebooted.
My computer will not boot normally, only in failsafe x mode
During the text output of the bootup process, my screen flashes between on and off
And in recovery mode, networking doesn't work, apt-get and dpkg don't work and the worst part is,
The installer won't boot.

So yeah, i messed up pretty badly. And i need help.
My current plan is to copy system files over from a different Ubuntu computer but i can't do that for a while.

Adding app to dock, Ubuntu 17.10 running Gnome

$
0
0
I have an application (waterfox) unzipped and untarred in my home directory. How do I add it to the dock. I can't seem to figure this out. When I start the app up and right click on it, I don't get that "add to favorites" selection as I do with apps listed in the "show applications" area.

[ubuntu] Fail to setup networking

$
0
0
Hi all

Host - Ubuntu 16.04 desktop
Guest - CentOS 7 Gnome desktop
Virtualizer - KVM

I fail to setup networking. Please advise where can I find a relevant document for its configuration? Thanks


ERROR
======
# systemctl restart network.service
Code:

Job for network.service failed because the control process exited with error code. See "systemctl status network.service" and "journalctl -xe" for details.
# systemctl status network.service
Code:

● network.service - LSB: Bring up/down networking
  Loaded: loaded (/etc/rc.d/init.d/network; bad; vendor preset: disabled)
  Active: failed (Result: exit-code) since Fri 2017-11-03 08:17:52 HKT; 45s ago
    Docs: man:systemd-sysv-generator(8)
  Process: 3409 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=1/FAILURE)
  CGroup: /system.slice/network.service
          └─1056 /sbin/dhclient -1 -q -lf /var/lib/dhclient/dhclient-657ef9b...

Nov 03 08:17:52 centos7-gnome-pc1b00 network[3409]: RTNETLINK answers: File e...
Nov 03 08:17:52 centos7-gnome-pc1b00 network[3409]: RTNETLINK answers: File e...
Nov 03 08:17:52 centos7-gnome-pc1b00 network[3409]: RTNETLINK answers: File e...
Nov 03 08:17:52 centos7-gnome-pc1b00 network[3409]: RTNETLINK answers: File e...
Nov 03 08:17:52 centos7-gnome-pc1b00 network[3409]: RTNETLINK answers: File e...
Nov 03 08:17:52 centos7-gnome-pc1b00 network[3409]: RTNETLINK answers: File e...
Nov 03 08:17:52 centos7-gnome-pc1b00 systemd[1]: network.service: control pr...1
Nov 03 08:17:52 centos7-gnome-pc1b00 systemd[1]: Failed to start LSB: Bring ....
Nov 03 08:17:52 centos7-gnome-pc1b00 systemd[1]: Unit network.service entere....
Nov 03 08:17:52 centos7-gnome-pc1b00 systemd[1]: network.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

# cat /etc/sysconfig/network-scripts/ifcfg-eth0
Code:

BOOTPROTO=none
ONBOOT=yes
BROADCAST=192.168.8.255
NETWORK=192.168.8.0
NETMASK=255.255.255.0
IPADDR=192.168.8.6
USERCTL=no
BRIDGE-br0

# cat /etc/sysconfig/network-scripts/route-br0
an empty file

# cat /etc/sysconfig/network
Code:

# Created by anaconda
NETWORKING=yes
HOSTNAME=centos7-gnome-pc1b00
GATEWAY=br0

# cat /etc/sysconfig/network-scripts/ifcfg-br0
an empty file

Host
====
⟫ cat /etc/network/interfaces
Code:

# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
dns-nameservers 218.102.32.172 219.76.98.90

# The primary network interface
auto enp2s0
iface enp2s0 inet manual

# add bridge ports
auto br0
iface br0 inet static
        address        192.168.8.3
        dns-nameservers 218.102.32.172 219.76.98.90
        network        192.168.8.0
        netmask        255.255.255.0
        broadcast      192.168.8.255
        gateway        192.168.8.1
        bridge_ports    enp2s0
        bridge_fd      9
        bridge_hello    2
        bridge_maxage  12
        bridge_stop    off

Having tried changing br0 to enp2s0 with same result.

Regards
satimis

[all variants] Looking for a disk cloning utility

$
0
0
I'm looking for a utility that:

  • Will clone a hard disk: boot track and all partitions.
  • Can handle a mix of Linux and NTFS partitions.
  • Has a "just do it" mode that clones a specified source to a specified destination without making me set a multitude of options.

If it runs under Linux, under Windows, or stand-alone, fine. As long as it works.

So far I've looked at Clonezilla (extremely complex) and Redo Backup and Recovery (can't actually clone a disk; it only backs a disk up to a file and restores it from a file). What else is there that may fit my needs?

Difficulty posting new thread in lubuntu forum / identity issue

$
0
0
  1. Hello. Longtime Slackware user. Using Lubuntu for the first time (well, using it for the past year). Used Ubuntu back when it was brand new, made an account, and now I'm having identity issues on this forum. This is frustrating not only because I'd like to use my handle, which I'm locked out of.... but because I'm being limited from doing things like profile management, etc. So that would be a nice fix.
  2. I would like to post a question on the lubuntu forum and cannot seem to. Not sure what I'm doing wrong, or if this too is a newbie limitation. I really simply want to solve my sudden flash issue, so help with this matter would be greatly appreciated.


Thanks.

[ubuntu] pip install broken in Artful

$
0
0
It seems that pip install for python is broken in 17.10

e.g
Code:

sudo pip install -U sympy

Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 342, in run
    requirement_set.prepare_files(finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 487, in _prepare_file
    req_to_install, finder)
  File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 428, in _check_skip_installed
    req_to_install, upgrade_allowed)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page
    "Cache-Control": "max-age=600",
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'

These errors happen for all python packages. Tried on two clean 17.10 installs. My work machine running 16.04 LTS has no problem whatsoever.

Suggestions and help appreciated.
Viewing all 82528 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>