Re: Mdadm grub install problem

2015-09-14 Thread Pascal Hambourg
Gary Dale a écrit :
> On 13/09/15 04:28 PM, Muhammad Yousuf Khan wrote:
>>
>> GRUB loading.
>> Welcome to GRUB!
>>
>> error: no such device: 2
>> Entering rescue mode...
>> grub rescue>
>>
>> moreover when i use command "ls"
>>
>> it shows me (hda0)
> 
> mdadm doesn't care about partition tables.

But GRUB does. "No such device" seems to indicate that GRUB did not find
the disk, partition or RAID array specified in the $prefix variable,
where the files in /boot/grub/ are supposed to be located. Also, ls
showing only the whole disk (hd0) without any partition seems to
indicate that it could not read the partition table. GRUB has specific
modules to read each partition table format, and such module(s) need to
be embedded into the core image by grub-install in order to be able to
read the partition table of the disk(s) containing /boot/grub. Same with
RAID modules.

> It just wants to be able to 
> find the arrays. However to start the array, grub needs the initramfs.

GRUB does not need an initramfs to start RAID arrays. The Linux kernel
does. GRUB just loads the initramfs in memory for the Linux kernel.



Re: Bug report

2015-09-14 Thread Dominique Dumont
On Sunday 13 September 2015 19:53:52 Peter Gonsalves wrote:
> I'm guessing my bug may have already been reported but have no idea what
> categories to use for reporting so I can't check. The bug is brightness on
> an HP EliteBook 8560w. The buttons adjust the app but this has no effect on
> the screen

I guess this bug is related to nvidia graphic drivers.

You can try to build a driver to restore backlight control:
https://github.com/guillaumezin/nvidiabl

HTH

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



Re: Extracting directories from an ISO image, command line tool?

2015-09-14 Thread Thomas Schmitt
Hi,

Richard Owlett wrote:
> richard@jessie:~$  ls -l /media/richard/Lexar/dvd8_2.iso
> -rw-r--r-- 1 richard richard 3976200192 Sep  9 07:36 
> /media/richard/Lexar/dvd8_2.iso
> 
> richard@jessie:~$  /sbin/isosize /media/richard/Lexar/dvd8_2.iso
> 4677738496

You will need to get a new dvd8_2.iso of at least 4677738496
bytes size. 


> I've got some links "somewhere" for copying DVDs to files such that
> checksums can be verified. Suspect that info may useful.

Depending on the DVD medium type you have to expect trailing
garbage after the end of the ISO. This has to be taken into
respect when copying, diffing, or md5summing.

I would use for copying from DVD to disk:

  blocks=$(expr $(/sbin/isosize /dev/sr0) / 2048)
  echo "Byte count: $(expr $blocks '*' 2048)"

  dd if=/dev/sr0 bs=2048 count=$blocks of=dvd8_2.iso

(It would be nice if Debian's MD5SUMS would not only tell
 MD5 and image name but also the image size, or if there
 was a SIZES file.)

Error messages from dd or dvd8_2.iso turning out smaller than
the announced byte count indicate failure of copying.

If the size is ok, compute the MD5 of dvd8_2.iso

  md5sum dvd8_2.iso

If you have no checksum for the image, then eject and reload
the medium and run 

  dd if=/dev/sr0 bs=2048 count=$blocks | diff - dvd8_2.iso

in order to detect instabilities with repeated copying.
If so, then diff should report

  Binary files - and dvd8_2.iso differ


--

If everything stays suspiciously silent, make a damage test.

Before damaging the ISO, get the original state

  dd if=dvd8_2.iso bs=1 skip=3 count=1 2>/dev/null | od -t x1

I get told

  000 00
  001

So byte 3 has value 0. I replace it by a NewLine character
(value 10):

  echo | dd conv=notrunc of=dvd8_2.iso bs=1 seek=3 count=1

Now the above tests must report mismatch.

Repair ISO:

  dd if=/dev/zero conv=notrunc of=dvd8_2.iso bs=1 seek=3 count=1

If the original value was not 0, but hex "43":

  echo -n $'\0x43' | dd conv=notrunc of=dvd8_2.iso bs=1 seek=3 count=1


Have a nice day :)

Thomas



Re: Kernel crash message help

2015-09-14 Thread Tony van der Hoff
On 13/09/15 19:47, Glenn English wrote:
> 
> On Sep 13, 2015, at 4:04 AM, Tony van der Hoff  wrote:
> 
>> 
> 
> Don't ya just love it when there's an error and the message is "Oops" :-)
> 
> A guess from a for sure non-expert in case nobody knowledgeable answers:
> 
> Try replacing the SD card. Pretty cheap, and I had 'Pi troubles with similar 
> symptoms, cured with a new 'disk'. 
> 
Thanks, Glenn, that's the first thing I did. However, it was a clone of
the original; maybe I should have started again. I've now reduced the
overclock rate; so far it's been stable for 24 hours. Maybe...

> Yours seemed to be having what looks (to me) like problems with its disk. And 
> it also had enough working CPU and RAM to write out a whole lot of text 
> without errors and send it via SSH, so I discount hardware errors on the 
> board.
> 
> Hopefully, somebody who knows what he/she is talking about will respond to 
> this...
> 


-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |



Hotspot configuration

2015-09-14 Thread Himanshu Shekhar
Hey, I wish I could run apps as connectify.
However, the hotspot doesn't work from the GNOME network settings. Also,
the hotspotd package from the attachment doesn't work. I want to use my
hotspot from the attached package as I tried it on other Ubuntu laptops (no
offence to Debian) and I desire it to be in Debian.
Waiting for appropriate help!​
 hotspotd-0.1.tar.gz

​
-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Hotspot configuration

2015-09-14 Thread Reco
Hi.

On Mon, Sep 14, 2015 at 01:52:43PM +0530, Himanshu Shekhar wrote:
> Hey, I wish I could run apps as connectify.
> However, the hotspot doesn't work from the GNOME network settings.

It's somewhat expected. After all, 'GNOME network settings' is simply a
front-end to Network Manager. And the Network Manager's ability to, um,
manage the network settings is questionable in such cases.


> Also, the hotspotd package from the attachment doesn't work.

>From the quick look at [1], hotspotd is a whacky python script which
generates hostapd.conf, tweaks iptables and pokes Network Manager via
nmcli.

Since the Network Manager does not do what you're expecting from it in
the first place - it's no wonder that hotspotd fails on you.


> I want to use my hotspot from the attached package as I tried it on
> other Ubuntu laptops (no offence to Debian) and I desire it to be in
> Debian.

But why? Using hostapd directly is much cleaner and easier solution.

Still, if you're really wish to go that road - file the wnpp bug report
against this hostspotd and don't forget to find a maintainer for such
package. Sending e-mails to Debian *User* maillist won't help acception
of hotspotd at all.

Reco



Re: Upgrading Debian

2015-09-14 Thread Lisi Reisz
On Monday 14 September 2015 05:00:01 Patrick Bartek wrote:
> On Sun, 13 Sep 2015, Lisi Reisz wrote:
> > On Sunday 13 September 2015 16:13:19 Patrick Bartek wrote:
> > > On Sun, 13 Sep 2015, Himanshu Shekhar wrote:
> > > > I just want to make sure again. How can one upgrade from one
> > > > version of Debian to other without losing data or without
> > > > formatiing the partition, simply as Ubuntu does.

> > >
> > > I always found it best to follow Debian's instructions in the
> > > Release Notes and/or Installation Instructions of the version you
> > > want to upgrade to. AND back up your data before doing anything..
> > >
> > > Many times, there's more involved than just simply apt-get update,
> > > apt-get upgrade, etc.
> > >
> > > B
> >
> > He doesn't want to upgrade from one version to another.  He just
> > wants to do a normal upgrade in Jessie, that because of where we are
> > now, and when he last upgraded, will take it from 8.1 to 8.2.
>
> Oh.  But that's what he said.  Others seemed to misunderstand, too.  In
> any case, if he had read the instructions . . .
>
> What is it with people and instructions?

I know.  It took me a while to work out what he actually wanted with all the 
drama. ;-)  People who come from Ubuntu don't understand about point 
releases.  Since I don't know Ubuntu, I don't know what it is that they are 
thinking of.

Lisi



cups Unable to locate printer

2015-09-14 Thread niya levi
/Hi everyone
i have setup a printserver and i am able to printer locally from the
printserver,
i have setup a clientserver to print to the printserver,
avahi is installed on both servers,
from the clientserver when i try a test print from the cups admin page
the print job returns with the following error

Unable to locate printer "maybel.local

File: /etc/cups/cupsd.conf  


this the cupsd.conf on the printclient and the printserver

LogLevel warn
MaxLogSize 0
Listen *:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseLocalProtocols dnssd
DefaultAuthType Basic
DefaultEncryption IfRequested
WebInterface Yes

  # Restrict access to the server...
  Order allow,deny
  Allow all


  Order allow,deny
  allow 10.2.1.*


  AuthType Default
  Require user @SYSTEM
  Order allow,deny
  Allow all



is there a configuration step that i've missed ?

shadrock
/



Re: Upgrading Debian

2015-09-14 Thread Chris Bannister
On Sun, Sep 13, 2015 at 11:12:42AM +0300, Jarle Aase wrote:
> On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
> > I just want to make sure again. How can one upgrade from one
> > version of Debian to other without losing data or without
> > formatiing the partition, simply as Ubuntu does. An earlier mail in
> > this mailing list stated to reboot from iso image and install in
> > the same old traditional way. This Facebook post states something
> > else, and I couldn't make sure what to do without bricking up my
> > hard configured system. 
> > https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

> I usually do is to update /etc/apt/sources to the version I want

I think 'edit /etc/apt/sources' is a less ambiguous. I would add that
before editing /etc/apt/sources, I would make sure the current version
is up to date first.

> to upgrade to. Then I log out from X and log on to the console.
> 
> # apt-get update
> # apt-get upgrade
> # apt-get dist-upgrade

-- 
"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: Upgrading Debian

2015-09-14 Thread Lisi Reisz
On Monday 14 September 2015 14:01:48 Chris Bannister wrote:
> On Sun, Sep 13, 2015 at 11:12:42AM +0300, Jarle Aase wrote:
> > On 09/13/2015 10:57 AM, Himanshu Shekhar wrote:
> > > I just want to make sure again. How can one upgrade from one
> > > version of Debian to other without losing data or without
> > > formatiing the partition, simply as Ubuntu does. An earlier mail in
> > > this mailing list stated to reboot from iso image and install in
> > > the same old traditional way. This Facebook post states something
> > > else, and I couldn't make sure what to do without bricking up my
> > > hard configured system.
> > > https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663
> > >977/
> >
> > I usually do is to update /etc/apt/sources to the version I want
>
> I think 'edit /etc/apt/sources' is a less ambiguous. I would add that
> before editing /etc/apt/sources, I would make sure the current version
> is up to date first.

Same here.  Always fully upgrade what you have already, before attempting to 
upgrade to a new version.  Then edit your sources.list, re-consult the 
release notes, and upgrade following the instructions.

But in this particular case he doesn't want to upgrade in that sense.  He just 
needs to update his system, which because of the timing will go from 8.1 to 
8.2.  So he doesn't need to do anything special.  I have met Ubuntu users 
having problems with point releases before.  I don't know why.

Lisi

>> > to upgrade to. Then I log out from X and log on to the console.
> >
> > # apt-get update
> > # apt-get upgrade
> > # apt-get dist-upgrade



Re: Hotspot configuration

2015-09-14 Thread Himanshu Shekhar
So, specifically how one needs to use hostapd.

On Mon, Sep 14, 2015 at 2:46 PM, Reco  wrote:

> Hi.
>
> On Mon, Sep 14, 2015 at 01:52:43PM +0530, Himanshu Shekhar wrote:
> > Hey, I wish I could run apps as connectify.
> > However, the hotspot doesn't work from the GNOME network settings.
>
> It's somewhat expected. After all, 'GNOME network settings' is simply a
> front-end to Network Manager. And the Network Manager's ability to, um,
> manage the network settings is questionable in such cases.
>
>
> > Also, the hotspotd package from the attachment doesn't work.
>
> >From the quick look at [1], hotspotd is a whacky python script which
> generates hostapd.conf, tweaks iptables and pokes Network Manager via
> nmcli.
>
> Since the Network Manager does not do what you're expecting from it in
> the first place - it's no wonder that hotspotd fails on you.
>
>
> > I want to use my hotspot from the attached package as I tried it on
> > other Ubuntu laptops (no offence to Debian) and I desire it to be in
> > Debian.
>
> But why? Using hostapd directly is much cleaner and easier solution.
>
> Still, if you're really wish to go that road - file the wnpp bug report
> against this hostspotd and don't forget to find a maintainer for such
> package. Sending e-mails to Debian *User* maillist won't help acception
> of hotspotd at all.
>
> Reco
>
>


-- 
Himanshu Shekhar
IIIT-Allahabad
IRM2015006


Re: Extracting directories from an ISO image, command line tool?

2015-09-14 Thread Richard Owlett

Thomas Schmitt wrote:

Hi,

Richard Owlett wrote:

richard@jessie:~$  ls -l /media/richard/Lexar/dvd8_2.iso
-rw-r--r-- 1 richard richard 3976200192 Sep  9 07:36 
/media/richard/Lexar/dvd8_2.iso

richard@jessie:~$  /sbin/isosize /media/richard/Lexar/dvd8_2.iso
4677738496


You will need to get a new dvd8_2.iso of at least 4677738496
bytes size.



I've got some links "somewhere" for copying DVDs to files such that
checksums can be verified. Suspect that info may useful.


Depending on the DVD medium type you have to expect trailing
garbage after the end of the ISO. This has to be taken into
respect when copying, diffing, or md5summing.

I would use for copying from DVD to disk:

   blocks=$(expr $(/sbin/isosize /dev/sr0) / 2048)
   echo "Byte count: $(expr $blocks '*' 2048)"

   dd if=/dev/sr0 bs=2048 count=$blocks of=dvd8_2.iso

(It would be nice if Debian's MD5SUMS would not only tell
  MD5 and image name but also the image size, or if there
  was a SIZES file.)

Error messages from dd or dvd8_2.iso turning out smaller than
the announced byte count indicate failure of copying.


It appears that all of my dvd8_*.iso (except possibly dvd8_1.iso) 
were defective.

Using instructions above to create dvd8_2.iso apparently works.
Don't know what I did wrong last time around.

Thank you.






Re: Upgrading Debian

2015-09-14 Thread David Wright
Quoting Himanshu Shekhar (irm2015...@iiita.ac.in):
> I just want to make sure again. How can one upgrade from one version of Debian
> to other without losing data or without formatiing the partition, simply as
> Ubuntu does.

The more times you ask, the more different answers you will receive.
At some point you have to dive in and do it, just as you yourself
have encouraged others to do (probably unwisely in that case):
https://lists.debian.org/debian-user/2015/09/msg00464.html

> An earlier mail in this mailing list stated to reboot from iso image and
> install in the same old traditional way.

I'm not sure what you mean by "old traditional way", particularly as
you have muddied the waters by bringing up Ubuntu. But, at face value,
that doesn't sound like an upgrade but more like a reinstallation.
Not knowing which thread you were referring to, I can't comment further.

> This Facebook post states something else, and I couldn't make sure what to do
> without bricking up my hard configured system.

I'm not sure what you mean by "bricking". If you follow the
instructions on the Debian website, you won't go far wrong.
If/when you do, you'll learn something, and by all means post specific
questions here if you need help.

> https://www.facebook.com/groups/lifewithdebian/permalink/10153149941663977/

Sorry, but I've no idea what I'm meant to see at that address.

The upshot is to try doing it, rather than asking for people here to
post what's already amply documented on Debian.

Cheers,
David.



rsyncd - chroot failed

2015-09-14 Thread Dr. Volker Thieme
Hi!

I have installed rsync in Jessie. But every attempt to sync from a remote 
computer leads to the error message:

@ERROR: chroot failed
rsync error: error starting client-server protocol (code 5) at main.c(1635) 
[sender=3.1.1]

Here is my rsyncd.conf:

hosts allow = 192.168.56.0/24
use chroot = true
transfer logging = true
log file = /var/log/rsyncd.log
log format = %h %o %f %l %b
[rsyncshare]
path = /rsyncshare
read only = no
list = yes
uid = john
gid = john

The directory /rsyncshare is owned by john… 

drwxr-xr-x  2 johnjohn4.0K Sep  9 18:45 ./
drwxr-xr-x 23 rootroot4.0K Sep  9 18:39 ../

The share is accessible from my workstation:

sam@malibu:~$ rsync 192.168.56.65::
rsyncshare  Public Share

What I’m doing wrong? 

Best Regards!




















Re: Upgrading Debian

2015-09-14 Thread Patrick Bartek
On Mon, 14 Sep 2015, Lisi Reisz wrote:

> On Monday 14 September 2015 05:00:01 Patrick Bartek wrote:
> > On Sun, 13 Sep 2015, Lisi Reisz wrote:
> > > On Sunday 13 September 2015 16:13:19 Patrick Bartek wrote:
> > > > On Sun, 13 Sep 2015, Himanshu Shekhar wrote:
> > > > > I just want to make sure again. How can one upgrade from one
> > > > > version of Debian to other without losing data or without
> > > > > formatiing the partition, simply as Ubuntu does.
> 
> > > >
> > > > I always found it best to follow Debian's instructions in the
> > > > Release Notes and/or Installation Instructions of the version
> > > > you want to upgrade to. AND back up your data before doing
> > > > anything..
> > > >
> > > > Many times, there's more involved than just simply apt-get
> > > > update, apt-get upgrade, etc.
> > > >
> > > > B
> > >
> > > He doesn't want to upgrade from one version to another.  He just
> > > wants to do a normal upgrade in Jessie, that because of where we
> > > are now, and when he last upgraded, will take it from 8.1 to 8.2.
> >
> > Oh.  But that's what he said.  Others seemed to misunderstand,
> > too.  In any case, if he had read the instructions . . .
> >
> > What is it with people and instructions?
> 
> I know.  It took me a while to work out what he actually wanted with
> all the drama. ;-)  People who come from Ubuntu don't understand
> about point releases.  Since I don't know Ubuntu, I don't know what
> it is that they are thinking of.

Different terminology.  With most distros "update" means what
"upgrade" does with Debian.  And "upgrade" means "dist-upgrade."

Yes, Ubuntu is a different beast.   The only experience I have with
it is from its debut release years ago. Hated it so much, I uninstalled
it a week later and never tried it again.  I don't know why people love
it so much.  To each, his own, I guess.

B



Re: URGENTLY need help on using VPN

2015-09-14 Thread Frederic Marchal
On Friday 11 September 2015 14:52:19 Li Wei wrote:
> Thank Georgi Naplatanov and all those who reply!
> 
> The Chinese firewall is sophisticated
> and I have not been able to download
> http://openvpn.net/howto.html
> sent in attachment by kind users.

I can encrypt the file and send it to you. I would encrypt it with this 
command:

openssl des3 -nosalt -in openvpn-howto.tar.bz2 -out Sample-random-file  
-pass pass:"root...@yahoo.com"

You would then have to decrypt it like this:

openssl des3 -d -nosalt -in Sample-random-file -out openvpn-
howto.tar.bz2  -pass pass:"root...@yahoo.com"

This encryption method is not secure at all. Its purpose is to hide the 
nature of the file thus preventing any automatic tool from scanning its 
content.

It is still possible that the firewall would block any file it can't understand.

Do you think it is worth trying it?

Does anybody knows of a better way and is allowed to share it?

Frederic


Re: URGENTLY need help on using VPN

2015-09-14 Thread Gabriel Corona
Hi,

> I'm in China and the site above is blocked. Thanks!

You should be aware that if you use plain OpenVPN, people will be able
to say that you're using a VPN (but they won't be able to say what's
passing in the VPN -- if your VPN is well configured).

If this is an issue for you, you might want to to use a more covert
VPN solution instead.

If you want to use OpenVPN, you might want to ensure that you have a
kill switch (there is none by default with the CLI client). Otherwise,
by killing the VPN connection, an attacker could make you leak
sensitive packets.

-- 
Gabriel



How to find pkg specific font belongs to

2015-09-14 Thread Harry Putnam
I want to find the exact package font:

  -dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1

belongs to.

I did search `find /usr/share/fonts -iname '*dec*'
   /usr/share/fonts/X11/misc/deccurs.pcf.gz
   /usr/share/fonts/X11/misc/decsess.pcf.gz
   /usr/share/fonts/X11/encodings/dec-special.enc.gz

And, of course I search those filenames with apt-file to get package
name.

The trouble is, I don't (yet) know which, if any, contains the above
mentioned exact font name.

'zcat FNAME|grep -i dec' on the above file names ... is not usefull
either.



Re: Mdadm grub install problem

2015-09-14 Thread Muhammad Yousuf Khan
command "grub-install --modules=part_gpt /dev/sdc" resolved the issue for
me. however i also wanted to know that how it actually works.
what is the difference. i can understand i am mentioning gpt module in
the command but what is the theoretical story behind this to work. or
what is the difference b/w grub-install /dev/sdc and grub-install
--modules=part_gpt /dev/sdc

On Mon, Sep 14, 2015 at 12:28 PM, Pascal Hambourg 
wrote:

> Gary Dale a écrit :
> > On 13/09/15 04:28 PM, Muhammad Yousuf Khan wrote:
> >>
> >> GRUB loading.
> >> Welcome to GRUB!
> >>
> >> error: no such device: 2
> >> Entering rescue mode...
> >> grub rescue>
> >>
> >> moreover when i use command "ls"
> >>
> >> it shows me (hda0)
> >
> > mdadm doesn't care about partition tables.
>
> But GRUB does. "No such device" seems to indicate that GRUB did not find
> the disk, partition or RAID array specified in the $prefix variable,
> where the files in /boot/grub/ are supposed to be located. Also, ls
> showing only the whole disk (hd0) without any partition seems to
> indicate that it could not read the partition table. GRUB has specific
> modules to read each partition table format, and such module(s) need to
> be embedded into the core image by grub-install in order to be able to
> read the partition table of the disk(s) containing /boot/grub. Same with
> RAID modules.
>
> > It just wants to be able to
> > find the arrays. However to start the array, grub needs the initramfs.
>
> GRUB does not need an initramfs to start RAID arrays. The Linux kernel
> does. GRUB just loads the initramfs in memory for the Linux kernel.
>
>


Re: Mdadm grub install problem

2015-09-14 Thread Pascal Hambourg
Muhammad Yousuf Khan a écrit :
> command "grub-install --modules=part_gpt /dev/sdc" resolved the issue for
> me.

Glad to hear it.

> however i also wanted to know that how it actually works.
> what is the difference. i can understand i am mentioning gpt module in
> the command but what is the theoretical story behind this to work. or
> what is the difference b/w grub-install /dev/sdc and grub-install
> --modules=part_gpt /dev/sdc

A typical GRUB boot loader comes in 2 or 3 parts :
1) A "boot image" installed in the boot sector of a disk (MBR) or a
partition (PBR). Not used for EFI boot.
2) A "core image" installed either in a special place outside a
filesystem (gap between the MBR and 1st partition in a MSDOS format
disk, BIOS boot partition in a GPT format disk) or as a regular file in
a filesystem, /boot/grub/core.img or /boot/grub/i386-pc/core.img for PC
BIOS, or /boot/efi/EFI/debian/grubx64.efi for UEFI.
3) Various files in /boot/grub/, including the config file grub.cfg and
modules.

The BIOS firmware loads the boot image which loads the core image, or
the EFI firmware loads directly the core image. Then the core image
reads files in /boot/grub to display the boot menu, then reads files in
/boot/grub and other locations to boot the selected entry.

The boot image uses block lists to load the core image, so it does not
have to understand partition tables, filesystems or whatever. But the
core image read files, so it has to understand the filesystem, partition
table, RAID array or LVM volume these files reside in. GRUB modules are
just like Linux kernel modules : they provide loadable capabilities to
the core image (~ GRUB kernel) to read filesystems such as ext2/3/4,
btrfs, NTFS, FAT, containers such as LVM or RAID, partition tables such
as GPT or MSDOS and so on. The purpose of this modular design is to keep
the core image small, otherwise it may not fit into the post-MBR gap
(previously 31 KiB, now 1 MiB). But modules are files, and the core
image must be able to load them before it can use their capabilities. So
the required modules to read files in /boot/grub must be embedded into
the core image. grub-install is supposed to auto-detect all needed
modules and include them when building the core image. However, it seems
that in your case it didn't. Maybe it was confused by the presence of
both MSDOS and GPT partition tables. The --modules option instructed
grub-install to include the module providing the missing capability to
read GPT partition tables.



Question about "reportbug" tool and -B / --bts option

2015-09-14 Thread vochor
Hello,


I want to send a bug report to x2go BTS (sub...@bugs.x2go.org) with
"reportbug" tool. They said that I can use "reportbug" in here
.

I can show the valid BTS servers with:
$ reportbug --bts help
Valid bug tracking systems:
 default
 guug
 debian
 ubuntu

But, x2go is not supported by default.

Could you explain me how to specify a custom BTS server?


Regards,
vochor


Re: URGENTLY need help on using VPN

2015-09-14 Thread Li Wei
Thank Frederic!
but I have received it in pdf format sent by kind user

The Chinese firewall is sophisticated and
even sending/receiving mail at YahooMail are blocked sometime
Some Chinese free mail server doesn't allow you to subscribe to this list




On Mon, 9/14/15, Frederic Marchal  wrote:

 Subject: Re: URGENTLY need help on using VPN
 To: debian-user@lists.debian.org
 Date: Monday, September 14, 2015, 12:37 PM
 
 
 #yiv1100783171 p, #yiv1100783171 li {white-space:pre-wrap;}
 
 On
  
 I
 can encrypt the file and send it to you. I would encrypt it
 with this command:
  
 
openssl des3 -nosalt -in openvpn-howto.tar.bz2 -out
 Sample-random-file  -pass
 pass:"root...@yahoo.com"
  
 You
 would then have to decrypt it like this:
  
 
openssl des3 -d -nosalt -in Sample-random-file -out
 openvpn-howto.tar.bz2  -pass
 pass:"root...@yahoo.com"
  
 This
 encryption method is not secure at all. Its purpose is to
 hide the nature of the file thus preventing any automatic
 tool from scanning its content.
  
 It
 is still possible that the firewall would block any file it
 can't understand.
  
 Do
 you think it is worth trying it?
  
 Does
 anybody knows of a better way and is allowed to share
 it?
  
 Frederic



Re: URGENTLY need help on using VPN

2015-09-14 Thread Li Wei
Thank Gabriel Corona!

I knew it
I believe there are many people using VPN
The government might find it hard to punish many many people
If they think VPN is dangerous, they can simply disable it
but disabling VPN will harm the government's image


On Mon, 9/14/15, Gabriel Corona  wrote:

 Subject: Re: URGENTLY need help on using VPN
 To: "Li Wei" 
 Cc: debian-user@lists.debian.org
 Date: Monday, September 14, 2015, 1:00 PM
 
 Hi,
 
 
 You
 should be aware that if you use plain OpenVPN, people will
 be able
 to say that you're using a VPN
 (but they won't be able to say what's
 passing in the VPN -- if your VPN is well
 configured).
 
 If this is an
 issue for you, you might want to to use a more covert
 VPN solution instead.
 
 If you want to use OpenVPN, you might want to
 ensure that you have a
 kill switch (there is
 none by default with the CLI client). Otherwise,
 by killing the VPN connection, an attacker
 could make you leak
 sensitive packets.
 
 -- 
 Gabriel
 
 



cheese is broken in wheezy as is v4l2ucp

2015-09-14 Thread Gene Heskett
Greetings;

Debian wheezy, 7.8 I think install, on an older (and halt buggy) athlon 
amd64 dual core machine.

Attempting to run cheese to see if a rather high priced, hidef webcam 
works, gets me a screen full of identical squawks that read like this:

(cheese:5847): Gtk-WARNING **: Attempting to add a widget with type 
GtkImage to a GtkToggleButton, but as a GtkBin subclass a 
GtkToggleButton can only contain one widget at a time; it already 
contains a widget of type GtkLabel

So cheese is busted.  And its a fresh install today.

Its a Logitech C920 camera.

So, I install all the v4l2 stuff I can find, and run that, which finds 
the camera and reads out its defaults just fine.  But don't you dare 
click on one of them because the common user can't putz with it, and 
v4l2ucp is stuck in a continuous throw up an I can't write error that is 
not clearable, the popup is self reproducing once started by the click, 
so you have to find another terminal and killall it to get rid of it.

This obviously isn't quite as user-friendly as the authors intended.

So, what I am wondering about, but not sure of what I'm doing if I go 
mucking around in the udev innards, is it setting the thing up when the 
cable is plugged in as a root only full access?

That, as Jackie Gleason said many times "What a revoltin development that 
is"

If thats the case, how do I fix it so the only user, me, can actually use 
it?

Thanks all.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page 



Re: How to find pkg specific font belongs to

2015-09-14 Thread Cindy-Sue Causey
On 9/14/15, Harry Putnam  wrote:
> I want to find the exact package font:
>
>   -dec-terminal-medium-r-normal--14-140-75-75-c-80-iso8859-1
>
> belongs to.
>
> I did search `find /usr/share/fonts -iname '*dec*'
>/usr/share/fonts/X11/misc/deccurs.pcf.gz
>/usr/share/fonts/X11/misc/decsess.pcf.gz
>/usr/share/fonts/X11/encodings/dec-special.enc.gz
>
> And, of course I search those filenames with apt-file to get package
> name.
>
> The trouble is, I don't (yet) know which, if any, contains the above
> mentioned exact font name.
>
> 'zcat FNAME|grep -i dec' on the above file names ... is not usefull
> either.


I knew there was a place to search the contents of packages, just
couldn't remember where. Traveled over to packages.debian.org in the
meantime, and... seems there's where you search package contents.
*smacking head (very hard)*

https://www.debian.org/distrib/packages#search_contents

Before sharing, I tried umpteen different variations by chopping parts
off both the front end and the back end of your desired find and
got absolute zero every time. Maybe your luck will be different.

Cindy :)

-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* hey, looky there, text field's dictionary didn't gripe about
"umpteen" being a correctly spelled word. oh, but it apparently
doesn't like the word... "looky". ok, so let's try... "lookie". nope.
doesn't like that, either. "lookey"? nope. hm. *



Re: Hotspot configuration

2015-09-14 Thread Riley Baird
On Mon, 14 Sep 2015 19:18:15 +0530
Himanshu Shekhar  wrote:

> So, specifically how one needs to use hostapd.

This guide might help. If you have troubles using it, let us know.

https://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create-virtual-wifi-access-point/


pgpz_S04eWu3j.pgp
Description: PGP signature


testing/stretch package source

2015-09-14 Thread Ryan Barber
Hey there,

Why are some common packages like gnuradio and gqrx not available in
testing/stretch at the moment?

It appears both packages were available at some point because google has
cached both of these links:

https://packages.debian.org/*stretch*/*gqrx*-sdr

https://packages.debian.org/*stretch*/*gnuradio*

-Ryan


Re: Question about "reportbug" tool and -B / --bts option

2015-09-14 Thread Riley Baird
> I want to send a bug report to x2go BTS (sub...@bugs.x2go.org) with
> "reportbug" tool. They said that I can use "reportbug" in here
> .
> 
> I can show the valid BTS servers with:
> $ reportbug --bts help
> Valid bug tracking systems:
>  default
>  guug
>  debian
>  ubuntu
> 
> But, x2go is not supported by default.
> 
> Could you explain me how to specify a custom BTS server?

Look at the option --bts in the manpage.


pgpxIruIFcHmg.pgp
Description: PGP signature


Currency problem

2015-09-14 Thread Heracles
I have Debian 8 installed and cannot get it to display in Australian 
Dollars. I have set the locale to English(Australian) and get the 
following readout from locale:


LANG=en_AU
LANGUAGE=
LC_CTYPE="en_AU"
LC_NUMERIC="en_AU"
LC_TIME="en_AU"
LC_COLLATE="en_AU"
LC_MONETARY="en_AU"
LC_MESSAGES="en_AU"
LC_PAPER="en_AU"
LC_NAME="en_AU"
LC_ADDRESS="en_AU"
LC_TELEPHONE="en_AU"
LC_MEASUREMENT="en_AU"
LC_IDENTIFICATION="en_AU"
LC_ALL=

When I use Google Chrome it converts all currency to euros. What have I 
done wrong?

Heracles



Re: Upgrading Debian

2015-09-14 Thread Seeker



On 9/14/2015 2:33 AM, Lisi Reisz wrote:

I know.  It took me a while to work out what he actually wanted with all the
drama. ;-)  People who come from Ubuntu don't understand about point
releases.  Since I don't know Ubuntu, I don't know what it is that they are
thinking of.

Lisi



I do run Ubuntu LTS on a machine at my work place and I don't know what 
the thinking is

either. :-\

If there is an actual new release the update manager tells you about it 
and gives you the

option to upgrade, no mucking about with sources.list files, ISOs, etc...
After the upgrade you then have to go through any *.list files in 
'/etc/apt/sources.list.d/'
if you have any to re-enable them and make sure they point where they 
need do.
Not sure what happens if you have unofficial stuff in your sources.list 
instead of in placing

them in their own *.list files.

Personally I prefer editing my *.list files and pulling in smaller 
batches of updates.


For point releases, if you keep up with the updates you probably have 
most of it by the
time install images are made available anyway so just keep doing updates 
the same way

no reason to re-install.

There is a possibility of some driver/init related stuff being a little 
different in a re-install
compared to just doing the normal update, but the odds of noticing the 
difference is pretty

small so If it ain't broke, don't fix it.

In the general sense, more or less the same as it is with Debian.:-)

Later, Seeker



Re: Currency problem

2015-09-14 Thread Charlie
On Tue, 15 Sep 2015 14:07:17 +1000 Heracles sent:

> When I use Google Chrome it converts all currency to euros. What have
> I done wrong?

Probably not indicated in Google Chrome that you are in Australia?

Be well,
Charlie

-- 
Registered Linux User:- 329524
***

If one advances confidently in the directions of his dreams,
and endeavors to live the life which he has imagined, he will
meet with a success unexpected in common hours. .Henry
David Thoreau

***

Debian GNU/Linux - Magic indeed.

-



Debian sid transition to KDE 5?

2015-09-14 Thread amont
  
Dear all,

I am running Debian sid since 2006 with no problem at
all. When I type in aptitude dist-upgrade, I have been getting the below
messages. To fix it, please, is it just question of time (something
related to KDE 5 transitional packages)?

Best wishes,

Andrea

The
following NEW packages will be installed:
 accountsservice{a}
appstream{a} baloo-kf5{a} breeze{a} breeze-cursor-theme{a}
breeze-icon-theme{a} catdoc{a} cpp-5{a} cracklib-runtime{a}
debconf-kde-data{a} dirmngr{a} 
 distro-info-data{a} fonts-oxygen{a}
frameworkintegration{a} g++-5{a} gcc-5{a} gfortran-5{a} gnuplot5-data{a}
gnuplot5-qt{a} icoutils{a} ieee-data{a} kactivities{ab} 
 kate5-data{a}
kde-cli-tools{a} kde-cli-tools-data{a} kde-config-gtk-style{a}
kde-config-sddm{a} kde-style-breeze{a} kde-style-breeze-qt4{a}
kde-style-oxygen-qt5{a} 
 kde-style-qtcurve-qt4{a}
kde-style-qtcurve-qt5{a} kded5{a} kdepim-doc{a} kgamma5{a} khotkeys{a}
khotkeys-data{a} kinit{a} kio{a} kio-extras{a} kio-extras-data{a} 

konsole-kpart{a} konsole4-kpart{a} ksshaskpass{a} ktexteditor-data{a}
ktexteditor-katepart{a} ktnef{a} kwin-common{a} kwin-data{a}
kwin-style-breeze{a} kwin-x11{a} 
 kwrited{a} libaccountsservice0{a}
libapt-inst1.7{a} libapt-pkg4.16{a} libasan2{a} libasprintf0v5{a}
libatkmm-1.6-1v5{a} libavcodec-ffmpeg56{a} libavcodec-ffmpeg56:i386{a} 

libavdevice-ffmpeg56{a} libavfilter-ffmpeg5{a} libavformat-ffmpeg56{a}
libavresample-ffmpeg2{a} libavresample-ffmpeg2:i386{a}
libavutil-ffmpeg54{a} 
 libavutil-ffmpeg54:i386{a}
libb-hooks-endofscope-perl{a} libb-hooks-op-check-perl{a}
libbabeltrace-ctf1{a} libbabeltrace1{a} libbareword-filehandles-perl{a}
libbdplus0{a} 
 libboost-date-time1.58.0{a}
libboost-filesystem1.58-dev{a} libboost-filesystem1.58.0{a}
libboost-iostreams1.58-dev{a} libboost-iostreams1.58.0{a} 

libboost-program-options1.58.0{a} libboost-regex1.58-dev{a}
libboost-regex1.58.0{a} libboost-system1.58-dev{a}
libboost-system1.58.0{a} libboost-thread1.58.0{a} 
 libboost1.58-dev{a}
libbs2b0{a} libcairomm-1.0-1v5{a} libcanberra-pulse{a} libcc1-0{a}
libccrtp2v5{a} libclass-method-modifiers-perl{a}
libclass-xsaccessor-perl{a} 
 libclucene-contribs1v5{a}
libclucene-core1v5{a} libcmis-0.5-5v5{a} libcpan-changes-perl{a}
libcrack2{a} libcrystalhd3:i386{a} libcwidget3v5{ab} libdap17v5{a} 

libdapclient6v5{a} libdapserver7v5{a} libdata-perl-perl{a}
libdbus-c++-1-0v5{a} libdebconf-kde1{a} libdevel-caller-perl{a}
libdevel-lexalias-perl{a} libdrm-amdgpu1{a} 
 libebml4v5{a}
libept1.4.16{a} libexiv2-14{a} libflac++6v5{a} libgcc-5-dev{a}
libgdal1i{a} libgeos-3.5.0{a} libgeos-c1v5{a}
libgetopt-long-descriptive-perl{a} 
 libgfortran-5-dev{a} libgit2-23{a}
libglibmm-2.4-1v5{a} libgltf-0.0-0v5{a} libgpgme++2v5{a}
libgraphicsmagick++11{a} libgtkmm-2.4-1v5{a} libgtkmm-3.0-1v5{a} 

libhttp-parser2.1{a} libicu55{a} libilmbase6v5{a} libimport-into-perl{a}
libindirect-perl{a} libinput10{a} libjsoncpp0v5{a}
libkdecorations2-5v5{a} 
 libkdecorations2private5v5{a}
libkf5activitiesexperimentalstats1{a} libkf5baloo5{a}
libkf5balooengine5{a} libkf5bluezqt6{a} libkf5dnssd-data{a}
libkf5dnssd5{a} 
 libkf5emoticons-bin{a} libkf5emoticons-data{a}
libkf5emoticons5{a} libkf5filemetadata-bin{a} libkf5filemetadata-data{a}
libkf5filemetadata3{a} libkf5globalaccelprivate5{a} 
 libkf5gpgmepp5{a}
libkf5idletime5{a} libkf5itemmodels5{a} libkf5jsembed-data{a}
libkf5jsembed5{a} libkf5kiontlm5{a} libkf5notifyconfig-data{a}
libkf5notifyconfig5{a} 
 libkf5people-data{a} libkf5people5{a}
libkf5peoplebackend5{a} libkf5peoplewidgets5{a} libkf5pty-data{a}
libkf5pty5{a} libkf5style5{a} libkf5su-bin{a} libkf5su-data{a} 

libkf5su5{a} libkf5texteditor5{a} libkf5waylandserver5{a}
libkf5webkit5{a} libkf5xmlrpcclient-data{a} libkf5xmlrpcclient5{a}
libkfontinst5{a} libkfontinstui5{a} 
 libkmlbase1{a}
libkmlconvenience1{a} libkmldom1{a} libkmlengine1{a}
libkmlregionator1{a} libkmlxsd1{a} libkolab0v5{a} libkolabxml1v5{a}
libkwin4-effect-builtins1{a} 
 libkwineffects6{a} libkwinglutils6{a}
libkwinxrenderutils6{a} libkworkspace5-5{a}
liblexical-sealrequirehints-perl{a} libllvm3.5v5{a} libllvm3.5v5:i386{a}
liblmdb0{a} 
 liblwgeom-2.1.8{a} libmagick++-6.q16-5v5{a}
libmatroska6v5{a} libminizip1{a} libmoo-perl{a}
libmoox-handlesvia-perl{a} libmpx0{a} libmsn0.3v5{a}
libmultidimensional-perl{a} 
 libmuon{a} libmuparser2v5{a}
libmusicbrainz5cc2v5{a} libnamespace-autoclean-perl{a}
libnamespace-clean-perl{a} libnetcdf-c++4{a} libnetcdf-cxx-legacy-dev{a}
libnetcdf7{a} 
 libnghttp2-14{a} libnpth0{a} liboctave3{a}
liboctave3v5{ab} libokularcore6{a} libopencv-calib3d2.4v5{ab}
libopencv-contrib2.4v5{ab} libopencv-core2.4v5{ab} 

libopencv-features2d2.4v5{ab} libopencv-flann2.4v5{ab}
libopencv-highgui2.4v5{ab} libopencv-imgproc2.4v5{ab}
libopencv-legacy2.4v5{ab} libopencv-ml2.4v5{ab} 

libopencv-objdetect2.4v5{ab} libopencv-video2.4v5{ab} libopenexr6v5{a}
libopenjp2-7{a} liborcus-0.10-0v5{a} liboxygenstyle5-5{a}
liboxygenstyleconfig5-5{a} 
 libpackage-stash-perl{a}
libpackage-stash-xs-perl{a} libpadwalker-perl{a} libpa