Re: endianness (was Re: sysadmin qualifications (Re: apt-get vs. aptitude))

2013-10-17 Thread Joe Pfeiffer
Jonathan Dowland  writes:

> On Thu, Oct 17, 2013 at 05:29:33PM +0200, berenger.mo...@neutralite.org wrote:
>> Speaking about endianness, it really is hard to manage:
>> 
>> void myfunction( ... )
>> {
>> #ifdef BIG_ENDIAN
>> move_bytes_in_a_specific_order
>> #else
>> move_bytes_in_the_other_specific_order
>> #endif
>> }
>
> Bad way to manage endian in C. Better to have branching based on C
> itself (rather than preprocessor), otherwise you run the risk of never
> testing code outside the branch your dev machine(s) match. E.g. use
>
> char is_little_endian( … ) {
>   int i = 1;
>   int *p = &i;
>   return 1 == *(char*)p;
> }
>
> Or similar. The test will likely be compiled out as a no-op anyway with
> decent compilers (GCC: yes; Sun Workshop: no.)

What's wrong with htonl and other similar functions/macroes?


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1bfvrz6v1o@snowball.wb.pfeifferfamily.net



Re: Oddity in synaptic 0.75.13 (Wheezy)

2013-10-17 Thread Beco
On 17 October 2013 19:24, Cybe R. Wizard  wrote:
>
> Using synaptic 0.75.13 in Wheezy under the menu item, "Settings,
> Repositories," the updates tab lists, "Notify me of a new Ubuntu
> version."
>
> What?  Is someone developing for Debian but promoting Ubuntu?  Did
> Ubuntu push this version upstream?
>
> Inquiring mind and all that.
>
> Cybe R. Wizard
> --
> Nice computers don't go down.
> Larry Niven, Steven Barnes
> "The Barsoom Project"

I read this and could believe, so I went to synaptic to see. It's there.

Debian trade-mark is a very strong, and brings with it so many
attributes conquered over time. We must be careful to not let this
happen.

I understand people must be developing for ubuntu more than for
debian, and that sometimes software goes the other way around.

This collaboration between distros is very important. But keeping
Debian Debian is of utter importance.

It's a marketing issue, so I cc'd the debian-publicity mailing list to
alert the problem.

My best,
Beco.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2yWzCNuQ5D2=00qmygdicy9f653hbz4pfgb50rmuzg...@mail.gmail.com



Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-17 Thread Miles Fidelman

berenger.mo...@neutralite.org wrote:





So, what you name an OS is only drivers+kernel? If so, then ok. But 
some people consider that it includes various other tools which does 
not require hardware accesses. I spoke about graphical applications, 
and you disagree. Matter of opinion, or maybe I did not used the 
good ones, I do not know.
So, what about dpkg in debian? Is it a part of the OS? Is not it a 
ring 3 program? As for tar or shell?




Boy do you like to raise issues that go into semantic grey areas :-)


Not specially, but, to say that C has been made to build OSes only, 
you then have to determine what is an OS to make the previous 
statement useful. For that, I simply searched 3 different sources on 
the web, and all of them said that simple applications are part of the 
OS. Applications like file browsers and terminal emulators.
Without using the same words for the same concepts, we can never 
understand the other :)


I'm pretty sure that C was NOT written to build operating systems - 
though it's been used for that (notably Unix).


To quote from the first sentence of the Preface to the classic C book, 
"The C Programming Language" by Kernighan and Ritchie, published by Bell 
Labs in 1978 (pretty authoritative given that Ritchie was one of C's 
authors):


"C is a general-purpose programming language "

Now there ARE "systems programming" languages that were created for the 
specific purpose of writing operating systems, compilers, and other 
systems software.  BCPL comes to mind.  PL360 and PL/S come to mind from 
the IBM world.  As I recall, Burroughs used ALGOL to build operating 
systems, and Multics used PL/1.


LISP was interesting in that it was written in LISP (modulo a tiny 
bootstrap) as was most of the o/s for both flavors of LISP machine (if 
memory serves me - its been a while).





No, but I do understand why comparing text is slower than integers 
on x86 computers. Because I know that an int can be stored into one 
word, which can be compared with only one instruction, while the 
text will imply to compare more than one word, which is indeed 
slower. And it can even become worse when the text is not an ascii one.
So I can use that understanding to know why I often avoid to use 
text as keys. But it happens that sometimes the more problematic 
cost is not the speed but the memory, and so sometimes I'll use text 
as keys anyway.
Knowing what is the word's size of the SQL server is not needed to 
make things work, but it is helps to make it working faster. Instead 
of requiring to buy more hardware.


On the other hand, I could say that building SQL requests is not my 
job, and to left it to specialists which will be experts of the 
specific hardware + specific SQL engine used to build better 
requests. They will indeed build better than I can actually, but it 
have a time overhead and require to hire specialists, so higher 
price which may or may not be possible.


Seems to me that you're more right on with your first statement. How
can one not consider building SQL requests as part of a programmer's
repertoire, in this day and age?


I agree, it is part of programmer's job. But building a bad SQL 
request is easy, and it can make an application unusable in real 
conditions when it worked fine while programming and testing.


Sure, but writing bad code is pretty easy too :-)

I'd simply make the observation that most SQL queries are generated on 
the fly, by code - so the notion of building SQL requests to "experts" 
is a non-starter.  Someone has to write the code that in turn generates 
SQL requests.



For now, I should say that knowing the basics of internals allow to 
build more efficient softwares, but:


Floating numbers are another problem where understanding basics can 
help understanding things. They are not precise (and, no, I do not 
know exactly how they work. I have only basics), and this can give 
you some bugs, if you do not know that their values should not be 
considered as reliable than integer's one. (I only spoke about 
floating numbers, not about fixed real numbers or whatever is the 
name).
But, again, it is not *needed*: you can always have someone who says 
to do something and do it without understanding why. You'll probably 
make the error anew, or use that trick he told you to use in a less 
effective way the next time, but it will work.


And here, we are not in the simple efficiency, but to something 
which can make an application completely unusable, with "random" 
errors.



As in the case when Intel shipped a few million chips that
mis-performed arithmatic operations under some very odd cases.


No need for a problem in the chip. Simply doing things like "0.1f == 
1.0f/10.0f" in a moment you do not take care can cause problems. I 
think that compilers warn about that however.


:-)



But now, are most programmers paid by societies with hundreds of 
programmers?


(and whether you actually mean "developer" vs. "programmer")


I do not see

Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread Beco
On 17 October 2013 07:23, Bonno Bloksma  wrote:
> If I remember correctly it was in the step from Lenny to Squeeze. I know for 
> sure I had to do it on several machines.
> Yup, just found it in my old notes, it was Lenny to Squeeze.
>
> Bonno Bloksma
>

Hi Bonno, hi Reco,

Yep, I confirm. I did this on my personal computers and two servers a
while back. Kind of confusing... I almost lost one of the servers. I
hope as time and Debian evolves, these procedures go safer and safer.

Best,
Beco.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALuYw2xCV7-05vyqUjT9_XRqWLrHS3Tqg5=rsp7umty+pdf...@mail.gmail.com



Re: what's up with the apt-get

2013-10-17 Thread Bob Proulx
don magnify wrote:
> what exactly needs to be in sources.list?

You are missing Wheezy main.  You only have:

> deb http://ftp.debian.org/debian/ wheezy-updates main contrib

And that is contrib without non-free which seems odd to me.

I think you would be happy with exactly these lines.  Simplest is to
move your entire file out of the way and then install these six lines.

deb http://ftp.us.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian wheezy main contrib non-free
deb http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

Be sure to run 'apt-get update' after making changes.

Bob


signature.asc
Description: Digital signature


what's up with the apt-get

2013-10-17 Thread don magnify
no vim candidate?!

isn't this it:
http://packages.debian.org/wheezy/vim

what exactly needs to be in sources.list?

i got this installing from iso. initially the cdrom part was in but since i
don't have a cdrom i got rid of it...

#

# deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1
20130615-23:06]/ wheezy contrib main

#deb cdrom:[Debian GNU/Linux 7.1.0 _Wheezy_ - Official amd64 DVD Binary-1
20130615-23:06]/ wheezy contrib main


#deb http://security.debian.org/ wheezy/updates main contrib
#deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib
~



here is the awesomeness:

root@debian:/etc/apt# apt-get update
Hit http://ftp.debian.org wheezy-updates Release.gpg
Hit http://ftp.debian.org wheezy-updates Release
Get:1 http://ftp.debian.org wheezy-updates/main amd64 Packages/DiffIndex
[367 B]
Hit http://ftp.debian.org wheezy-updates/contrib amd64 Packages
Hit http://ftp.debian.org wheezy-updates/contrib Translation-en
Get:2 http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex
[367 B]
Fetched 734 B in 0s (1,007 B/s)
Reading package lists... Done
root@debian:/etc/apt# apt-get install vim
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package vim is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'vim' has no installation candidate




thanks...


SOLVED: Re: Question for you network/DNS/Apache gurus;

2013-10-17 Thread John W. Foster
Thanks to all of you that assisted. The tip about the odd leftover dns
server at GoDaddy was the real culprit. Regardless, this list has once
again proven to be the greatest asset of Debian Linux.
Thanks
john


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1382055972.23327.2.ca...@beast.johnwfoster.com



Re: Passing "nowait" command line option to "dhclient"

2013-10-17 Thread Bob Proulx
Gregory Nowak wrote:
> Bob Proulx wrote:
> > Steffen Dettmer wrote:
> > > When booting and one of the DHCP interfaces has no cable attached,
> > > booting is delayed about around 60 seconds (seems to be value of
> > > dhclient.conf:timeout).
> > 
> > Why isn't your DHCP server responding?  Your dhcp server should
> > respond quickly and provide an IP address.  If it is not then look
> > there to solve the problem.  Debug your dhcp problems first.
> 
> Steffen did say as quoted above that a cable is not attached to an
> interface. No response from the dhcp server is correct in this case,
> so nothing to debug.

Sometimes I can be blind to the most obvious things!

In that case the answer is definitely "allow-hotplug".

Thanks,
Bob


signature.asc
Description: Digital signature


Re: Whezy XFCE and Gnome Terminal

2013-10-17 Thread berenger . morel



Le 17.10.2013 19:02, Marko Randjelovic a écrit :

Wheezy/XFCE4 does not highlight active tab in Gnome Terminal and it
is difficult to determine what tab is active.

Is there a solutions for this?

--
http://mr.flossdaily.org


Could it be a problem of theme? Have you a gtk2-engine installed?

Also, remember that xfce depends on gtk2, while gnome3 depends on gtk3. 
I do not know what is the gnome version in wheezy, so check that you 
configure the themes for the good gtk version.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5d31ef4889b2255f9a0aea8bf6452...@neutralite.org



Alternative web browsers ( was Re: gnome depends on adblock-plus )

2013-10-17 Thread berenger . morel



Le 17.10.2013 20:45, Marko Randjelovic a écrit :

On Thu, 17 Oct 2013 17:46:16 +0200
berenger.mo...@neutralite.org wrote:


I think that midori is still maintained?


Never heard of it, except in Debian repo, anyway I'll give it a try.

Thanks


It is a relatively young one, still maintained, really usable, unlike 
uzbl (which is slow as hell and can not allow to use correctly some 
websites that I was using when tried it).
I did some searching with browsers in the hope to remove opera from my 
system (I just can not tolerate firefox. It was a good one in the past, 
but I think it is no longer true.). Unfortunately, when I tried it 
(midori), it was still alpha and so, lacked lot of features. I should 
tried it anew now, it has been more than a year that I tried the last 
time.


I would love to have others to try.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/6068a072d107c385991a6ff36be88...@neutralite.org



Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-17 Thread berenger . morel



Le 17.10.2013 21:57, Miles Fidelman a écrit :

berenger.mo...@neutralite.org wrote:

Le 16.10.2013 17:51, Jerry Stuckle a écrit :

I only know few people who actually likes them :)
I liked them too, at a time, but since I can now use standard 
smart
pointers in C++, I tend to avoid them. I had so much troubles with 
them,

so now I only use them for polymorphism and sometimes RTTI.
I hope that someday references will become usable in standard
containers... (I think they are not because of technical problems, 
but I
do not know a lot about that. C++ is easy to learn, but hard to 
master.)




Good design and code structure eliminates most pointer problems;
proper testing will get the rest.  Smart pointers are nice, but in
real time processing they are an additional overhead (and an 
unknown

one at that since you don't know the underlying libraries).


Depends on the smart pointer. shared_ptr indeed have a runtime cost, 
since it maintains additional data, but unique_ptr does not, afaik, it 
is made from pure templates, so only compilation-time cost.


You guys should love LISP - it's pointers all the way down. :-)


I do not really like pointers anymore, and this is why I like smart 
pointers ;)




So, what you name an OS is only drivers+kernel? If so, then ok. But 
some people consider that it includes various other tools which does 
not require hardware accesses. I spoke about graphical applications, 
and you disagree. Matter of opinion, or maybe I did not used the good 
ones, I do not know.
So, what about dpkg in debian? Is it a part of the OS? Is not it a 
ring 3 program? As for tar or shell?




Boy do you like to raise issues that go into semantic grey areas :-)


Not specially, but, to say that C has been made to build OSes only, you 
then have to determine what is an OS to make the previous statement 
useful. For that, I simply searched 3 different sources on the web, and 
all of them said that simple applications are part of the OS. 
Applications like file browsers and terminal emulators.
Without using the same words for the same concepts, we can never 
understand the other :)


No, but I do understand why comparing text is slower than integers 
on x86 computers. Because I know that an int can be stored into one 
word, which can be compared with only one instruction, while the text 
will imply to compare more than one word, which is indeed slower. And 
it can even become worse when the text is not an ascii one.
So I can use that understanding to know why I often avoid to use 
text as keys. But it happens that sometimes the more problematic cost 
is not the speed but the memory, and so sometimes I'll use text as 
keys anyway.
Knowing what is the word's size of the SQL server is not needed to 
make things work, but it is helps to make it working faster. Instead 
of requiring to buy more hardware.


On the other hand, I could say that building SQL requests is not my 
job, and to left it to specialists which will be experts of the 
specific hardware + specific SQL engine used to build better requests. 
They will indeed build better than I can actually, but it have a time 
overhead and require to hire specialists, so higher price which may or 
may not be possible.


Seems to me that you're more right on with your first statement. How
can one not consider building SQL requests as part of a programmer's
repertoire, in this day and age?


I agree, it is part of programmer's job. But building a bad SQL request 
is easy, and it can make an application unusable in real conditions when 
it worked fine while programming and testing.



Do you know how
the network works?  Do you even know if you're using wired or 
wireless

networks.


I said, basic knowledge is used. Knowing what is a packet, that 
depending on the protocol you'll use, they'll have more or less space 
available, to send as few packets as possible and so, to improve 
performances.
Indeed, it would not avoid things to work if you send 3 packets 
where you could have sent only 2, but it will cost less, and so I 
think it would be a better program.


Probably even more than that.  For a lot of applications, there's a
choice of protocols available;


Ah, did not thought about that point, too. Technology choice, which is, 
imo, part of programmer's job requires understanding of their strong and 
weak points.


For now, I should say that knowing the basics of internals allow to 
build more efficient softwares, but:


Floating numbers are another problem where understanding basics can 
help understanding things. They are not precise (and, no, I do not 
know exactly how they work. I have only basics), and this can give you 
some bugs, if you do not know that their values should not be 
considered as reliable than integer's one. (I only spoke about 
floating numbers, not about fixed real numbers or whatever is the 
name).
But, again, it is not *needed*: you can always have someone who says 
to do something and do it without understanding why. You'll

Re: Passing "nowait" command line option to "dhclient"

2013-10-17 Thread Gregory Nowak
On Thu, Oct 17, 2013 at 03:09:45PM -0600, Bob Proulx wrote:
> Steffen Dettmer wrote:
> > When booting and one of the DHCP interfaces has no cable attached,
> > booting is delayed about around 60 seconds (seems to be value of
> > dhclient.conf:timeout).
> 
> Why isn't your DHCP server responding?  Your dhcp server should
> respond quickly and provide an IP address.  If it is not then look
> there to solve the problem.  Debug your dhcp problems first.

Steffen did say as quoted above that a cable is not attached to an
interface. No response from the dhcp server is correct in this case,
so nothing to debug.

Greg


-- 
web site: http://www.gregn..net
gpg public key: http://www.gregn..net/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

--
Free domains: http://www.eu.org/ or mail dns-mana...@eu.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131018002111.ga32...@gregn.net



Re: Question for you network/DNS/Apache gurus;

2013-10-17 Thread John W. Foster
> 
> Ran a few diagnostics (some of which have been reported by others already):
> 
> 1. You definitely have to get your DNS records cleaned up.
> 

> www.physicswiki.net
> resolves to 184.168.221.5
> canonical name: physicswiki.net
> NOT to 192.65.240.181
> 
> 184.168.221.5 reverse resolves to
> ip-184-168-221-5.ip.secureserver.net
> 192.65.240.181 has no reverse record listed

as a couple of you indicated this is not correct & was caused by an old
dns setup that was left in place by GoDaddy.

> 2. Fixing the DNS MIGHT be enough
> www.physicswiki.net goes to page showing:
> Please complete the installation and download LocalSettings.php.
> link shows as http://192.65.240.181/mw-config/index.php
> 
> http://192.65.240.181/ - goes to same page
> http://192.65.240.181/mw-config/index.php goes to mediawiki 
> configuration page
> - strangely, clicking through the link from the main page seems to 
> alternately give a blank page and the configuration page - might be a 
> caching thing
> 
> So... it's probably NOT a NameVirtualHost issue - as the static IP 
> address seems to work
> 
> I do find the line about "LocalSettings.php not found" suspicious - 
> though that might not be created until you work through the 
> configuration steps.

your assumption is correct. If indeed the site was working correctly
themediawiki server that is running would open a configuration script
that would generate that file. Once installed the site should function
correctly.

> 
> Miles Fidelman
> 
> -- 
> In theory, there is no difference between theory and practice.
> In practice, there is.    Yogi Berra
> 








-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1382055629.19514.3.ca...@beast.johnwfoster.com



Oddity in synaptic 0.75.13 (Wheezy)

2013-10-17 Thread Cybe R. Wizard

Using synaptic 0.75.13 in Wheezy under the menu item, "Settings,
Repositories," the updates tab lists, "Notify me of a new Ubuntu
version."

What?  Is someone developing for Debian but promoting Ubuntu?  Did
Ubuntu push this version upstream?

Inquiring mind and all that.

Cybe R. Wizard
-- 
Nice computers don't go down.
Larry Niven, Steven Barnes
"The Barsoom Project"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131017172413.1908f502.cybe_r_wiz...@earthlink.net



Re: Question for you network/DNS/Apache gurus;

2013-10-17 Thread John W. Foster
On Wed, 2013-10-16 at 18:22 +0100, Karl E. Jorgensen wrote: 
> On Wed, Oct 16, 2013 at 10:02:49AM -0500, John W. Foster wrote:
> > the site under construction is www.physicswiki.net
> > the numerical address is 192.65.240.181
> 
> These two do not match up: A DNS lookup reveals this:
> 
> karl@hawking:~$ host www.physicswiki.net
> www.physicswiki.net is an alias for physicswiki.net.
> physicswiki.net has address 184.168.221.5

Never checked but this was the OLD IP address of the physicswiki.net
server at GoDaddy. Guess they left it when I shut down the server there.
Fixed now, thanks
john




> Thus: when you enter "www.physicswiki.net" in a browser, you end up at
> 184.168.221.5 - which I assume is a different server than
> 192.65.240.181.
> 
> if you *want* the traffic for www.physicswiki.net to end up at
> 184.168.221.5, then you need to update your DNS - this appears to be
> somewhere under domaincontrol.com.
> 
> 
> > the default 'sites-available file is
> > 
> > > 
> > >   ServerAdmin webmaster@localhost
> > > 
> > >   ServerName www.physicswiki.net
> > >   ServerAlias quark.physicswiki.net   
> > >   DocumentRoot /var/www
> > >   
> > >   Options FollowSymLinks
> > >   AllowOverride None
> > >   
> > >   
> > >   Options Indexes FollowSymLinks MultiViews
> > >   AllowOverride None
> > >   Order allow,deny
> > >   allow from all
> > >   
> > > 
> > >   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
> > >   
> > >   AllowOverride None
> > >   Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
> > >   Order allow,deny
> > >   Allow from all
> > >   
> > > 
> > >   ErrorLog ${APACHE_LOG_DIR}/error.log
> > > 
> > >   # Possible values include: debug, info, notice, warn, error, crit,
> > >   # alert, emerg.
> > >   LogLevel warn
> > > 
> > >   CustomLog ${APACHE_LOG_DIR}/access.log combined
> > > 
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> > with a subject of "unsubscribe". Trouble? Contact 
> > listmas...@lists.debian.org
> > Archive: 
> > http://lists.debian.org/1381935769.28066.12.ca...@beast.johnwfoster.com
> > 
> 
> -- 
> Karl E. Jorgensen
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1382047844.14176.2.ca...@beast.johnwfoster.com



Re: Configuring multiple IP addresses on VLAN interface using ifupdown

2013-10-17 Thread Bob Proulx
Steffen Dettmer wrote:
> I'd like to configure multiple IP addresses to a VLAN tagged
> interface. I tried

I am not a vlan expert.  But...

> auto eth3.107
>   iface eth3.77 inet static
>   address 10.0.5.15
>   netmask 255.255.255.0
>   iface eth3.77 inet static
>   address 10.0.5.16
>   netmask 255.255.255.0

Terrible indention!  I think you mean this:

> auto eth3.107
> iface eth3.77 inet static
>   address 10.0.5.15
>   netmask 255.255.255.0
> iface eth3.77 inet static
>   address 10.0.5.16
>   netmask 255.255.255.0

At which time it appears more obvious that while you have an "auto"
line for eth3.107 you do not have one for eth3.77.  Do you mean this?

  auto eth3.77
  iface eth3.77 inet static
address 10.0.5.15
netmask 255.255.255.0
  iface eth3.77 inet static
address 10.0.5.16
netmask 255.255.255.0

Of course I know nothing about vlan configuration so I am likely wrong
here.  I just know that visually it doesn't match.  However all of the
docs I see just now suggest using a bridge.  Perhaps something like this.

  auto eth0
  allow-hotplug eth0
  iface eth0 inet static
  address 10.0.5.15
  netmask 255.255.255.0
  iface eth0 inet static
  address 10.0.5.16
  netmask 255.255.255.0
  iface eth0.77 inet manual
  auto br0.77
  iface br0.77 inet manual
  bridge_ports eth0.77
  bridge_fd 0
  bridge_maxwait 0

But again, I just did that blind from the online docs.  I am not a
vlan expert.  Feel free to tell me I am wrong and do not know
anything.  :-)

> but I get an error message that ifup tries to configure the VLAN
> interface twice, but the addresses are set.
> 
> When I remove the second "iface eth3.77 inet static" line, which
> should be correct according to my understanding of "man interfaces",
> where it is not forbidding to pass multiple "address" directives in a
> stanza, I get an error about unexpected "address" line and the
> addresses are not set.

Configuring multiple IP addresses on interfaces like that is new in
recent versions of ifupdown.  Whether it works or not depends upon
the version of the program.  Previously it was necessary to use
different tagged interfaces or to use up/down commands to add
additional ip addresses.

> First I thought "ifup" would be a shell script, but apparently
> ifupdown uses source code generation to generate Perl code from some
> "noweb" code and uses the generated Perl code to generate C code which
> then is compiled using a generated Makefile -- all this is not easy to
> read / understand, so I decided to write a mail here hoping someone
> can enlighten me :)

It depends upon the version of ifupdown.  Previously it used a
literate programming technique with TeX embedded documentation and C
code using "notangle" and .nw files.

  apt-cache show noweb
  Description-en: A WEB-like literate-programming tool
   noweb is designed to meet the needs of literate programmers while
   remaining as simple as possible.  Its primary advantages are
   simplicity, extensibility, and language-independence.
   .
   The noweb manual is only 3 pages; an additional page explains how to
   customize its LaTeX output.  noweb works ``out of the box'' with any
   programming language, and supports TeX, latex, and HTML back ends.
   .
   The primary sacrifice relative to WEB is that code is not
   prettyprinted.
  Homepage: http://www.eecs.harvard.edu/~nr/noweb/

Recent versions have been converted to plain C.  The changelog for
version 0.7.44 says:
* Convert from noweb to plain C

Bob


signature.asc
Description: Digital signature


Re: Debian sid and AMD/ATI Richland [Radeon HD 8670D]

2013-10-17 Thread MRH

Hi,

On 17/10/13 14:42, Luis Bandarra wrote:

Hi,

On 09-10-2013 23:05, MRH wrote:

Hi,

I'd need some help with ATI GPU. Is it correct that for that processor
(AMD A10 6700 - with integrated Radeon HD 8670D) I need flgrx non-free
drivers to enjoy 3d support (ie to get Gnome 3 working - at the moment
it goes to the fallback mode). I've got xserver-xorg-video-radeon and
mesa libraries installed.

If I understand correctly, it should change with linux kernel 3.12
which will support this GPU?

What should I install?

Debian sid, AMD64.

Kind regards,
Michal


I'm sorry but i can't understand if you tried it or just asking?


Sorry for not being clear; I'm asking what should I install. I've 
installed the stock kernel, the mesa libraries and 
xserver-xorg-video-radeon, but gnome runs in the fallback. I wasn't sure 
what should I be looking for.




The current kernel at sid is 3.10 and fglrx-driver 13.4, acording with
phoronix[1][2][3], the kernel will work, but for the driver it doesn't
see to be prepare to the HD8670D but the 13.8 might work [4].

The fglrx-driver 13.8 is in experimental, or perhaps download from amd.

Hope it helps!

PS: i didn't search in the radeon open source to see if it work with
hd8670D.


[1]http://www.phoronix.com/scan.php?page=article&item=amd_a10_6800k&num=2
[2]http://www.phoronix.com/scan.php?page=article&item=amd_radeon_hd8670d&num=1
[3]http://www.phoronix.com/scan.php?page=article&item=amd_gallium3d_hd8670d&num=1
[4]http://askubuntu.com/questions/50/no-drivers-for-amd-radeon-hd-8750m-or-amd-radeon-hd-8550



Thank you for the help. So at the moment it seems there are no open / 
free drivers I could use; I have installed linux-firmware-nonfree and 
this has solved the problem.


Kind regards,
Michal

--
Michal R. Hoffmann


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/5260576d.8010...@o2.pl



Re: Passing "nowait" command line option to "dhclient"

2013-10-17 Thread Bob Proulx
Steffen Dettmer wrote:
> I configured several interfaces using ifupdown using DHCP by stanzas like:
> 
> auto eth2
>   iface eth2 inet dhcp

Your indention is terrible!  Don't indent the iface line.  Indent
lines _after_ the iface line that modify the iface.

> When booting and one of the DHCP interfaces has no cable attached,
> booting is delayed about around 60 seconds (seems to be value of
> dhclient.conf:timeout).

Why isn't your DHCP server responding?  Your dhcp server should
respond quickly and provide an IP address.  If it is not then look
there to solve the problem.  Debug your dhcp problems first.

> I think I have to pass the option "-nw" to dhclient, but how do I do
> that correctly?

If you want dhclient not to wait then change the "auto" to
"allow-hotplug".  Using "auto" means bring the interface up at system
boot time.  It runs the /etc/init.d/* scripts.  This is a synchronous
operation.  "allow-hotplug" means bring the interface up when the
interface is detected.  That is the new dynamic event driven way and
runs asynchronously.

The "auto" and "allow-hotplug" are documented here:

  
http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic_syntax_of_etc_network_interfaces

> I noticed that DHCP leases are kept as long as the lease is valid when
> moving from one LAN to another, not sure if this behavior is correct.

It is required.  It is possible for clients to actively release the
lease.  But if a client crashes then the dhcp server never gets an
indication and therefore must keep the lease active for the full time
to live.

> I considered ifplugd which solves both issues, but then all static
> addresses of the interface are missing as long as no cable is plugged
> (which might usually be expected on Desktops / Laptops, but might not
> be desired on other devices, because it prevents from binding sockets
> to specific IP addresses).

If an application needs to bind to a specific address then IMNHO it
should detect when this interface becomes active and track the events
itself.  Nothing else makes sense.  IMNHO.

Instead I would go ahead and use a wildcard listen address.  And use
iptables to block access to the undesired addresses.  A completely
different strategy.

> How to configure DHCP correctly without causing boot delays?

Use "allow-hotplug".

Bob


signature.asc
Description: Digital signature


Re: mediatomb install fails on wheezy

2013-10-17 Thread Jochen Spieker
Pierre Frenkiel:
> On Mon, 14 Oct 2013, Jochen Spieker wrote:
> 
>> I cannot reproduce the above error message:
>> . . .
>>| Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
>> . . .
>> I cannot figure out what's different on your system either. Apt-listbugs
>> should never abort package installation without asking you. Strange.
> 
> I found where the difference comes from, but I'm unable to explain it:
> I have a shortcut for ap-get install which is:
>apt-get --install-suggests install "$@" 2>&1  | tee -a $LOG

That actually makes (a little) sense. Apparently, apt-listbugs notices
that its stdout is not a terminal and thinks that a prompt in that
situation doesn't make much sense. It is debatable whether that
conclusion is valid and whether aborting in such a case is such a good
idea. I tend to disagree with this design decision, but at least the
behaviour appears to be chosen deliberately.

>> Still no. If there is a bug (and not only a misconfiguration on your
>> machine) then mediatomb has nothing to do with it. The bug report
>> against mediatomb does not relate to wheezy at all.
> 
> This seems wrong. Please look at the bug report #677959, at:
> 
> lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2012-June/027840.html
> 
> It says:
> The current version of mediatomb (in wheezy) fails to build from source
> with the current version of libavformat.

Ah, now I see that you are right. I thought the bug report was from a
time when wheezy was already stable and jessie contained the same
version of mediatomb but a different version of libavformat. But the bug
report is older than wheezy. I don't understand why it is only tagged
with jessie and sid but not wheezy, but well.

J.
-- 
As a child I pulled the legs from a spider.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-17 Thread Miles Fidelman

berenger.mo...@neutralite.org wrote:

Le 16.10.2013 17:51, Jerry Stuckle a écrit :

I only know few people who actually likes them :)
I liked them too, at a time, but since I can now use standard smart
pointers in C++, I tend to avoid them. I had so much troubles with 
them,

so now I only use them for polymorphism and sometimes RTTI.
I hope that someday references will become usable in standard
containers... (I think they are not because of technical problems, 
but I
do not know a lot about that. C++ is easy to learn, but hard to 
master.)




Good design and code structure eliminates most pointer problems;
proper testing will get the rest.  Smart pointers are nice, but in
real time processing they are an additional overhead (and an unknown
one at that since you don't know the underlying libraries).


Depends on the smart pointer. shared_ptr indeed have a runtime cost, 
since it maintains additional data, but unique_ptr does not, afaik, it 
is made from pure templates, so only compilation-time cost.


You guys should love LISP - it's pointers all the way down. :-)


So, what you name an OS is only drivers+kernel? If so, then ok. But 
some people consider that it includes various other tools which does 
not require hardware accesses. I spoke about graphical applications, 
and you disagree. Matter of opinion, or maybe I did not used the good 
ones, I do not know.
So, what about dpkg in debian? Is it a part of the OS? Is not it a 
ring 3 program? As for tar or shell?




Boy do you like to raise issues that go into semantic grey areas :-)

One man's opinion only: o/s refers to the code that controls/mediates 
access to system resources, as distinguished from application software. 
In an earlier day, you could say that it consisted of all the privileged 
code, but these days, particularly with Linux, an awful lot of o/s code 
runs in userland - so it'd definitely more than just kernel and drivers.


But all of this have nothing related to the need of understanding 
basics

of what you use when doing a program. Not understanding how a resources
you acquired works in its big lines, imply that you will not be able to
manage it correctly by yourself. It is valid for RAM memory, but also
for CPU, network sockets, etc.



Do you know how the SQL database you're using works?


Sure do.  Don't you?

Kinda have to, to install and configure it; chose between engine types 
(e.g., INNOdb vs. ISAM for mySQL).  And if you're doing any kind of 
mapping, you'd better know about spatial extensions (POSTGIS, Oracel 
Spatial).  Then you get into triggers and stored procedures, which are 
somewhat product-specific.  And that's before you get into things like 
replication, transaction rollbacks, 3-phase commits, etc.


For that matter, it kind of helps to know about when to use an SQL 
database, and when to use something else (graph store, table store, 
object store, etc.).





No, but I do understand why comparing text is slower than integers on 
x86 computers. Because I know that an int can be stored into one word, 
which can be compared with only one instruction, while the text will 
imply to compare more than one word, which is indeed slower. And it 
can even become worse when the text is not an ascii one.
So I can use that understanding to know why I often avoid to use text 
as keys. But it happens that sometimes the more problematic cost is 
not the speed but the memory, and so sometimes I'll use text as keys 
anyway.
Knowing what is the word's size of the SQL server is not needed to 
make things work, but it is helps to make it working faster. Instead 
of requiring to buy more hardware.


On the other hand, I could say that building SQL requests is not my 
job, and to left it to specialists which will be experts of the 
specific hardware + specific SQL engine used to build better requests. 
They will indeed build better than I can actually, but it have a time 
overhead and require to hire specialists, so higher price which may or 
may not be possible.


Seems to me that you're more right on with your first statement. How can 
one not consider building SQL requests as part of a programmer's 
repertoire, in this day and age?  Pretty much any reasonably complicated 
application these dase is a front end to some kind of database - and an 
awful lot of coding involves translating GUI-requests into database 
transactions.  And that's before recognizing how much code takes the 
form of stored procedures.



Do you know how
the network works?  Do you even know if you're using wired or wireless
networks.


I said, basic knowledge is used. Knowing what is a packet, that 
depending on the protocol you'll use, they'll have more or less space 
available, to send as few packets as possible and so, to improve 
performances.
Indeed, it would not avoid things to work if you send 3 packets where 
you could have sent only 2, but it will cost less, and so I think it 
would be a better program.


Probably even more than that.  For a lot of a

Re: gnome depends on adblock-plus

2013-10-17 Thread Marko Randjelovic
On Thu, 17 Oct 2013 17:46:16 +0200
berenger.mo...@neutralite.org wrote:

> I think that midori is still maintained?

Never heard of it, except in Debian repo, anyway I'll give it a try.

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017204555.37a0f...@eunet.rs



Re: gnome depends on adblock-plus

2013-10-17 Thread Linux-Fan
On 10/17/2013 04:00 AM, Stefan Monnier wrote:
>> 1: In fact, I think that meta-packages should only have recommendations and
>> suggestions, since they are automatically installed by a default Debian
>> configuration.
> 
> I agree that Debian's dependency management would benefit from some
> extra refinements.  The above suggestion is not quite sufficient, since
> for those users (like me) which don't want to auto-install
> recommendations, it means that "aptitude install gnome" becomes a no-op,
> whereas the user's intention is very clearly different.
> 
> So, my take on it is that Debian should add a new sort of dependency
> (call it "important"), which is stronger than a "recommendation", but
> which the user can disable.  But she couldn't disable them all-at-once
> like "recommendations", instead she would have to disable them one at
> a time.

Remember that "Recommends" is already a very strong dependency, quoting
from
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps:

Recommends
This declares a strong, but not absolute, dependency.

The Recommends field should list packages that would be found
together with this one in all but unusual installations.

I will not turn of automatic installation of "Recommends" because I do
not consider my installation to be so "unusual". In my opinion a new
level of dependency is not needed; Packages should just declare less
"Recommends" in order not to lead to people disabling all recommends.

> Further along this route, I'd like APT to let me specify the packages
> I want declaratively, with a file in which I list:

Most of this can be done by using a metapackage (see below).

> - the packages that need to be installed (equivalent to the packages
>   that are marked as manually installed rather than auto-installed as
>   part of dependencies).

A metapackage could declare "Depends: package-list"

> - the dependencies that should be ignored/overruled.

This is indeed not possible with the packaging system but I also find it
very dangerous: Packages assume that their dependencies are installed
(this is the point of dependencies after all).

> - the "pin  to version " (where  ideally could also be
>   "stable", "testing", ...).

Explicitly declaring versions is possible via (meta)package "Depends" as
well.

> - plus more constraints like "stay away from " (so that if  is
>   needed by some chain of dependencies, then I want APT to give me an
>   error rather than to install it, so I can try and work around the
>   problem).

Just let your metapackage declare "Conflicts".

As you can see, some of the features you want are already implemented in
the Debian packaging system. You might just want to create a simple
metapackage to make use of it.

Just my point of view
Linux-Fan

-- 
http://masysma.ohost.de/



signature.asc
Description: OpenPGP digital signature


Re: XFCE is slow on Acer One netbook - suggestions?

2013-10-17 Thread LostSon
On 10/17/2013 12:59 PM, Dmitrii Kashin wrote:
> Helmut Wollmersdorfer  writes:
> 
>> 2) repartition and fresh install of Squeze + Gnome2
>>
>> With Gnome2 I was very happy and the PC was good performing.
>>
>> 3) Upgrade to Wheezy + Gnome3
>>
>> Ooops. Not performing on this hardware good enough, too often reaching
>> the limits.
>>
>> But even worse is the bad usability of Gnome3.
>>
>> That's why I tried 
>>
>> 4) Install XFCE without removing Gnome, because I need the convenience
>> of the network-manager (I use the netbook in a dozen different
>> locations/networks)
>>
>> It's still slow.
> 
> I guess a lot of Gnome's services are still started with your graphical
> environment, and they overload your machine.
> 
> You can use sysv-rc-conf to make unnecessary services not to start.
> 

 I have always used rcconf myself, nice little ncurses app.

-- 
LostSon

http://lostsonsvault.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/526027ac.3070...@lostsonsvault.org



Re: XFCE is slow on Acer One netbook - suggestions?

2013-10-17 Thread Dmitrii Kashin
Helmut Wollmersdorfer  writes:

> 2) repartition and fresh install of Squeze + Gnome2
>
> With Gnome2 I was very happy and the PC was good performing.
>
> 3) Upgrade to Wheezy + Gnome3
>
> Ooops. Not performing on this hardware good enough, too often reaching
> the limits.
>
> But even worse is the bad usability of Gnome3.
>
> That's why I tried 
>
> 4) Install XFCE without removing Gnome, because I need the convenience
> of the network-manager (I use the netbook in a dozen different
> locations/networks)
>
> It's still slow.

I guess a lot of Gnome's services are still started with your graphical
environment, and they overload your machine.

You can use sysv-rc-conf to make unnecessary services not to start.


pgpzW6VHxMgXD.pgp
Description: PGP signature


Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread James Cloos
> "TH" == Tom H  writes:

TH> The OP wants to use the Squeeze kernel and the Jessie userspace.

More likely openvz's kernel.  Probably non-deb, too.

-JimC
-- 
James Cloos  OpenPGP: 1024D/ED7DAEA6


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/m338nz4xwl@carbon.jhcloos.org



Re: Problems with vesa X driver

2013-10-17 Thread Marko Randjelovic
On Thu, 17 Oct 2013 07:47:01 -0400 (EDT)
Stephen Powell  wrote:

> 
> Due to a bug in the MACH64 driver (see Debian bug report 726585 for details),
> I am temporarily using the VESA X driver in Debian jessie to get graphical
> support to work on my machine.  I am experiencing three problems with it.
> 

From Bug #726585:

> After upgrade of package xserver-xorg-video-mach64 from version 6.9.1-2
> (which was working for me) to version 6.9.4-1+b1, I receive the
> following error during X initialization (extracted
> from /var/log/Xorg.0.log):

If previous version was working then revert to it. I don't see how VESA
can be better solution.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017192003.037e0...@eunet.rs



Re: endianness (was Re: sysadmin qualifications (Re: apt-get vs. aptitude))

2013-10-17 Thread Jonathan Dowland


> On 17 Oct 2013, at 17:47, berenger.mo...@neutralite.org wrote:
> 
> I do not understand why?
> In both cases with "decent compilers" it is solved at compile-time, so what 
> is the problem with preprocessor here? In case BIG_ENDIAN is not defined but 
> should be?

For the reason I wrote:

> otherwise you run the risk of never
> testing code outside the branch your dev machine(s) match.

Imagine you compile and test your code on a big endian machine 99% of the time. 
Imagine you make a mistake in the little-endian branch. With the cpp approach, 
the compiler won't see the buggy code. With the other approach, it will, and 
may catch the mistake.

Passing "nowait" command line option to "dhclient"

2013-10-17 Thread Steffen Dettmer
Hi,

I configured several interfaces using ifupdown using DHCP by stanzas like:

auto eth2
  iface eth2 inet dhcp

When booting and one of the DHCP interfaces has no cable attached,
booting is delayed about around 60 seconds (seems to be value of
dhclient.conf:timeout). I think I have to pass the option "-nw" to
dhclient, but how do I do that correctly? Apparently the dhclient
invocation call is hardcoded in ifupdown, but surely I didn't
understand the C source code (which is generated by a generated source
code generator).

I noticed that DHCP leases are kept as long as the lease is valid when
moving from one LAN to another, not sure if this behavior is correct.
I considered ifplugd which solves both issues, but then all static
addresses of the interface are missing as long as no cable is plugged
(which might usually be expected on Desktops / Laptops, but might not
be desired on other devices, because it prevents from binding sockets
to specific IP addresses).

How to configure DHCP correctly without causing boot delays?

Regards,
Steffen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOBoUnPcfMLd0SoQnRBJiWnL4h1ZwvSffGWD-8GkgEr=t_z...@mail.gmail.com



Whezy XFCE and Gnome Terminal

2013-10-17 Thread Marko Randjelovic
Wheezy/XFCE4 does not highlight active tab in Gnome Terminal and it is 
difficult to determine what tab is active.

Is there a solutions for this?

-- 
http://mr.flossdaily.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017190238.13f93...@eunet.rs



Re: XFCE is slow on Acer One netbook - suggestions?

2013-10-17 Thread berenger . morel

Le 17.10.2013 10:09, Helmut Wollmersdorfer a écrit :

4) Install XFCE without removing Gnome, because I need the
convenience of the network-manager (I use the netbook in a dozen
different locations/networks)


Run:
#services --status-all

And check if you can remove some services.
Network manager does not depends on gnome, it's gnome which depends on 
it. Plus, there are others which works fine too (but I can not remember 
the names).




It's still slow.


Some useless gnome stuff must be started in background.


And some features of the graphical design are missing, which have an
impact on usability, e.g. the active tab in gedit is not highlighted.


This is a theme problem, I think.


What should I do?

a) use my heavy Lenovo Laptop (+2.3kg), wide-screen, multicore, 4 GB
(has already Squeeze with KDE)

b) try to tune XFCE on the Acer One

c) buy a new small, powerful, lightweight Lenovo (I like the 
nibble:-)


Alternatives A and C does not resolve the fact that your old computer 
should run fine. I have a netbook with 1GB or ram and when I used XFCE I 
had no speed problem, at least when I was not using GCC to compile stuff 
:p (using clang fixed that problem btw).



Alternatives a) and c) do not solve the pain of choosing a "good
enough" desktop environment for Debian Wheezy.


What about selecting the tools you need and build your own yourself, 
software per software? It takes some time, but you will be able to 
troubleshoot problems in it faster than anyone else ;)

Otherwise, you can try LXDE, it's a quite nice DE too imo.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/01f9cb0aa9dc59ec24d779002f2af...@neutralite.org



Configuring multiple IP addresses on VLAN interface using ifupdown

2013-10-17 Thread Steffen Dettmer
Hi,

I'd like to configure multiple IP addresses to a VLAN tagged interface. I tried

auto eth3.107
  iface eth3.77 inet static
  address 10.0.5.15
  netmask 255.255.255.0
  iface eth3.77 inet static
  address 10.0.5.16
  netmask 255.255.255.0

but I get an error message that ifup tries to configure the VLAN
interface twice, but the addresses are set.

When I remove the second "iface eth3.77 inet static" line, which
should be correct according to my understanding of "man interfaces",
where it is not forbidding to pass multiple "address" directives in a
stanza, I get an error about unexpected "address" line and the
addresses are not set.

First I thought "ifup" would be a shell script, but apparently
ifupdown uses source code generation to generate Perl code from some
"noweb" code and uses the generated Perl code to generate C code which
then is compiled using a generated Makefile -- all this is not easy to
read / understand, so I decided to write a mail here hoping someone
can enlighten me :)

Best regards,
Steffen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caobounotvn9b6_vtoptspua_dc0fqr+s2rctoxyqw8mn59k...@mail.gmail.com



Re: endianness (was Re: sysadmin qualifications (Re: apt-get vs. aptitude))

2013-10-17 Thread berenger . morel



Le 17.10.2013 18:17, Jonathan Dowland a écrit :

On Thu, Oct 17, 2013 at 05:29:33PM +0200,
berenger.mo...@neutralite.org wrote:

Speaking about endianness, it really is hard to manage:

void myfunction( ... )
{
#ifdef BIG_ENDIAN
move_bytes_in_a_specific_order
#else
move_bytes_in_the_other_specific_order
#endif
}


Bad way to manage endian in C. Better to have branching based on C
itself (rather than preprocessor), otherwise you run the risk of 
never

testing code outside the branch your dev machine(s) match.

Or similar. The test will likely be compiled out as a no-op anyway 
with

decent compilers (GCC: yes; Sun Workshop: no.)


I do not understand why?
In both cases with "decent compilers" it is solved at compile-time, so 
what is the problem with preprocessor here? In case BIG_ENDIAN is not 
defined but should be?



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/8cf7b0b89be4e74e178e690a3a858...@neutralite.org



Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-17 Thread berenger . morel

Le 16.10.2013 17:51, Jerry Stuckle a écrit :

I only know few people who actually likes them :)
I liked them too, at a time, but since I can now use standard smart
pointers in C++, I tend to avoid them. I had so much troubles with 
them,

so now I only use them for polymorphism and sometimes RTTI.
I hope that someday references will become usable in standard
containers... (I think they are not because of technical problems, 
but I
do not know a lot about that. C++ is easy to learn, but hard to 
master.)




Good design and code structure eliminates most pointer problems;
proper testing will get the rest.  Smart pointers are nice, but in
real time processing they are an additional overhead (and an unknown
one at that since you don't know the underlying libraries).


Depends on the smart pointer. shared_ptr indeed have a runtime cost, 
since it maintains additional data, but unique_ptr does not, afaik, it 
is made from pure templates, so only compilation-time cost.


Plus, in an OS, there are applications. Kernels, drivers, and 
applications.
Take windows, and say honestly that it does not contains 
applications?
explorer, mspaint, calc, msconfig, notepad, etc. Those are 
applications,

nothing more, nothing less, and they are part of the OS. They simply
have to manage with the OS's API, as you will with any other
applications. Of course, you can use more and more layers between 
your

application the the OS's API, to stay in a pure windows environment,
there are (or were) for example MFC and .NET. To be more general, 
Qt,

wxWidgets, gtk are other tools.



mspaint, calc, notepad, etc. have nothing to do with the OS.  They
are just applications shipped with the OS.  They run as user
applications, with no special privileges; they use standard
application interfaces to the OS, and are not required for any other
application to run.  And the fact they are written in C is 
immaterial.


So, what you name an OS is only drivers+kernel? If so, then ok. But 
some people consider that it includes various other tools which does not 
require hardware accesses. I spoke about graphical applications, and you 
disagree. Matter of opinion, or maybe I did not used the good ones, I do 
not know.
So, what about dpkg in debian? Is it a part of the OS? Is not it a ring 
3 program? As for tar or shell?




Maybe your "standard installation" comes with Gnome DE.  But none of
my servers do.  And even some of my local systems don't have Gnome.
It is not required for any Debian installation.


True. Mine does not have gnome (or other DE) either.
Maybe I used too big applications as examples. So, what about perl?

But all of this have nothing related to the need of understanding 
basics
of what you use when doing a program. Not understanding how a 
resources
you acquired works in its big lines, imply that you will not be able 
to
manage it correctly by yourself. It is valid for RAM memory, but 
also

for CPU, network sockets, etc.



Do you know how the SQL database you're using works?


No, but I do understand why comparing text is slower than integers on 
x86 computers. Because I know that an int can be stored into one word, 
which can be compared with only one instruction, while the text will 
imply to compare more than one word, which is indeed slower. And it can 
even become worse when the text is not an ascii one.
So I can use that understanding to know why I often avoid to use text 
as keys. But it happens that sometimes the more problematic cost is not 
the speed but the memory, and so sometimes I'll use text as keys anyway.
Knowing what is the word's size of the SQL server is not needed to make 
things work, but it is helps to make it working faster. Instead of 
requiring to buy more hardware.


On the other hand, I could say that building SQL requests is not my 
job, and to left it to specialists which will be experts of the specific 
hardware + specific SQL engine used to build better requests. They will 
indeed build better than I can actually, but it have a time overhead and 
require to hire specialists, so higher price which may or may not be 
possible.



Do you know how
the network works?  Do you even know if you're using wired or 
wireless

networks.


I said, basic knowledge is used. Knowing what is a packet, that 
depending on the protocol you'll use, they'll have more or less space 
available, to send as few packets as possible and so, to improve 
performances.
Indeed, it would not avoid things to work if you send 3 packets where 
you could have sent only 2, but it will cost less, and so I think it 
would be a better program.


For now, I should say that knowing the basics of internals allow to 
build more efficient softwares, but:


Floating numbers are another problem where understanding basics can 
help understanding things. They are not precise (and, no, I do not know 
exactly how they work. I have only basics), and this can give you some 
bugs, if you do not know that their values should not be considered as 

Re: dvd Jessie images

2013-10-17 Thread Marko Randjelovic
On Wed, 16 Oct 2013 21:50:33 +0300
andrey.ry...@bilkent.edu.tr wrote:

> 
> > http://www.debian.org/CD/faq/#not-all-images
> Thanks!!
> It seems this is the best answer ))
> 
> 

No, it is not the main answer, you looked at Wheezy file. Since softwares are 
becoming bigger, Jessie will probably have more than 10 DVDs.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017183943.1ac12...@eunet.rs



Re: mediatomb install fails on wheezy

2013-10-17 Thread Pierre Frenkiel

On Thu, 17 Oct 2013, Pierre Frenkiel wrote:


I have a shortcut for apt-get install which is:
  apt-get --install-suggests install "$@" 2>&1  | tee -a $LOG
With that, I get the 1st prompt (Do you want to continue? [Y/n]), but
the install fails without the 2nd prompt.


  I also tried with output redirection (1>>log), but that gave the same result 
as tee.
  The way I found to save the apt-get log is to use the logging feature of
  xterm (xterm -l -lf logfile apt-get ...}
  Does anybody see an other way to save the log?

best regards,
--
Pierre Frenkiel


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.10.1310171815500.24...@pfr2.frenkiel-hure.net



Re: dropbox alternative

2013-10-17 Thread Jonathan Dowland
On Thu, Oct 17, 2013 at 09:55:25AM -0400, Michael P. Soulier wrote:
> No, it prevents losing data though. It will make two copies and have
> you merge them.

It seems to do this superfluously, sometimes, too.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017161831.gd11...@bryant.redmars.org



endianness (was Re: sysadmin qualifications (Re: apt-get vs. aptitude))

2013-10-17 Thread Jonathan Dowland
On Thu, Oct 17, 2013 at 05:29:33PM +0200, berenger.mo...@neutralite.org wrote:
> Speaking about endianness, it really is hard to manage:
> 
> void myfunction( ... )
> {
> #ifdef BIG_ENDIAN
> move_bytes_in_a_specific_order
> #else
> move_bytes_in_the_other_specific_order
> #endif
> }

Bad way to manage endian in C. Better to have branching based on C
itself (rather than preprocessor), otherwise you run the risk of never
testing code outside the branch your dev machine(s) match. E.g. use

char is_little_endian( … ) {
  int i = 1;
  int *p = &i;
  return 1 == *(char*)p;
}

Or similar. The test will likely be compiled out as a no-op anyway with
decent compilers (GCC: yes; Sun Workshop: no.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017161703.gc11...@bryant.redmars.org



Re: gnome depends on adblock-plus

2013-10-17 Thread Jonathan Dowland
This has been fixed in stable and is pending in sid, I believe.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017155522.ga11...@bryant.redmars.org



Re: gnome depends on adblock-plus

2013-10-17 Thread berenger . morel



Le 17.10.2013 17:38, Marko Randjelovic a écrit :

On Thu, 17 Oct 2013 09:43:32 +0100
Jonathan Dowland  wrote:


I was curious so I investigated. The dependency was added in this
commit¹ with the message "Require firefox extensions that match 
epiphany
functionality: keyring, adblock."  Looking at the commit log, an 
earlier
commit sheds some more light²: "Install iceweasel instead of 
epiphany :(

See bug#682481."

So, GNOME proper includes the Epiphany browser, but Debian's GNOME
metapackage omits it due to the lack of security support. Iceweasel 
is

used in its place, and the XUL* extensions are also depended upon so
that users have the same level of functionality as Epiphany has.


It's what I pointed out in thread about Iceweasel/Icedove
http://lists.debian.org/20131003164457.46dfc...@eunet.rs
Browser development is stalled if we exclude Firefox and Chromium 
that
have enormous number of bugs. Konqueror is no longer security 
supported,

now looks like Epiphany also, *Links* are to feature poor... On the
other hand, web sites aggressively utilize new features, which is 
almost
always overhead. If you know of some useful alternative please tell 
us.


I think that midori is still maintained?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/b4e339a107a1d2d3cdd8c85938007...@neutralite.org



Re: mediatomb install fails on wheezy

2013-10-17 Thread Pierre Frenkiel

On Mon, 14 Oct 2013, Jochen Spieker wrote:


I cannot reproduce the above error message:
. . .
| Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
. . .
I cannot figure out what's different on your system either. Apt-listbugs
should never abort package installation without asking you. Strange.


I found where the difference comes from, but I'm unable to explain it:
I have a shortcut for ap-get install which is:
   apt-get --install-suggests install "$@" 2>&1  | tee -a $LOG
With that, I get the 1st prompt (Do you want to continue? [Y/n]), but
the install fails without the 2nd prompt.
If I just run:
   apt-get --install-suggests install "$@"
I then get the same behaviour as you, i.e. I actually get the prompt:

Are you sure you want to install/upgrade the above packages? [Y/n/?/...]

I still don't understand why the 1st prompt works with tee, and not the 2nd 
one...

(As I didn't believe my eyes, as I tried several times both commands...)


http://bugs.debian.org/release-critical/other/stable.html


  thank you for this useful link.
  how come mediatomb is not listed here. It should be in category:
"Number that have a fix prepared and waiting to upload:"


Still no. If there is a bug (and not only a misconfiguration on your
machine) then mediatomb has nothing to do with it. The bug report
against mediatomb does not relate to wheezy at all.


This seems wrong. Please look at the bug report #677959, at:

lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/2012-June/027840.html

It says:
The current version of mediatomb (in wheezy) fails to build from source
with the current version of libavformat.

Anyway, since  I shifted to a mixture of Wheezy and Jessie, the problem is 
solved for me.

Thanks for your cooperation.

best regards,
--
Pierre Frenkiel


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: 
http://lists.debian.org/alpine.deb.2.10.1310171727260.17...@pfr2.frenkiel-hure.net



Re: gnome depends on adblock-plus

2013-10-17 Thread Marko Randjelovic
On Thu, 17 Oct 2013 09:43:32 +0100
Jonathan Dowland  wrote:

> I was curious so I investigated. The dependency was added in this
> commit¹ with the message "Require firefox extensions that match epiphany
> functionality: keyring, adblock."  Looking at the commit log, an earlier
> commit sheds some more light²: "Install iceweasel instead of epiphany :(
> See bug#682481."
> 
> So, GNOME proper includes the Epiphany browser, but Debian's GNOME
> metapackage omits it due to the lack of security support. Iceweasel is
> used in its place, and the XUL* extensions are also depended upon so
> that users have the same level of functionality as Epiphany has.

It's what I pointed out in thread about Iceweasel/Icedove 
http://lists.debian.org/20131003164457.46dfc...@eunet.rs
Browser development is stalled if we exclude Firefox and Chromium that
have enormous number of bugs. Konqueror is no longer security supported,
now looks like Epiphany also, *Links* are to feature poor... On the
other hand, web sites aggressively utilize new features, which is almost
always overhead. If you know of some useful alternative please tell us.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017173840.25619...@eunet.rs



Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-17 Thread berenger . morel

Le 16.10.2013 17:56, Jerry Stuckle a écrit :

You're the one who said programmers need to know a lot of details
about the hardware being used, not me.  The more you need to know
about different hardware, the harder it is to write code to fit all 
of

that hardware.


I did not said "a lot" but basics. I do not think that knowing that to 
build a memory cell you can use 2 NAND. I think that it is useful to 
build PC's applications to know that there is a memory stack. Basics.
Knowing that registers have limited size, is also useful: if you 
program in C, int's size is, IIRC, dependent on those sizes. Indeed, 
there are now types with fixed sizes, too, but I would not bet that many 
languages have those.


Of course, you can simply rely on portable libs. But then, when you 
have
a bug which does not comes from what you did, how can you determine 
that

it comes from a lib you used?

I remember having a portability problem, once. A code worked 
perfectly
on a compiler, and not at all on another one. It was not a problem 
of
hardware, but of software: both had to do a choice on a standard's 
lack
of specification (which is something I did not known at that point. 
I

have never read the standard sadly.). I had to take a look at asm
generated code for both compilers to understand the error, and find 
a

workaround.


A good programmer knows what is defined and not defined in the
language.  For instance, in our C and C++ classes, we teach that the
results of something like func(i++, ++i); is not defined.


And I am not a good programmer, I know that perfectly. I have still a 
lot to learn. The day when I'll claim it anew (I said it, when I was 
learning bases...) I will simply be really stupid.



What allowed me to understand the problem, was that I had that asm
knowledge, which was not a requirement to do what I did.

Of course, I have far less experience and grades than it seem you 
both
have, and if I gave a minimalistic sample of the problem you could 
think
that it was stupid, but it does not change that I only was able to 
fix
the problem because of my knowledge of stuff that I have no real 
need to

know.



You should always be aware of the limitations of the language you are
using, also.


But those limitations are dependent on the platform they use, for me. 
See my example with int. In all lessons I had, teachers mentioned short 
and long, but encouraged to use int instead.
And it can give interesting bugs if you use int without knowing that it 
may have a different meaning depending on the compiler and the CPU.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/c008a06a4007a878095637c8775b3...@neutralite.org



Re: sysadmin qualifications (Re: apt-get vs. aptitude)

2013-10-17 Thread berenger . morel



Le 16.10.2013 16:42, Miles Fidelman a écrit :

berenger.mo...@neutralite.org wrote:

Le 16.10.2013 13:04, Jerry Stuckle a écrit :
Anybody who thinks that being able to write code (be it Java, C, 
or .NET
crap), without knowing a lot about the environment their code is 
going
to run in, much less general analytic and design skills, is going 
to

have a very short-lived career.



Anyone who can't write good cross-platform code which doesn't 
depend

on specific hardware and software has already limited his career.
Anyone who can write good cross-platform code has a much greater
career ahead of him. It is much harder than writing 
platform-specific

code.



If writing portable code is harder than platform-specific code 
(which is arguable nowadays), then, could it be because you have to 
take about type's min/max values? To take care to be able to use 
/home/foo/.bar, /home/foo/.config/bar, c:\users\foo\I\do\not\know\what 
depending on the platform and what the system provides? Those are, of 
course, only examples.


Absolutely harder, by a long shot - in some cases you can write to
the lowest-common-denominator of all platforms, and in some cases
cross-platform libraries can help, but in most cases "cross-platform"
means you have to include a lot of tests and special cases.

Consider several examples:
1. Simple HTML/JavaScript apps to run in browsers - it's practically
impossible to write stuff that will run the same in every browser -
different browsers support different subsets of HTML5, and beyond 
that

Explorer does things one way, Firefox another, Safari another, Chrome
another - and that's before you start talking desktop vs. mobile.
Yes, things like PhoneGap can hide a lot of that for you, but you
still end up needing to write a lot of tests and browser-specific
accomondations (and then test in every browser).


I must admit that I do not know a lot about website programming, but I 
have heard about those problems, yes.
Now, people should keep in mind that web applications often uses 
non-standard stuff. HTML5 is still not a released standard (I should say 
recommendation to use the W3C's therm). And I think that it is an error 
to transform HTML for that need, but well, this is not the subject here.


Please, let's talk about families of softwares. You speak about HTML/JS 
applications. I have a better name for the most common part of them: 
client-server applications. A client send a request to a server, and the 
server replies.
Ok, if you agree that that kind of applications is the most part of 
webapps then consider examples of applications which uses a different 
language set. There are lot of them: mpd, various ftp servers (and 
clients, of course), etc. Was the portability a real problem because of 
a dirty screen rendering? I do not think so. They simply (or should) 
send the OS-specific stuff in a library and then base their application 
on that lib. It includes endianness.

Speaking about endianness, it really is hard to manage:

void myfunction( ... )
{
#ifdef BIG_ENDIAN
move_bytes_in_a_specific_order
#else
move_bytes_in_the_other_specific_order
#endif
}

And it is for C. Java and many other languages just do not care, 
because a VM does the job for them. Writing small functions that just do 
one thing should be the rule, and then it's quite easy to perform a task 
in an order or in reverse. If not, provide me an example of code where 
it really is hard, please.


The other part of those applications are... desktop applications.
Again, here, I would recommend to use technologies which are made of. I 
do not like Java at all, but see, it is by far a better choice, if what 
you want is a binary that can be used on any platform without compiling 
anew.
HTML was simply not designed to do what "we" are doing with it, and 
*this* is the problem, in my opinion. They do not even have a consistent 
stuff to build interfaces, where there are dozens in other languages 
which proves that they work from *years*.


Using a technology set to do something it is not designed to do and 
then complaining that it is hard... I think that's quite strange (not to 
speak about accessibility problems that I have heard to be impossible to 
fix). But, indeed, it is hard. On the other hand, lot of websites 
without flashy effects and dirty JS works fine. Did you ever noticed 
that a lot of websites uses some JS code to build simple links? I did, 
because I now disable JS by default, and it is quite funny. But almost 
all websites works, and more important, all website with useful and real 
content. Websites which only want to sell advertisements without any 
content on the other hand does not, same for those with malwares.



2. Anything that does graphics, particularly things that are graphics
intensive (like games).  Different GPUs behave differently (though
OpenGL certainly hides a lot for you), and you still have to detect,
if not accomodate, systems that don't have a GPU.


If you want an application which 

Re: Logitech unified wireless

2013-10-17 Thread Gareth de Vaux
On Wed 2013-10-16 (13:04), Dan Ritter wrote:
> > Ran into this today too (with the logitech mk520 keyboard/mouse),
> > seems like you need to unpair/pair the devices on each reboot?
> 
> No, once programmed the pairing ought to continue until
> reprogrammed. Keyboards paired this way should be usable at BIOS
> boot time, assuming your BIOS can cope with USB HID (almost
> all can).

I could use the keyboard/mouse in the BIOS from the start fine.
I do need to redo the pairing on each boot in the OS though.

If anyone's interested:

# uname -a
Linux cow 3.10-3-amd64 #1 SMP Debian 3.10.11-1 (2013-09-10) x86_64 GNU/Linux

# lsmod | grep logitech
hid_logitech_dj13238  0 
hid81894  5 hid_generic,usbhid,hid_logitech_dj

re-pairing:

Oct 16 14:39:26 cow kernel: [2.006318] usb 3-5: Manufacturer: Logitech
Oct 16 14:39:26 cow kernel: [6.846603] logitech-djreceiver 
0003:046D:C52B.0004: hiddev0,hidraw1: USB HID v1.11 Device [Logitech USB 
Receiver] on usb-:00:14.0-5/input2
Oct 16 14:40:02 cow kernel: [   54.497184] logitech-djreceiver 
0003:046D:C52B.0004: logi_dj_recv_destroy_djhid_device: can't destroy a NULL 
device
Oct 16 14:40:10 cow kernel: [   62.040497] logitech-djreceiver 
0003:046D:C52B.0004: logi_dj_recv_destroy_djhid_device: can't destroy a NULL 
device
Oct 16 14:40:20 cow kernel: [   72.159565] input: Logitech Unifying Device. 
Wireless PID:2011 as 
/devices/pci:00/:00:14.0/usb3/3-5/3-5:1.2/0003:046D:C52B.0004/input/input13
Oct 16 14:40:20 cow kernel: [   72.159926] logitech-djdevice 
0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying 
Device. Wireless PID:2011] on usb-:00:14.0-5:1
Oct 16 14:40:28 cow kernel: [   80.174418] input: Logitech Unifying Device. 
Wireless PID:1024 as 
/devices/pci:00/:00:14.0/usb3/3-5/3-5:1.2/0003:046D:C52B.0004/input/input14
Oct 16 14:40:28 cow kernel: [   80.174985] logitech-djdevice 
0003:046D:C52B.0006: input,hidraw3: USB HID v1.11 Mouse [Logitech Unifying 
Device. Wireless PID:1024] on usb-:00:14.0-5:2

# solaar-cli show
Unifying Receiver [/dev/hidraw1:A3E79BAD] with 2 devices
1: K520 [K520:5086F8BB] 
2: M310 [M310:2A2AC894] 


lsusb -v:

Bus 003 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 8
  idVendor   0x046d Logitech, Inc.
  idProduct  0xc52b Unifying Receiver
  bcdDevice   12.01
  iManufacturer   1 Logitech
  iProduct2 USB Receiver
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   84
bNumInterfaces  3
bConfigurationValue 1
iConfiguration  4 RQR12.01_B0019
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower   98mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  59
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval   8
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  2 Mouse
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength 148
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7

Re: Re: Re: linux-image-3.10-3-amd64 unbootable: /dev/disk/by-uuid not created

2013-10-17 Thread Jogi Hofmüller
Dear all,

We ran into the same (or a similar) problem yesterday and could not fix
it until now.  The machine in question was setup using wheezy and then
upgraded to jessie.  Since the only kernel 3.2 will boot, anything else
fails.

The setup is as follows:

* one raid10
* lvm lvs for / /boot

/etc/mdadm/mdadm.conf is present in the initramfs.

As reported by others the boot process drops into initramfs shell
complaining about not finding /dev/vg0/rootfs.  The array is never
assembled, hence no pv, vg, lv ...

We tried linux-image-3.10-2-amd64 and linux-image-3.10-3-amd64.  mdadm
is 3.2.5-5.

Cheers!

PS:  Please include my address in your reply since I am not subscribed
to the list.  Thanx.
-- 
j.hofmüller

Gerüchtegenerator   
http://plagi.at/geruecht



signature.asc
Description: OpenPGP digital signature


Re: XFCE is slow on Acer One netbook - suggestions?

2013-10-17 Thread Joe
On Thu, 17 Oct 2013 10:09:04 +0200
Helmut Wollmersdorfer  wrote:

> Hi,
> 
> my netbook is a ~5 years old Acer One with Atom processor, 1 GB
> memory and 150 GB HDD.
> 
> The history of used configuration is:
> 
> 1) Debian Lenny KDE3
> 
> 2) repartition and fresh install of Squeze + Gnome2
> 
> With Gnome2 I was very happy and the PC was good performing.
> 
> 3) Upgrade to Wheezy + Gnome3
> 
> Ooops. Not performing on this hardware good enough, too often
> reaching the limits. 
> 
> But even worse is the bad usability of Gnome3.
> 
> That's why I tried 
> 
> 4) Install XFCE without removing Gnome, because I need the
> convenience of the network-manager (I use the netbook in a dozen
> different locations/networks)
> 
> It's still slow.
> 
> And some features of the graphical design are missing, which have an
> impact on usability, e.g. the active tab in gedit is not highlighted.
> 
> What should I do?
> 
> a) use my heavy Lenovo Laptop (+2.3kg), wide-screen, multicore, 4 GB
> (has already Squeeze with KDE)
> 
> b) try to tune XFCE on the Acer One
> 
> c) buy a new small, powerful, lightweight Lenovo (I like the nibble:-)
> 
> 
> Alternatives a) and c) do not solve the pain of choosing a "good
> enough" desktop environment for Debian Wheezy.
> 
There is mate, allegedly a fork of Gnome2, I haven't tried it. I do use
LXDE on my sid desktop and also on my Aspire One netbook. I have the
one with the slightly smaller case and SSD, which has an unbelievably
slow write speed. I usually use it with an external USB hard drive,
which has sid/LXDE. It seems quick enough for my purposes, but they may
be different from yours.

My desktop does not show a highlighted tab in gedit, which may be
either because it needs Gnome, or maybe a different window manager.
Both LXDE and XFCE use Openbox, but of course there are many others. I
can't remember what Gnome2 used, maybe Metacity. A heavier window
manager will of course slow things down, but almost certainly not as
much as Gnome3.

-- 
Joe


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017154541.72201...@jretrading.com



Re: dropbox alternative

2013-10-17 Thread Michael P. Soulier
On 16/10/13 Dmitrii Kashin said:

> And Dropbox does?

No, it prevents losing data though. It will make two copies and have you merge
them.

Mike


signature.asc
Description: Digital signature


Re: Nullmailer and Linux Resource Containers

2013-10-17 Thread Virgo Pärna
On Thu, 17 Oct 2013 15:01:45 +0200, Florian Ernst  wrote:
>
> nullmailer: PID check fails on lxc host (and probably openvz and other VM)
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687827
>

The real VM's that run their own kernels should not be affected.


-- 
Virgo Pärna 
virgo.pa...@mail.ee


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/slrnl5vqat.5rq.virgo.pa...@dragon.gaiasoft.ee



Re: Debian sid and AMD/ATI Richland [Radeon HD 8670D]

2013-10-17 Thread Luis Bandarra
Hi,

On 09-10-2013 23:05, MRH wrote:
> Hi,
>
> I'd need some help with ATI GPU. Is it correct that for that processor
> (AMD A10 6700 - with integrated Radeon HD 8670D) I need flgrx non-free
> drivers to enjoy 3d support (ie to get Gnome 3 working - at the moment
> it goes to the fallback mode). I've got xserver-xorg-video-radeon and
> mesa libraries installed.
>
> If I understand correctly, it should change with linux kernel 3.12
> which will support this GPU?
>
> What should I install?
>
> Debian sid, AMD64.
>
> Kind regards,
> Michal

I'm sorry but i can't understand if you tried it or just asking?

The current kernel at sid is 3.10 and fglrx-driver 13.4, acording with
phoronix[1][2][3], the kernel will work, but for the driver it doesn't
see to be prepare to the HD8670D but the 13.8 might work [4].

The fglrx-driver 13.8 is in experimental, or perhaps download from amd.

Hope it helps!

PS: i didn't search in the radeon open source to see if it work with
hd8670D.


[1]http://www.phoronix.com/scan.php?page=article&item=amd_a10_6800k&num=2
[2]http://www.phoronix.com/scan.php?page=article&item=amd_radeon_hd8670d&num=1
[3]http://www.phoronix.com/scan.php?page=article&item=amd_gallium3d_hd8670d&num=1
[4]http://askubuntu.com/questions/50/no-drivers-for-amd-radeon-hd-8750m-or-amd-radeon-hd-8550

-- 

Bandarra
LiCo #544119

"Enjoy while you can 'cos you'll never know when it'll end"


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/525fe930.7060...@gmail.com



Re: Nullmailer and Linux Resource Containers

2013-10-17 Thread Bryan K. Walton
On Thu, Oct 17, 2013 at 8:01 AM, Florian Ernst  wrote:

> nullmailer: PID check fails on lxc host (and probably openvz and other VM)
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687827
>
> Yes, this is annoying, and should be fixed in nullmailer's initscript.

Thanks Flo!  I should checked the nullmailer bug reports, first.  That
indeed helps!

Thanks,
Bryan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cam91gdag+tpo8a22xwmnzwurqdtb1zr1xrr9x4kkpztdm4x...@mail.gmail.com



Re: Nullmailer and Linux Resource Containers

2013-10-17 Thread Florian Ernst
Hello all,

On Thu, Oct 17, 2013 at 07:26:26AM -0500, Bryan K. Walton wrote:
> [...]
> So, my question is this: is this an issue with LXC?  Or with
> Nullmailer?  Is this a limitation of Linux Resource Containers or
> should I be able to do run daemons on both the host/guest at the same
> time?

nullmailer: PID check fails on lxc host (and probably openvz and other VM)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687827

Yes, this is annoying, and should be fixed in nullmailer's initscript.

HTH,
Flo


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017130145.ga14...@fernst.no-ip.org



Re: Problems with vesa X driver

2013-10-17 Thread Ralf Mardorf
On Thu, 2013-10-17 at 14:54 +0200, Ralf Mardorf wrote:
> On Arch Linux with a nearly equal config, I
> get 81.9kHz/90.0Hz with the above config.

*chuckle*

Regarding to the frequency section the configs are equal ;). I type
faster, than I think ;).



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1382014635.5852.87.camel@archlinux



Re: Problems with vesa X driver

2013-10-17 Thread Ralf Mardorf
On Thu, 2013-10-17 at 07:47 -0400, Stephen Powell wrote:
>Section "Device"
>Identifier "Default Device"
>Driver "vesa"
>EndSection
>Section "Screen"
>Identifier "Configured Screen"
>Device "Default Device"
>Monitor "Default Monitor"
>Subsection "Display"
>#
># Note: specifying a mode name of "1024x768" eliminates interlaced modes
># from consideration.  Interlaced modes have a mode name ending in "i".
># For example: "1024x768i".
>#
>Modes "1024x768"
>EndSubSection
>EndSection
> 
> However, the first problem may be a usage issue that
> I can solve with appropriate tweaks in xorg.conf.  I just need to know
> what to do.  Ideas anyone?

[rocketmouse@archlinux ~]$ cat /mnt/avlinux/etc/issue
Debian GNU/Linux 6.0 \n \l

[rocketmouse@archlinux ~]$ cat /mnt/avlinux/etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
EndSection

Section "Monitor"
Identifier   "Monitor0"
DisplaySize  305 230
HorizSync29-98
VertRefresh  50-120
modeline "1152x864" 128.42 1152 1232 1360 1568 864 865 868 910
Gamma1.0
EndSection

Section "Device"
Identifier  "Card0"
Driver  "radeon"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
SubSection "Display"
Viewport   0 0
Depth   24
Modes  "1152x864"
EndSubSection
EndSection

In the past it was possible to get the frequency range by trial and
error, today this doesn't work for me anymore, you need to get it from
the web or your monitor's manual or IIRC I looked at a Suse install,
they provided default values for monitors. My German monitor might be
equal to another, international one, but IIRC I couldn't get info by the
web, just Suse supported it. On Arch Linux with a nearly equal config, I
get 81.9kHz/90.0Hz with the above config. IIRC the frequency thing does
work with the vesa driver too, just the resolution has to be 1024x768 or
another, but at least not 1152x864. I heard that modelines should be
obsolet, but IIRC it doesn't work here without. IIRC  used an online
calculator to get it.

Hth,
Ralf

PS: I own a NVIDIA and a ATI graphics and sometimes I need to switch the
graphics, very seldom I need to use the vesa driver too. Most of the
times both graphics can be used. Usually X isn't an issue here, but
seldom it is and then it's a real PITA.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1382014458.5852.86.camel@archlinux



Nullmailer and Linux Resource Containers

2013-10-17 Thread Bryan K. Walton
Good Morning,

I've got a Wheezy box running LXC.  There are three containers running
on the host.  I discovered an issue the other day with Nullmailer.  I
had Nullmailer successfully installed and running on the host for a
few weeks.  Then, last week I installed Nullmailer inside one of the
containers and that also seemed to work fine.  However, yesterday
morning, I restarted Nullmailer on the LXC host and it failed to
start.  After a little bit of troubleshooting, I discovered that it
was failing to start because it thought Nullmailer was already
running.  But in fact, it was only running on one of the guests.  And
sure enough, once I stopped Nullmailer on the guest, I was able to
successfully start it up on the host.

So, my question is this: is this an issue with LXC?  Or with
Nullmailer?  Is this a limitation of Linux Resource Containers or
should I be able to do run daemons on both the host/guest at the same
time?

Thanks,
Bryan Walton


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAM91gdAro+ZWa=1wsb0_8p5qebd+z+qy8tg-4jt9cmy+voy...@mail.gmail.com



Problems with vesa X driver

2013-10-17 Thread Stephen Powell

Due to a bug in the MACH64 driver (see Debian bug report 726585 for details),
I am temporarily using the VESA X driver in Debian jessie to get graphical
support to work on my machine.  I am experiencing three problems with it.

First of all, I can only get 1024x768 resolution to work at a 60 Hz vertical
refresh rate.  That would be fine if my monitor was a modern flat screen
digital one which was designed for a 60 Hz vertical refresh rate, but it's not.
It's an old-fashioned CRT-based monitor.  Both the monitor itself, as well
as the video card, are capable of 1024x768 resolution at 85 Hz vertical refresh,
and as far as I can tell, there is a video BIOS mode for this as well.  But
the driver still uses 60 Hz.  Here is my /etc/X11/xorg.conf:

   Section "Device"
   Identifier "Default Device"
   Driver "vesa"
   EndSection
   Section "Screen"
   Identifier "Configured Screen"
   Device "Default Device"
   Monitor "Default Monitor"
   Subsection "Display"
   #
   # Note: specifying a mode name of "1024x768" eliminates interlaced modes
   # from consideration.  Interlaced modes have a mode name ending in "i".
   # For example: "1024x768i".
   #
   Modes "1024x768"
   EndSubSection
   EndSection

The second problem is that if I switch from the graphical console back to a
text console (with Ctrl+Alt+F1, for example), then switch to the graphical
console again (with Alt+F7), the graphical screen is now very dim.  The only
way to recover is to restart the server.  (Logout of graphical screen, then
switch to text console with Alt+F1, login as root, then issue

   /etc/init.d/gdm3 stop
   deallocvt 8
   killall console-kit-daemon
   deallocvt 7
   /etc/init.d/gdm3 start

This recovers screen brightness on the graphical console, but I had better
not switch to a text console again or I'll have to go through the above
exercise all over again.

The third problem is that if my initial text video mode set at boot time
(by the vga option) is other than the default 80x25 text mode, attempting
to switch back to a text console from the graphical screen locks the system.
Obviously this driver has problems with correctly saving and restoring video
modes.  Does anyone have any ideas how to solve any of these problems?  I
have a feeling that the last two problems are bona fide bugs which will
need to be reported.  However, the first problem may be a usage issue that
I can solve with appropriate tweaks in xorg.conf.  I just need to know what
to do.  Ideas anyone?

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/253922582.3721539.1382010421642.javamail.r...@md01.wow.synacor.com



Re: dhcpclient overwrites /etc/resolv.conf

2013-10-17 Thread Jonathan Dowland
On Thu, Oct 17, 2013 at 10:12:55AM +, Bonno Bloksma wrote:
> This looks the way to go but... The sample shows just one entry, so
> how do I add multiple entries. Multiple lines, single line space
> separated values, comma separated values? The man page does not
> explain either nor does Google help so far :-( Wil I just need to try?

Commas, matching the syntax for the "option" command (this is implied by
the way prepend is described in the manpage: prepend [ option
declaration ])

> (a little later) Aha, the Debian wiki has a better sample
> https://wiki.debian.org/NetworkConfiguration#DHCP_Client_Configuration
> but... it is missing the trailing semi-colon on the line so it is not
> perfect either. I will need to test, and then update the wiki I think.

Yes I think the missing semi colon is a mistake.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017113926.ga7...@bryant.redmars.org



Re: XFCE is slow on Acer One netbook - suggestions?

2013-10-17 Thread Joel Rees
On Thu, Oct 17, 2013 at 5:09 PM, Helmut Wollmersdorfer
 wrote:
> Hi,
>
> my netbook is a ~5 years old Acer One with Atom processor, 1 GB memory and 
> 150 GB HDD.
>
> The history of used configuration is:
>
> 1) Debian Lenny KDE3
>
> 2) repartition and fresh install of Squeze + Gnome2
>
> With Gnome2 I was very happy and the PC was good performing.
>
> 3) Upgrade to Wheezy + Gnome3
>
> Ooops. Not performing on this hardware good enough, too often reaching the 
> limits.
>
> But even worse is the bad usability of Gnome3.
>
> That's why I tried
>
> 4) Install XFCE without removing Gnome, because I need the convenience of the 
> network-manager (I use the netbook in a dozen different locations/networks)
>
> It's still slow.
>
> And some features of the graphical design are missing, which have an impact 
> on usability, e.g. the active tab in gedit is not highlighted.
>
> What should I do?
>
> a) use my heavy Lenovo Laptop (+2.3kg), wide-screen, multicore, 4 GB (has 
> already Squeeze with KDE)
>
> b) try to tune XFCE on the Acer One

Have you checked the hardware acceleration settings?

I had a slowness problem that inspired this thread:

http://lists.debian.org/debian-user/2013/07/msg00597.html
http://lists.debian.org/debian-user/2013/07/msg00880.html

> c) buy a new small, powerful, lightweight Lenovo (I like the nibble:-)
>
> Alternatives a) and c) do not solve the pain of choosing a "good enough" 
> desktop environment for Debian Wheezy.
>
> TIA
>
> Helmut Wollmersdorfer
>
>

--
Joel Rees

Be careful where you see conspiracy.
Look first in your own heart.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAAr43iNGEbKMRpcTY5YBOp-dUxES-XhgGZCc=fkk_jakmln...@mail.gmail.com



Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread Tom H
On Thu, Oct 17, 2013 at 6:00 AM,   wrote:
> On Wed, 16 Oct 2013 13:00:19 +0100
> Darac Marjal  wrote:
>
>> This isn't really a safe assumption. There have been transitions in the
>> past (such as udev) where the dist-upgrade should be performed as:
>>   * Update sources.list
>>   * Install new kernel and new udev
>>   * Reboot
>>   * Proceed with dist-upgrade
>
> Interesting. Don't remember running such procedure. Was it for testing
> or sid?

Lenny to Squeeze dist-upgrade


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=sy09yubpcogicoxr_re1t4gh3qqym0rb1zauxjg6qv...@mail.gmail.com



Re: dropbox alternative

2013-10-17 Thread Weaver

On Wed, October 16, 2013 3:13 am, yudi v wrote:
> I am looking for an dropbox alternative, so far  found Unison and btsynch
> (not open sourced).
> Are there any other open sourced alternatives.
>
> I am not interested in server/client designs like owncloud, pud.io, and
> various others.
>
> It should be able to propagate latest changes to other nodes/clients, be
> secure, and should be available for different platforms.
>
Try Sparkleshare:

http://sparkleshare.org/

Kind regards,

Weaver

-- 
"It is the duty of the patriot to protect his country from its  government."
 -- Thomas Paine

Registered Linux User: 554515


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/b52c344722b7e45f198ae61ea89a43b3.squir...@fruiteater.riseup.net



Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread recoverym4n
On Thu, 17 Oct 2013 10:23:30 +
Bonno Bloksma  wrote:

> Hi Reco,
> 
> >> This isn't really a safe assumption. There have been transitions in 
> >> the past (such as udev) where the dist-upgrade should be performed as:
> >>   * Update sources.list
> >>   * Install new kernel and new udev
> >>   * Reboot
> >>   * Proceed with dist-upgrade
> >
> > Interesting. Don't remember running such procedure. Was it for testing or 
> > sid?
> 
> If I remember correctly it was in the step from Lenny to Squeeze. I know for 
> sure I had to do it on several machines.
> Yup, just found it in my old notes, it was Lenny to Squeeze.

Thanks, that explains why I don't remember it - I was running testing
those days.

Back to the topic of discussion - I'm pretty sure that this wasn't
needed for squeeze → wheezy transition.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131017145221.616334bdb0c803760a34c...@gmail.com



Re: VM as a iso image install

2013-10-17 Thread Karl E. Jorgensen
Hi

On Thu, Oct 17, 2013 at 10:15:35AM +0100, Jesus arteche wrote:
> HEy guys,
> 
> I have a virtual machine running on KVM, I saw that I can convert to an ISO, 
> do
> you know if it is any way to convert this ISO in ISO install, I mean, create a
> ISO file that install my native virtual machine over the machine where the ISO
> file is started...

You may want to look into the "bootcd" package. The description of the
package looks almost exactly like what you are looking for:

Description-en: run your system from cd without need for disks
 Build an image of your running Debian System with the command bootcdwrite.
 You can also build a bootcd ISO image via NFS on a remote System.
 When you run your system from CD you do not need any disks. All
 changes will be done in ram. To reuse this changes at next boot time
 you can save them on FLOPPY with the command bootcdflopcp. If booting
 from your CD-drive is not supported, booting from FLOPPY is possible.
 It is possible to install a new system from the running CD with the
 command bootcd2disk. Bootcd2disk can also find a target disk, format
 it and make it bootable automatically. Bootcd also supports lilo,
 grub, initrd, udev, lvm, transparent-compression ISO 9660 fs and
 syslinux/isolinux. The included FAQ describes how bootcd can do
 online or offline backups of other Linux distributions, resulting
 in restore-bootcds. The bootcdbackupwizard helps to create online
 backups.

Hope this helps
-- 
Karl E. Jorgensen


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017104649.GC21576@hawking



RE: Jessie Minimum Kernel Requirement

2013-10-17 Thread Bonno Bloksma
Hi Reco,

>> This isn't really a safe assumption. There have been transitions in 
>> the past (such as udev) where the dist-upgrade should be performed as:
>>   * Update sources.list
>>   * Install new kernel and new udev
>>   * Reboot
>>   * Proceed with dist-upgrade
>
> Interesting. Don't remember running such procedure. Was it for testing or sid?

If I remember correctly it was in the step from Lenny to Squeeze. I know for 
sure I had to do it on several machines.
Yup, just found it in my old notes, it was Lenny to Squeeze.

Bonno Bloksma


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/89d1798a7351d040b4e74e0a043c69d759561...@hglexch-01.tio.nl



RE: dhcpclient overwrites /etc/resolv.conf

2013-10-17 Thread Bonno Bloksma
Hi Karl (and others),

>> I thought I had it covered but it seems I was wrong.
>> 
>> My uplink uses DHCP to give me my ip-number etc. It also gives me the dns 
>> server for the uplink but... I run my own dns servers(s) for our local 
>> domain.
>> I want the /etc/resov.conf file to stay as it is and not be overwritten by 
>> the dhcp client service.
>> Just doing a chmod -w /etc/resolv.conf is not enough.
>> 
>> How can I accomplish this?
>
> Several ways - not necessarily mutually exclusive:
>
> (1) Get your own local domains into the global DNS ? 
Nope, I want to keep global and local separate. Out global dns entries are 
hosted by our ISP dns servers. For this I need to point to our internal dns 
servers.

>
> (2) In /etc/dhcp/dhclient.conf  add:
>
>prepend name-servers 1.2.3.4;
>
This looks the way to go but... The sample shows just one entry, so how do I 
add multiple entries. Multiple lines, single line space separated values, comma 
separated values? The man page does not explain either nor does Google help so 
far :-( Wil I just need to try?
(a little later) Aha, the Debian wiki has a better sample 
https://wiki.debian.org/NetworkConfiguration#DHCP_Client_Configuration
but... it is missing the trailing semi-colon on the line so it is not perfect 
either. I will need to test, and then update the wiki I think.

>
> (3) Install the "resolvconf" package and update 
> /etc/resolvconf/resolv.conf.d/head - this file is the
> top "fragment" of the (now generated) /etc/resolv.conf file
I might try that if the dhclient.conf does not work

Thanks for the help so far, now just that last little bit. ;-)

Bonno Bloksma


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/89d1798a7351d040b4e74e0a043c69d759561...@hglexch-01.tio.nl



Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread recoverym4n
On Wed, 16 Oct 2013 13:00:19 +0100
Darac Marjal  wrote:

> This isn't really a safe assumption. There have been transitions in the
> past (such as udev) where the dist-upgrade should be performed as:
>   * Update sources.list
>   * Install new kernel and new udev
>   * Reboot
>   * Proceed with dist-upgrade

Interesting. Don't remember running such procedure. Was it for testing
or sid?

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131017140052.b18cc5b5b3c2632f3f6f3...@gmail.com



Re: Jessie Minimum Kernel Requirement

2013-10-17 Thread recoverym4n
On Wed, 16 Oct 2013 08:21:35 -0400
Tom H  wrote:

> Furthermore, Wheezy's kernel is 3.2 not 2.6.32.

OOPS, you've got me. I mistook squeeze for wheezy.

Reco.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20131017135930.dd5d7ae9032904e5076d1...@gmail.com



VM as a iso image install

2013-10-17 Thread Jesus arteche
HEy guys,

I have a virtual machine running on KVM, I saw that I can convert to an
ISO, do you know if it is any way to convert this ISO in ISO install, I
mean, create a ISO file that install my native virtual machine over the
machine where the ISO file is started...

makes sense? could you help me?


Re: gnome depends on adblock-plus

2013-10-17 Thread Jonathan Dowland
On Sat, Oct 12, 2013 at 11:48:28AM +0200, berenger.mo...@neutralite.org wrote:
> 1: In fact, I think that meta-packages should only have
> recommendations and suggestions, since they are automatically
> installed by a default Debian configuration.

All meta-packages are not installed in a default Debian installation.
In fact, what you are referring to are task-* meta-packages, as
generated by tasksel, such as task-gnome-desktop¹, which depends on
gnome-core², and *does* recommend the "gnome" meta-package already.

(of course at installation time the user has little opportunity to
have set a no-recommends-please preference prior to selecting tasks.
Perhaps they do if they are in expert mode: I'm not sure.)

"gnome-core" is defined to be the bare minimum of GNOME to have a
functional system and its dependencies are set accordingly. (I see
iceweasel is a depends here but the xul-* packages are not.)

"gnome" is defined to be the GNOME Desktop Environment: all of it: and
its dependencies are set accordingly. Thus the upstream GNOME team
define what is part of the GNOME Desktop Environment³.  Anyone who does
not want the entire GNOME desktop should not install (or should
subsequently remove) the "gnome" metapackage.

¹ http://packages.debian.org/unstable/task-gnome-desktop
² http://packages.debian.org/sid/gnome-core
³ exceptions do exist, such as the lack of epiphany and substitution
  with iceweasel, which is the root cause of the problems you've
  highlighted here, and I explain in my other post.

-- 
Jonathan Dowland


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017084918.gb4...@bryant.redmars.org



Re: gnome depends on adblock-plus

2013-10-17 Thread Jonathan Dowland
On Sat, Oct 12, 2013 at 03:03:19AM +0200, berenger.mo...@neutralite.org wrote:
> gnome depends on xul-ext-adblock-plus.
…
> So, I would like to know if someone knows why this dependency
> exists, instead of a recommendation or suggestion.

I was curious so I investigated. The dependency was added in this
commit¹ with the message "Require firefox extensions that match epiphany
functionality: keyring, adblock."  Looking at the commit log, an earlier
commit sheds some more light²: "Install iceweasel instead of epiphany :(
See bug#682481."

So, GNOME proper includes the Epiphany browser, but Debian's GNOME
metapackage omits it due to the lack of security support. Iceweasel is
used in its place, and the XUL* extensions are also depended upon so
that users have the same level of functionality as Epiphany has.

That's the logic, but the consequence is lots of problems as #689858
indicates. It seems to me that attempting to get feature parity with
Epiphany is a nice goal, but perhaps not mission critical: would the
GNOME maintainers not consider moving the xul-* dependencies to
Recommends?

The last consensual message to #682481 seemed to suggest that depending
on chromium made more sense than Iceweasel, so I don't know why that
wasn't done, but perhaps it could. I haven't seen any comment from the
GNOME maintainers regarding this suggestion.


¹ 
http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/meta-gnome3/debian/control?revision=35790&view=markup
² 
http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/meta-gnome3/debian/control?revision=35758&view=markup


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131017084332.ga4...@bryant.redmars.org



XFCE is slow on Acer One netbook - suggestions?

2013-10-17 Thread Helmut Wollmersdorfer
Hi,

my netbook is a ~5 years old Acer One with Atom processor, 1 GB memory and 150 
GB HDD.

The history of used configuration is:

1) Debian Lenny KDE3

2) repartition and fresh install of Squeze + Gnome2

With Gnome2 I was very happy and the PC was good performing.

3) Upgrade to Wheezy + Gnome3

Ooops. Not performing on this hardware good enough, too often reaching the 
limits. 

But even worse is the bad usability of Gnome3.

That's why I tried 

4) Install XFCE without removing Gnome, because I need the convenience of the 
network-manager (I use the netbook in a dozen different locations/networks)

It's still slow.

And some features of the graphical design are missing, which have an impact on 
usability, e.g. the active tab in gedit is not highlighted.

What should I do?

a) use my heavy Lenovo Laptop (+2.3kg), wide-screen, multicore, 4 GB (has 
already Squeeze with KDE)

b) try to tune XFCE on the Acer One

c) buy a new small, powerful, lightweight Lenovo (I like the nibble:-)


Alternatives a) and c) do not solve the pain of choosing a "good enough" 
desktop environment for Debian Wheezy.

TIA

Helmut Wollmersdorfer



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/d3ce0221-7f96-44d8-ac98-bfeec2e84...@fixpunkt.de