Re: Regarding Hotspot configuration

2015-10-24 Thread Sven Arvidsson
On Sat, 2015-10-24 at 09:26 +0530, Himanshu Shekhar wrote:
> Also, I didn't mention that my hardware has bluetooth and wireless
> combined, and bluetooth doesn't work.
> It would be great if anyone could suggest the proper drivers.

Hi,

Probably a better idea to start a new thread for the Bluetooth issue.

AFAICT, you are running the right driver, it just isn't very good, and
that's a problem with the Broadcom stuff.

Support on that card seems to have been problematic, it seems to
require some sort of firmware.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1065400

lsusb output, dmesg after boot and similar would probably be helpful,
and any further information on what works and doesnt.

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





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


Re: installing/using grub-legacy

2015-10-24 Thread John Hasler
moxalt writes:
> Was there a similar outcry over GRUB superseding LILO as there was
> over systemd superseding sysvinit?

No.  There was some grumbling but nothing depends on Grub so it is
trivially easy to continue to use Lilo (as I do).  
-- 
John Hasler 
jhas...@newsguy.com
Elmwood, WI USA



Copy all files and folders from USB drive to SATA drive..

2015-10-24 Thread German
Hi everyone.

I set up something like NAS for torrent files and installed debian on
it. Installed one 4TB internal drive. My files are on USB drive. I'd
like to copy all of them from my USB drive to internal drive. Are there
any commands to do it in one go? I also formatted internal drive to
ext4 filesystem. I hope I've done right thing. Please advice. Thanks



QEMU

2015-10-24 Thread Andrew Wood
Can someone please help me configure QEMU on Jessie as the instructions 
on the Wiki seem to not apply. The qemu command does not exist in 
/usr/bin there are dozens of platform specific ones like /usr/bin/qemu-i386

 but these dont seem to accept the same args.

Also why has qemu-launcher been removed from Jessie but it was in Wheezy 
and its in testing?


Thanks
Andrew



Re: QEMU

2015-10-24 Thread Mario Castelán Castro

El 24/10/15 a las 10:13, Andrew Wood escribió:

Can someone please help me configure QEMU on Jessie as the instructions
on the Wiki seem to not apply. The qemu command does not exist in
/usr/bin there are dozens of platform specific ones like /usr/bin/qemu-i386
  but these dont seem to accept the same args.


To launch QEMU, I use "qemu-system-x86_64 --enable-kvm [...]" (But I use 
QEMU compiled from the upstream source package, so it may be different 
with Debian 8 version). If you use a modern x86 computer, it will very 
likely have support for virtualization; you should enable it with the 
flag "--enable-kvm" for much better speed and efficiency. If you run 
QEMU and notice it's much slower, it's likely because you forgot to 
enable KVM.


In Debian 7, there is a separate KVM version of QEMU. In Debian 8, the 
functionality has been merged into a single QEMU version and there is a 
"qemu-kvm" package which is a wrapper that runs QEMU with KVM enabled.



Also why has qemu-launcher been removed from Jessie but it was in Wheezy
and its in testing?


I have never used it. Apparently it is not a part of QEMU but an 
external graphical front end,




Re: Ayuda con etherwall

2015-10-24 Thread Camaleón
El Fri, 23 Oct 2015 14:14:40 +, Raul Rodriguez escribió:

Raúl, acuérdate de desactivar el formato html cuando mandes mensajes a la 
lista.

> Alguien ha implementado correctamente etherwall ?, me pudieran ayudar

No, pero ¿qué problema tienes exactamente?

Aquí tienes una guía de inicio rápida:

Etherwall defense of MITM attacks
http://bulohseuma-linux.blogspot.com.es/2013/12/etherwall-serangan-pertahanan-dari-mitm.html

Saludos,

-- 
Camaleón



Re: OT: Instalar debian en Dell Poweredge R710

2015-10-24 Thread Camaleón
El Fri, 23 Oct 2015 22:17:32 -0700, Salvador Garcia Z. escribió:

> Desde una versión live puedes grabar la iso en un pendriver con esto
> 
> dd bs=4M if=/ruta/al/fichero.iso of=/dev/sdb && sync
> 
> La unidad usb es más genérica y no tendrás problemas 

Espero que *NO se le ocurra* a nadie ejecutar esa instrucción antes de 
verificar que la llave se ha detectado como "/dev/sdb".

Poner en la lista ese comando sin dar más explicaciones es temerario :-//

Saludos,

-- 
Camaleón



Re: How to Rezize Partition on LVM

2015-10-24 Thread Pascal Hambourg
ray a écrit :
> I would like to resize the /home partition but it is mounted, and when
> umount is run, it errors with 'busy'.  
> 
> I used guided partitioning and selected the whole drive with multiple
> partitions.  The /home now takes up 420 GB.  I would like to reduce that
> to 20 GB to make room for another partition.  

Are you talking about plain partitions or LVM logical volumes ? In the
subject you mentionned LVM, but in the body you mention only partitions.
Regarding your question, this is not the same at all.

It is too late now, but here is my advice for future installations using
LVM : if you don't plan to use btrfs, don't allocate all the space to
the logical volumes, leave some free space for future allocation.
Growing an ext2/3/4 filesystem is easy and can be done online (without
unmounting it). However online shrinking is only supported with a btrfs
filesystem. Some filesystems such as XFS don't even allow offline shrinking.

/home can be unmounted only when no process uses it. In practice it
means that you cannot be logged in as a regular user (with its home
directory in /home) but directly as root, without using 'su' or 'sudo'.
In my experience it is not necessary to boot in single user mode or from
another system. Just log in as root in a tty console.



Re: QEMU

2015-10-24 Thread Thomas Schmitt
Hi,

Andrew Wood wrote:
> there are dozens of platform specific ones like /usr/bin/qemu-i386
> but these dont seem to accept the same args.

I use for a virtual Debian this script "start_debian_amd64":

  #!/bin/sh
  qemu-system-x86_64 \
 -enable-kvm \
 -m 512 \
 -net nic \
 -net user,hostfwd=tcp::4321-:22 \
 -hda /data/vm/debian_amd64.qemu \
 "$@"

For installation i created the disk
  qemu-img create /data/vm/debian_amd64.qemu 8G
and ran the script with -cdrom
  start_debian_amd64 -cdrom debian-8.2.0-amd64-netinst.iso -boot d

Normally i run it headless (and log in via ssh -p 4321 my_user@localhost):
  start_debian_amd64 -nographic 


> why has qemu-launcher been removed from Jessie but it was in Wheezy and
> its in testing?

Obviously because of the same difficulties which you experience.
See
  https://packages.qa.debian.org/q/qemu-launcher.html
  https://packages.qa.debian.org/q/qemu-launcher/news/20140802T163917Z.html
It does not get promoted to "testing" any more because of
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=753669


Have a nice day :)

Thomas



Re: Copy all files and folders from USB drive to SATA drive..

2015-10-24 Thread Mario Castelán Castro
This  is a 
summary of using TestDisk, it doesn't describe the same procedure I 
described, and it misses some important information that I included. 
Again, do your own research.




Re: QEMU

2015-10-24 Thread Reco
On Sat, 24 Oct 2015 16:13:50 +0100
Andrew Wood  wrote:

> Can someone please help me configure QEMU on Jessie as the instructions 
> on the Wiki seem to not apply. The qemu command does not exist in 
> /usr/bin there are dozens of platform specific ones like /usr/bin/qemu-i386
>   but these dont seem to accept the same args.

I assume you meant https://wiki.debian.org/QEMU. So, for example:

qemu -hda debian.img -cdrom debian-testing-i386-businesscard.iso -boot
d -m 256

translated to the language of current stable, means:

qemu-system-x86_64 -hda debian.img -cdrom \
debian-testing-i386-businesscard.iso -boot d -m 256

You may also need to add your user to "kvm" group.


> Also why has qemu-launcher been removed from Jessie but it was in Wheezy 
> and its in testing?

https://packages.qa.debian.org/q/qemu-launcher/news/20140802T163917Z.html
says:

Hint: 
Bug #753669: qemu-launcher: /usr/bin/qemu does not exist any more

Basically, qemu-launcher merely run "qemu" with certain arguments,
which ceased to work once Debian stopped providing "/usr/bin/qemu"
executable. Which rendered the whole "qemu-launcher" unusable, and
since the maintainer was not able to fix the package - it was
rightfully removed from Jessie before the release.
The bug is still open, and as far as I can tell, the problem of this
package won't fix itself.

Reco



Re: installing/using grub-legacy

2015-10-24 Thread moxalt
On Fri, 23 Oct 2015 23:20:08 +0100, Brian  wrote:

> On Fri 23 Oct 2015 at 22:37:32 +0100, Lisi Reisz wrote:
> 
> > On Friday 23 October 2015 19:51:17 Brian wrote:  
> > >
> > > To be pedantic: GRUB2 and GRUB1 don't exist in Debian. They don't really
> > > exist under those names on the GNU website either or in the
> > > documentation. It is GRUB or GRUB-legacy. People like harking back to a
> > > time long past though.  
> > 
> > Yes, I do know that - see my first email.  But GRUB-PC is also an obsolete 
> > name - and at least you understood what I meant by GRUB1 and GRUB2 however 
> > incorrect the nomenclature - and I did know it was incorrect/obsolete.  I
> > was just trying to be unambiguous.  In which I succeeded.  Once you just 
> > say "GRUB", you have to know to which version of Debian one is referring,
> > to know which GRUB is meant.  
> 
> It is a courtesy to use the names used by upstream. GRUB has been the
> default bootloader in Debian since Squeeze. How many years is that?

Was there a similar outcry over GRUB superseding LILO as there was over systemd
superseding sysvinit?



Re: Copy all files and folders from USB drive to SATA drive..

2015-10-24 Thread kamaraju kusumanchi
On Sat, Oct 24, 2015 at 8:57 AM, German  wrote:
> Hi everyone.
>
> I set up something like NAS for torrent files and installed debian on
> it. Installed one 4TB internal drive. My files are on USB drive. I'd
> like to copy all of them from my USB drive to internal drive. Are there
> any commands to do it in one go? I also formatted internal drive to
> ext4 filesystem. I hope I've done right thing. Please advice. Thanks
>

I normally use

rsync -prltvzD user1@host1:dir1 user2@host2:dir2

which copies dir1 on host1 using user1 account into dir2 on host2
using user2 account.

The advantage of rsync is that if the process terminates in between,
you can run the command again and it picks up from where it left. Do
read the man page of rsync or some tutorials on the web before you
start using it. It supports tons of options.

hope that helps
raju
-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Re: How to recovery disc partition table?

2015-10-24 Thread Mario Castelán Castro

El 24/10/15 a las 00:37, Serkan KURT escribió:

Hi friends.
I have a 1TB disc.

- My disc formatted ext4 before.
- I accidentally created new partition table on my disk.
- Unfortunately, I accidentally formatted ntfs.


Can I recovery my disc partition table and/or my directorys and files smoothly?


Yes, use your backup if you have one. *You must have a good backup 
schedule*; unless your data is worthless, it is not optional. But since 
you are asking, I suppose that you don't have backups.


Erasing the partition table is not a big problem as long as you do not 
modify the filesystems; if the filesystems were intact, you just would 
have to locate them and then reconstruct your partition table accordingly.


However, you mentioned that you formatted the new partition as NTFS; 
that likely has overridden some or all of the former filesystem. 
Recovering the partition will not be trivial and may be effectively 
impossible; it is unlikely to be "smooth". Avoid writing to the NTFS 
filesystem, do not mount it.


I recommend that you create an image of your entire hard disk and store 
a backup of it (so that you will have 2 copies plus the hard disk) 
*before* modifying the contents of that hard disk. That way there is 
less chance that you will lose the remaining data, and you will be able 
to attempt to recover more data later with a different procedure.


TestDisk  will help you find 
your former partition. Beware that it is likely damaged; you will have 
to use fsck to try to repair it. Also attempt to recover individual 
files with ; that will generate 
some duplicates. You can use a hash tool like "sha1sum" to identify and 
discard duplicates. Don't continue using the restored ext4 filesystem 
(if you can restore it in the first place); instead copy all the 
information you recover and care for elsewhere, then make a *new* ext4 
filesystem in your working hard disk and copy the information into it.


Do your own research. There is much information in the web.



Re: How to recovery disc partition table?

2015-10-24 Thread Mario Castelán Castro
This  is a 
summary of using TestDisk, it doesn't describe the same procedure I 
described, and it misses some important information that I included. 
Again, do your own research.




Re: Regarding Hotspot configuration

2015-10-24 Thread Himanshu Shekhar
So what do I do now?
Googling doesn't seem to help with that!

-- 
Regards
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Copy all files and folders from USB drive to SATA drive..

2015-10-24 Thread Mario Castelán Castro

Sorry. I replied to the wrong thread.



Re: installing/using grub-legacy

2015-10-24 Thread Lisi Reisz
On Saturday 24 October 2015 20:45:25 Brian wrote:
> On Sat 24 Oct 2015 at 11:52:41 +0100, Lisi Reisz wrote:
> > On Saturday 24 October 2015 10:13:51 Thomas Schmitt wrote:
> > > The name "GRUB1" seems to be an invention of users discussing
> > > the differences between both GRUBs.
> >
> > No.  It is its version number, to the nearest whole number.
>
> Inventive. :)

That is actually what it is in my case.  I could say GRUB 0.97-67 if you 
prefer.  I say KDE3, KDE4, GNOME3 etc too.  Rounded to whole number in every 
case.  GRUB 2 is actually GRUB 1.99-27+deb7u2 in Wheezy.  1 and 2 just seem 
so much simpler in conversation.

Lisi



Re: installing/using grub-legacy

2015-10-24 Thread Brian
On Sat 24 Oct 2015 at 11:52:41 +0100, Lisi Reisz wrote:

> On Saturday 24 October 2015 10:13:51 Thomas Schmitt wrote:
> > The name "GRUB1" seems to be an invention of users discussing
> > the differences between both GRUBs.
> 
> No.  It is its version number, to the nearest whole number.

Inventive. :)



Re: Atualizar versão do Samba4 - Debian 7.7

2015-10-24 Thread Thiago Gomes
obrigado.. como eu faço para adicionar um repositório  repositório externo para
eu fazer um teste em uma maquina que é de homologação..

Em 24 de outubro de 2015 19:56, Antonio Terceiro  escreveu:
> On Fri, Oct 23, 2015 at 04:06:56PM -0300, Thiago Gomes wrote:
>> Antonio,
>>
>> Então as GPO para colocar o pagina inicial IE 10 e 11 não sei se estão
>> no samba 4.4.. só sei no 4.1 não tem.
>> tem algum ideia
>
> não tenho idéia. o que eu falei foi só baseado nas versões que estão no
> repositório oficial, não sou usuário de samba.



-- 
Thiago Gomes



Re: QEMU

2015-10-24 Thread Andrew Wood



On 24/10/15 17:19, Reco wrote:


I assume you meant https://wiki.debian.org/QEMU. So, for example:

qemu -hda debian.img -cdrom debian-testing-i386-businesscard.iso -boot
d -m 256

translated to the language of current stable, means:

qemu-system-x86_64 -hda debian.img -cdrom \
debian-testing-i386-businesscard.iso -boot d -m 256




Basically, qemu-launcher merely run "qemu" with certain arguments,
which ceased to work once Debian stopped providing "/usr/bin/qemu"
executable. Which rendered the whole "qemu-launcher" unusable, and
since the maintainer was not able to fix the package - it was
rightfully removed from Jessie before the release.
The bug is still open, and as far as I can tell, the problem of this
package won't fix itself.

Reco

Excellent thank you. I installed QEMU a couple of years back under 
Wheezy but havent done much with it so I was confused as to why things 
were no longer working since upgrading to Jessie.


One other question. Is it possible to run it on a non GUI host ie a 
Debian system without X installed but run guest operating systems which 
do require a GUI such as MS Windows or Haiku?


Andrew



Re: QEMU

2015-10-24 Thread Reco
Hi.

On Sat, 24 Oct 2015 22:30:55 +0100
Andrew Wood  wrote:

> One other question. Is it possible to run it on a non GUI host ie a 
> Debian system without X installed but run guest operating systems which 
> do require a GUI such as MS Windows or Haiku?

Sure, that's exactly what big kids are doing :)

Currently you have three ways of doing it (all do not require X):

1) Universal one, but slow.

Adding something like "-vnc 0.0.0.0:0" to qemu commandline will force
qemu to provide a VNC server on customary tcp:5900, and guest OS will
draw to VNC server only.
You can also try altering "-vga cirrus"/"-vga std"/"-vga vmware" to
switch the video card you provide to the guest OS (not everyone can be
happy with 16-bit color 1024x768 cirrus provides, and it's used by
default).


2) Hardcore one.

Adding my favorite "-nographic" to qemu commandline will force qemu not
to provide VGA adapter to the quest system and to force a serial
console to stdin/stdout.
It's a required parameter more-or-less once you start using *other*,
non-x86, qemu-system binaries.


3) RedHat one.

Adding "-vga qxl -spice port=5900,disable-ticketing" to qemu
commandline will force qemu to use built-in SPICE server (akin to VNC,
but requires own client) on tcp:5900.
As a bonus, you should get the sound transferred from the quest to you.
As a malus - unless you're planning to use Linux - you'll need QXL
drivers.

Reco



Re: MiFi 4G LTE Global USB Modem U620L

2015-10-24 Thread rlharris
On Sat, October 24, 2015 8:37 am, chris wrote:
> You can get a cradle point or something that act as a plain cellular to
> Ethernet bridge and then you won't be exposed to the mess of cellular and
> you will have a pure Ethernet interface . I don't think you will get
> anything directly from the cellular carrier

Thanks, Chris; this is the type of information I need, and which is hard
to find.

I never before heard the term "jet pack" but I found one on the Verizon
web site.

The term "cradle point" also is new; but I found one with google.

Russ




Re: Atualizar versão do Samba4 - Debian 7.7

2015-10-24 Thread Antonio Terceiro
On Fri, Oct 23, 2015 at 04:06:56PM -0300, Thiago Gomes wrote:
> Antonio,
> 
> Então as GPO para colocar o pagina inicial IE 10 e 11 não sei se estão
> no samba 4.4.. só sei no 4.1 não tem.
> tem algum ideia

não tenho idéia. o que eu falei foi só baseado nas versões que estão no
repositório oficial, não sou usuário de samba.


signature.asc
Description: PGP signature


Setting partition type

2015-10-24 Thread Joel Roth
Reformatting a flash drive, it looks like cfdisk and fdisk
no longer accept some partition types, such as 'c' for
'Win95 FAT (LBA)'.

sfdisk -c   

Does accept this type. 

-- 
Joel Roth
  



Re: /bin/sh: 1: lpr: not found on jessie amd64

2015-10-24 Thread moxalt
On Sun, 25 Oct 2015 03:27:18 + (UTC), "Juan R. de Silva"
 wrote:

> I have Jessie i386 and amd64 installed on 2 different laptops. Wine is 
> installed on both, meaning that i386 architecture is enabled on amd64 
> install.
> 
> Both installation have access to the same printer using the same (i386) 
> driver from Brother. The printer works just fine with all apps on both 
> installs with one exception described below.
> 
> When I run the same application in Wine on i386 install, I can print from 
> the app just fine. 
> 
> However, when I try to print from it on amd64 install the error:"/bin/sh: 
> 1: lpr: not found" is thrown on me.
> 
> I've tested printing with 'lp' from CLI and it works equally well on both 
> installations. Checked out and 'lpr' is not installed on neither of 
> laptops.
> 
> Any suggestions, please?

The packages cups-bsd, lpr, and lprng all have lpr. Try installing them and
removing them in turn, and see which works.



/bin/sh: 1: lpr: not found on jessie amd64

2015-10-24 Thread Juan R. de Silva
I have Jessie i386 and amd64 installed on 2 different laptops. Wine is 
installed on both, meaning that i386 architecture is enabled on amd64 
install.

Both installation have access to the same printer using the same (i386) 
driver from Brother. The printer works just fine with all apps on both 
installs with one exception described below.

When I run the same application in Wine on i386 install, I can print from 
the app just fine. 

However, when I try to print from it on amd64 install the error:"/bin/sh: 
1: lpr: not found" is thrown on me.

I've tested printing with 'lp' from CLI and it works equally well on both 
installations. Checked out and 'lpr' is not installed on neither of 
laptops.

Any suggestions, please?



Re: 64bit run on mips64r2

2015-10-24 Thread Stuart Longland
On 20/10/15 18:58, Mehmet CELIK wrote:
> Hi all..
> 
> How can I run amd64 application in mips64r2 OS. I'm trying multiarch, but 
> doesnt support amd64 in mips64r2 (Octeon CPU/Standart Glibc).
> 
> Is It possible ??

Possible, yes.
Viable, no.

The CPU will not understand AMD64 instructions, so they need to be
translated to the host's native CPU instruction set.  This results in a
reduction of performance.  Two options exist for doing this: QEMU and Bochs.

e.g. it's possible to run Linux on an 8-bit AVR (ATMega1284P) computer:
http://hackaday.com/2012/03/28/building-the-worst-linux-pc-ever/

In that case, code to emulate an ARM machine was programmed into the AVR
chip.

Given that MIPS machines are generally both more expensive and slower
than modern AMD64 systems, one has to question the logic in such an
endeavour except maybe to prove it can be done.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



signature.asc
Description: OpenPGP digital signature


Re: Setting partition type

2015-10-24 Thread moxalt
On Sat, 24 Oct 2015 12:39:51 -1000, Joel Roth  wrote:

> Reformatting a flash drive, it looks like cfdisk and fdisk
> no longer accept some partition types, such as 'c' for
> 'Win95 FAT (LBA)'.
> 
> sfdisk -c   
> 
> Does accept this type.

What version of fdisk is this?

I'm running fdisk 2.27 (provided by util-linux), which accepts type 'c'.



Re: /bin/sh: 1: lpr: not found on jessie amd64

2015-10-24 Thread Juan R. de Silva
> The packages cups-bsd, lpr, and lprng all have lpr. Try installing them
> and removing them in turn, and see which works.

Installation of cups-bsd did the trick.

BTW, I tried installing lpr before and it did not help. 

This is weird, since I've looked into my i386 installation and neither 
cups-bsd, nor lprng, nor lpr are installed there. Why all at sudden cups-
bsd was necessary on amd64?

Oh, well, what is important - it works now.

Thank you for helping me out.



Re: Tracking down memory leaks

2015-10-24 Thread Marc Shapiro

On 10/22/2015 08:23 AM, David Wright wrote:

Quoting Marc Shapiro (marcns...@gmail.com):

On 10/20/2015 11:33 PM, Jörg-Volker Peetz wrote:

Marc Shapiro wrote on 10/21/2015 06:52:


Something is not freeing up memory.  It may, or may not be Firefox, but...  I
can exit all programs and all instances of X, leaving only a single console
running.  Top will show itself and bash, nothing else, but free can show over
2GB used.  If I then reboot, free will show only about 250 MB used.  Obviously
something was tying up nearly 2 GB and it took a reboot to free it up.

Marc


Which version of free you are using?
Where does it show 2 GB?
Do the 2 GB comprise buffered and cached data?
Please, show the the output of free.

Don Armstrong had also suggested checking the cache and buffers,
which I had forgotten to do when I restarted.  I checked them
yesterday and, yes, that is where most of the memory was going after
I had exited all X sessions.  Google was my friend and showed me how
to free up that memory ('free && sync && echo 3 >
/proc/sys/vm/drop_caches && free' as root) and all is now good with
the world.

Thanks, everyone, for the help.  If I had just looked more closely
at the output of 'free' I could have done this myself.   (Forehead
slap).

I notice you've flagged this posting with SOLVED. However, I can't
find where you reported a problem. The original posting only says:

"I could run for months without having a memory problem. Now it's every
few days. When this happens,..."

So what was the problem? What happens?


My problem, or what I thought was a problem, was the 2+GB of memory that 
were still used after I had exited all X sessions and all but lone login 
session. As it turns out, most of that was just cache and buffers, 
which, as others have pointed out is not actually an issue, since it 
will be freed up and reused as necessary. I wasn't so much worried about 
actual memory being used in that way, the thing that bothered me was 
that I keep going into swap every few days. That is still happening if I 
don't keep an eye on the memory usage and then it starts thrashing and 
getting really slow


Now that I realize that the last 2GB is in cache and buffers, however, 
it is not quite such an issue.  I close down my apps, and X (or just the 
browsers, since they are the worst offenders), clear the swap with a 
swapoff, followed by swapon, and restart all the stuff that I shut 
down.  This clears up the swap usage, and usually 3 to 4 GB of real 
memory, as well.  With the swap not in use everything gets back to 
running at reasonable speeds again.


Marc



Re: [OT] Linux for Lettuce

2015-10-24 Thread Curt
On 2015-10-23, Thomas Schmitt  wrote:
>
> Well, Monsanto genes are mostly illegal in Europe, anyway.
> (Our patent office granted a patent on human genes. Against the
>  law. Then it claimed the law prohibited to revoke it.
>  Finally the patent holder gave it back after too much hate
>  mail.)
>

http://www.globalagriculture.org/whats-new/news/news/en/30521.html





Re: shorewall, shorewall6 & openvpn

2015-10-24 Thread Geert Stappers
On Fri, Oct 23, 2015 at 11:36:31AM +0200, Gijs Hillenius wrote:
> 
> Ik probeer shorewall & shorewall6 te combineren met openvp. Dat laatste
> werkt (denk ik), alleen zitten de twee shorewalls in de weg.
> 
> Gewenste situatie: openvpn server moet het verkeer van de "road warrior
> laptop" verder leiden, het Internet op..
 [ ... ]
> De meest-veelbelovende hint in de logs lijkt te wezen dat ipv6 forwarding
} disabled is.
 [ ... ]
> | Starting Shorewall6
> | Initializing...
> | Preparing ip6tables-restore input...
> | Running /sbin/ip6tables-restore...
> | IPv6 Forwarding Disabled!
> `
> 
> Op dit punt raak ik de weg kwijt - het woud is reusachtig, welke boom
> moet ik hebben?
> 
> 
> Doe ik
> 
> echo 1 >   /proc/sys/net/ipv6/conf/all/forwarding
> 
> dan gaat een deel van het ipv6 verkeer goed. Ik kan bijvoorbeeld
> http://whatismyv6.com/ bereiken, en Google Maps. Maar ik kom niet bij
> Twitter (gelukkig maar, wellicht :-) ). Of komt dat omdat Twitter geen
> ipv6 doet en ik ip4 forwarding nog niet aan heb staan?
> 
> in /etc/sysctl.conf staat forwarding uit..
> 
> ,
> | # Uncomment the next line to enable packet forwarding for IPv4
> | #net.ipv4.ip_forward=1

Dat hekje weghalen, om IPv4 forwarding aan te zetten

> | 
> | # Uncomment the next line to enable packet forwarding for IPv6
> | #  Enabling this option disables Stateless Address Autoconfiguration
> | #  based on Router Advertisements for this host
> | #net.ipv6.conf.all.forwarding=1

Dat hekje weghalen, om IPv6 forwarding aan te zetten, het is
  echo 1 >   /proc/sys/net/ipv6/conf/all/forwarding


> 
> in shorewall6.conf
> staat
> 
> IP_FORWARDING=Off
> 
> en
> 
> in shorewall.conf staat IP_FORWARDING=Keep
> 

De vermeldde documentatie van 
http://www.geeklk.com/2013/09/installing-openvpn-with-shorewall-in-ubuntu-part-2/
die zegt

 Edit Shorewall config file enable IP Forwarding

 ${EDITOR:-nano} shorewall.conf

 IP_FORWARDING=On



Groeten
Geert Stappers
-- 
Leven en laten leven


signature.asc
Description: Digital signature


Re: [OT] Linux for Lettuce

2015-10-24 Thread Thomas Schmitt
Hi,

i wrote:
> > Well, Monsanto genes are mostly illegal in Europe, anyway.

Curt wrote:
> http://www.globalagriculture.org/whats-new/news/news/en/30521.html

[patented broccoli]

Yep. That's the European Patent Office as we know it.
Happy to hand out patents for anything. This is good for
economy ... say the patent lawyers.

Monsanto's problem is not with getting patents but with
getting permission for their gene manipulated seeds.
Germans mistrust the genetech propaganda because it resembles
the nuclear power propaganda from decades ago.
Same liars = same poison.

The philosophical question is whether one shall applaud
a good decision which is made mainly out of ignorance
and prejudice.
If one is ready to accept the concept of "intellectual property",
then a few bacteria genes cannot but augment ones intellectual
capacity.


Have a nice day :)

Thomas



Re: installing/using grub-legacy

2015-10-24 Thread Thomas Schmitt
Hi,

various people wrote:
> ... > [GRUB, GRUB Legacy, GRUB1, GRUB2, GRUB-PC]
Brian wrote:
> > > It is a courtesy to use the names used by upstream.

Upstream offers the current names "GRUB" = "GRUB 2" for versions
above 1.0 and calls the old versions 0.XY "GRUB Legacy".
  https://www.gnu.org/software/grub/

The name "GRUB1" seems to be an invention of users discussing
the differences between both GRUBs.
"GRUB-PC" seems to stem from Debian binary package "grub-pc"
for BIOS/x86 in contrast to e.g. "grub-efi-arm64". Those are
all made from GRUB2 sources since quite a while.

I write "GRUB2" and "GRUB-Legacy" to avoid ambiguity.
The "-" is added to make clear that "Legacy" is part of the name.


Have a nice day :)

Thomas



Re: installing/using grub-legacy

2015-10-24 Thread Brian
On Sat 24 Oct 2015 at 20:21:58 +1300, Chris Bannister wrote:

> On Fri, Oct 23, 2015 at 11:20:08PM +0100, Brian wrote:
> > On Fri 23 Oct 2015 at 22:37:32 +0100, Lisi Reisz wrote:
> > 
> > > On Friday 23 October 2015 19:51:17 Brian wrote:
> > > >
> > > > To be pedantic: GRUB2 and GRUB1 don't exist in Debian. They don't really
> > > > exist under those names on the GNU website either or in the
> > > > documentation. It is GRUB or GRUB-legacy. People like harking back to a
> > > > time long past though.
> > > 
> > > Yes, I do know that - see my first email.  But GRUB-PC is also an 
> > > obsolete 
> > > name - and at least you understood what I meant by GRUB1 and GRUB2 
> > > however 
> > > incorrect the nomenclature - and I did know it was incorrect/obsolete.  I 
> > > was 
> > > just trying to be unambiguous.  In which I succeeded.  Once you just 
> > > say "GRUB", you have to know to which version of Debian one is referring, 
> > > to 
> > > know which GRUB is meant.
> > 
> > It is a courtesy to use the names used by upstream. GRUB has been the
> > default bootloader in Debian since Squeeze. How many years is that?
> 
> *cough* firefox *cough*

A legality.



Re: installing/using grub-legacy

2015-10-24 Thread Chris Bannister
On Fri, Oct 23, 2015 at 11:20:08PM +0100, Brian wrote:
> On Fri 23 Oct 2015 at 22:37:32 +0100, Lisi Reisz wrote:
> 
> > On Friday 23 October 2015 19:51:17 Brian wrote:
> > >
> > > To be pedantic: GRUB2 and GRUB1 don't exist in Debian. They don't really
> > > exist under those names on the GNU website either or in the
> > > documentation. It is GRUB or GRUB-legacy. People like harking back to a
> > > time long past though.
> > 
> > Yes, I do know that - see my first email.  But GRUB-PC is also an obsolete 
> > name - and at least you understood what I meant by GRUB1 and GRUB2 however 
> > incorrect the nomenclature - and I did know it was incorrect/obsolete.  I 
> > was 
> > just trying to be unambiguous.  In which I succeeded.  Once you just 
> > say "GRUB", you have to know to which version of Debian one is referring, 
> > to 
> > know which GRUB is meant.
> 
> It is a courtesy to use the names used by upstream. GRUB has been the
> default bootloader in Debian since Squeeze. How many years is that?

*cough* firefox *cough*

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X



Re: DNS et resolv.conf

2015-10-24 Thread Michel
Le samedi 24 octobre 2015, 00:13:19 Francois Lafont a écrit :
> Bonsoir,
> 
> On 23/10/2015 23:53, Michel wrote:
> > Voici mon /etc/resolv.conf :
> > 
> > [root@canoe]:~ # cat /etc/resolv.conf
> > # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
> > resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
> > OVERWRITTEN nameserver $IF_ADDRESS
> 
>  ^^^
> 
> T'es sûr que c'est autorisé et bien interprété ça ($IF_ADDRESS)
> dans un resolv.conf ? Si oui, tu aurais une doc quelque part qui
> l'explique parce que perso ça ne me dit rien du tout (mais ça ne
> prouve rien bien sûr).

Effectivement, j'avais ça dans mon fichier /etc/network/interfaces du temps ou 
j'utilisais un script pour iptables. Je n'ai pas trouvé de doc à ce sujet...

En mettant ceci, ça fonctionne.
# The primary network interface
allow-hotplug eth0
auto eth0
iface eth0 inet static
   address 192.168.0.2
   netmask 255.255.255.0
   name Carte Ethernet
   broadcast 192.168.0.255
   network 192.168.0.0
   dns-nameservers 192.168.0.2 $IF_ADDRESS
   dns-search homeg.lan


Ce qui est étonnant, c'est que si je mets $IF_ADDRESS_TEST, la ligne 
n'apparaît pas alors qu'en gardant $IF_ADDRESS, c'est le nom de la variable 
qui est inscrit dans le résolveur.

--
Michel



Re: Regarding Hotspot configuration

2015-10-24 Thread Sven Arvidsson
On Fri, 2015-10-23 at 14:38 -0700, Matt Ventura wrote:
> I'm not sure about that, I just told n-m to create a new network,
> and it did ad-hoc even though my card supports AP mode.
> Can you check in iwconfig to confirm it's actually an AP?

iwconfig does say master mode. 

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 6FAB5CD5





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


Re: HS: des certificats SSL reconnus et gratuits à priori bientôt disponibles

2015-10-24 Thread andre_debian
> Le 23/10/2015 20:10, andre_deb...@numericable.fr a écrit :
> > si on pouvait avoir la méthode...
> > J'ai voulu renouveler mon certificat chez StartSSL,
> > j'ai supprimé un des certificats par mégarde.
> > J'ai recommencé, mais impossible,  j'aboutissais
> > à un certificat payant à 250 US$.

On Saturday 24 October 2015 11:30:19 Zoddo wrote:
> Ah oui, on ne peut refaire un certificat pour un même domaine

C'est exactement ce que je disais au départ : -)
(mais on m'avait affirmé que non).

> (sinon, il faut faire  révoquer le précédent, procédure qui est payante). 
"Revocation certificate" = 24,90$
Mieux vaut alors en acheter un à ce prix, qui sera mieux blindé.

> qu'un certain temps avant l'expiration du précédent :
une année...

> Mais tu peux sans problème en demander plusieurs, si c'est pour 
> des domaines différents. 
Et oui, mais je n'ai qu'un nom de domaine...

Heureusement que j'ai insisté sur le nombre de certificats
gratos chez StartSSL...

André



Re: installing/using grub-legacy

2015-10-24 Thread Lisi Reisz
On Saturday 24 October 2015 10:13:51 Thomas Schmitt wrote:
> The name "GRUB1" seems to be an invention of users discussing
> the differences between both GRUBs.

No.  It is its version number, to the nearest whole number.

Lisi



Re: HS: des certificats SSL reconnus et gratuits à priori bientôt disponibles

2015-10-24 Thread Zoddo
Le 23/10/2015 20:10, andre_deb...@numericable.fr a écrit :

> si on pouvait avoir la méthode...
> J'ai voulu renouveler mon certificat chez StartSSL,
> j'ai supprimé un des certificats par mégarde.
> J'ai recommencé, mais impossible,  j'aboutissais
> à un certificat payant à 250 US$.
Ah oui, on ne peut refaire un certificat pour un même domaine qu'un
certain temps avant l'expiration du précédent (sinon, il faut faire
révoquer le précédent, procédure qui est payante). Mais tu peux sans
problème en demander plusieurs, si c'est pour des domaines différents.