Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Patrick Bartek
On Fri, 18 Aug 2017 20:23:13 -0500 Mario Castelán Castro
 wrote:

> On 2017-08-18 17:56 -0700 Patrick Bartek  wrote:
> >There's always VMWare or XEN neither of which I have any real
> >experience with, just read the manuals.  Never cared much for QEMU
> >or kvm, but that was years ago.  Maybe, they're easier to set up and
> >use now..
> 
> QEMU has been well documented for as long as I have cared to read
> its documentation, which is at least 5 years. Of course, anything but
> the most basic software is hard to “set up and use” if you do not
> read he manual.

I assure you I have studied the manuals.  And I do try to keep up if
only casually.  I started investigating emulators and VMs 10 or so years
ago as an alternative to mulitbooting for testing and evaluating various
Linux distros. Ultimately that investigation lead to my choosing
Virtualbox. Been using it ever since.

B



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Mario Castelán Castro
On 2017-08-18 17:56 -0700 Patrick Bartek  wrote:
>There's always VMWare or XEN neither of which I have any real experience
>with, just read the manuals.  Never cared much for QEMU or kvm, but
>that was years ago.  Maybe, they're easier to set up and use now..

QEMU has been well documented for as long as I have cared to read
its documentation, which is at least 5 years. Of course, anything but the
most basic software is hard to “set up and use” if you do not read he
manual.


pgp4YIOLmwnFu.pgp
Description: OpenPGP digital signature


[no subject]

2017-08-18 Thread max vidocq
 Bonjour Angelique
L' abbaye de Saint-Acheul.
L' abbaye de Saint-Acheul a longtemps été considérée à tout comme la cathédrale 
primitive. Fondée au sortir de la ville chaussée J. Ferry, elle marque le lieu 
au bord de la route ou furent trouvée par saint Sauve les restes de Firmin, 
considéré comme le premier évèque d' Amiens. Sous l' ancienne abbatiale du 
xvllle siècle, il subsiste un sarcophage antique. Les évèques d' Amiens y 
perpétuent la mémoire de celui qui, venu de Pampelune pour évangéliser la 
région au llle siècle, aurait été exécuté pour avoir pratique les premiers 
baptémes.
La charité de saint Martin. Originaire de Pannonie, Martin est en garnison à 
Amiens en 334 ou 354. Soldat circuitor, il surveille le mur d' enceinte. Un 
hiver, à l'une des portes, il croise un pauvre accablé de froid. Ne pouvant se 
déposséder de ce qui appartient à Rome, il donne au malheureux la moitié du 
manteau qu' il possède. A l' auberge, la nuit suivante, c' est le Christ qui 
lui apparait revétu de l' étoffe.Par la suite, Martin se convertit, se fait 
baptiser, et après avoir quitté l' armée, il devient évèque de Tours.
1. Dans un paysage idéalisé, ou le port fluvial devient port de haute mer, la 
représentation des monuments de la ville est très fidèle. 
Saint-Firmin-le-Confesseur jouxte la cathédrale au nord.
Maitre d' Amiens, actif au début du xvle siècle. Palme eslute du Sauveur pour 
victoire, ou Vierge au palmier, 1520, huile sur panneau, détail.
2. Justin Sanson, le Manteau partage, bas-relief 1880- posé en 1881 sur le lieu 
présumé du geste de Martin, façade nord du palais de justice d' Amiens.



Envoyé à partir d’Outlook


Re: Help setting up Broadcom WiFi on a Dell Inspiron 1501 laptop

2017-08-18 Thread rhkramer
Thanks to all who replied!  I found enough clues here to (1) find ucode5.fw, 
and (2) to start to develop the enthusiasm to make another attempt.  It may be 
a few days though.

Thanks again!

Oh, but don't be surprised if I have some followup questions ;-)

On Friday, August 18, 2017 04:29:13 PM Celejar wrote:
> On Fri, 18 Aug 2017 12:56:28 -0400
> rhkra...@gmail.com wrote:
> 
> ...
> 
> >* All of the Linuxes somehow indicated that I had to load some other
> >files
> > 
> > to get the Broadcom working.  I eventually realized they were talking
> > about firmware that has to be installed on the card.
> 
> Yes, you'll need firmware.
> 
> > I think all of them (or at least Wheezy, iirc, identified those files as
> > b43/ucode5.fw and b43-open/ucode5.fw.  (Are those two different files,
> > and, do I need both or either??).  So far, I have not located those
> > files anywhere, either using google or searching the (Wheezy) packages
> > (including contrib and non-free).
> 
> There is Broadcom's own [proprietary] firmware, and (possibly?) an open
> source version. I don't know the state of the OSS version, but the last
> time I looked into it, it wasn't entirely stable / reliable. Just use
> Broadcom's, unless you know what you're doing and / or have strong
> ideological / moral views on the subject.
> 
> Broadcom's version is definitely not included in Debian, even in
> non-free. There is, however, the firmware cutter utility and package,
> which can download and extract the firmware for and put it in the right
> place. Just follow the instructions here:
> 
> http://linuxwireless.org/en/users/Drivers/b43/#Ubuntu.2FDebian
> 
> > I downloaded some packages  from the Wheezy repository (after adding
> > contrib and non-free):
> > 
> > The downloaded packages:
> > firmware-b43-installer version 1:015-14.1
> 
> That's the one that you want.
> 
> > firmware-brcm80211 version 0.36+wheezy.1
> 
> I don't think you want / need this one. Again, just follow the
> directions here:
> 
> http://linuxwireless.org/en/users/Drivers/b43/
> https://wireless.wiki.kernel.org/en/users/drivers/b43
> 
> > There were other packages I could have downloaded and tried, but didn't,
> > so far.
> > 
> > Those packages provided me with (among other files):
> > 
> > /lib/firmware/brcm/bcm43xx-0.fw
> > /lib/firmware/brcm/bcm43xx_hdr-0.fw
> > b43-fwcutter
> 
> ...
> 
> > The main questions: So, where do I go from here?  Is ucode5.fw an
> > obsolete file name?  Or maybe that is the name for the Broadcom
> > proprietary stuff but what I've found are open source replacements?  Is
> > ucode5.fw in one of the other Debian packages for Broadcom?  Has anyone
> > ever got WiFi working with Wheezy and this Broadcom device?
> 
> So what's the problem? Does the card work? Is the driver module
> inserted into the kernel? What does dmesg say when you insert it?
> [Try "modprobe -r b43" followed by "modprobe b43" and see what dmesg
> says.]
> 
> ...
> 
> >* Somewhere I found a blurb that identified it as a "Broadcom Wireless
> >1390
> > 
> > WLAN Mini card"
> 
> Marketing name, not particularly important for us.
> 
> >* Using =lspci -vnn -d 14e4:=, I get the following information:
> > PCI-ID Supported?   Chip ID   Modes PHY version Alternative
> > 14e4:4311   yes BCM4311 b/g G   wl
> 
> That's what we need - see here:
> 
> http://linuxwireless.org/en/users/Drivers/b43/#Supported_devices
> 
> > IIUC, that means I can use the non-legacy driver (and Wheezy package)
> 
> Correct.
> 
> >* The tag on the bottom of the computer identifies the WiFi device as
> > 
> > BRCM94311MCG, FCC ID: QDS-BRCM1020
> 
> Not important.
> 
> [I used to use Broadcom wireless, not necessarily this exact card, but
> something similar. I haven't had a machine with one for years, but the
> instructions are good, and they work when followed.]
> 
> Celejar



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Patrick Bartek
On Fri, 18 Aug 2017 18:19:53 -0400 RavenLX 
wrote:

> On 08/18/2017 10:44 AM, Patrick Bartek wrote:
> > On Fri, 18 Aug 2017 10:02:03 -0400 RavenLX 
> > wrote:
> >> I wonder if there's a replacement for VirtualBox? I need something
> >> that will allow me to share a directory between host and virtual
> >> machine, and to be able to go between both quickly (I don't have a
> >> dual-screen system
> >> - no room where I live for that). If I could find something that
> >> would work I'd switch, I think. As for my friend, he would need far
> >> more features I guess (I don't know what though).
> > 
> > Virtualbox has shared folders (directory) as well as shared
> > Clipboard. You just need to install Guest Additions in the Guest OS
> > to enable it. I use both all the time.
> > 
> > VB has a lot of other features.  Just read the manual.
> > 
> > B
> 
> I know, I use the shared folders and clipboard in VirtualBox all the 
> time. But with the way Oracle seems to be going with things, what if 
> someone wants to switch *away* from VirtualBox and use something
> else? What other VM systems have these same features (which I really
> need)?

There's always VMWare or XEN neither of which I have any real experience
with, just read the manuals.  Never cared much for QEMU or kvm, but
that was years ago.  Maybe, they're easier to set up and use now..

B



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Mario Castelán Castro
On 2017-08-18 18:19 -0400 RavenLX  wrote:
>On 08/18/2017 10:44 AM, Patrick Bartek wrote:
>> Virtualbox has shared folders (directory) as well as shared Clipboard.
>> You just need to install Guest Additions in the Guest OS to enable it.
>> I use both all the time.
>
>[elided]
>
>What other VM systems have these same features (which I really need)?

I have never used it, so I do not know how it works with practice,
I think that connecting to QEMU using SPICE (instead of SSH or VNC)
gives a shared clipboard among many other convenience features. Refer to
the QEMU manual for details.

Regards.


pgpU1WVGlefH1.pgp
Description: OpenPGP digital signature


Re: debian9.1 ifdown bug

2017-08-18 Thread Ben Caradoc-Davies

On 18/08/17 19:38, David Guyot wrote:

I'm afraid you won't get much help if you don't explain your problem in
English. These are English-speaking mailing lists.


The original poster provided a Google translation, which I thought was a 
good effort:



=
google translation
=


Newly installed system, I tried to modify the network. But networking
restart has been in a failed state, but I can use it after reboot.
Troubleshoot the reasons for finding ifdown -v ethx found ip addr del
ip / mask deleted is not the old address, but the new address. So in
the closed restart he just added / etc / network / interfaces in the
new ip address. Ip addr found that they both coexist the state.

#ifconfig eth3
Eth3: flags = 4099  mtu 1500
 Inet 172.16.1.20

#cat / etc / network / interfaces
Auto eth3
Iface eth3 inet static
Address 172.16.1.16
Netmask 255.255.255.0

#ifdown -v eth3 # He deleted the network in the new interfaces
configuration, not the old network.
/ Bin / ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255
dev eth3 label eth3

My temporary fix is:
## cat fix-network.sh
#! / Bin / bash
/etc/init.d/networking stop
$ (Ip addr | grep inet | grep -v 127.0.0.1 | awk '{printf "ip addr
del% s dev% s \ n", $ 2, $ NF}')
/etc/init.d/networking start
#ifup eth0


--
Ben Caradoc-Davies 
Director
Transient Software Limited 
New Zealand



Re: What tool can I use to make efficient incremental backups?

2017-08-18 Thread Liam O'Toole
On 2017-08-17, Mario Castelán Castro  wrote:
> Hello.
>
> Currently I use rsync to make the backups of my personal data, including
> some manually selected important files of system configuration. I keep
> old backups to be more safe from the scenario where I have deleted
> something important, I make a backup, and I only notice the deletion
> afterwards.
>
> Each backup snapshot is stored in its own directory. There is much
> redundancy between subsequent backups. I use the option "--link-dest" to
> make hard links and thus save space for files that are *identical* to an
> already-existing file in the backup repository. but this is still
> inefficient. Any change to a file, even to its metadata (permission,
> modification time, etc.), will result in the file being saved at whole,
> instead of a delta.
>
> Can you suggest a more efficient alternative?
>

(...)

I use duplicity for exactly this scenario. See the wiki page[1] to get
started.

1: https://wiki.debian.org/Duplicity

-- 

Liam



Thoughts on Anible?

2017-08-18 Thread RavenLX
Please forgive my goofy questions. I am not really that well versed in 
CM (Configuration Management) and this post is really going to show it.


Because this will more than likely be tltr (too long to read), I'll try 
to make it as fun as possible. Forgive if my humor is a bit strange.


I noticed "Anible" isn't in the debian repos. Seems to be a Red Hat 
scripting engine for creating automated installs.


I wrote my own automated install script in Bash. Crude but worked. It 
didn't run as root (but would ask for sudo password if a command 
required it), and it ran on the machine that was to use apt-get and 
install packages, sed for editing configs, etc. Like I said, crude.


I'm currently learning Python (as in writing something while learning at 
the same time). So I'm re-writing my Bash script in Python as a practice 
project to learn from, and making it more general so I can use it with 
anything. I'm still in the process of creating the library of functions 
that will do the stuff like unzipping/untaring, installing packages, 
making directories, updating configuration files, etc. So far, it's 
really a lot easier than doing it all in Bash and I'm enjoying the 
learning process. It's going very well, actually.


I heard about "Ansible" and how it is supposed to make it easier to 
write installation scripts.


I took a look at the Ansible site's Quick Start video and was like 
'huh?' 'what?' "what just happened??" "What is he DOING??" I couldn't 
even decipher what he was saying, either (and English is my mother 
language). Then my eyes nearly popped out of my head. "Why in the blue 
blazes is he running this script on ONE machine, then ssh'ing into 
another machine as ROOT nonetheless and doing stuff on that remote 
machine as root via this scripting engine on the first machine? Isn't 
that supposed to be a big no-no or something??" I was thinking that's a 
lot of work to do when all you could do is write a Python (or bash) 
script and run it on the machine it's to install stuff on, then remove 
the script when done, and not have to ssh in as root! I felt too 
uncomfortable with the way the video was going about things.


Oh wait. He installs Ansible on the machine he just ssh'ed into as root 
and is running the script via Ansible on that machine. Ok, now that I 
think about it, how do you make sure all of Ansible is removed when 
done? I would at least want to uninstall Ansible afterwards so someone 
can't break in and use it to screw up the system. But then again, would 
they be able to?


I googled and saw that to make a directory using Ansible, you need to 
remember and write several lines in the YAML script. In python, it seems 
only one line was needed to create a directory (and with permissions).


I tried looking at Ansible's documentation. I recoiled worse than a 
(wait for it) Python! I'm one that learns by doing, not by reading "War 
and Peace" (which like this post, is tltr)!


My bash script (and python script) both run as current user and beep 
then ask for a sudo password whenever it needs to run something as sudo 
(if the sudo time hasn't timed out). It does the task as sudo and then 
goes on to the next task (which may or may not be sudo - if it's not, 
then it doesn't use sudo or root). So much of the script is run NOT as 
root/sudo. I assumed that is the best way to go about it? Also my script 
has colored output and a log file I can look at to see what got 
installed, when and where and how, or why something didn't get done, or 
edited, installed, etc.) The Ansible video only showed something was 
done but not what, and an IP address (which is not something useful in 
my situation).


For some strange reason, I'm finding my script easier to use and Python 
easier to write than trying to figure out Ansible. Besides, Python and 
Bash come pre-installed anyway.


Am I goofy or what? Someone please talk me into using Ansible. It seems 
googling, many people sing it's praises, but I'm not getting it for some 
reason. I'm petrified of that thing! I'm enjoying the process of 
learning Python, though.


Should I learn Ansible as well? Would it be a good skill? Or is it OK to 
just skip that idea and continue doing things my old-fashioned way using 
what's already there - bash or python?


I would like to have some decent linux development skills. I do know 
Perl quite well, and Bash I'm pretty decent at for the most part. I can 
write in C or C++ (and get myself in trouble, as you'd imagine). :)


Should Ansible be added to my list? Or do devs recommend something else?

(I am wondering if the "user" mailing list is even the right place to ask?)



Re: offer proposal

2017-08-18 Thread Esteban Monge
Fuck you

On August 18, 2017 11:25:01 PM CST, Richmond Eben Kofi  
wrote:
>Hello and how are you, Greetings i hope this email finds you in good
>state we have a business proposal to share with you response if
>interested so we can share more details with you.
>
> 
>
>Sincerely,
>
>Richmond Ebenezer kofi
>
>Crest 24karats Gold mining company.

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

offer proposal

2017-08-18 Thread Richmond Eben Kofi
Hello and how are you, Greetings i hope this email finds you in good state we 
have a business proposal to share with you response if interested so we can 
share more details with you.

 

Sincerely,

Richmond Ebenezer kofi

Crest 24karats Gold mining company.

Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread RavenLX

On 08/18/2017 10:44 AM, Patrick Bartek wrote:

On Fri, 18 Aug 2017 10:02:03 -0400 RavenLX 
wrote:

I wonder if there's a replacement for VirtualBox? I need something
that will allow me to share a directory between host and virtual
machine, and to be able to go between both quickly (I don't have a
dual-screen system
- no room where I live for that). If I could find something that
would work I'd switch, I think. As for my friend, he would need far
more features I guess (I don't know what though).


Virtualbox has shared folders (directory) as well as shared Clipboard.
You just need to install Guest Additions in the Guest OS to enable it.
I use both all the time.

VB has a lot of other features.  Just read the manual.

B


I know, I use the shared folders and clipboard in VirtualBox all the 
time. But with the way Oracle seems to be going with things, what if 
someone wants to switch *away* from VirtualBox and use something else? 
What other VM systems have these same features (which I really need)?





Re: renommer l'interface réseau

2017-08-18 Thread Pierre L.
Je pense que Christophe réagissait à mes anecdotes de nommages des
interfaces lors de l'installation seulement ;)
Qui pose effectivement souci quand on ne sait pas vraiment quelle
interface on a derrière eth0 + eth1 + ethX... lors de l'étape du
paramétrage du réseau ;)


Le 18/08/2017 à 20:09, Pascal Hambourg a écrit :
> Le 18/08/2017 à 10:56, Christophe De Natale a écrit :
>>
>> eth0 correspond à l'interface dont la valeur de l'adresse mac est la
>> plus faible et ainsi de suite.
>> C'est du moins ce que j'ai constaté sur un serveur installé sous Eole
>> (base Ubuntu) dans lequel il y avait plusieurs cartes réseau.
>
> Pure coïncidence.
> Soit elles sont numérotées dans l'ordre naturel de découverte, soit il
> y a un schéma de nommage persistant.
> Mais une numérotation selon l'ordre croissant des adresses MAC, c'est
> tout sauf persistant : si on ajoute, retire ou change une carte
> réseau, toutes les autres risqueraient d'être renommées !
>




signature.asc
Description: OpenPGP digital signature


Re: kvm/qemu virtual machine can't find hard drives

2017-08-18 Thread Bob Weber
On 8/18/17 4:08 PM, Gary Roach wrote:
> I really appreciate all of you quick responses.
>
> For some unknown reason, when I searched the  Debian database virt came up
> empty. This time it didn't. So, at this point, its go RTFM.
>
> The manual will probably clear it up but When trying to run virt-manager, I
> did get the following error:
>
> unable to complete install: 'unsupported configuration: CPU mode 'custom' for
> x86_64 kvm domain on x86_64 host is not supported by hypervisor'
>
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in 
> cb_wrapper
>     callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/create.py", line 2288, in
> _do_async_install
>     guest.start_install(meter=meter)
>   File "/usr/share/virt-manager/virtinst/guest.py", line 461, in start_install
>     doboot, transient)
>   File "/usr/share/virt-manager/virtinst/guest.py", line 396, in _create_guest
>     self.domain = self.conn.createXML(install_xml or final_xml, 0)
>   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3523, in createXML
>     if ret is None:raise libvirtError('virDomainCreateXML() failed', 
> conn=self)
> libvirtError: unsupported configuration: CPU mode 'custom' for x86_64 kvm
> domain on x86_64 host is not supported by hypervisor
>
> I'll give things another try and may be back later. If not, thanks again.
>
> Gary R
>
>
>
According to AMD the FX series cpu supports AMD Virtualization™ (AMD-V™)
Technology with IOMMU so it must be turned off in the BIOS so check there.


...bob





Re: Help setting up Broadcom WiFi on a Dell Inspiron 1501 laptop

2017-08-18 Thread Celejar
On Fri, 18 Aug 2017 12:56:28 -0400
rhkra...@gmail.com wrote:

...

>* All of the Linuxes somehow indicated that I had to load some other files 
> to get the Broadcom working.  I eventually realized they were talking about 
> firmware that has to be installed on the card.  

Yes, you'll need firmware.

> I think all of them (or at least Wheezy, iirc, identified those files as 
> b43/ucode5.fw and b43-open/ucode5.fw.  (Are those two different files, and, 
> do I 
> need both or either??).  So far, I have not located those files anywhere, 
> either using google or searching the (Wheezy) packages (including contrib and 
> non-free).

There is Broadcom's own [proprietary] firmware, and (possibly?) an open
source version. I don't know the state of the OSS version, but the last
time I looked into it, it wasn't entirely stable / reliable. Just use
Broadcom's, unless you know what you're doing and / or have strong
ideological / moral views on the subject.

Broadcom's version is definitely not included in Debian, even in
non-free. There is, however, the firmware cutter utility and package,
which can download and extract the firmware for and put it in the right
place. Just follow the instructions here:

http://linuxwireless.org/en/users/Drivers/b43/#Ubuntu.2FDebian

> I downloaded some packages  from the Wheezy repository (after adding contrib 
> and non-free): 
> 
> The downloaded packages:
> firmware-b43-installer version 1:015-14.1

That's the one that you want.

> firmware-brcm80211 version 0.36+wheezy.1

I don't think you want / need this one. Again, just follow the
directions here:

http://linuxwireless.org/en/users/Drivers/b43/
https://wireless.wiki.kernel.org/en/users/drivers/b43

> There were other packages I could have downloaded and tried, but didn't, so 
> far.
> 
> Those packages provided me with (among other files):
> 
> /lib/firmware/brcm/bcm43xx-0.fw
> /lib/firmware/brcm/bcm43xx_hdr-0.fw
> b43-fwcutter

...

> The main questions: So, where do I go from here?  Is ucode5.fw an obsolete 
> file 
> name?  Or maybe that is the name for the Broadcom proprietary stuff but what 
> I've found are open source replacements?  Is ucode5.fw in one of the other 
> Debian packages for Broadcom?  Has anyone ever got WiFi working with Wheezy 
> and this Broadcom device?

So what's the problem? Does the card work? Is the driver module
inserted into the kernel? What does dmesg say when you insert it?
[Try "modprobe -r b43" followed by "modprobe b43" and see what dmesg
says.]

...

>* Somewhere I found a blurb that identified it as a "Broadcom Wireless 
> 1390 
> WLAN Mini card"

Marketing name, not particularly important for us.

>* Using =lspci -vnn -d 14e4:=, I get the following information:
> 
> PCI-ID Supported?   Chip ID   Modes PHY version Alternative 
> 14e4:4311 yes BCM4311 b/g G   wl

That's what we need - see here:

http://linuxwireless.org/en/users/Drivers/b43/#Supported_devices
 
> IIUC, that means I can use the non-legacy driver (and Wheezy package)

Correct.

>* The tag on the bottom of the computer identifies the WiFi device as 
> BRCM94311MCG, FCC ID: QDS-BRCM1020

Not important.

[I used to use Broadcom wireless, not necessarily this exact card, but
something similar. I haven't had a machine with one for years, but the
instructions are good, and they work when followed.]

Celejar



Re: kvm/qemu virtual machine can't find hard drives

2017-08-18 Thread Dejan Jocic
On 18-08-17, Gary Roach wrote:
> I really appreciate all of you quick responses.
> 
> For some unknown reason, when I searched the  Debian database virt came up
> empty. This time it didn't. So, at this point, its go RTFM.
> 
> The manual will probably clear it up but When trying to run virt-manager, I
> did get the following error:
> 
> unable to complete install: 'unsupported configuration: CPU mode 'custom'
> for x86_64 kvm domain on x86_64 host is not supported by hypervisor'
> 
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in
> cb_wrapper
> callback(asyncjob, *args, **kwargs)
>   File "/usr/share/virt-manager/virtManager/create.py", line 2288, in
> _do_async_install
> guest.start_install(meter=meter)
>   File "/usr/share/virt-manager/virtinst/guest.py", line 461, in
> start_install
> doboot, transient)
>   File "/usr/share/virt-manager/virtinst/guest.py", line 396, in
> _create_guest
> self.domain = self.conn.createXML(install_xml or final_xml, 0)
>   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3523, in
> createXML
> if ret is None:raise libvirtError('virDomainCreateXML() failed',
> conn=self)
> libvirtError: unsupported configuration: CPU mode 'custom' for x86_64 kvm
> domain on x86_64 host is not supported by hypervisor
> 
> I'll give things another try and may be back later. If not, thanks again.
> 
> Gary R
> 

Do this:

grep -E -c '(vmx|svm)' /proc/cpuinfo

if you get 0, your CPU does not support virtualisation with KVM. If you
get more than zero, make sure that virtualisation is enabled in your
BIOS settings.





Re: kvm/qemu virtual machine can't find hard drives

2017-08-18 Thread Gary Roach

I really appreciate all of you quick responses.

For some unknown reason, when I searched the  Debian database virt came 
up empty. This time it didn't. So, at this point, its go RTFM.


The manual will probably clear it up but When trying to run 
virt-manager, I did get the following error:


unable to complete install: 'unsupported configuration: CPU mode 
'custom' for x86_64 kvm domain on x86_64 host is not supported by 
hypervisor'


Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 88, in 
cb_wrapper

callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 2288, in 
_do_async_install

guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 461, in 
start_install

doboot, transient)
  File "/usr/share/virt-manager/virtinst/guest.py", line 396, in 
_create_guest

self.domain = self.conn.createXML(install_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3523, in 
createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', 
conn=self)
libvirtError: unsupported configuration: CPU mode 'custom' for x86_64 
kvm domain on x86_64 host is not supported by hypervisor


I'll give things another try and may be back later. If not, thanks again.

Gary R



Re: Fwd: Fwd: hello, do chromium have newer version update for jessie??

2017-08-18 Thread Salvatore Bonaccorso
Hi

On Fri, Aug 18, 2017 at 10:47:55PM +0800, 王则兵 wrote:
> no respond till now.

See https://lists.debian.org/debian-security/2017/07/msg9.html and
following replies in
https://lists.debian.org/debian-lts/2017/08/msg00059.html .

Regards,
Salvatore



Re: [Debian-br-gud-rs] Home Banking e Debian

2017-08-18 Thread Sinval Júnior
Ideal é reclamar visto que esses módulos de seguraças não são eficientes e
fáceis de burlar além de comprometeram a privacidade do usuário. Os
navegadores estam corretos em termos de segurança. Povavelmente apenas irã
funcionar em versãoes antigas.

Ao encaminhar esta mensagem, por favor:
1 - Apague meu endereço eletrônico;
2 - Encaminhe como Cópia Oculta (Cco ou BCc) aos seus destinatários.
Dificulte assim a disseminação de vírus, spams e banners.

#=+
#!/usr/bin/env python
nome = 'Sinval Júnior'
email = 'sinvalju arroba gmail ponto com'
print nome
print email
#==+

Em 18 de agosto de 2017 11:52, Linux - Junior Polegato <
li...@juniorpolegato.com.br> escreveu:

> Em 16-08-2017 23:11, Sérgio Abrantes Junior escreveu:
>
>> Olá,
>> O site da Caixa funciona com warsaw. Instalando ele, você consegue também
>> acessar o site do BB.
>> Se você instalar o warsaw do BB, não consegue acessar o site da Caixa.
>> No site do BB só aceita java da Oracle. E quanto ao navegador, Mozilla
>> padrão do Debian 9 mesmo.
>>
>
> Olá!
>
> Também apanhei um pouco com a nova versão do Firefox 32bits, então
> instalei o Chromium pra testar e funcionou no meu Debian
> Testing/10/buster/sid, versões em [1], mas como você disse, a Caixa não
> roda com o pacote do BB, mas o BB roda com o pacote da Caixa, que roda
> também no Santander e no Itaú, assim "vem pra Caixa você também!".
>
> Uso o Chromium basicamente para acessar esses sites até que o
> Firefox consiga acessar, mas não tive e não tenho muito tempo de encontrar
> os "por quês" e relatar bug, se alguém puder relatar seria bom para a
> próxima versão do Firefox.
>
> Para testar/instalar o módulo da Caixa [2] ou BB [2], ficam as
> referências.
>
>
> [1]
>
> | St | Nome | Versão | Arquitectura | Descrição |
> | ii | firefox | 54.0-2 | i386 | Mozilla Firefox web browser |
> | ii | firefox-l10n-pt-br | 54.0-2 | all | Portuguese (Brazil) language
> package for Firefox |
> | ii | chromium | 60.0.3112.78-1 | i386 | web browser |
> | ii | chromium-common | 60.0.3112.78-1 | i386 | web browser - common
> resources used by the chromium packages |
> | ii | chromium-l10n | 60.0.3112.78-1 | all | web browser - language packs
> |
>
> [2] https://imagem.caixa.gov.br/asc/diagnostico.htm
> [3] https://seg.bb.com.br
>
>
> --
>
> []'s
>
> Junior Polegato
>
>


Re: renommer l'interface réseau

2017-08-18 Thread Pascal Hambourg

Le 18/08/2017 à 10:56, Christophe De Natale a écrit :


eth0 correspond à l'interface dont la valeur de l'adresse mac est la 
plus faible et ainsi de suite.
C'est du moins ce que j'ai constaté sur un serveur installé sous Eole 
(base Ubuntu) dans lequel il y avait plusieurs cartes réseau.


Pure coïncidence.
Soit elles sont numérotées dans l'ordre naturel de découverte, soit il y 
a un schéma de nommage persistant.
Mais une numérotation selon l'ordre croissant des adresses MAC, c'est 
tout sauf persistant : si on ajoute, retire ou change une carte réseau, 
toutes les autres risqueraient d'être renommées !




Re: debian9.1 ifdown bug

2017-08-18 Thread Pascal Hambourg

Le 18/08/2017 à 14:33, Henrique de Moraes Holschuh a écrit :

On Fri, 18 Aug 2017, Toad Zhou wrote:

#ifconfig eth3
eth3: flags=4099  mtu 1500
 inet 172.16.1.20

#cat /etc/network/interfaces
auto eth3
iface eth3 inet static
address 172.16.1.16
netmask 255.255.255.0

#ifdown -v eth3  #他删除的是新interfaces配置中的网络,而不是老的网络。
/bin/ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255
dev eth3 label eth3

(...)

Newly installed system, I tried to modify the network. But networking
restart has been in a failed state, but I can use it after reboot.

(...)

I see.  This is actually somewhat hard to fix, because ifdown would need
to differentiate primary and secondary addresses due to the way it was
(naively) designed.


I did not see any hint of primary and secondary addresses in the 
original post.


IIUC, the OP just modified the interface definition in 
/etc/network/interface while the interface was up. DO NOT DO THAT, it 
does not work. AFAIK ifupdown does not keep track of how it configured 
an interface, so it needs the original definition to remain unmodified 
in /etc/network/interfaces in order to correctly deconfigure it.


Things become rather funny when you change and interface method from 
dhcp to static while the interface is running : ifdown does not stop the 
DHCP client daemon, so it will change the supposedly static address 
again after the renew time.


The right way to do things :
1) ifdown 
2) Modify  definition in /etc/network/interfaces
3) ifup 

Also do not use networking (re)start, it is broken as it uselessly 
deactivate all interfaces and does not (re)start interfaces which have 
allow-hotplug instead of auto/allow-auto.




Re: Help setting up Broadcom WiFi on a Dell Inspiron 1501 laptop

2017-08-18 Thread julher
On Fri, Aug 18, 2017 at 12:56:28PM -0400, rhkra...@gmail.com wrote:
> 
>...
> 
> Other information:
> 
>* WiFi works fine in Vista
> 
> Identification:
> 
>* Using =lspci -vnn -d 14e4:=, I get the following information:
> 
> PCI-ID Supported?   Chip ID   Modes PHY version Alternative 
> 14e4:4311 yes BCM4311 b/g G   wl
> 
> 
> Thanks!
>

Maybe this package can help? it is for a BCM4311 chipset 
(debian testing)

$ apt-cache show broadcom-sta-common
Package: broadcom-sta-common
Source: broadcom-sta
Version: 6.30.223.271-7
Installed-Size: 33

Description-en: Common files for the Broadcom STA Wireless driver
 Broadcom STA is a binary-only device driver to support the following IEEE
 802.11a/b/g/n wireless network cards: BCM4311-, BCM4312-, BCM4313-,
   ^^^
 
Greetings



Re: Crashes with noveau driver and non-Debian software: How can I report the problems?

2017-08-18 Thread Sven Joachim
On 2017-08-18 14:19 +0200, Erik Brangs wrote:

> On 16.08.2017 13:08, Sven Joachim wrote:
>> No, purging xserver-xorg-video-nouveau won't have the desired effect,
>> because the modesetting driver will also load nouveau_dri.so.
>
> That's good to know. I don't want to purge xserver-xorg-video-nouveau
> because Synaptic tells me that this would require removing
> task-desktop, task-xfce-desktop and xserver-xorg-video-all. The names
> of those packages sound like they should be kept.

> Should I report a bug against xserver-xorg-video-nouveau to report the
> crashes? Or is that not appropriate because the affected binary isn't
> shipped by Debian?

If you want to file a bug, it should be against libgl1-mesa-dri since
that is where the crash presumably occurs.  But don't expect it to be
fixed, especially not in stable.

Cheers,
   Sven



No puedo poner tildes en QEMU

2017-08-18 Thread Alan
Saludos a todos. Uso el software QEMU para virtualizar distintos
sistemas operativos, utilizando la interfaz gráfica AQEMU. Todo funciona
perfecto, con el inconveniente que no puedo poner ciertos símbolos, como
por ejemplo las tildes, donde al intentar ponerlas aparece una ventana
emergente con la leyenda "Warning: no scancode found for keysym 314".
Busqué en internet la solución pero no obtuve buenos resultados. ¿Por
casualidad alguien de la lista sabe como arreglar el error?
Muchas gracias.


Neanche io

2017-08-18 Thread squalotigre_1967

--
Inviato da Libero Mail per Android

Re: debian9.1 ifdown bug

2017-08-18 Thread rhkramer
From the peanut gallery (not the OP), hurray for Henrique who:

(1) read (or skimmed) all the way to the bottom to notice that there was an 
English translation, and 

(2) provided a response / answer

On Friday, August 18, 2017 08:33:37 AM Henrique de Moraes Holschuh wrote:
> > Newly installed system, I tried to modify the network. But networking
> > restart has been in a failed state, but I can use it after reboot.
> > Troubleshoot the reasons for finding ifdown -v ethx found ip addr del ip
> > / mask deleted is not the old address, but the new address. So in the
> > closed restart he just added / etc / network / interfaces in the new ip
> > address. Ip addr found that they both coexist the state.
> 
> I see.  This is actually somewhat hard to fix, because ifdown would need
> to differentiate primary and secondary addresses due to the way it was
> (naively) designed.
> 
> If we change the ip addr del to ip addr flush, it will remove every
> address from the device, including ones with other labels, etc.  This
> breaks the way ifdown is supposed to work.
> 
> And the first ifdown has no state it can use to know otherwise.
> 
> The best I can see being done would be to:
> 
> 1. not fail if ip addr del fails,
> 2. flush the device if the state file exists and tells us all related
> interfaces (primary or secondary) are down *and* none of them is of type
> "manual".
> 
> But I am not sure this is worth the possible breakages :-(  and one has
> to test it on diskless boxes using NFS too, and wake-on-lan.  They
> create annoying border conditions for network shutdown.



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Mario Castelán Castro
On 2017-08-18 09:31 -0500 Mario Castelán Castro 
wrote:
>I recommend QEMU. I must note that it features hardware acceleration (KVM
>used to be a fork of QEMU to implement this feature but it was merged
>back). Moreover, you can use SPICE  to
>display the guest windows as individual windows in the host.
>
>Regards.

I forgot something: As for sharing directories between guest and host,
this can be accomplished using the same means that one would use to share
a directory or files between machines in he same local network. I use
sftp.

I think that QEMU has a feature to make available content from the guest
to the host as a SMB directory, but I have never used it.


pgpj6JyN_pWAU.pgp
Description: OpenPGP digital signature


Re: Cette fois ci je me sens pleine d’énergie Gaelle

2017-08-18 Thread Camara Abou
salut moi aussi si iu étais la aussi sa te bien pour moi e toi ? 

Le Vendredi 18 août 2017 10h09, Gaelle Gotenborg 
 a écrit :
 

 
Si tu étais là, je ne sais pas ce que je pourrai te faire… 
http://bit.ly/2uW1AHp


   
 
|  | Garanti sans virus. www.avast.com  |



Help setting up Broadcom WiFi on a Dell Inspiron 1501 laptop

2017-08-18 Thread rhkramer
I've decided to ask for help, even though I haven't exhausted all the things I 
might try on my own--I'm getting too old for this s%#@

This is, in addition to being a request for help, sort of a brain dump, which 
might even help me realize where I am and find a way forward.

Overview: I got a Dell Inspiron 1501 at an estate sale for a very good price, 
and would like give it to a friend, but would like to have Linux working on it 
so she can at least consider using Linux.  As far as her needs are concerned, 
if it doesn't work on WiFi it is no good to her.

(Aside--Ignore this unless you're very bored: It came with Vista installed, 
but no password or recovery disk. That was a whole other oddyssey, but I 
finally managed to get the password by writing to the author of Ophcrack with 
the NT hash of the password.  I had downloaded several different Vista install 
/ recovery ISOs and none of them would boot, the closest I got was a message 
that said "Bootmgr is missing" even though I could plainly see a bootmgr on 
the DVD.  (I also learned (I think) that although a Linux install can boot 
from a USB pendrive, apparently (iiuc), a Windows install / recovery disk 
cannot (but I can't be entirely sure of that because I never got a Windows 
recovery / install DVD to boot, either.))

Linuxes I have tried:  I've tried to install Linuxmint 17.3 and 18.1, and 
Debian Wheezy and Jessie--all seem to have about the same problem (discussed 
further below).  The laptop currently has only 1 GB of memory and a fairly 
slow (1.7 or so GHz) dual core processor, so I'm not sure how well it will 
work with anything newer.  (The memory is expandable to either 2 or 4 GB 
(forget which, atm), and I will probably upgrade it when I have a Linux 
working with WiFi.)

Other "plans": I have ordered a USB WiFi dongle (from eBay / Taiwan, ordered 
when I thought the WiFi "card" was not included with the laptop).  When I get 
it, I could consider disabling the internal Broadcom device (is it easily 
physically removable?) and utilizing the dongle.  Of course, the delivery of 
that could be a month or more away.

What I think I've learned about the Inspiron, Broadcom, and Linux:

   * Somebody on this list fairly recently mentioned the problems with 
Broadcom WiFi devices and i inferred from what they said that LinuxMInt 17.3 
might be the easiest Linux distro to get it working, which is why I tried it.

   * All of the Linuxes somehow indicated that I had to load some other files 
to get the Broadcom working.  I eventually realized they were talking about 
firmware that has to be installed on the card.  

I think all of them (or at least Wheezy, iirc, identified those files as 
b43/ucode5.fw and b43-open/ucode5.fw.  (Are those two different files, and, do 
I 
need both or either??).  So far, I have not located those files anywhere, 
either using google or searching the (Wheezy) packages (including contrib and 
non-free).

I downloaded some packages  from the Wheezy repository (after adding contrib 
and non-free): 

The downloaded packages:
firmware-b43-installer version 1:015-14.1
firmware-brcm80211 version 0.36+wheezy.1

There were other packages I could have downloaded and tried, but didn't, so 
far.

Those packages provided me with (among other files):

/lib/firmware/brcm/bcm43xx-0.fw
/lib/firmware/brcm/bcm43xx_hdr-0.fw
b43-fwcutter

Using the -l option of b43-fwcutter, I see the following (exactly the same for 
either of the 2 fw files):


root@s19:~# b43-fwcutter -l /lib/firmware/brcm/bcm43xx_hdr-0.fw
b43-fwcutter version 015

Extracting firmware is possible from these binary driver files.
Please read http://linuxwireless.org/en/users/Drivers/b43#devicefirmware

   

b43legacy   wl_apsta.o  295.14  
e08665c5c5b66beb9c3b2dd54aa80cb3
b43 wl_apsta.o  351.126 
9207bc565c2fc9fa1591f6c7911d3fc0
b43 wl_apsta_mimo.o 351.126 
722e2e0d8cc04b8f118bb5afe6829ff9
b43 wl_apsta_mimo.o 410.2160
cb8d70972b885b1f8883b943c0261a3c
b43 wl_apsta.o  478.104 
bb8537e3204a1ea5903fe3e66b5e2763
b43 wl_prebuilt.o   508.1084
490d4e149ecc45eb1a91f06aa75be071
b43 wl_apsta.o  508.1107
f06c8aa30ea549ce21872d10ee9a7d48
b43 wl_apsta.o  508.10872   
e413c0017b99195f3231201c53f314d1
b43 wl_apsta.o  508.154 
023fafbe4918e384dd531a046dbc03e8
b43 wl_apsta.o  644.1001
68f38d139b1f69f3ea12393fb645c6f9
b43 wl_apsta.o  666.2   
e1b05e268bcdbfef3560c28fc161f30e


The main questions: So, where do I go from here?  Is ucode5.fw an obsolete file 
name?  Or maybe that is the name for the Broadcom proprietary stuff but what 
I've found are open source replacements?  Is ucode5.fw in one of the other 
Debian packages for Broadcom?  Has 

Re: Aarzel niet om een gesprek te starten met me Kristin

2017-08-18 Thread carl . totte1
Pay me bitch
- Oorspronkelijk bericht -
Van: Kristin Mouduni 
Aan: debian-user@lists.debian.org
Verzonden: Fri, 18 Aug 2017 17:16:28 +0200 (CEST)
Onderwerp: Aarzel niet om een gesprek te starten met me Kristin


Ik bijt niet. Tenzij, als je vraag, dan wel... 
http://bit.ly/2wo7MLU



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Mario Castelán Castro
On 2017-08-18 16:25 +0200 Dejan Jocic  wrote:
>On 18-08-17, RavenLX wrote:
>> On 08/18/2017 09:14 AM, Sven Hartge wrote:  
>> I wonder if there's a replacement for VirtualBox? I need something that
>> will allow me to share a directory between host and virtual machine,
>> and to be able to go between both quickly (I don't have a dual-screen
>> system - no room where I live for that). If I could find something that
>> would work I'd switch, I think. As for my friend, he would need far
>> more features I guess (I don't know what though).
>
>qemu-kvm does not serve your needs? You can use it with GUI friendly
>virt-manager, or from command line. And switching between host and guest
>is switching between windows. As for shared directory, NFS?

I recommend QEMU. I must note that it features hardware acceleration (KVM
used to be a fork of QEMU to implement this feature but it was merged
back). Moreover, you can use SPICE  to
display the guest windows as individual windows in the host.

Regards.


pgpeAcYoJBwVt.pgp
Description: OpenPGP digital signature


Re: J’espérais qu’on pouvait avoir une rencontre de plus près Aurelie

2017-08-18 Thread ludovic . celse

Le 2017-07-07 11:46, Aurelie Hekien a écrit :

Vas-tu me révéler ce que tu aimes?
http://bitly.com/2sTKtnM

bonjour aurelie oui je vais tout faire 06 52 56 22 17



Fwd: Fwd: hello, do chromium have newer version update for jessie??

2017-08-18 Thread 王则兵

no respond till now.



 Forwarded Message 
Subject:Fwd: hello, do chromium have newer version update??
Date:   Sun, 6 Aug 2017 08:41:19 +0800
From:   王则兵 
To: mgilb...@debian.org



thanks a lot,

[4]https://www.debian.org/security/2017/dsa-3926



 Forwarded Message 
Subject:hello, do chromium have newer version update??
Date:   Thu, 27 Jul 2017 18:58:59 +0800
From:   王则兵 
To: iucul...@debian.org



sorry, not a native english speaker.

i use debian8.9, and chromium Version 57.0.2987.98 Built on 8.7, running
on Debian 8.9 (64-bit)


does it have newer version security/update during the old-stable and lts
term??

thank you...



[0]https://www.debian.org/News/2017/2017072202

[1]
https://packages.debian.org/search?searchon=sourcenames=chromium-browser

[2]https://wiki.debian.org/LTS

[3]
https://www.debian.org/releases/stable/amd64/release-notes/ch-information.en.html#browser-security



Debian

2017-08-18 Thread diego leon giraldo garcia
no, no tuve problema solo fue al instalar con el cd 1 lo quemare de nuevo,
o cambiare l a unidad de cd que es muy vieja, estuve leyendo la
documentación de Debian. o instalo desde DVD.

o en ultimo caso instalo desde replica en red

gracias.


Re: Crashes with noveau driver and non-Debian software: How can I report the problems?

2017-08-18 Thread Greg Wooledge
On Fri, Aug 18, 2017 at 03:23:21PM +0200, Erik Brangs wrote:
> is removal also safe in case of system upgrades? For example, could the 
> upgrade process neglect to pull in new packages because the meta-package is 
> missing?

The only meta-package that works like that is the kernel image one.
E.g. linux-image-amd64 for the amd64 arch.

Package: linux-image-amd64
...
Installed-Size: 16
Depends: linux-image-4.9.0-3-amd64
Description: Linux for 64-bit PCs (meta-package)
 This package depends on the latest Linux kernel and modules for use on PCs
 with AMD64, Intel 64 or VIA Nano processors.

It's a good idea to keep this one installed, just in case there is ever
a kernel ABI bump.  Then you'll get the newer kernel ABI package by
dist-upgrading.  That's more of a thing for testing/unstable users than
for stable users, though.  ABI bumps in stable should be exceedingly rare.



Re: [Debian-br-gud-rs] Home Banking e Debian

2017-08-18 Thread Linux - Junior Polegato

Em 16-08-2017 23:11, Sérgio Abrantes Junior escreveu:

Olá,
O site da Caixa funciona com warsaw. Instalando ele, você consegue 
também acessar o site do BB.

Se você instalar o warsaw do BB, não consegue acessar o site da Caixa.
No site do BB só aceita java da Oracle. E quanto ao navegador, Mozilla 
padrão do Debian 9 mesmo.


Olá!

Também apanhei um pouco com a nova versão do Firefox 32bits, 
então instalei o Chromium pra testar e funcionou no meu Debian 
Testing/10/buster/sid, versões em [1], mas como você disse, a Caixa não 
roda com o pacote do BB, mas o BB roda com o pacote da Caixa, que roda 
também no Santander e no Itaú, assim "vem pra Caixa você também!".


Uso o Chromium basicamente para acessar esses sites até que o 
Firefox consiga acessar, mas não tive e não tenho muito tempo de 
encontrar os "por quês" e relatar bug, se alguém puder relatar seria bom 
para a próxima versão do Firefox.


Para testar/instalar o módulo da Caixa [2] ou BB [2], ficam as 
referências.



[1]

| St | Nome | Versão | Arquitectura | Descrição |
| ii | firefox | 54.0-2 | i386 | Mozilla Firefox web browser |
| ii | firefox-l10n-pt-br | 54.0-2 | all | Portuguese (Brazil) language 
package for Firefox |

| ii | chromium | 60.0.3112.78-1 | i386 | web browser |
| ii | chromium-common | 60.0.3112.78-1 | i386 | web browser - common 
resources used by the chromium packages |

| ii | chromium-l10n | 60.0.3112.78-1 | all | web browser - language packs |

[2] https://imagem.caixa.gov.br/asc/diagnostico.htm
[3] https://seg.bb.com.br


--

[]'s

Junior Polegato



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Patrick Bartek
On Fri, 18 Aug 2017 10:02:03 -0400 RavenLX 
wrote:

> On 08/18/2017 09:14 AM, Sven Hartge wrote:
> > RavenLX  wrote:
> > 
> >> I always used the Oracle repo anyway because it was updated more
> >> frequently. But I do wish that something could be worked out so
> >> that it would be back in Debian.
> > 
> > Highly unlikely, as Oracle behaves like this for all software
> > released and distributed by them.
> > 
> > Grüße,
> > Sven.
> > 
> 
> I wonder if there's a replacement for VirtualBox? I need something
> that will allow me to share a directory between host and virtual
> machine, and to be able to go between both quickly (I don't have a
> dual-screen system 
> - no room where I live for that). If I could find something that
> would work I'd switch, I think. As for my friend, he would need far
> more features I guess (I don't know what though).

Virtualbox has shared folders (directory) as well as shared Clipboard.
You just need to install Guest Additions in the Guest OS to enable it.
I use both all the time.

VB has a lot of other features.  Just read the manual.

B



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Dejan Jocic
On 18-08-17, RavenLX wrote:
> On 08/18/2017 09:14 AM, Sven Hartge wrote:
> > RavenLX  wrote:
> > 
> > > I always used the Oracle repo anyway because it was updated more
> > > frequently. But I do wish that something could be worked out so that
> > > it would be back in Debian.
> > 
> > Highly unlikely, as Oracle behaves like this for all software released
> > and distributed by them.
> > 
> > Grüße,
> > Sven.
> > 
> 
> I wonder if there's a replacement for VirtualBox? I need something that will
> allow me to share a directory between host and virtual machine, and to be
> able to go between both quickly (I don't have a dual-screen system - no room
> where I live for that). If I could find something that would work I'd
> switch, I think. As for my friend, he would need far more features I guess
> (I don't know what though).
> 

qemu-kvm does not serve your needs? You can use it with GUI friendly
virt-manager, or from command line. And switching between host and guest
is switching between windows. As for shared directory, NFS?




Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread RavenLX

On 08/18/2017 09:14 AM, Sven Hartge wrote:

RavenLX  wrote:


I always used the Oracle repo anyway because it was updated more
frequently. But I do wish that something could be worked out so that
it would be back in Debian.


Highly unlikely, as Oracle behaves like this for all software released
and distributed by them.

Grüße,
Sven.



I wonder if there's a replacement for VirtualBox? I need something that 
will allow me to share a directory between host and virtual machine, and 
to be able to go between both quickly (I don't have a dual-screen system 
- no room where I live for that). If I could find something that would 
work I'd switch, I think. As for my friend, he would need far more 
features I guess (I don't know what though).




Re: Crashes with noveau driver and non-Debian software: How can I report the problems?

2017-08-18 Thread Erik Brangs
Hi,

On 18.08.2017 14:22, Greg Wooledge wrote:
> Any package beginning with task- is a meta-package which can be safely
> removed.  The sole purpose of a meta-package is to bring in other
> packages as dependencies.  It has no content of its own.

is removal also safe in case of system upgrades? For example, could the upgrade 
process neglect to pull in new packages because the meta-package is missing?


Kind regards,

Erik Brangs




Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread Sven Hartge
RavenLX  wrote:

> I always used the Oracle repo anyway because it was updated more
> frequently. But I do wish that something could be worked out so that
> it would be back in Debian.

Highly unlikely, as Oracle behaves like this for all software released
and distributed by them.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: Virtualbox for stretch and buster not in repos

2017-08-18 Thread RavenLX

On 08/15/2017 12:37 AM, Mark Fletcher wrote:

On Fri, Aug 11, 2017 at 01:18:22PM +0200, Sven Hartge wrote:

Robert Menes  wrote:


Is there a reason why virtualbox hasn't migrated into stretch or
buster yet?


Short Answer: Because of Oracle.

Longer Answer: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794466

Summary: Virtualbox will at the current state of affairs never be in
Testing or any stable release or stable-backports ever again.



I feel this answer is slightly disingenuous.

Yes it is true the official Debian repo won't contain Virtualbox again
until Oracle make changes they will most likely never make.

But, you can get VirtualBox to work just fine on post-Jessie Debian by
adding the following to your sources.list or sources.list.d:

deb http://download.virtualbox.org/virtualbox/debian stretch contrib

(Obviously you wouldn't use stretch, I am on stretch so that is what I
use)

then apt update and bob will be your uncle, and fanny will be your aunt.

Mark


I'm using the exact line you quoted (using 'stretch' in the virtualbox 
line) and it's not complaining at all. Works fine on this end. Also, I 
put it in a separate file in the sources.list.d but I don't know if that 
matters?


I use virtualbox for development and testing, so for me it's a 
must-have. A friend of mine recently moved from hardware servers to 
Debian Stretch + VirtualBox (I told him how to use the virtualbox.org 
repo as I too discovered it wasn't in the Debian repo).


I always used the Oracle repo anyway because it was updated more 
frequently. But I do wish that something could be worked out so that it 
would be back in Debian.




Re: debian9.1 ifdown bug

2017-08-18 Thread Henrique de Moraes Holschuh
On Fri, 18 Aug 2017, Toad Zhou wrote:
> #ifconfig eth3
> eth3: flags=4099  mtu 1500
> inet 172.16.1.20
> 
> #cat /etc/network/interfaces
> auto eth3
> iface eth3 inet static
> address 172.16.1.16
> netmask 255.255.255.0
> 
> #ifdown -v eth3  #他删除的是新interfaces配置中的网络,而不是老的网络。
> /bin/ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255
> dev eth3 label eth3
> 
> 我的临时修复方案是:
> # cat fix-network.sh
> #!/bin/bash
> /etc/init.d/networking stop
> $(ip addr|grep inet|grep -v 127.0.0.1|awk '{printf "ip addr del %s dev
> %s\n", $2,$NF}')
> /etc/init.d/networking start
> #ifup eth0
> 
> 
> =
> google translation
> =
> 
> 
> Newly installed system, I tried to modify the network. But networking
> restart has been in a failed state, but I can use it after reboot.
> Troubleshoot the reasons for finding ifdown -v ethx found ip addr del ip /
> mask deleted is not the old address, but the new address. So in the closed
> restart he just added / etc / network / interfaces in the new ip address.
> Ip addr found that they both coexist the state.

I see.  This is actually somewhat hard to fix, because ifdown would need
to differentiate primary and secondary addresses due to the way it was
(naively) designed.

If we change the ip addr del to ip addr flush, it will remove every
address from the device, including ones with other labels, etc.  This
breaks the way ifdown is supposed to work.

And the first ifdown has no state it can use to know otherwise.

The best I can see being done would be to:

1. not fail if ip addr del fails,
2. flush the device if the state file exists and tells us all related
interfaces (primary or secondary) are down *and* none of them is of type
"manual".

But I am not sure this is worth the possible breakages :-(  and one has
to test it on diskless boxes using NFS too, and wake-on-lan.  They
create annoying border conditions for network shutdown.

-- 
  Henrique Holschuh



Re: Crashes with noveau driver and non-Debian software: How can I report the problems?

2017-08-18 Thread Greg Wooledge
On Fri, Aug 18, 2017 at 02:19:50PM +0200, Erik Brangs wrote:
> That's good to know. I don't want to purge xserver-xorg-video-nouveau because 
> Synaptic tells me that this would require removing task-desktop, 
> task-xfce-desktop and xserver-xorg-video-all. The names of those packages 
> sound like they should be kept.

Any package beginning with task- is a meta-package which can be safely
removed.  The sole purpose of a meta-package is to bring in other
packages as dependencies.  It has no content of its own.

There are some other meta-packages that don't begin with task-.  They
usually self-identify in their descriptions, if you can't figure it
out just from the overly generic name and the small installed size.



Re: Crashes with noveau driver and non-Debian software: How can I report the problems?

2017-08-18 Thread Erik Brangs
Hi,

On 16.08.2017 13:08, Sven Joachim wrote:
> No, purging xserver-xorg-video-nouveau won't have the desired effect,
> because the modesetting driver will also load nouveau_dri.so.

That's good to know. I don't want to purge xserver-xorg-video-nouveau because 
Synaptic tells me that this would require removing task-desktop, 
task-xfce-desktop and xserver-xorg-video-all. The names of those packages sound 
like they should be kept.

Should I report a bug against xserver-xorg-video-nouveau to report the crashes? 
Or is that not appropriate because the affected binary isn't shipped by Debian?


Kind regards,

Erik Brangs



Re: Monitor won't come back from power-saving sleep

2017-08-18 Thread Kynn Jones
On Thu, Aug 17, 2017 at 1:14 PM, Kynn Jones  wrote:

> I just installed Debian on a (legacy) Optiplex 9010 desktop, and I'm
> working through some kinks.
>
> The most serious one, by far, is that the monitor won't wake up after it
> goes goes dark to save power.
>
> Curiously enough, the problem occurs only when X11 is running; otherwise,
> hitting the shift key on the keyboard brings the monitor right back.
>
> I have tweaked the BIOS settings to enable waking the computer from sleep
> through USB-connected devices, and also wake-on-lan and wake-on-wlan.
>
> How can I troubleshoot this problem further?
>

I don't yet understand what was wrong before, but I found that installing
xscreensaver, and putting the going to sleep under its control solves (or
maybe just circumvents) the problem.

Thanks for the help!


Re: xsane scanner

2017-08-18 Thread JP
On Wednesday, 16 August 2017 15:48:39 BST Brian wrote:
> On Wed 16 Aug 2017 at 07:44:34 +, Stephen Brown wrote:

> > Hi All,
> > How do I edit the pixma.conf file.
> > I do not know how to log into a root account.
> > In a terminal su works, but I am unable to get a working text editor.
> 
> nano pixma.conf

Apologies and thanks



Re: renommer l'interface réseau

2017-08-18 Thread andre_debian
On Friday 18 August 2017 10:56:24 Christophe De Natale wrote:
> eth0 correspond à l'interface dont la valeur de l'adresse mac est la 
> plus faible et ainsi de suite.
> C'est du moins ce que j'ai constaté sur un serveur installé sous Eole 
> (base Ubuntu) dans lequel il y avait plusieurs cartes réseau.

Le nommage des interfaces réseau se trouvent dans ce fichier :
/etc/udev/rules.d/70-persistent-net.rules

On peut très bien avoir eth12, wlan50,
mais la logique veut que ce soit plutôt eth0 et wlan0,
si on a qu'une seule interface réseau eth et wlan.

André



Re: Début de la fin pour Btrfs?

2017-08-18 Thread Daniel Caillibaud
Le 17/08/17 à 09:23, "Pierre L."  a écrit :
PL> > gparted fonctionne trés bien avec. Ne pas oubliez de mettre 
brfs-prog/btrfs-tools 
PL> > et ça roule !!  

PL> Ok à savoir !
PL> Dommage que Debian n'intègre pas ces paquets nativement alors ?

Ils y sont :

apt-cache policy btrfs-tools
 Table de version :
 4.9.1-1~bpo9+1 100
100 http://http.debian.net/debian stretch-backports/main amd64 Packages
 4.7.3-1 500
500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages

J'utilise btrfs sur un serveur de backup, pour avoir plein de snapshots avec 
peu d'espace
disque.

Avant, j'utilisais ext4 et je faisais du `cp -al` pour gagner de la place 
(principe des hard
link qu'utilise rsnapshot depuis des lustres), mais la machine était à genoux 
plusieurs heures
pendant la rotation des snapshots.

Maintenant, je fais avec btrfs
- rsync de tous mes serveurs vers last/
- si on est vendredi, effacement de snapshot_friday, mv last snapshot_friday, 
btrfs snapshot de
snapshot_friday en last
- si on est dimanche, idem avec en plus un snapshot de snapshot_sunday => 
snapshot_week_XX

Attention, l'ordre de filiation des snapshots est TRÈS important. Il ne faut 
pas trop écrire sur
un volume source d'autres snapshots, sinon btrfs s'affole.

Pendant un moment, je faisais pas le mv `last snapshot_friday` et faisais un 
snapshot de last
en snapshot_friday, mais je me retrouvais alors avec un système qui exlosait 
rapidement (le
rsync vers last faisait exploser btrfs qui n'arrivait pas à gérer le cow vers 
tous les
snapshots qui dépendait de last, il bouffait à lui seul les 32Go de RAM puis 
y'avait du
oomkill à gogo jusqu'à ce que tout soit planté).

Maintenant, ça plante plus, mais le serveur est tout aussi à genoux qu'avant 
avec ext4 et mes
`cp -al` ;-)

chaque snapshot contient bcp de fichiers (qq millions, pour une vingtaine de 
VMs), j'ai une
quinzaine de snapshots de l'ensemble pour le moment, et ça prend bcp moins de 
place qu'avec mes
cp -al d'avant (qui demandaient au moins un bloc par hard link), mais je dois 
quand même de
temps en temps virer des snapshots week_xx pour que ça tienne sur mes 8To 
dispos (j'arrive pas à
conserver les 52 snapshots d'une année complète).

Ceci dit, la prochaine fois je repasserai probablement en ext4, car j'aime pas 
du tout le coté
lazy de btrfs, qui déclenche des io de malade quand il veut et fait exploser le 
load quand on
s'y attend pas forcément (un subvolume delete va faire monter le load qq heures 
plus tard,
10min ou 4h on sait pas trop, mais quand btrfs va s'y mettre la machine 
répondra plus à grand
chose d'autre, ça plante pas mais faut 30~60s pour avoir le résultat d'une 
autocomplétion dans
un shell par ex, je vous parle pas d'une manip plus gourmande…)

-- 
Daniel

Bah oui , c'est la crise , c'est à dire qu'il va falloir que vous vous
passiez de trucs dont vos parents n'avaient pas besoin ! 
Coluche



Re: Compartir internet

2017-08-18 Thread Francisco José


Enviado desde mi iPhone



Re: Dit keer voel ik me vol energie Jana

2017-08-18 Thread RUDY BRAECKMAN

> Op 18 aug. 2017, om 10:15 heeft Jana Phounsavath  het 
> volgende geschreven:
> 
> 
> Als je heir was, ik weet niet wat ik zou doen tot je... http://bit.ly/2wlDVDU



Re: renommer l'interface réseau

2017-08-18 Thread Christophe De Natale

Le 16/08/2017 à 23:19, Pierre L. a écrit :

Merci à vous pour les infos!
Oui ca m'a déjà gonflé d'avoir ton linux qui te demande comment régler
ton eth0 et ton eth1 (certes mon petit, c'est laquelle qui est quoi ??),
c'est au petit bonheur-la-chance de tomber sur la bonne interface !


eth0 correspond à l'interface dont la valeur de l'adresse mac est la 
plus faible et ainsi de suite.
C'est du moins ce que j'ai constaté sur un serveur installé sous Eole 
(base Ubuntu) dans lequel il y avait plusieurs cartes réseau.



Idem avec les disques durs, si t'as eu le malheur de ne pas noter quel
dur est ton sda pendant l'install (si plusieurs disques), et que
monsieur grub te demande où se poser... :s Paff mauvais choix...!
Rien de bien grave en soit, on peut toujours rattraper le tir après
install, mais c'est encore une petite perte de temps et quelques cheveux
qui tombent :/



Le 15/08/2017 à 19:25, Pascal Hambourg a écrit :

Le nommage initial des disques et des interfaces réseau par le noyau
suit le même principe : les périphériques peuvent apparaître dans
n'importe quel ordre et sont nommés par le noyau dans l'ordre de leur
apparition.

Par contre la gestion de la situation par udev dans les deux cas est
totalement différente. Dans le cas des interfaces réseau, udev les
renomme avec des noms stables, alors que dans le cas des disques udev
leur crée des alias stables. C'est seulement la méthode de renommage
des interfaces réseau qui a changé entre Jessie et Stretch.







Problema con ultima actualización-testing

2017-08-18 Thread Miguel Angel
Buenos dias:
Tengo instalado debian tsting en un amd 64 bits, en la ultima actualizacion
en la que creo que han actualizado paquetes de inicio de sesion. Cuando he
reiniciado el equipo no me inicia la sesion después de loguarme .
Aparece mi usuario y puedo teclear la contraseña pero no carga la sesion
alguna idea para que no tenga que reinstalar todo denuevo.


Re: Début de la fin pour Btrfs?

2017-08-18 Thread Pierre L.
Quelques personnes dans mes alentours ont été très heureuses de
retrouver les photos de famille et autres qui se trouvaient dans un
disque externe qui avait bien buggé (causes inconnues à notre niveau...)
! Les utilitaires de premiers secours avaient bien fait le boulot, sans
être obligatoirement un spécialiste de la chose qui va te prendre 100€ /
fichier récupéré ;)
J'espère imaginer que d'autres solutions de sauvegarde ont été mises en
place dans ces maisons... et là ce n'est plus qu'un histoire de système
de fichiers, mais de stratégie de sauvegarde.
Surtout si btrfs est plutot apparemment destiné au système et moins au
stockage...
Cependant, ext4 pour le citer a l'air de faire un peu tout non ?
(système + stock)


Le 17/08/2017 à 19:46, Pascal Hambourg a écrit :
> De toute façon la récupération de données effacées, dans le genre
> aléatoire, ça se pose là. Il ne vaut mieux pas compter dessus quel que
> soit le système de fichiers, et ce n'est certainement pas le genre de
> critère sur lequel je me baserais pour choisir un système de fichiers.




signature.asc
Description: OpenPGP digital signature


Re: [solved] Re: Live recording

2017-08-18 Thread Rodolfo Medina
Jeremy Nicoll  writes:

> On Thu, 17 Aug 2017, at 08:57, Rodolfo Medina wrote:
>> Jeremy Nicoll  writes:
>
>> > You do realise that merging files, adjusting balance etc are all possible
>> > with sox?
>> >
>> > One reason I do that sort of thing with sox is that by keeping note of the
>> > commands I used to do each stage, I automatically document how I
>> > manipulated a set of audio files.  Documenting anything done via a GUI as
>> > in Audacity is a great deal more difficult.
>> >
>> > It's worth documenting what you do so that if necessary you can exactly 
>> > repeat the process at a later date.
>> 
>> 
>> Thanks...  In fact, what you suggest is exactly what I wanted to do but
>> didn't manage to...  In fact, suppose I have two files: piano.wav and
>> voice.wav, created by sox in recording piano and voice respectively,
>> simultaneously.  piano.wav is a stereo file, with the two channels, left and
>> right, inside it; whereas voice.wav is a monophonic file.  When I put them
>> together to create the final, say, result.wav, I must properly allign them.
>> Now, Audacity makes this job easy thanks to the graphical possibility of
>> seeing the waving forms and magnifying them.  Instead, with sox, I tried to
>> use the `delay' option with no success.  Maybe can you suggest a better and
>> proper way to do that...?
>
> I've never tried that.  The sox mail list is a good place to ask for sox
> help.
>
> One thing I'd suggest (since sox is potentially complicated) is that instead
> of trying to use sox with one command that does everything, you try to do it
> in stages.  That way you can check that what you get at the end of each stage
> is what you expect.  Sox has effects that will tell you about what is in a
> file.
>
> I think first I'd check simply that I could create a file containing all
> three channels, eg by:
>
>  sox -V2 --no-clobber -M piano.wav voice.wav threech.wav  
>
> The -V2 sets a fairly high level of verbosity; you might need -V3
>  
> The --no-clobber prevents sox from overwriting a file.  It's easy to get a
> command wrong and accidentally destroy an original file; personally I work on
> copies of files AND use --no-clobber.
>
> -M tells sox to merge the files.  You should end up with a 3 channel file,
> with the piano audio on channels 1 and 2 and voice on 3.
>
>
> If that works (and ironically, Audacity might be an easy way to make sure) I
> think I'd next try to make a file with the voice channel offset from the
> others, perhaps by (guessing again!):
>
>  sox -V2 --no-clobber threech.wav delay 0 0 2t voicedelayed.wav 
>
> For an experiment, it's worth making the delay substantial, for example the
> two second value (2t) here.  It'll be easy to tell if that worked.  Later you
> can try different values to get the audio aligned where you need it to be.
>
> (Also note that there's an effect named 'silence' that can be used to chop
> unwanted 'silent' or at least quieter than the wanted sound audio out of a
> track, so a different approach that might help would be to make sure that
> none of the tracks have much silence at the start, before you merge them.)
>
> Note that so far, none of the three channels have had their relative volumes
> changed.
>
> To do that, and create a stereo file from the three, you'd need to use the
> remix effect.


I did:

 $ sox -M piano.wav voice.wav voicedelayed.wav delay 0.3 0.3 0

to delay piano of 0.3 seconds (`delay' at the end of the command line), and

 $ sox voicedelayed.wav final_result.wav remix -m 1p-5,3p-5 2p+5,3p-5

to decrease the volume of the left channel of piano of 5db, increase the volume
of the right channel of piano of 5db and decrease voice's volume of 5db.  It
seems to be working fine.  Thanks.  Then I'll be using sox instead of Audacity
to manipulate recorded tracks...


>> One more thing: I remember, Jeremy, your suggestion of purchasing a
>> multi-channel audio interface, to be preferred to a mixer, and will do in
>> future.  But do you think that the solution I'm adopting for now: different
>> files on different single-channel audio cards and then merging them - dou
>> you think this is a good solution as well...?  What difference between this
>> cheap one and more or less expensive multi channel interface...?
>
> Your current solution is the cheapest I can think of, and no doubt you'll
> learn quite a lot doing this.


The reason why I'm starting with that cheap solution is not only its cheapness
but that I first want to learn with it, and also because it suits my basic
needs for now.

Thanks,

Regards,

Rodolfo



Re: debian9.1 ifdown bug

2017-08-18 Thread didier gaumet
嗨,

有Debian用户邮件列表中文:

debian-chinese...@lists.debian.org(简体)
debian-chinese-b...@lists.debian.org(传统)


Hi,

there are Debian user mailing lists in chinese:

debian-chinese...@lists.debian.org (simplified)
debian-chinese-b...@lists.debian.org (traditional)



Re: kvm/qemu virtual machine can't find hard drives

2017-08-18 Thread Dejan Jocic
On 17-08-17, Gary Roach wrote:
> Sorry bob but the  debian 9 archives doesn't include libvirtd or anything
> equivalent. I have been trying to use virt-manager but have gotten a bit
> confused. The screen shot is attached. I have two hard drives. One is a 160
> Gb boot drive called bootdisk and another empty 1 Tb drive called bigdisk.
> It looks like virt-manager picked the empty 1Tb drive and only allocated 20
> Gb to the program. I hit the Volumes + but didn't see any way to add the
> boot drive. Are we talking about a virtual drive that is situated in the
> bigdisk. Is the guest OS situated in the bigdisk. If so, this is not a bad
> thing since I will probably have massive amounts of data produced. But I do
> need to figure out what I am dealing with.
> 
> Any help will be appreciated.
> 
> Gary R.

Package you want is libvirt-bin and libvirt-daemon-system and
libvirt-clients come as dependences with it. Most of the guides around,
including debian wiki guide about qemu-kvm tell you to install those.
Package bridge-utils too. I see that you talk again about your hard
drives. That is wrong because because virt-manager and libvirt do not
care about your hard drives, it cares about storages and storage
volumes. Default storage volume is at /var/lib/libvirt/images. But I
guess that you do not want your image there, most people do not.
Creating image with virt-manager is as easy as following 5 steps, after
you launch it, click FIle and select create new virtual machine:

1. Choose how you would like to install. Will guess that you have local
install media in form of downloaded ISO. Pick it up, do not touch
architecture options, if you do not need them. Click forward.

2. Use ISO image and click browse. Use browsing to find your download
location. Choose your ISO image. It should automatically detect that it
is debian stretch. Forward.

3. Choose CPU and memory settings. Forward.

4. Enable storage for this virtual machine checked. Choose Select or
create custom storage. Click Manage... Use + signs to make new volume
and storage for your image where you want it, or choose existing one.
You have there options to choose max capacity for it, but no worries, it
can be expanded, it is virtual machine. Use qcow2 format. I have no need
for backing store, but see for yourself if you want it. Finish. Choose
that volume that you've made. Forward.

5. Read to begin the installation screen. You can customize
configuration before install, if you want. By default, on my laptop and
without changing anything in network files, network selection is not
needed, it will choose virtual network 'default' and work out of the
box. Finish and install will start in new window.




5. 



Re: debian9.1 ifdown bug

2017-08-18 Thread David Guyot
Hello.

I'm afraid you won't get much help if you don't explain your problem in
English. These are English-speaking mailing lists.

Regards.

Le vendredi 18 août 2017 à 15:00 +0800, Toad Zhou a écrit :
> Hi,
>     新安装的系统,我尝试修改网络。但networking restart一直处于失效状态,但是我reboot之后他就可以使用。
> 排查了一下原因发现ifdown -v ethx 的时候发现 ip addr del
> ip/mask删除的不是老的地址,而是新的地址。所以在networking restart之后
> 他只是新加/etc/network/interfaces中的新的ip地址。ip addr 发现他们两是并存的状态。
> 
> #ifconfig eth3
> eth3: flags=4099  mtu 1500
>         inet 172.16.1.20
> 
> #cat /etc/network/interfaces
> auto eth3
> iface eth3 inet static 
> address 172.16.1.16
> netmask 255.255.255.0
> 
> #ifdown -v eth3  #他删除的是新interfaces配置中的网络,而不是老的网络。
> /bin/ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255    
>     dev eth3 label eth3
> 
> 我的临时修复方案是:
> # cat fix-network.sh 
> #!/bin/bash 
> /etc/init.d/networking stop 
> $(ip addr|grep inet|grep -v 127.0.0.1|awk '{printf "ip addr del %s
> dev %s\n", $2,$NF}')
> /etc/init.d/networking start 
> #ifup eth0
> 
> 
> =
> google translation
> =
> 
> 
> Newly installed system, I tried to modify the network. But networking
> restart has been in a failed state, but I can use it after reboot.
> Troubleshoot the reasons for finding ifdown -v ethx found ip addr del
> ip / mask deleted is not the old address, but the new address. So in
> the closed restart he just added / etc / network / interfaces in the
> new ip address. Ip addr found that they both coexist the state.
> 
> #ifconfig eth3
> Eth3: flags = 4099  mtu 1500
>         Inet 172.16.1.20
> 
> #cat / etc / network / interfaces
> Auto eth3
> Iface eth3 inet static
> Address 172.16.1.16
> Netmask 255.255.255.0
> 
> #ifdown -v eth3 # He deleted the network in the new interfaces
> configuration, not the old network.
> / Bin / ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255
> dev eth3 label eth3
> 
> My temporary fix is:
> ## cat fix-network.sh
> #! / Bin / bash
> /etc/init.d/networking stop
> $ (Ip addr | grep inet | grep -v 127.0.0.1 | awk '{printf "ip addr
> del% s dev% s \ n", $ 2, $ NF}')
> /etc/init.d/networking start
> #ifup eth0
-- 
David Guyot
Administrateur système / Sysadmin
Europe Camions Interactive / Stockway
Moulin Collot F-88500 Ambacourt
Tél : +33 (0)3 29 30 47 85

signature.asc
Description: This is a digitally signed message part


Debian-user conventions [was: [...] incremental backups?]

2017-08-18 Thread tomas
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Aug 17, 2017 at 07:33:53PM -0500, Mario Castelán Castro wrote:
> On 17/08/17 15:51, to...@tuxteam.de wrote:

[...]

> > [...] And yes, there's a wiki entry encouraging "in-line" quoting [1].
> 
> Ah, I see. I rarely check the Debian Wiki because it is almost
> abandoned. I have never found something useful there. For an example of
> its state of abandonment see this fragment from that page:
> 
> “You really should see _Where is the foo package?_ above, but Debian
> ships with Iceweasel, a rebranded Firefox.”
>
> But a non-rebranded Firefox package is available in both Debian 8 and
> Debian 9 (at least in the later, this is the default browse installed).

It's a wiki (hint, hint ;-)

> > That's why you shoulnd't include the whole message, but snip the
> > relevant parts you are answering to. Believe me, for long threads,
> > this tends to work best.
> 
> Yes, except when nobody deletes the nested quotations (I do when it is
> appropriate). Eventually most of the text in the messages becomes quotes.

Yes, some gardening is needed. Take into account that you are addressing
about 3000 readers here, so sacrificing ten seconds of your time may
save hours in total (yes, I'm dramatizing a bit, but you get the idea).

> Also, it is a problem that one loses track of who do the nested (except
> the topmost) quotations belong to. Do you have any recommendation about
> that?

I try to stay at three layers at most, two typically; a good mail user
agent will help you keeping the levels straight. Add in some judgement :)

[...]

> Right, but here is a note about your wording: The great majority of
> people in debian-user are male (judging by the personal names), and
> moreover “he” is established as the pronoun in English when the sex is
> undetermined. The use of the female pronoun “she” is situations like
> this is unjustified.

Aha, someone noticed. It might be unjustified (don't know, can't assess
that), but it is subversive :)

But getting into more details would be definitely off-topic, I fear:
take it as an idiosyncracy. Feel free to complain from time to time :-)

> I already try to use the inline style when appropriate. I will avoid
> quoting the previous message at all in the cases where formerly I would
> have used top posting. This seems to be the only change necessary to
> comply with your suggestions.

Don't take my word for that. I might be wrong, and all that.

Cheers
- -- tomás
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlmWmBUACgkQBcgs9XrR2kbMFQCcDIsnZMZavSJHyDVt3fmLc5Sm
wRwAn3D4P9f1ORgZ/q8o434A3iz7VrCQ
=hAgd
-END PGP SIGNATURE-



debian9.1 ifdown bug

2017-08-18 Thread Toad Zhou
Hi,
新安装的系统,我尝试修改网络。但networking restart一直处于失效状态,但是我reboot之后他就可以使用。
排查了一下原因发现ifdown -v ethx 的时候发现 ip addr del
ip/mask删除的不是老的地址,而是新的地址。所以在networking restart之后
他只是新加/etc/network/interfaces中的新的ip地址。ip addr 发现他们两是并存的状态。

#ifconfig eth3
eth3: flags=4099  mtu 1500
inet 172.16.1.20

#cat /etc/network/interfaces
auto eth3
iface eth3 inet static
address 172.16.1.16
netmask 255.255.255.0

#ifdown -v eth3  #他删除的是新interfaces配置中的网络,而不是老的网络。
/bin/ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255
dev eth3 label eth3

我的临时修复方案是:
# cat fix-network.sh
#!/bin/bash
/etc/init.d/networking stop
$(ip addr|grep inet|grep -v 127.0.0.1|awk '{printf "ip addr del %s dev
%s\n", $2,$NF}')
/etc/init.d/networking start
#ifup eth0


=
google translation
=


Newly installed system, I tried to modify the network. But networking
restart has been in a failed state, but I can use it after reboot.
Troubleshoot the reasons for finding ifdown -v ethx found ip addr del ip /
mask deleted is not the old address, but the new address. So in the closed
restart he just added / etc / network / interfaces in the new ip address.
Ip addr found that they both coexist the state.

#ifconfig eth3
Eth3: flags = 4099  mtu 1500
Inet 172.16.1.20

#cat / etc / network / interfaces
Auto eth3
Iface eth3 inet static
Address 172.16.1.16
Netmask 255.255.255.0

#ifdown -v eth3 # He deleted the network in the new interfaces
configuration, not the old network.
/ Bin / ip addr del 172.16.1.16/255.255.255.0 broadcast 172.16.1.255 dev
eth3 label eth3

My temporary fix is:
## cat fix-network.sh
#! / Bin / bash
/etc/init.d/networking stop
$ (Ip addr | grep inet | grep -v 127.0.0.1 | awk '{printf "ip addr del% s
dev% s \ n", $ 2, $ NF}')
/etc/init.d/networking start
#ifup eth0