Re: Gnome Shell battery indicator missing

2012-01-12 Thread Johan Grönqvist

2012-01-12 09:40, Panayiotis Karabassis skrev:

On 01/11/2012 10:41 PM, Johan Grönqvist wrote:
Thanks, I'll wait for 3.2. Meanwhile I read the battery status with the
"acpi" command. Linux as opposed to GNU Hurd, you mean?


I upgraded the packages gnome-shell and gnome-shell-common to the 
versions from unstable and I now see the battery icon again.


/ johan


--
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/jeoij7$2tj$1...@dough.gmane.org



Re: gnu screen - 40 windows limit?

2012-01-12 Thread toor
I run across this issue as well.

I usually recompile screen to remove it. If you want to do it with
packages, make sure you have the dpkg-dev package installed (you will
need make etc. so also grab build-essential which may or may not be a
dependancy on dpkg-dev) and use 'apt-get source screen' to grab the
source for screen.

Extract the source (screen_4.0.3.orig.tar.gz). Make sure that you run
the patch after the archive is extracted to create the debian package
control files. Edit the config.h.in file and find this near the top:

# define MAXWIN 40

Change the 40 to what ever limit you want.

Rebuild the package using dpkg-buildpackage and then install the .dpkg
file over the top of your current screen installation. This will then
set the window limit to what ever you defined earlier.

On Fri, Jan 13, 2012 at 7:38 AM, Evuraan  wrote:
> gnu screen seems to let me open upto 40 windows. When I try for more, it
> says "No more windows." - is there a way we can override this limit?
>
> many thanks in advance.


-- 
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/CALjCmpms7pXmLJpwvCKD2SHYUgk_m=bg3z6_ytif4gku-d7...@mail.gmail.com



Re: boot from raid1 mdadm version 1.2 partition

2012-01-12 Thread Marc Auslander
> also sprach Marc Auslander  [2012.01.12.2226 +0100]:
>> Earlier posts seem to say this should/might work.
>> 
>> I made an mdadm v 1.2 partions, and put a copy of my root file system
>> on it.
>> 
>> update-grub doesn't see it at all.
>
> Are you using grub-pc aka. grub2?
>
> In the future, please always provide version information for the
> software with which you are having problems.
>
> -- 
>  .''`.   martin f. krafft   Related projects:
> : :'  :  proud Debian developer   http://debiansystem.info
> `. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
>   `-  Debian - when you have better things to do than fixing systems
>  
> tempt not a desperate man.
> -- william shakespeare
Sorry for the lack of detail.

grub-pc (aka grub2) v 1.98 on squeeze up to date with stock kernel.

martin f krafft  writes:


-- 
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/87wr8wl1mq@aptiva.optonline.net



Community Wanted ! (Debian-VirtualBox-related)

2012-01-12 Thread Alexey Eromenko
Hello,

I would like to inform you, that I have developed a major new feature
-- automated virtual machine installer for VirtualBox.
'vbox-unattended'.
This is the first time that I develop major feature for VirtualBox !

It lets you install *any* supported virtual machine automatically in
just 10 minutes, and with few clicks !
...and of course Debian is a first-class citizen with support.
This feature significantly improves the integration between Debian and
VirtualBox.

The problem:
No one reviews my patches / my work, and it's kinda sad given the
amount of work I put in development. Oracle devs are busy, and the
VirtualBox community is large - but consists mostly of users, with 0.1
community developers.
Therefore I asking that maybe some Debian people could help me, take a
look at this feature, or at least suggest me what to do in this
situation ?

Why VirtualBox ?
I consider VirtualBox a real master-piece of technology.
It is a true revolution in the Open-Source virtualization space, in a
sense, that it is the only Free solution, whom has a quality GUI, and
puts the desktop user at the forefront, that's why I chosen it over
KVM/Xen. Yet I believe VirtualBox flexible enough to handle many
server workloads.
In addition it has a great single-node management layer built-in,
which makes management of the whole solution easy.
I believe, that VirtualBox is our only hope for a Free Software
replacement of VMware Workstation. (KVM/Xen seem more of a server
products, competing with VMware ESX and Microsoft Hyper-V)

Link of my work: (vbox-unattended, includes GUI + patches +
documentation + research paper)
https://forums.virtualbox.org/viewtopic.php?f=10&t=46798&p=211187#p211187

I hope you could take a look at it or suggest me what to do.

Best wishes,
-- 
-Alexey Eromenko "Technologov"
Debian user. VirtualBox community member.


-- 
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/CAOJ6w=FGxu5S9MaCij=x659ksbmeu++fpokrl4toewnc8_g...@mail.gmail.com



Re: bug report

2012-01-12 Thread Scott Ferguson
On 13/01/12 11:45, Vivian wrote:
> Package manager
> 
> E: Encountered a section with no Package: header
> E: Problem with MergeList
> /var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages
> 
> E: The package lists or status file could not be parsed or opened.
> E: _cache->open() failed, please report.
> 
> 

Run the following command:-
# dpkg --configure -a



Cheers
-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
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/4f0f90e2.8030...@gmail.com



bug report

2012-01-12 Thread Vivian

Package manager

E: Encountered a section with no Package: header
E: Problem with MergeList 
/var/lib/apt/lists/security.debian.org_dists_lenny_updates_main_binary-i386_Packages

E: The package lists or status file could not be parsed or opened.
E: _cache->open() failed, please report.


--
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/4f0f7ea7.6070...@charter.net



Re: gnu screen - 40 windows limit?

2012-01-12 Thread Scott Ferguson
On 13/01/12 10:38, Evuraan wrote:
> gnu screen seems to let me open upto 40 windows. When I try for more, it
> says "No more windows." - is there a way we can override this limit?
> 
> many thanks in advance.
> 
Strange...

What do you get from:-
$ cat /proc/sys/kernel/pty/max

I get 4096 on stock-ish Squeeze boxes. *If* max pty is your problem,
reset by:-
# nano /etc/sysctl.conf
edit the value for "kernel.pty.max"

Apply changes with:-
# sysctl -p


Note that ssh and other services also use pty - so 40 windows in screen
might be determined by how many other pty instances are in use.


Cheers
-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
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/4f0f7986.7020...@gmail.com



Re: network / nat / port forward -- problem

2012-01-12 Thread Arno Schuring
YR (zha...@videotron.ca on 2012-01-12 16:34 -0500):
> 
> The system has 2 network cards. Debian accesses the internet via eth0 
> without problems. (typical dhcp getting IP from ISP)
> the internet connection is shared, and the xp machine connected to
> eth1 connects to the internet also without problems (none that I saw
> anyway) the dhcp server on debian assigns an ip to the eth1 machine
> successfully in the 10.x.x.x range

First things first -- you have no modem, or the modem is in bridge mode
(i.e. your Debian machine is directly connected to the Internet)? In
what range is the IP address of your Debian box?

> 
> my problem is that I cannot access the machine on eth1 when it
> serves. For example, from the machine connected to eth1 I could play
> quake 3 connecting to a server on the internet flawlessly, but I
> cannot host a server myself, others can't connect to me.
> how to I forward the ports to the eth1 machine so that I can have a 
> server on it? (or as routers often call it "virtual servers")

You need port forwarding, known as DNAT to friends. The official
documentation is here:
http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html

Some examples: http://linux-ip.net/html/nat-dnat.html


> 
> I also want to activate the firewall on the debian machine but that
> also has caused problems with the internet connection sharing,
> leaving the machine on eth1 connectionless.

You already have a firewall, or you would have serious issues with
connectivity from your eth1 box. How did you activate the firewall?


Regards,
Arno


-- 
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/20120113005731.494e5...@viper.intra.loos.site



Re: Nonstandard .deb package management/apt problem: create archive with updateable packages for system not connected to internet

2012-01-12 Thread Scott Ferguson
On 13/01/12 02:12, Fiedler Roman wrote:
> Hello List,
> 
> Perhaps someone might know a solution or at least where to start searching 
> for a solution by myself. The problem:
> 
> A system isolated from internet should receive standard distribution package 
> updates. Since the system cannot fetch the packages from public repositories 
> or internal mirrors, some way to create an archive with all necessary .deb 
> packages would be nice. The archive is then transferred to the machine via 
> e.g. usb.
> 
> Would it be possible with a scheme like that?
> 
> * The list of currently installed packages is extracted from the isolated host
> 
> * On another host with internet access, the list of installed packages is 
> compared to the current package list
> 
> * Only the packages newer than the ones installed are fetched from the 
> repository
> 
> * The fetched packages are used to create a local file-base repository (e.g. 
> with apt-ftparchive) and this data is copied to the isolated machine
> 
> * Standard update/upgrade on isolated machine using the local file repository 
> as source.
> 
> 
> Is this the best way to archive the goal?
> 
> Are there tools or a howto available on how to extract the package 
> information from source, use it for fetching ?
> 
> Thanks,
> Roman
> 
> 

> 
Other have already suggested apt-zip, another method is to use the
update DVDs and CDs.
eg. see the update CDs at the bottom of the list:-
http://cdimage.debian.org/debian-cd/6.0.3/i386/iso-cd/


Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
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/4f0f735c.3090...@gmail.com



gnu screen - 40 windows limit?

2012-01-12 Thread Evuraan
gnu screen seems to let me open upto 40 windows. When I try for more, it
says "No more windows." - is there a way we can override this limit?

many thanks in advance.


Re: virtual interfaces not routing properly.

2012-01-12 Thread Pascal Hambourg
Bob Proulx a écrit :
> Pascal Hambourg wrote:
>> Bob Proulx a écrit :
> 
>>> up   ip addr add 10.25.48.141/24 dev eth0 label eth0:0
>>> down ip addr del 10.25.48.141/24 dev eth0 label eth0:0
>>
>> That sucks big time. Don't tell me it is the new official way to replace
>> aliases.
> 
> It doesn't have any official status beyond being able to work with the
> (at least for some period of time) broken ifupdown in Sid.

Fine them. "The newer way to configure multiple addresses on one
interface is to use the up and down mechanism to call ip" written in the
Debian wiki sounded quite definitive to me.

> And it
> seems very reasonable to me.  I am sorry that you don't like it.  In
> which case you don't need to use it.  But I don't think it sucks at
> all.  *I* like it.

It is acceptable as a temporary workaround and should be clearly
advertised as such. I would not have liked it as a final new way to
assign multiple addresses to a single interface. I do not like mixing
ifupdown options (address, netmask, gateway...) and up/down commands to
configure the same things either, this is not consistent. If you are
going that way, why not use the "manual" method and do all the
configuration with up/down options ?


-- 
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/4f0f6807.4020...@plouf.fr.eu.org



Re: virtual interfaces not routing properly.

2012-01-12 Thread Bob Proulx
> Pings from the same subnet work for all of the interfaces/ip addresses
> Pings from other subnets only work for the primary interface/address.

Do you have a firewall blocking ping (aka ICMP echo-request)?  Sounds
like a firewall problem.

Are you talking about outgoing pings or incoming pings?  I assume you
mean incoming pings from some remote host to your address, right?

Is anything logged to /var/log/kern.log?  (Hoping to see kernel
messages showing packets being blocked there.)

> And...form the machine in question;
> ~# ip route show
> 10.25.48.0/24 dev eth0  proto kernel  scope link  src 10.25.48.140
> default via 10.25.48.254 dev eth0

That looks okay.  It matches what I see on my machines with multiple
addresses.

Your additional IP addresses are all on the same subnet and therefore
the local subnet route 10.25.48.0/24 through dev eth0 will work for
all of them.  You only need one route.

> but on a lenny box with this setup that is working I see default
> routes for each of the IP addresses.

What additional routes do you see on the Lenny machine for the
additional IP addresses?  (I am still thinking it is a firewall
blocking ping on the other addresses.  But I am curious.)

Bob


signature.asc
Description: Digital signature


Re: network / nat / port forward -- problem

2012-01-12 Thread Bob Proulx
YR wrote:
> I tried over a dozen sites, forums and wikis with various
> instructions and I still can't get this to work. So many 'tutorials'
> instruct you to 'apt-get' more software that would simply conflict
> with what is already installed, when what is installed actually
> works, i just don't know how to configure it!

People here are volunteers.  The reason people ask to install
additional software is typically to be within the space that they
know.  For example I use Shorewall as my firewall router rule builder
and know it pretty well.  Therefore I will suggest it as a good way to
go and will help with the configuration of it.  But if you are using
any other process then I probably won't be able to help because I
would need to learn about these other tools.  Since I am volunteering
the help and am always short on time that isn't a possibility.
However if you say you are using a different tool then someone who
uses it might see the message and then jump in to help with it.  It is
a team effort.  We all help in the spots that we can.

Here you didn't say what tool you are using.  Are you writing native
Linux netfilter iptables rules?  Or are you using a builder of some
sort?  Mind you raw iptables is fine.  But just very tedious and easy
to make mistakes.  That is why I prefer to use a higher level tool to
build the rules for me such as Shorewall.  I find it excellent with a
lot of good documentation and therefore I recommend it.

As far as your statement that what you have installed is working.  It
actually sounds like it isn't working or you wouldn't be posting. :-)

> The system has 2 network cards. Debian accesses the internet via
> eth0 without problems. (typical dhcp getting IP from ISP)
> the internet connection is shared,

Note that while Windows calls it connection sharing that is a windows
specific term.  No one else calls it that.  It sounds silly to me to
hear it in the context of a Linux netfilter discussion.  At this point
your machine is a router.

> and the xp machine connected to eth1 connects to the internet also
> without problems (none that I saw anyway) the dhcp server on debian
> assigns an ip to the eth1 machine successfully in the 10.x.x.x range

So it sounds like you have forwarding and NAT/masquerading set up
successfully.  Good so far.

> my problem is that I cannot access the machine on eth1 when it
> serves. For example, from the machine connected to eth1 I could play
> quake 3 connecting to a server on the internet flawlessly, but I
> cannot host a server myself, others can't connect to me.
> how to I forward the ports to the eth1 machine so that I can have a
> server on it? (or as routers often call it "virtual servers")

Here you need to supply some more detail.  The words "it" and "the
machine" are just ambiguous enough that I am not positive which
machine is which.

I will guess that your iptables rules are routing packets from eth1 to
eth0 but not allowing packets from eth1 to the local machine itself.
It may not be obvious but packets to the router host needs to be
allowed separately in addition to the packets routing through it.

> I also want to activate the firewall on the debian machine but that
> also has caused problems with the internet connection sharing,
> leaving the machine on eth1 connectionless.

Obviously your firewall rules are blocking the routed packets.  You
didn't show us what you are trying and so there isn't a way for us to
help you deduce what is wrong.

The distinction between firewall rules and router rules is pretty
nebulous.  Both are using iptables, right?  It would be great if you
told us what you are doing to get routing going.  And then tell us
what you are trying to do to turn on firewalling.

> my attempt with firewall is only half a success, as the machine on
> eth1 can only be given an IP by debian if firewall is off,

Sounds like your firewall is blocking your DHCP packets.  You need to
allow them through.

> and then eth1 machine will only access the internet if I turn the
> firewall back on.

It sounds like your firewall rules are also your routing rules.

Bob


signature.asc
Description: Digital signature


RE: virtual interfaces not routing properly.

2012-01-12 Thread Gareth Walters (2K Australia)
Well this does exactly the same thing, unfortunately.

Pings from the same subnet work for all of the interfaces/ip addresses
Pings from other subnets only work for the primary interface/address.

And...form the machine in question;
~# ip route show
10.25.48.0/24 dev eth0  proto kernel  scope link  src 10.25.48.140
default via 10.25.48.254 dev eth0


but on a lenny box with this setup that is working I see default routes for 
each of the IP addresses.


?

-Original Message-
From: Bob Proulx [mailto:b...@proulx.com] 
Sent: Friday, 13 January 2012 9:49 AM
To: debian-user@lists.debian.org
Subject: Re: virtual interfaces not routing properly.

Pascal Hambourg wrote:
> Bob Proulx a écrit :
> > Instead I prefer setting up the dependent aliased virtual interfaces
> 
> Please don't call ethX:Y virtual interfaces. They are not interfaces.
> Only ifconfig artificially treats them as interfaces. They cannot be 
> used as interfaces by other tools nor by the kernel.

I think that was pretty much the entire point of my message.  So let me assure 
you that on this point we are in agreement.

> > up   ip addr add 10.25.48.141/24 dev eth0 label eth0:0
> > down ip addr del 10.25.48.141/24 dev eth0 label eth0:0
> 
> That sucks big time. Don't tell me it is the new official way to 
> replace aliases.

It doesn't have any official status beyond being able to work with the (at 
least for some period of time) broken ifupdown in Sid.  And it seems very 
reasonable to me.  I am sorry that you don't like it.  In which case you don't 
need to use it.  But I don't think it sucks at all.  *I* like it.

I find the use of ip in up/down methods to be much more clear what is happening 
than when ethX:Y is faked up by ifupdown to look like a real interface.  I 
think having it faked to look like a real interface is much more confusing 
because the status of the dependent interface is not independent of the main 
interface.  And for at least some time it wasn't working at all.  I think it is 
now fixed in the experimental repository.  I need to get back to checking on 
the status of it.  But I don't think it has migrated to Sid yet.  I am still 
running a locally hacked version of 0.7~beta1.  I need to try the 0.7~beta2 in 
experimental.

> This is just an ugly hack to work around ifupdown's lack of ability to 
> assign more than one addresse to an interface.

Eventually when ifupdown has migrated it will be doing vitually the same thing 
as the above.  It will simply be doing it internally.
Previous versions of 'ifupdown' called ifconfig.  Newer versions of ifupdown 
call 'ip'.

> IMHO it would be much better to upgrade ifupdown, for example by 
> allowing the 'address' option to contain several address/prefixlength 
> values, or multiple 'address' options.

That would be fine with me.  Go for it!

Bob


--
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/da1790279507d64087dfd1197eb79584073f7...@2kgausexg01.2kgames.t2.corp



Re: network / nat / port forward -- problem

2012-01-12 Thread Andrei Popescu
On Jo, 12 ian 12, 16:34:16, YR wrote:
> 
> The system has 2 network cards. Debian accesses the internet via
> eth0 without problems. (typical dhcp getting IP from ISP)
> the internet connection is shared, and the xp machine connected to
> eth1 connects to the internet also without problems (none that I saw
> anyway) the dhcp server on debian assigns an ip to the eth1 machine
> successfully in the 10.x.x.x range

Using Network Manager I assume?
 
[snip]

As far as I can tell you don't really need Network Manager, since your 
setup is quite static. I would suggest you disable it (and even remove 
when the new setup is working):

update-rc.d network-manager disable

then edit /etc/network/interfaces and make it look like this:

 cut here ---

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

# The secondary network interface
allow-hotplug eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0

--- cut here ---

Now install 'dnsmasq' (you should already have 'dnsmasq-base' but it is 
not enough) and edit /etc/dnsmasq.conf. You will need to add at least 
these two settings:

interface=eth1
dhcp-range=192.168.0.50,192.168.0.150,12h

The file is very well commented, and has the settings already there, but 
disabled. You just need to remove the '#' before the respective line and 
add the 'eth1' to 'interface='.

Now restart your computer and make sure Network Manager did NOT start. 
At this point the Windows machine should be able to get a network 
address, but will NOT have internet access. For this you will have to 
use your preferred firewall configurator (you mentioned firestarter 
which should be enough for your needs) to enable the connections 
sharing/masquerading (or how it's called in its interface) and configure 
port forwarding, etc.

Hope this helps,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: virtual interfaces not routing properly.

2012-01-12 Thread Bob Proulx
Pascal Hambourg wrote:
> Bob Proulx a écrit :
> > Instead I prefer setting up the dependent aliased virtual interfaces
> 
> Please don't call ethX:Y virtual interfaces. They are not interfaces.
> Only ifconfig artificially treats them as interfaces. They cannot be
> used as interfaces by other tools nor by the kernel.

I think that was pretty much the entire point of my message.  So let
me assure you that on this point we are in agreement.

> > up   ip addr add 10.25.48.141/24 dev eth0 label eth0:0
> > down ip addr del 10.25.48.141/24 dev eth0 label eth0:0
> 
> That sucks big time. Don't tell me it is the new official way to replace
> aliases.

It doesn't have any official status beyond being able to work with the
(at least for some period of time) broken ifupdown in Sid.  And it
seems very reasonable to me.  I am sorry that you don't like it.  In
which case you don't need to use it.  But I don't think it sucks at
all.  *I* like it.

I find the use of ip in up/down methods to be much more clear what is
happening than when ethX:Y is faked up by ifupdown to look like a real
interface.  I think having it faked to look like a real interface is
much more confusing because the status of the dependent interface is
not independent of the main interface.  And for at least some time it
wasn't working at all.  I think it is now fixed in the experimental
repository.  I need to get back to checking on the status of it.  But
I don't think it has migrated to Sid yet.  I am still running a
locally hacked version of 0.7~beta1.  I need to try the 0.7~beta2 in
experimental.

> This is just an ugly hack to work around ifupdown's lack of ability
> to assign more than one addresse to an interface.

Eventually when ifupdown has migrated it will be doing vitually the
same thing as the above.  It will simply be doing it internally.
Previous versions of 'ifupdown' called ifconfig.  Newer versions of
ifupdown call 'ip'.

> IMHO it would be much better to upgrade ifupdown, for example by
> allowing the 'address' option to contain several
> address/prefixlength values, or multiple 'address' options.

That would be fine with me.  Go for it!

Bob


signature.asc
Description: Digital signature


Re: virtual interfaces not routing properly.

2012-01-12 Thread Pascal Hambourg
Hello,

Bob Proulx a écrit :
> 
> Instead I prefer setting up the dependent aliased virtual interfaces

Please don't call ethX:Y virtual interfaces. They are not interfaces.
Only ifconfig artificially treats them as interfaces. They cannot be
used as interfaces by other tools nor by the kernel.

> This method is documented here among other places.  Look at the very
> bottom of the page under "Multiple IP addresses on One Interface".
> 
>   http://wiki.debian.org/NetworkConfiguration
> 
> You might want to try this configuration instead.
> 
> auto lo
> iface lo inet loopback
> 
> auto eth0
> allow-hotplug eth0
> iface eth0 inet static
> address 10.25.48.140
> netmask 255.255.255.0
> gateway 10.25.48.254
>   up   ip addr add 10.25.48.141/24 dev eth0 label eth0:0
>   down ip addr del 10.25.48.141/24 dev eth0 label eth0:0

That sucks big time. Don't tell me it is the new official way to replace
aliases. This is just an ugly hack to work around ifupdown's lack of
ability to assign more than one addresse to an interface. IMHO it would
be much better to upgrade ifupdown, for example by allowing the
'address' option to contain several address/prefixlength values, or
multiple 'address' options.


-- 
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/4f0f5c1e.3090...@plouf.fr.eu.org



Re: Gnome Shell battery indicator missing

2012-01-12 Thread Johan Grönqvist

2012-01-12 09:40, Panayiotis Karabassis skrev:

On 01/11/2012 10:41 PM, Johan Grönqvist wrote:

2012-01-11 20:26, Panayiotis Karabassis skrev:
I am neither certain, nor do I have a solution, but if I had
considered this a major problem, I would have updated gnome-shell to
3.2 from unstable (and some other gnome-related packages would also
have to be upgraded). (Assuming you use linux)


Linux as opposed to GNU Hurd, you mean?



I mean linux as opposed to debian/kFreeBSD. It seems that freebsd is the 
reason it has not migrated to testing yet. See 
.



/ johan


--
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/jenmtt$l4$1...@dough.gmane.org



Re: Renamiing a USB external h/d

2012-01-12 Thread Andrei Popescu
On Jo, 12 ian 12, 12:38:32, Sharon Kimble wrote:
> I have a USB external hard drive for my backups which is formatted ext
> 3. It is currently named as
> '/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

You are showing here a mountpoint (the directory where a filesystem is 
mounted). The only thing that might resemble a name on a drive is a 
filesystem label.
 
> I've tried using e2label as follows;-
> sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
> e2label: Is a directory while trying to open
> /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
> Couldn't find valid filesystem superblock.

This failed because you are trying to label a directory instead of a 
filesystem. From the blkid output you supplied later that should have 
been

sudo e2label /dev/sdb1 backup

> So I tried using rename as follows;-
> sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
> Number found where operator expected at (eval 1) line 1, near "/media/8"
>   (Missing operator before 8?)
> Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
>   (Missing operator before eef3b99?)
> syntax error at (eval 1) line 1, near "/media/8"

The command rename is meant to rename multiple files based on some 
expression (see 'man rename' for more details).

Since you mentioned you mount the drive via fstab (and I seem to recall 
that you need it that way because of some permission issues), in order 
to actually achieve what I'm guessing you want do the following steps:

sudo umount /dev/sdb1
sudo e2label /dev/sdb1 backup
sudo mkdir /media/backup
sudo nano /etc/fstab

At this point find the entry where your drive is mounted. My guess is 
you have something like
UUID=8eef3b99-c17b-4913-ae61-d34c7fd5d459 
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ext3 [some options here]

Change that to look like
LABEL=backup /media/backup ext3 [your options here]

(actually you can keep the UUID=... part, but labels are much easier to 
read, just be careful not to label another drive as 'backup' unless you 
know exactly what you are doing ;)

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread Andrei Popescu
On Jo, 12 ian 12, 12:58:42, Denny Schierz wrote:
> 
> What could be the problem?

Your display manager doesn't source the system shell configuration 
files. If you need a solution per user put that stuff in ~/.xsessionrc 
otherwise move the file under /etc/X11/Xsession.d/

Hope this helps,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: boot from raid1 mdadm version 1.2 partition

2012-01-12 Thread martin f krafft
also sprach Marc Auslander  [2012.01.12.2226 +0100]:
> Earlier posts seem to say this should/might work.
> 
> I made an mdadm v 1.2 partions, and put a copy of my root file system
> on it.
> 
> update-grub doesn't see it at all.

Are you using grub-pc aka. grub2?

In the future, please always provide version information for the
software with which you are having problems.

-- 
 .''`.   martin f. krafft   Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
tempt not a desperate man.
-- william shakespeare


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


network / nat / port forward -- problem

2012-01-12 Thread YR

hello

I tried over a dozen sites, forums and wikis with various instructions 
and I still can't get this to work. So many 'tutorials' instruct you to 
'apt-get' more software that would simply conflict with what is already 
installed, when what is installed actually works, i just don't know how 
to configure it!


I am using debian squeeze 603 (installed from dvd1) i686 on a  2.2ghz 
single core and 1gb ram. It's very much the basic install, the system 
hasn't been modified, as I used what is already provided with it to get 
things working. (just ask for the details you require I'll provide them 
as I am not sure what information I must provide here)


The system has 2 network cards. Debian accesses the internet via eth0 
without problems. (typical dhcp getting IP from ISP)
the internet connection is shared, and the xp machine connected to eth1 
connects to the internet also without problems (none that I saw anyway) 
the dhcp server on debian assigns an ip to the eth1 machine successfully 
in the 10.x.x.x range


my problem is that I cannot access the machine on eth1 when it serves. 
For example, from the machine connected to eth1 I could play quake 3 
connecting to a server on the internet flawlessly, but I cannot host a 
server myself, others can't connect to me.
how to I forward the ports to the eth1 machine so that I can have a 
server on it? (or as routers often call it "virtual servers")


I also want to activate the firewall on the debian machine but that also 
has caused problems with the internet connection sharing, leaving the 
machine on eth1 connectionless.
my attempt with firewall is only half a success, as the machine on eth1 
can only be given an IP by debian if firewall is off, and then eth1 
machine will only access the internet if I turn the firewall back on. 
(not a bad thing but...) the lease to the eth1 machine is stuck at 1 
hour, and after the hour is passed i have to turn off the firewall, so 
the eth1 machine gets it's ip again, and then restart the firewall so it 
can access the internet again, and so on, repeating this loop. (i had 
firestarter installed, trying to use the option for dhcp server in it.)


I have a voicechatter server (http://www.voicechatter.org/)on the 
machine and another I can access so live conversation is possible.


your help is much appreciated.
YR


--
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/4f0f51d8.1020...@videotron.ca



boot from raid1 mdadm version 1.2 partition

2012-01-12 Thread Marc Auslander
Earlier posts seem to say this should/might work.

I made an mdadm v 1.2 partions, and put a copy of my root file system
on it.

update-grub doesn't see it at all.

if I try to boot by hand, I can get grub to boot the kernel but then I
get mysterious error messages about not being able to mount /dev/pts
and fall into the recovery shell.  It appears that my raid partions
have not been assembled.

Any hints.

Does anyone actually have boot from raid1 version 1.2 working?  If so,
could you post the grub.cfg entry that makes it work?
-- 


-- 
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/E1RlSAa-h9-M7@Aptiva



Re: swapon permissions

2012-01-12 Thread Tomas Volka
> >>>Noticed today in the middle of bootup messages that swapon is
> >>>complaining about permissions set to 1660 and were insecure. It
> >>>suggested (as I recall) 0660. I never saw this before.
> >>>How do I go about changing them ?
> >>
> >>This bug was already reported here:
> >>http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196857
> >>
> >>You can get rid of that annoying message by issuing following as root:
> >>chmod 0600 /sbin/swapon
> >
> >You mixed up something here, that should be the permission of *swap
> >files*, not of the swapon utility.  But it is true that this will get
> >rid of the message, because no swap space is going to activated if
> >/sbin/swapon is not executable by anyone.

Indeed, my fault.

>   So what's the solution..and is it that important. After reading
> the bug report I don't think it's all that big a deal ?

As you've read from the link, the swapfile shouldn't be world
readable. Swapon just wrongly assumes that file has bad 
permissions (due to the sticky bit).

So, yes, chmod 0600 swapfile will get rid of the warning.

T.


-- 
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/20120112212313.ga10...@debian.pilsfree.czf



Re: virtual interfaces not routing properly.

2012-01-12 Thread Bob Proulx
Gareth Walters (2K Australia) wrote:
> But its not working out side the same subnet (i.e. routing is wrong) 

What is wrong about it?  Can you show the routing table and identify
what is incorrect?  Since you don't show the problem there isn't a way
to guess.

> /etc/network/interfaces
> auto lo eth0 eth0:0 eth0:1 eth0:2
> iface eth0 inet static
> address 10.25.48.140
> netmask 255.255.255.0
> network 10.25.48.0
> gateway 10.25.48.254

It would be good to remove the 'network' line.  It isn't needed.  It
will be calculated from the netmask.  Less likely to make a mistake if
you let the program calculate it.  Simpler is better.

> iface eth0:0 inet static
> address 10.25.48.141
> netmask 255.255.255.0
> 
> iface eth0:1 inet static
> address 10.25.48.142
> netmask 255.255.255.0
> 
> iface eth0:2 inet static
> address 10.25.48.145
> netmask 255.255.255.0

That is rather an old-style way of setting up the aliases on the
network.  It basically mirrors the 'ifconfig' usage.  But slowly over
time the ifconfig usage is being phased out and replaced with the
newer 'ip' usage.  (And likewise 'iw' is replacing 'iwconfig'.)  This
is reflecting Linux kernel interface changes because Linux now treats
aliased virtual interfaces differently than before.  This is causing
the changes to ripple down.

As ifupdown transitions from one way to the other way the result has
been a little unstable.  I think it is mostly fixed now, I haven't
looked at it in a couple of months.  I am sure it will be stable for
Wheezy.  But there have been some problems in the transition in Sid
from 'ifconfig' to 'ip'.

The problem I see with the above style of doing things is that eth0:X
is dependent upon eth0 but is treated as if it isn't.  Is it possible
to bring one up without the other?  It's a design issue.

Instead I prefer setting up the dependent aliased virtual interfaces
to be explicitly brought up and down when the main interface is
brought up and down.  I think this simplifies the configuration
significantly and reduces problems.

This method is documented here among other places.  Look at the very
bottom of the page under "Multiple IP addresses on One Interface".

  http://wiki.debian.org/NetworkConfiguration

You might want to try this configuration instead.

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 10.25.48.140
netmask 255.255.255.0
gateway 10.25.48.254
up   ip addr add 10.25.48.141/24 dev eth0 label eth0:0
down ip addr del 10.25.48.141/24 dev eth0 label eth0:0
up   ip addr add 10.25.48.142/24 dev eth0 label eth0:1
down ip addr del 10.25.48.142/24 dev eth0 label eth0:1
up   ip addr add 10.25.48.145/24 dev eth0 label eth0:2
down ip addr del 10.25.48.145/24 dev eth0 label eth0:2

With the above there is the main interface eth0.  When it is brought
online it will bring the listed aliased virtual interfaces online.
And it will bring them down before bringing down the interface.  The
set is tightly coupled.  They won't get out of sync with each other.

Hope that helps,
Bob


signature.asc
Description: Digital signature


Re: Dvorak Keyboards.

2012-01-12 Thread Dotan Cohen
On Thu, Jan 12, 2012 at 07:40, Weaver  wrote:
> Yes, it raises the point that some manufacturers achieve their hardware
> height and profile, not from the keyboard base, but from the different
> heights of keys on the different rows of a Qwerty.
>

My current keyboard is built like that, each row of keys has a
different profile. I moved the keycaps from qwerty to Colemak
regardless, and although one can see with the eye that not all the
keycaps are level, it cannot be felt in typing. I am a very sensitive
typer, I can tell you which keys take 35 grams of force, which take
45, and which are inaccurate and take too much. If I don't notice the
different keycaps in typing, then I assure you that it is not an
issue. Note that I did put some rough tape on the (qwerty) F and J
keys to help me find home row.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


-- 
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/CAKDXFkNMFZ5NO=W-K_43oS4Cuh+9+YRoYUVJ8DHz13zwX5g=v...@mail.gmail.com



Re: Dvorak Keyboards.

2012-01-12 Thread Dotan Cohen
On Thu, Jan 12, 2012 at 00:47, Dan Serban  wrote:
> If not using your own hardware, would that not be a detriment
> after getting used to the MS Natural keyboard?
>

Not at all. The R in RSI is "repetitive", and the key to healing is to
reduce repetitive tasks. So regularly switching keyboards helps to
heal RSI. I have three different keyboards that I rotate, two of which
I can type on standing. One of them is the MS Natural!

> I find that all of my computers, and versions of consoles, distributions
> and desktop environments have very excellent support for other keyboard
> layouts.  Heck, even my Android phone sports a colemak layout, and touch
> typing on that device certainly doesn't have the same meaning.  Usually I
> can find a way to use my layout, if not, qwerty like I've said isn't a far
> stretch for me.
>

When I type in Colemak I hold the keyboard differently, with my
fingers one key over (that would be D and K in qwerty). Since the
hardware feels physically different under my hands, muscle memory lets
me switch easier.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


--
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/cakdxfknlznesqu+bowe+a84g9i2lxfmza3duf_iurftjyjz...@mail.gmail.com



Re: swapon permissions

2012-01-12 Thread Frank McCormick

On 12-01-12 02:10 PM, Sven Joachim wrote:

On 2012-01-12 19:57 +0100, Frank McCormick wrote:


On 12-01-12 12:21 PM, Sven Joachim wrote:

On 2012-01-12 16:17 +0100, Tomas Volka wrote:


On Čt 12-01-12 | 09:21, Frank McCormick wrote:

Noticed today in the middle of bootup messages that swapon is
complaining about permissions set to 1660 and were insecure. It
suggested (as I recall) 0660. I never saw this before.
How do I go about changing them ?


This bug was already reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196857





Fix swapon to not complain about files with the sticky bit set, or fix
udev to not create device files with it.


and is it that important. After reading the
bug report I don't think it's all that big a deal ?


Surely, it's just a warning that can safely be ignored.



  Good. Thanks.


--
Cheers
Frank


--
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/4f0f3295.3080...@videotron.ca



Re: swapon permissions

2012-01-12 Thread Sven Joachim
On 2012-01-12 19:57 +0100, Frank McCormick wrote:

> On 12-01-12 12:21 PM, Sven Joachim wrote:
>> On 2012-01-12 16:17 +0100, Tomas Volka wrote:
>>
>>> On Čt 12-01-12 | 09:21, Frank McCormick wrote:
 Noticed today in the middle of bootup messages that swapon is
 complaining about permissions set to 1660 and were insecure. It
 suggested (as I recall) 0660. I never saw this before.
 How do I go about changing them ?
>>>
>>> This bug was already reported here:
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196857
>>>
>>> You can get rid of that annoying message by issuing following as root:
>>> chmod 0600 /sbin/swapon
>>
>> You mixed up something here, that should be the permission of *swap
>> files*, not of the swapon utility.  But it is true that this will get
>> rid of the message, because no swap space is going to activated if
>> /sbin/swapon is not executable by anyone.
>
>   So what's the solution..

Fix swapon to not complain about files with the sticky bit set, or fix
udev to not create device files with it.

> and is it that important. After reading the
> bug report I don't think it's all that big a deal ?

Surely, it's just a warning that can safely be ignored.

Sven


-- 
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/87y5tcu48c@turtle.gmx.de



Re: swapon permissions

2012-01-12 Thread Frank McCormick

On 12-01-12 12:21 PM, Sven Joachim wrote:

On 2012-01-12 16:17 +0100, Tomas Volka wrote:


On Čt 12-01-12 | 09:21, Frank McCormick wrote:

Noticed today in the middle of bootup messages that swapon is
complaining about permissions set to 1660 and were insecure. It
suggested (as I recall) 0660. I never saw this before.
How do I go about changing them ?


This bug was already reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196857

You can get rid of that annoying message by issuing following as root:
chmod 0600 /sbin/swapon


You mixed up something here, that should be the permission of *swap
files*, not of the swapon utility.  But it is true that this will get
rid of the message, because no swap space is going to activated if
/sbin/swapon is not executable by anyone.


  So what's the solution..and is it that important. After reading the 
bug report I don't think it's all that big a deal ?


--
Cheers
Frank


--
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/4f0f2d27.4070...@videotron.ca



Re: Renamiing a USB external h/d

2012-01-12 Thread hvw59601

Sharon Kimble wrote:

On 12 January 2012 14:28, hvw59601  wrote:

Sharon Kimble wrote:

I have a USB external hard drive for my backups which is formatted ext
3. It is currently named as
'/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

I've tried using e2label as follows;-
sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
e2label: Is a directory while trying to open
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
Couldn't find valid filesystem superblock.

So I tried using rename as follows;-
sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
Number found where operator expected at (eval 1) line 1, near "/media/8"
   (Missing operator before 8?)
Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
   (Missing operator before eef3b99?)
syntax error at (eval 1) line 1, near "/media/8"

How then can I rename it please?


What is the output of 'blkid'?

Hugo



--

 sudo blkid
[sudo] password for boztu:
/dev/sda8: UUID="4018fc29-4a88-4346-ab31-e95e67b99fee" SEC_TYPE="ext2"
TYPE="ext3"
/dev/sda1: UUID="8d3cc403-6dfb-49f1-b667-e7475b8ca20a" TYPE="ext3"
/dev/sda5: UUID="cd9d075d-d29d-4457-a5e7-8d9776d6fb2a" TYPE="ext3"
/dev/sda6: UUID="b9d6ae06-0075-463a-ac2b-238a94b2f6e9" TYPE="ext3"
/dev/sda7: UUID="6d280167-03a7-4e3f-96c2-44882e20f522" TYPE="swap"
/dev/sda9: UUID="0741170f-84e8-42e7-8065-85d2f4fc1ddd" TYPE="ext3"
/dev/sda10: UUID="f8fb1487-8f68-41b2-a044-d4ccd0ab2974" TYPE="ext3"
/dev/sda11: UUID="b8df75ce-5186-49b7-9760-ad3303ea3f81" TYPE="ext3"
/dev/sda12: UUID="6276c183-10df-4767-b8f2-8e80ca99d66e" TYPE="ext3"
/dev/sdb1: UUID="8eef3b99-c17b-4913-ae61-d34c7fd5d459" TYPE="ext3"



If by 'rename' you mean 'assigning a label to the device' then it is:

e2label /dev/sdb1 media_backup

I would not use those '/' in a label.

Is that what you meant by 'rename'?

Hugo






--
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/jen9ca$s6d$1...@dough.gmane.org



Re: swapon permissions

2012-01-12 Thread Sven Joachim
On 2012-01-12 16:17 +0100, Tomas Volka wrote:

> On Čt 12-01-12 | 09:21, Frank McCormick wrote:
>> Noticed today in the middle of bootup messages that swapon is
>> complaining about permissions set to 1660 and were insecure. It
>> suggested (as I recall) 0660. I never saw this before.
>> How do I go about changing them ?
>
> This bug was already reported here:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196857
>
> You can get rid of that annoying message by issuing following as root:
> chmod 0600 /sbin/swapon 

You mixed up something here, that should be the permission of *swap
files*, not of the swapon utility.  But it is true that this will get
rid of the message, because no swap space is going to activated if
/sbin/swapon is not executable by anyone.

Sven


-- 
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/874nw0vnty@turtle.gmx.de



Re: swapon permissions

2012-01-12 Thread Tomas Volka
On Čt 12-01-12 | 09:21, Frank McCormick wrote:
> Noticed today in the middle of bootup messages that swapon is
> complaining about permissions set to 1660 and were insecure. It
> suggested (as I recall) 0660. I never saw this before.
> How do I go about changing them ?

This bug was already reported here:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196857

You can get rid of that annoying message by issuing following as root:
chmod 0600 /sbin/swapon 

Regards,
Tom


-- 
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/20120112151747.ga4...@debian.pilsfree.czf



Re: Renamiing a USB external h/d

2012-01-12 Thread Sharon Kimble
On 12 January 2012 14:28, hvw59601  wrote:
> Sharon Kimble wrote:
>>
>> I have a USB external hard drive for my backups which is formatted ext
>> 3. It is currently named as
>> '/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.
>>
>> I've tried using e2label as follows;-
>> sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
>> e2label: Is a directory while trying to open
>> /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
>> Couldn't find valid filesystem superblock.
>>
>> So I tried using rename as follows;-
>> sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
>> Number found where operator expected at (eval 1) line 1, near "/media/8"
>>        (Missing operator before 8?)
>> Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
>>        (Missing operator before eef3b99?)
>> syntax error at (eval 1) line 1, near "/media/8"
>>
>> How then can I rename it please?
>>
>
> What is the output of 'blkid'?
>
> Hugo
>
>
>
> --
 sudo blkid
[sudo] password for boztu:
/dev/sda8: UUID="4018fc29-4a88-4346-ab31-e95e67b99fee" SEC_TYPE="ext2"
TYPE="ext3"
/dev/sda1: UUID="8d3cc403-6dfb-49f1-b667-e7475b8ca20a" TYPE="ext3"
/dev/sda5: UUID="cd9d075d-d29d-4457-a5e7-8d9776d6fb2a" TYPE="ext3"
/dev/sda6: UUID="b9d6ae06-0075-463a-ac2b-238a94b2f6e9" TYPE="ext3"
/dev/sda7: UUID="6d280167-03a7-4e3f-96c2-44882e20f522" TYPE="swap"
/dev/sda9: UUID="0741170f-84e8-42e7-8065-85d2f4fc1ddd" TYPE="ext3"
/dev/sda10: UUID="f8fb1487-8f68-41b2-a044-d4ccd0ab2974" TYPE="ext3"
/dev/sda11: UUID="b8df75ce-5186-49b7-9760-ad3303ea3f81" TYPE="ext3"
/dev/sda12: UUID="6276c183-10df-4767-b8f2-8e80ca99d66e" TYPE="ext3"
/dev/sdb1: UUID="8eef3b99-c17b-4913-ae61-d34c7fd5d459" TYPE="ext3"

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.3, Gnome 1:2.30+7, LibreOffice 3.4.4
Registered Linux user 334501


--
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/cam9u--ceg2vzg+ujrqko7nbkd15hhrxqf1vxzmx-nsr04n2...@mail.gmail.com



Re: how to cp file from windows to laptop

2012-01-12 Thread lina
On Thu, Jan 12, 2012 at 10:21 PM, Darac Marjal  wrote:
> On Thu, Jan 12, 2012 at 01:04:29PM +0800, lina wrote:
>> Hi,
>>
>> I use Terminal Server Client to connect to Windows,
>>
>> there I only found command prompt and the Windows power shell (x86),
>>
>> I tried the scp, wincp, it complained that the scp is not recognized.
>>
>> are there some easy way to cp file from Windows to linux?
>>
>> better use system default tools. I don't have root privilege in the
>> Windows.
>
> Have a look at
> http://www.leeholmes.com/blog/2009/10/28/scripting-network-tcp-connections-in-powershell/
>  and

for the code in
http://halr9000.com/article/397

How can I copy it in windows?
when I use mouse or arrow to choose, always choose something extra.

no problem copy the code in debian iceweasel, now I transferred the
code to windows,

when running .\tcp.psl in the power shell, it said the term is not
recognized ...

so not work.

P.S This problem is not urgent, or maybe no longer a problem any more,
I just curious to try other ways,

Best regards,
>
> What you want to do is set up netcat on your linux box:
>  $ netcat -l -p 12345 > somefile
>
> Then, using the code above, write a powershell script that sends your
> file to the remote machine on port 12345.
>
> Alternatively, Powershell can do FTP/Mail etc itself, too.
> --
> Darac Marjal
>
>
> --
> 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/20120112142146.ga14...@darac.org.uk
>


--
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/CAG9cJmnnv8s7viK2RUo7CQKMo7S12XX=jwj+x0n9y4u0r2x...@mail.gmail.com



AW: Nonstandard .deb package management/apt problem: create archive with updateable packages for system not connected to internet

2012-01-12 Thread Fiedler Roman
> -Ursprüngliche Nachricht-
> Von: "Karl E. Jørgensen" [mailto:karl.jorgen...@nice.com]
> Gesendet: Donnerstag, 12. Januar 2012 16:23
> An: debian-user@lists.debian.org
> Betreff: Re: Nonstandard .deb package management/apt problem: create
> archive with updateable packages for system not connected to internet
> 
> On 12/01/12 15:12, Fiedler Roman wrote:
> > Perhaps someone might know a solution or at least where to start
> searching for a solution by myself. The problem:
> >
> > A system isolated from internet should receive standard distribution
> package updates. Since the system cannot fetch the packages from public
> repositories or internal mirrors, some way to create an archive with all
> necessary .deb packages would be nice...
> 
> apt-zip ?

Thank you very much (Must be my bad-search-day today). The description looks 
like to be exactly what I was searching for 


--
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/9f69795e29c890408ac2daf646c89bb379cfb1f...@mailbox.arc.local



Re: Nonstandard .deb package management/apt problem: create archive with updateable packages for system not connected to internet

2012-01-12 Thread Florian Ernst
Hello,

On Thu, Jan 12, 2012 at 04:12:40PM +0100, Fiedler Roman wrote:
> [...]
> A system isolated from internet should receive standard distribution
> package updates. Since the system cannot fetch the packages from
> public repositories or internal mirrors, some way to create an archive
> with all necessary .deb packages would be nice. The archive is then
> transferred to the machine via e.g. usb.
> [...]
> Are there tools or a howto available on how to extract the package
> information from source, use it for fetching ?

$ apt-cache search apt fetch usb
apt-zip - Update a non-networked computer using apt and removable media

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/20120112152625.gb27...@fernst.no-ip.org



Re: what happened in sarge to lose 500 dd?

2012-01-12 Thread Florian Ernst
Hello,

On Thu, Jan 12, 2012 at 03:21:05PM +0100, afuentes wrote:
> http://claudiocomputing.files.wordpress.com/2012/01/infographic_debian_history-en-v08.png
> 
> what happened in sarge to lose 500 dd?

For the most part of it this:

Handling of (inactive) Debian Accounts


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/20120112152319.ga27...@fernst.no-ip.org



Re: Nonstandard .deb package management/apt problem: create archive with updateable packages for system not connected to internet

2012-01-12 Thread Karl E. Jørgensen

On 12/01/12 15:12, Fiedler Roman wrote:


Hello List,

Perhaps someone might know a solution or at least where to start searching for 
a solution by myself. The problem:

A system isolated from internet should receive standard distribution package 
updates. Since the system cannot fetch the packages from public repositories or 
internal mirrors, some way to create an archive with all necessary .deb 
packages would be nice. The archive is then transferred to the machine via e.g. 
usb.

Would it be possible with a scheme like that?

* The list of currently installed packages is extracted from the isolated host

* On another host with internet access, the list of installed packages is 
compared to the current package list

* Only the packages newer than the ones installed are fetched from the 
repository

* The fetched packages are used to create a local file-base repository (e.g. 
with apt-ftparchive) and this data is copied to the isolated machine

* Standard update/upgrade on isolated machine using the local file repository 
as source.


Is this the best way to archive the goal?

Are there tools or a howto available on how to extract the package information 
from source, use it for fetching ?
   


apt-zip ?



The Fizzback Group Limited ("Fizzback") is registered in England under company number, 04768253. The registered office of Fizzback is at Tollbar Way, Hedge End, Southampton, Hampshire SO30 2ZP. 

Confidentiality: This communication and any attachments are intended for the above-named persons only and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of Fizzback. If this communication has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender by e-mail immediately. 

Monitoring: Fizzback may monitor incoming and outgoing e-mails. 
Viruses: Although we have taken steps toward ensuring that this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. 



--
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/4f0efacd.1000...@nice.com



Re: what happened in sarge to lose 500 dd?

2012-01-12 Thread Nate Bargmann
* On 2012 12 Jan 08:36 -0600, afuentes wrote:
> what happened in sarge to lose 500 dd?

Timewise, it coincides with the rise of Ubuntu.  I don't think that
necessarily accounts for the numeric loss, though.  Perhaps there was a
new way of counting devs about that time.  I'm a user and not a DD so I
don't track everything that happens in the project.

- Nate >>

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Ham radio, Linux, bikes, and more: http://www.n0nb.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/20120112151216.gc9...@n0nb.us



Nonstandard .deb package management/apt problem: create archive with updateable packages for system not connected to internet

2012-01-12 Thread Fiedler Roman
Hello List,

Perhaps someone might know a solution or at least where to start searching for 
a solution by myself. The problem:

A system isolated from internet should receive standard distribution package 
updates. Since the system cannot fetch the packages from public repositories or 
internal mirrors, some way to create an archive with all necessary .deb 
packages would be nice. The archive is then transferred to the machine via e.g. 
usb.

Would it be possible with a scheme like that?

* The list of currently installed packages is extracted from the isolated host

* On another host with internet access, the list of installed packages is 
compared to the current package list

* Only the packages newer than the ones installed are fetched from the 
repository

* The fetched packages are used to create a local file-base repository (e.g. 
with apt-ftparchive) and this data is copied to the isolated machine

* Standard update/upgrade on isolated machine using the local file repository 
as source.


Is this the best way to archive the goal?

Are there tools or a howto available on how to extract the package information 
from source, use it for fetching ?

Thanks,
Roman


DI Roman Fiedler
Engineer
Safety & Security Department
Information Management & eHealth

AIT Austrian Institute of Technology GmbH
Reininghausstrae 13/1  |  8020 Graz  |  Austria
T +43(0) 50550 2957  |  M +43(0) 664 8561599  |  F +43(0) 50550 2950
roman.fied...@ait.ac.at | http://www.ait.ac.at/

FN: 115980 i HG Wien  |  UID: ATU14703506
This email and any attachments thereto, is intended only for use by the 
addressee(s) named herein and may contain legally privileged and/or 
confidential information. If you are not the intended recipient, please notify 
the sender by return e-mail or by telephone and delete this message from your 
system and any printout thereof. Any unauthorized use, reproduction, or 
dissemination of this message is strictly prohibited. Please note that e-mails 
are susceptible to change. AIT Austrian Institute of Technology GmbH shall not 
be liable for the improper or incomplete transmission of the information 
contained in this communication, nor shall it be liable for any delay in its 
receipt.



--
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/9f69795e29c890408ac2daf646c89bb379cfb1f...@mailbox.arc.local



Re: Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread emmanuel segura
Try to do this

set -x

source /etc/profile

like that you can see if you have some syntax error

2012/1/12 Denny Schierz 

> hi,
> Am 12.01.2012 um 13:56 schrieb emmanuel segura:
>
> > Try to use /etc/ld.so.conf for load your library
>
> nope, Sun Java parses the LD_LIBRARY_PATH variable, so it won't work:
>
> https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728
> http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1511703.html
>
> disable ssh-agent in Xsession/options helps.
>
> cu denny
>
>
> --
> 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/0ca626a6-deb3-4dd2-a0ff-2faad149c...@4lin.net
>
>


-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: Keyboard layout detection

2012-01-12 Thread Tony Baldwin
On Thu, Jan 12, 2012 at 11:55:04AM +0200, Andrei Popescu wrote:
> On Jo, 12 ian 12, 10:38:29, Panayiotis Karabassis wrote:
> > 
> > I guess I have a non standard layout, for example when I press the
> > key that has '#' typed on it I get '|'. Funny thing is that I
> > actually have no trouble using the keyboard with this (wrong) layout
> > because I find the correct keys intuitively.
> 
> And "'@" next to it? Try 'gb' layout: 'setxkbmap gb'.

Yes, of course, one must include a layout.
I do
setxkbmap us intl
everytime I log in, myself.
(I've tried to get openbox to do it, but failed.
It only takes a second, anyway).


tony
-- 
http://www.tonybaldwin.me
all tony, all the time


-- 
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/20120112150725.ga13...@deathstar.hsd1.ct.comcast.net



Re: Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread Denny Schierz
hi,
Am 12.01.2012 um 13:56 schrieb emmanuel segura:

> Try to use /etc/ld.so.conf for load your library

nope, Sun Java parses the LD_LIBRARY_PATH variable, so it won't work:

https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728
http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1511703.html

disable ssh-agent in Xsession/options helps.

cu denny


-- 
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/0ca626a6-deb3-4dd2-a0ff-2faad149c...@4lin.net



Re: Renamiing a USB external h/d

2012-01-12 Thread hvw59601

Sharon Kimble wrote:

I have a USB external hard drive for my backups which is formatted ext
3. It is currently named as
'/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

I've tried using e2label as follows;-
sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
e2label: Is a directory while trying to open
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
Couldn't find valid filesystem superblock.

So I tried using rename as follows;-
sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
Number found where operator expected at (eval 1) line 1, near "/media/8"
(Missing operator before 8?)
Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
(Missing operator before eef3b99?)
syntax error at (eval 1) line 1, near "/media/8"

How then can I rename it please?



What is the output of 'blkid'?

Hugo


--
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/jemqm3$1pq$1...@dough.gmane.org



Re: how to cp file from windows to laptop

2012-01-12 Thread Darac Marjal
On Thu, Jan 12, 2012 at 01:04:29PM +0800, lina wrote:
> Hi,
> 
> I use Terminal Server Client to connect to Windows,
> 
> there I only found command prompt and the Windows power shell (x86),
> 
> I tried the scp, wincp, it complained that the scp is not recognized.
> 
> are there some easy way to cp file from Windows to linux?
> 
> better use system default tools. I don't have root privilege in the
> Windows.

Have a look at
http://www.leeholmes.com/blog/2009/10/28/scripting-network-tcp-connections-in-powershell/
 and http://halr9000.com/article/397

What you want to do is set up netcat on your linux box:
 $ netcat -l -p 12345 > somefile

Then, using the code above, write a powershell script that sends your
file to the remote machine on port 12345.

Alternatively, Powershell can do FTP/Mail etc itself, too.
-- 
Darac Marjal


--
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/20120112142146.ga14...@darac.org.uk



swapon permissions

2012-01-12 Thread Frank McCormick


Noticed today in the middle of bootup messages that swapon is 
complaining about permissions set to 1660 and were insecure. It 
suggested (as I recall) 0660. I never saw this before.

How do I go about changing them ?


--
Cheers
Frank


--
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/4f0eec57.6030...@videotron.ca



Re: how to cp file from windows to laptop

2012-01-12 Thread lina
On Thu, Jan 12, 2012 at 9:32 PM, Nicolas Bercher  wrote:
> On 12/01/2012 07:36, lina wrote:
>>
>> On Thursday 12,January,2012 02:29 PM, Scott Ferguson wrote:
>>>
>>> Putty
>>
>>
>> They did not have putty installed.
>
>
> You can download and use putty without being system admin.
> I used it everywhere, even in internet shops.

Humm, why things are easier than I thought.

thanks, done. ;-)

>
> Nicolas
>
>
>
> --
> 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/4f0ee0f4.2090...@yahoo.fr
>


-- 
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/CAG9cJmmLfmJdnH5jYGho8FSt7jXW_hn3uu2PDo9k3N7T_=t...@mail.gmail.com



Re: how to cp file from windows to laptop

2012-01-12 Thread Nicolas Bercher

On 12/01/2012 07:36, lina wrote:

On Thursday 12,January,2012 02:29 PM, Scott Ferguson wrote:

Putty


They did not have putty installed.


You can download and use putty without being system admin.
I used it everywhere, even in internet shops.

Nicolas


--
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/4f0ee0f4.2090...@yahoo.fr



Re: Renamiing a USB external h/d

2012-01-12 Thread Nicolas Bercher

On 12/01/2012 13:38, Sharon Kimble wrote:

I have a USB external hard drive for my backups which is formatted ext
3. It is currently named as
'/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

I've tried using e2label as follows;-
sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
e2label: Is a directory while trying to open
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
Couldn't find valid filesystem superblock.


Use tune2fs to set the label of ext2 or ext3 volumes:

  tune2fs -L YOUR_LABEL device # as root

where device is something like /dev/..., you'll find it with

  grep 8eef3b99 /etc/fstab


So I tried using rename as follows;-
sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
Number found where operator expected at (eval 1) line 1, near "/media/8"
(Missing operator before 8?)
Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
(Missing operator before eef3b99?)
syntax error at (eval 1) line 1, near "/media/8"


This would never work.


Then, I think you have to create a permanent directory, if required:

  mkdir /media/backup # as root

and then setup the appropriate line in /etc/fstab (the udev way being
more complicated) with something like:

  LABEL=YOUR_LABEL  /media/backup   ext3rw,user,noauto  0 0

read mount(8) for more details:

  man 8 mount

When the disk will be plugged after the system has started, you'll may
have to mount it manually, as a regular user:

  mount /media/backup

Nicolas


--
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/4f0ee06e.6040...@yahoo.fr



Re: installing electricsheep in sid

2012-01-12 Thread Tim Rühsen
Am Wednesday, 11. January 2012 schrieb Brad Alexander:
> Hi,
> 
> I just rebuilt my workstation and wanted to install the electrichseep
> screensaver. When I try, it fails:
> 
> The following packages have unmet dependencies:
>  electricsheep : Depends: libavcodec52 (>= 4:0.6-1~) but it is not
> installable or
>   libavcodec-extra-52 (>= 4:0.6-1~) but it is not
> installable
>  Depends: libavformat52 (>= 4:0.6-1~) but it is not
> installable or
>   libavformat-extra-52 (>= 4:0.6-1~) but it is not
> installable
>  Depends: libavutil50 (>= 4:0.6-1~) but it is not
> installable or
>   libavutil-extra-50 (>= 4:0.6-1~) but it is not
> installable
> E: Broken packages
> 
> I know that the libavcodec52 packages have been replaced in sid with
> libavcodec53. Is there a workaround for electricsheep to get it to work
> with the new packages, or do I just need to update the depends and rebuild
> the deb?

Hi.

The current debian sources (electricsheep-2.7~b12+svn20091224) are obviously 
from 2009. They do not compile with the current libav* libraries.
See here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638560

There are much newer versions on http://electricsheep.org
You could download the sources and compile your private version of 
electricsheep, or you could get in touch with the debian maintainer...

Regards,

Tim Rühsen


--
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/201201121400.18036.tim.rueh...@openmediasystem.de



Re: Renamiing a USB external h/d

2012-01-12 Thread Balint Szigeti

On 12/01/2012 12:38, Sharon Kimble wrote:

I have a USB external hard drive for my backups which is formatted ext
3. It is currently named as
'/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

I've tried using e2label as follows;-
sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
e2label: Is a directory while trying to open
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
Couldn't find valid filesystem superblock.

So I tried using rename as follows;-
sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
Number found where operator expected at (eval 1) line 1, near "/media/8"
(Missing operator before 8?)
Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
(Missing operator before eef3b99?)
syntax error at (eval 1) line 1, near "/media/8"

How then can I rename it please?

Sharon.

Hello Sharon,

Check in /etc/udev/rules.d/*
Nowadays, the linux distributions udev.
This (udev) handing devices. See: http://en.wikipedia.org/wiki/Udev or 
http://www.debianhelp.co.uk/udev.htm


Regards
Balint


--
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/4f0edd40.7000...@gmail.com



Re: how to cp file from windows to laptop

2012-01-12 Thread lina
> I mainly use emails. ( but recent the windows live attachement sounds silly,
> always downloaded as attachment.xml something like that, now I use gmail).
>


correct one thing here, after upgrade the iceweasel to 10.0

the attachement.ashx problem has gone.

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/CAG9cJmn9Oz0oOhu2Lg1nDw1AYQv-wqnFDH3RTuJtaCQp_y=k...@mail.gmail.com



[SOLVED] SATA disk errors

2012-01-12 Thread Tony van der Hoff

On 31/12/11 16:59, Tony van der Hoff wrote:

On 30/12/11 17:15, Camaleón wrote:

On Fri, 30 Dec 2011 10:37:53 +, Tony van der Hoff wrote:


I'm getting irrregular reports on a Squeeze software raid1 array with
two 500GB disks like this:

Dec 30 09:53:39 tony-lx kernel: [143496.872684] ata3.00: exception
Emask 0x10 SAct 0x3 SErr 0x40 action 0x6 frozen
Dec 30 09:53:39 tony-lx kernel: [143496.872694] ata3.00: irq_stat
0x0800, interface fatal error
Dec 30 09:53:39 tony-lx kernel: [143496.872703] ata3: SError: {
Handshk }
Dec 30 09:53:39 tony-lx kernel: [143496.872710] ata3.00: failed
command: WRITE FPDMA QUEUED
Dec 30 09:53:39 tony-lx kernel: [143496.872725] ata3.00: cmd
61/60:00:80:d0:56/00:00:13:00:00/40 tag 0 ncq 49152 out
Dec 30 09:53:39 tony-lx kernel: [143496.872729] res
40/00:08:20:9b:5a/00:00:13:00:00/40 Emask 0x10 (ATA bus error)
Dec 30 09:53:39 tony-lx kernel: [143496.872736] ata3.00: status: {
DRDY }


(...)

Despite the avobe errors, is the RAID1 array going offline?


Can anyone please enlighten me to what it means; Am I about to lose a
disk?


It seems to be localized in just one of the disks (the one connected to
the third sata port). Hard to tell what's going wrong (software
bug/error,
hardware error?), but I would start by replacing the sata cables for
both disks, just in case. I've found many weird issues with poorly
designed/bad quality sata cables that come bundled within motherboard
pack.


Thanks Cameleón, I'll give that a try when I next reboot the server.


Well, the new cables finally arrived.

It turns out that my CD drive was attached to ata3, helpfully labled as 
SATA4 on the motherboard. I had indeed fitted a sub-standard cable to 
that, with the attitude "it's only a CD". Mistake.


I replaced that cable, and have not seen any errors for a number of 
days, so I'll declare that problem fixed.


Surprised, though, that the connection to the CD drive (which is hardly 
ever used) would cause such a rash of errors.


Thanks to all.

Cheers, Tony


--
Tony van der Hoff| mailto:t...@vanderhoff.org
Buckinghamshire, England |


--
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/4f0ed664.7020...@vanderhoff.org



Re: Thunderbird 9.0.1 does not launch

2012-01-12 Thread francis picabia
On Wed, Jan 11, 2012 at 2:58 PM, francis picabia  wrote:
> I normally have no problem with this.  I install thunderbird
> update when prompted by the app and it is normally
> able to update itself.  Today it seemed to update, but
> then nothing came back up.  Manually launching it
> failed to do anything - no error.
>
> I downloaded a fresh bzipped tar and installed it
> in a new directory.  Running thunderbird from there
> on the command line also does nothing.  I can run
> with -h and it shows help, or -v and it shows
> the version is 9.0.1. OK.
>
> I am running the file thunderbird as I have always done.
>
> Has anyone else run into problems and found a solution?
>
> The last 3.1 icedove from mozilla.debian.net works OK, but it
> doesn't see the most recent thunderbird 8 configuration of
> accounts, etc.
>
> I found moz_libdir in the thunderbird script was pointing to
> a non-existant directory, but even pointing this at itself
> did not help.

The problem was very simple.  There was already a thunderbird-bin
executable running but it wasn't showing anywhere except from ps.
Once that was killed with the kill command, I could launch Thunderbird 9.


--
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/CA+AKB6FhcmSDifF0WsrJKyugQNx0Z1comHGnmy6uz79g9fZ=p...@mail.gmail.com



Re: Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread emmanuel segura
Try to use /etc/ld.so.conf for load your library

2012/1/12 Denny Schierz 

> hi,
>
> I've created a file /etc/profile.d/path.sh
>
> with:
>
> LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jni"
> export LD_LIBRARY_PATH
>
> If you log in on a plain shell, it works, but if you log in via X
> (kde/gnome/fluxbox) and open a terminal (konsole/gnome-terminal/xterm) my
> special path "/usr/lib/jni" is missing. If you start in a terminal "bash
> -l" you get the missing path.
>
> I need "/usr/lib/jni" for Eclipse (I really hate java), otherwise Eclipse
> doesn't find SVN libs.
>
> What could be the problem?
>
> cu denny
>
> --
> 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/9996c20a-27f0-43a5-9ad0-706180c67...@4lin.net
>
>


-- 
esta es mi vida e me la vivo hasta que dios quiera


Re: No sound after purged some gnome packages

2012-01-12 Thread Csanyi Pal
Arno Schuring  writes:

> Csanyi Pal (csanyi...@gmail.com on 2012-01-10 18:05 +0100):
>> Hi,
>> 
>> I have problem with sound. Can't hear anything except PC speaker's
>> beep. This PC Speaker is in the PC Box and is small. :)
>> 
> [..]
>> Aplay can't find any soundcard.
>> aplay -l
>> aplay: device_list:242: no soundcards found...
> [..]
>> What I did is that that I just purged almost all gnome packages from
>> my Debian SID and maybe purged some essential packages for sound.
>> 
>
> Smart money's on a missing alsa-base package.

Although this issue is solved, I give you answers because I don't
understand some of it:

> To be more thorough:
>
> - Is alsa-base still installed?

aptitude search alsa-bas
i A alsa-base

> - Are you still a member of the audio group?

groups myusername
myusername : myusername lp dialout cdrom floppy audio video \ 
 plugdev lpadmin vboxusers 

> - What are the permissions on /dev/dsp and /dev/mixer?

ls -ln /dev/dsp
crw-rw---T+ 1 0 29 14, 3 jan   12 07:05 /dev/dsp
^^^

ls -ln /dev/mixer
crw-rw---T+ 1 0 29 14, 0 jan   12 07:05 /dev/mixer
^^^

I don't understand what are those 1 & 0 ? Where are the 'root audio'
names that usually stands here?

> What is the output of:
> $ lsmod | grep snd

lsmod | grep snd
snd_hda_codec_realtek   272344  1 
snd_hda_intel  26182  3 
snd_hda_codec  72920  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep  13186  1 snd_hda_codec
snd_pcm_oss41081  0 
snd_mixer_oss  17916  2 snd_pcm_oss
snd_pcm63744  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi   12848  0 
snd_rawmidi23060  1 snd_seq_midi
snd_seq_midi_event 13316  1 snd_seq_midi
snd_seq45093  2 snd_seq_midi,snd_seq_midi_event
snd_timer  22917  2 snd_pcm,snd_seq
snd_seq_device 13176  3 snd_seq_midi,snd_rawmidi,snd_seq
snd52798  15 snd_hda_codec_realtek,snd_hda_intel,\
 snd_hda_codec,snd_hwdep,snd_pcm_oss,\
 snd_mixer_oss,snd_pcm,snd_rawmidi,\
 snd_seq,snd_timer,snd_seq_device
soundcore  13065  2 snd
snd_page_alloc 13003  2 snd_hda_intel,snd_pcm

> $ cat /proc/asound/cards

cat /proc/asound/cards
 0 [NVidia ]: HDA-Intel - HDA NVidia
  HDA NVidia at 0xfe024000 irq 22

-- 
Regards from Pal


-- 
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/87vcohnkqg.fsf@debian-asztal.excito



Re: Renamiing a USB external h/d

2012-01-12 Thread Tomasz Kundera
On Thu, Jan 12, 2012 at 1:38 PM, Sharon Kimble  wrote:
> I have a USB external hard drive for my backups which is formatted ext
> 3. It is currently named as
> '/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

If it is mounted via fstab create a mount point before mount (it can
be almost any directory in the system)
and then use it in the fstab.

-- 
Tomasz Kundera


-- 
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/CAOsnoKdkuTYmMn+yNHuev24ZQksc=z3hk-vgneay4bfbcik...@mail.gmail.com



Renamiing a USB external h/d

2012-01-12 Thread Sharon Kimble
I have a USB external hard drive for my backups which is formatted ext
3. It is currently named as
'/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ ' and mounted via fstab.

I've tried using e2label as follows;-
sudo e2label /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
e2label: Is a directory while trying to open
/media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_
Couldn't find valid filesystem superblock.

So I tried using rename as follows;-
sudo rename /media/8eef3b99-c17b-4913-ae61-d34c7fd5d459_ /media/backup
Number found where operator expected at (eval 1) line 1, near "/media/8"
(Missing operator before 8?)
Bareword found where operator expected at (eval 1) line 1, near "8eef3b99"
(Missing operator before eef3b99?)
syntax error at (eval 1) line 1, near "/media/8"

How then can I rename it please?

Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/taste/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian 6,0.3, Gnome 1:2.30+7, LibreOffice 3.4.4
Registered Linux user 334501


-- 
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/cam9u--fam+5ayedk_xcg6cfbu+hrdwmxrlbpw0b_8vvrrxv...@mail.gmail.com



Squeeze64: LD_LIBRARY_PATH / ignored or overwritten under X

2012-01-12 Thread Denny Schierz
hi,

I've created a file /etc/profile.d/path.sh

with:

LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/lib/jni"
export LD_LIBRARY_PATH

If you log in on a plain shell, it works, but if you log in via X 
(kde/gnome/fluxbox) and open a terminal (konsole/gnome-terminal/xterm) my 
special path "/usr/lib/jni" is missing. If you start in a terminal "bash -l" 
you get the missing path.

I need "/usr/lib/jni" for Eclipse (I really hate java), otherwise Eclipse 
doesn't find SVN libs.

What could be the problem?

cu denny

--
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/9996c20a-27f0-43a5-9ad0-706180c67...@4lin.net



Re: Network not working on Shuttle XS35GTV2

2012-01-12 Thread Ramon Hofer
On Thu, 12 Jan 2012 11:46:17 +0200, Andrei Popescu wrote:

> On Mi, 11 ian 12, 23:56:56, Ramon Hofer wrote:
>> 
>> Unfortunately there are no leds on the Shuttle. When I first noticed
>> the problem the link leds on the switch weren't on.
> 
> Is that led still off?

Yes, the leds are still off.


>> Then I tried a different cable on a different port. Afterwards I
>> installed Win 7. After installing the driver it could connect to the
>> internet with the second cable attached to the second port. Thereafter
>> I tried the cable which was attached to my laptop and a third port on
>> the switch. The laptop has no problem connecting to the internet.
> 
> As far as I understand you eliminated the switch and the cable as
> sources of problems.

Yes.


>> Do you think the Shuttle support can help me? But I doubt that they
>> know what to do and will tell me to install Windows :-(
> 
> Yes, this might happen, but as far as I understand you already verified
> that it works with Windows. Maybe you should contact them anyway, even
> if just to let them know that Linux users of their products exist.

That's a good point. I will do that.


> Other things to try:
> - BIOS options or even update(s)

I reseted the BIOS to the factory default. But I will play again with the 
setting.
Maybe Shuttle can deliver me a newer version. Compared to the newest BIOS 
on their homepage I already have the newest version.


> - a newer kernel (you could use a USB stick to copy it over) - the Linux
> Live CD with the most recent kernel you can find

Ah yes, that was a former question if you meant a memory stick or a 
ethernet stick. I will download the newest kernel and try to install it. 
Otherwise I will try a live CD. Which one would be the best?


> However, at this point I'm just guessing. I found a related Ubuntu bug,
> maybe you should add more info there...
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/880316

I posted that bug. I will post the dmesg and ifconfig logs there.
But I have no clue how to run this apport-collect 880316 command Brad 
mentioned in post #2. But maybe I can install Ubunt server version and 
run the command there. Or maybe it's possible to switch to a terminal 
with Ctrl+Alt+F2 like during the Debian installation.


Thanks a lot for your help!

Best regards
Ramon


-- 
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/jemgfi$gr5$1...@dough.gmane.org



Re: Keyboard layout detection

2012-01-12 Thread Eduardo M KALINOWSKI

On Qua, 11 Jan 2012, Panayiotis Karabassis wrote:

Hi,

I installed Debian on my new Asus Eee PC and even though it works  
almost flawlessly, I am having trouble finding the correct keyboard  
layout. The obvious ones (Generic and Asus laptop) have some  
characters wrong.


Here there are images of several keyboard layouts, see if you can  
match yours to any of them: http://en.wikipedia.org/wiki/Keyboard_layout


--
Lockwood's Long Shot:
The chances of getting eaten up by a lion on Main Street
aren't one in a million, but once would be enough.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br



--
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/20120112091842.horde.kdbwmuisjlfpdsgsl88x...@mail.kalinowski.com.br



Re: Keyboard layout detection

2012-01-12 Thread Nicolas Bercher

On 11/01/2012 20:22, Panayiotis Karabassis wrote:

I remember from some installation (either Debian or Ubuntu) being asked to type 
keys to
have the installer detect my layout. I wonder, does anyone know the name of 
this program,
and the package that provides it?


I used this tool some years ago, I think it was part of Ubuntu installer for 
versions
ranging approximately between 6.06 and 8.04.  I remember this tool didn't seem to be 
shipped with every installation CD or wasn't always the default.


I think it is there:

  http://packages.ubuntu.com/natty/debian-installer/cdebconf-newt-detect-keys

It seems to be a plugin for debian-installer and therefore seems to not be 
usable outside
of the installer context.  I'm also interested in it, if you can run it stand 
alone, tell
us.

Nicolas


--
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/4f0ebb98.4000...@yahoo.fr



Re: virtualbox guest addon don't working

2012-01-12 Thread Michael Meskes
On Thu, Jan 12, 2012 at 09:15:04AM +, Balint Szigeti wrote:
> Maybe you're right. I don't know. I think enough to install the
> virtualbox-guest-additions (check this site: 
> http://packages.debian.org/squeeze/all/virtualbox-guest-additions/filelist).
> After instal I mount VBoxGuestAdditions.iso under /media/cdrom and
> run the "sh /media/cdrom/VBoxLinuxAdditions.run" command.
> Then the vboxsf module is created and after reboot the VM is working
> correctly. (The Vbox ShareFolder is available).

If you're using Debian in the VM you can as well install the
virtualbox-guest-ose-guest-* packages, so you get the addons into your
packaging system.

> >How about updating your vbox tools in the VM to match at least at the major 
> >version?
> It's not necessary. The share folder (original aim) is working.

Sure, but it is generally not a bad idea to update the guest additions as well.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
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/20120112100132.ga13...@feivel.credativ.lan



Re: Keyboard layout detection

2012-01-12 Thread Andrei Popescu
On Jo, 12 ian 12, 10:38:29, Panayiotis Karabassis wrote:
> 
> I guess I have a non standard layout, for example when I press the
> key that has '#' typed on it I get '|'. Funny thing is that I
> actually have no trouble using the keyboard with this (wrong) layout
> because I find the correct keys intuitively.

And "'@" next to it? Try 'gb' layout: 'setxkbmap gb'.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Fwd: Re: installing electricsheep in sid

2012-01-12 Thread tv.deb...@googlemail.com

[redirecting to the list]


Brad Alexander wrote:

Yeah, that is quite an ugly option...especially if it starts sucking in
Ubuntu-specific libs...I may play around with repackaging the existing
version, though I'm a bit rusty at package maintenance. Thanks.

--b

>On Thu, Jan 12, 2012 at 3:34 AM, tv.deb...@googlemail.com wrote:
>
>   As an ugly workaround you could pull Ubuntu version from
>   http://packages.ubuntu.com/ , libav* dependencies seems to be
>   updated there.



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

Archive: http://lists.debian.org/__4F0E9B16.8050402@googlemail.__com




--
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/4f0ead87.7070...@googlemail.com



Re: Which /var/ contents are disposable

2012-01-12 Thread Andrei Popescu
On Jo, 12 ian 12, 02:54:30, T o n g wrote:
> Moreover, I'll throw in /var/log as well, because I don't care about 
> the logs either.

You might benefit from putting it on tmpfs then ;)

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Keyboard layout detection

2012-01-12 Thread Anthony Campbell
On 12 Jan 2012, Scott Ferguson wrote:
> > 
> Have you seen:-
> http://wiki.debian.org/DebianEeePC
> 
> Or added the Debian Eee repository:-
> http://wiki.debian.org/DebianEeePC/Repository
> 
> I've installed Debian on a number of Asus Eee PCs and the generic
> keyboard has worked fine.
> Perhaps if the work that went into the wiki and the repository (listed
> above) doesn't help you could supply the model number and other
> pertinent details (eg. language selected).
> 

I installed Debian on my wife's EEEPC 901 over Christmas and it works
fine. I followed the advice on the above wiki and installed
eeepc-acpi-scripts.

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - using Linux 
http://www.acampbell.org.uk - book reviews, 
articles, blog, and printed books and ebooks


-- 
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/20120112094740.gd2...@acampbell.org.uk



Re: Network not working on Shuttle XS35GTV2

2012-01-12 Thread Andrei Popescu
On Mi, 11 ian 12, 23:56:56, Ramon Hofer wrote:
> 
> Unfortunately there are no leds on the Shuttle.
> When I first noticed the problem the link leds on the switch weren't on.

Is that led still off?

> Then I tried a different cable on a different port.
> Afterwards I installed Win 7. After installing the driver it could 
> connect to the internet with the second cable attached to the second port.
> Thereafter I tried the cable which was attached to my laptop and a third 
> port on the switch. The laptop has no problem connecting to the internet.

As far as I understand you eliminated the switch and the cable as 
sources of problems.
 
> Do you think the Shuttle support can help me?
> But I doubt that they know what to do and will tell me to install 
> Windows :-(

Yes, this might happen, but as far as I understand you already verified 
that it works with Windows. Maybe you should contact them anyway, even 
if just to let them know that Linux users of their products exist.

Other things to try:
- BIOS options or even update(s)
- a newer kernel (you could use a USB stick to copy it over)
- the Linux Live CD with the most recent kernel you can find

However, at this point I'm just guessing. I found a related Ubuntu bug, 
maybe you should add more info there...
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/880316

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Open source Valorization

2012-01-12 Thread Houria Hamouten
Hello

We are five students in final year at ECE, Paris engineering school, and
for our final project we work on the design and implementation of an USB
firewall on Linux.
We implement a module called USB Wall and which filter mass storage devices
thanks to a white list system. Its role is to protect workstations against
attacks made by USB devices refusing, limiting  or allowing access to the
USB device inserted.

Our project is totally open source and we are beginners  in this field.
Would you be interested and would you like more informations about our
project?

We are entirely at your disposal for any further information, all
information needed to complete our first open source project are welcomed.

Thank you,
Sincerely,

The team



Bonjour,

Nous sommes cinq étudiants en dernière année du cycle ingénieur à l’ECE,
Paris école d’ingénieurs, dans le cadre de notre projet de fin d’études
nous travaillons sur la conception et l’implémentation d’un pare-feu USB
sous Linux.
Le module que nous implémentons, dénommé USB Wall, filtre les périphériques
de masse grâce à un système de liste blanche. Son rôle est de protéger les
postes de travail contre diverses attaques faites à partir de périphériques
USB en interdisant, limitant ou autorisant l’accès du périphérique inséré.

Notre projet est entièrement open source et nous débutons dans ce monde.
Seriez-vous intéressés et souhaiteriez-vous avoir plus d’informations sur
notre projet ?

Nous restons à votre disposition pour de plus amples renseignements, toutes
informations permettant de mener à bien notre premier projet open source
seront les bienvenues.

Merci,
Cordialement,

L’équipe
-- 
Houria HAMOUTEN
ECE Paris École d'ingénieurs
Dernière année du cycle ingénieur


Re: smtp/postfix/sasl/openssh headaches

2012-01-12 Thread Tony Baldwin
On Thu, Jan 12, 2012 at 10:06:56AM +0100, Markus Schönhaber wrote:
> 11.01.2012 22:41, Tony Baldwin:
> 
> > On Wed, Jan 11, 2012 at 08:13:53PM +0100, Markus Schönhaber wrote:
> 
> >> Stop and/or uninstall sendmail (or whatever this process might belong to).
> > I do not have sendmail installed.
> 
> Then stop/uninstall the software that listens on port 25 and thus
> prevents postfix of doing so.
> 
> > $ sudo aptitude remove sendmail
> > NUCLEAR LAUNCH CODE: 
> > No packages will be installed, upgraded, or removed.
> > 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> > Need to get 0 B of archives. After unpacking 0 B will be used.
> > 
> > My understanding is that postfix has something with the same name.
> 
> Yes, it's the command line interface to the mail system and it's called
> "sendmail" because of sendmail compatibility. But postfix' sendmail
> binary never listens on any network socket. The postfix process that
> does is called "master".
> 
I have this resolved now (I'm now writing to the list from mail on said server, 
over imap with mutt at home).
I figured this out, sort of, before your message, but what I did makes more 
sense now.

I did see "sendmail" listening on port 25 (lsof -i :25), but didn't have 
sendmail installed,
which was confusing (exim4 was on by default, but removed when I installed 
postfix,
but sendmail?), but I killed -9 the pid for sendmail and restarted postfix.
Then lsof -i :25 showed "master" listening on that port, as you say.
And now all seems to be working as it should (or as I expected it should).

> Is your mail server going to be accessible from an untrusted network/the
> internet?

Yes. It is hosting websites, a gopher site, and, now, e-mail.

./tony
-- 
http://www.tonybaldwin.me
all tony, all the time


-- 
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/20120112091910.ga24...@deathstar.hsd1.ct.comcast.net



Re: virtualbox guest addon don't working

2012-01-12 Thread Balint Szigeti

On 12/01/2012 07:56, Michael Meskes wrote:

[Why is this send to so many lists?]

Because when I sent this mail, my problem isn't resolved


On Thu, Jan 12, 2012 at 07:15:23AM +, Balint Szigeti wrote:

I installed virtualbox-guest-additions, virtualbox-ose,
virtualbox-ose-dkms, virtualbox-ose-qt packages.
lsmod says:
...
vboxdrv  1723671  2 vboxnetadp,vboxnetflt

...
|/|I installed|/|vbox-|/|||ose* from official repos||.
I tried install vbox fuse (
dpkg --get-selections |grep virtualbox
virtualbox-guest-additions  install
virtualbox-ose  install
virtualbox-ose-dkms install
virtualbox-ose-fuse install
virtualbox-ose-qt   install
) but nothing has changed.

All of these describe the host, but the vboxfs mount happens inside the VM, so 
all of this info doesn't help. So please tell us if the modules are loaded in 
the VM and which packages are installed there.
Maybe you're right. I don't know. I think enough to install the 
virtualbox-guest-additions (check this site: 
http://packages.debian.org/squeeze/all/virtualbox-guest-additions/filelist). 
After instal I mount VBoxGuestAdditions.iso under /media/cdrom and run 
the "sh /media/cdrom/VBoxLinuxAdditions.run" command.
Then the vboxsf module is created and after reboot the VM is working 
correctly. (The Vbox ShareFolder is available).

Also


I use 4.1.2 VBox.
The VM is 6.0.3 Debian. VM kernel's 2.6.32-5-amd64
In VM the vboxmanage says:
/|vboxmanage -v
3.2.10_OSEr66523

How about updating your vbox tools in the VM to match at least at the major 
version?

It's not necessary. The share folder (original aim) is working.


Michael

Regards
Balint


--
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/4f0ea498.6090...@gmail.com



Re: Keyboard layout detection

2012-01-12 Thread Tony Baldwin
On Thu, Jan 12, 2012 at 10:38:29AM +0200, Panayiotis Karabassis wrote:
> Thanks to all.
> 
> Yes I've followed the Debian Eee Pc pages. The repository is not
> needed for Wheezy, from what I understand.
> 
> I guess I have a non standard layout, for example when I press the
> key that has '#' typed on it I get '|'. Funny thing is that I
> actually have no trouble using the keyboard with this (wrong) layout
> because I find the correct keys intuitively.
> 
> BTW, the xsetkbmap is not available on my system, and I can't find
> it with apt-file either...

I'm sorry; did I write it like that?
It's 
setxkbmap
it should be in 
/usr/bin/setxkbmap

./tony
-- 
http://www.tonybaldwin.me
all tony, all the time


-- 
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/20120112091221.ga23...@deathstar.hsd1.ct.comcast.net



Re: Message about ntp when updating

2012-01-12 Thread Jörg-Volker Peetz
Chris Davies wrote, on 01/12/12 00:12:
> Jörg-Volker Peetz  wrote:
>> Here I'm using "rdate -an" in a cron job with something like the following
>>  rdate -acnv $NTPHOST
> 
> Just like ntpdate or any of the other cron based solutions proposed in
> this thread, this does not train the clock. So although rdate slews the
> clock, it doesn't train it to become more accurate over time. NTP does
> all this out of the box - and you get multiple server resiliency from
> the NTP Pool.
> 
> (Do you really need the -c flag to rdate? My systems don't.)
> 
> Chris
> 
> 
Now that you mentioned it, I checked again for the "-c" option. Indeed, it
screws the clock by approx. 23 sec. (using de.pool.ntp.org). As the man page for
rdate states, comparison with a radio controlled clock revealed this.
Thank you very much for the hint.
I'm using rdate because it's a small uncomplicated (nearly :-) package.
And yes, calling rdate every 8 hours I see an approx. constant adjustment value
in the log file.
-- 
Best regards,
Jörg-Volker.


-- 
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/jem823$q16$1...@dough.gmane.org



Re: smtp/postfix/sasl/openssh headaches

2012-01-12 Thread Markus Schönhaber
11.01.2012 22:41, Tony Baldwin:

> On Wed, Jan 11, 2012 at 08:13:53PM +0100, Markus Schönhaber wrote:

>> Stop and/or uninstall sendmail (or whatever this process might belong to).
> 
> 
> I think I just addressed that.

Obviously not.

> I do not have sendmail installed.

Then stop/uninstall the software that listens on port 25 and thus
prevents postfix of doing so.

> $ sudo aptitude remove sendmail
> NUCLEAR LAUNCH CODE: 
> No packages will be installed, upgraded, or removed.
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0 B of archives. After unpacking 0 B will be used.
> 
> My understanding is that postfix has something with the same name.

Yes, it's the command line interface to the mail system and it's called
"sendmail" because of sendmail compatibility. But postfix' sendmail
binary never listens on any network socket. The postfix process that
does is called "master".

Is your mail server going to be accessible from an untrusted network/the
internet?

-- 
Regards
  mks


-- 
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/4f0ea2b0.3060...@list-post.mks-mail.de



Re: Gnome Shell battery indicator missing

2012-01-12 Thread Panayiotis Karabassis

On 01/11/2012 10:41 PM, Johan Grönqvist wrote:

2012-01-11 20:26, Panayiotis Karabassis skrev:

The title is self-explanatory. This is a new installation of Wheezy.

Has anyone else observed this?



Yes, i see it too in a wheezy installation I installed this year.


The only related message I can find in the logs, is a complaint about
gnome-power-manager missing. Indeed the package with the same name
contains only a gnome-power-statistics binary.


I think that such functionality is being moved around (between 
libraries) in the transition to gnome 3.0 to gnome 3.2, and since 
wheezy currently contains a mixture of the two releases (gnome-shell 
is not yet updated to 3.2), I have just assumed that it would return 
when gnome-shell 3.2 transitions to wheezy.


I am neither certain, nor do I have a solution, but if I had 
considered this a major problem, I would have updated gnome-shell to 
3.2 from unstable (and some other gnome-related packages would also 
have to be upgraded). (Assuming you use linux)


Thanks, I'll wait for 3.2. Meanwhile I read the battery status with the 
"acpi" command. Linux as opposed to GNU Hurd, you mean?



Regards

Johan




Best regards,
Panayiotis


--
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/4f0e9c7f.2040...@gmail.com



Re: Keyboard layout detection

2012-01-12 Thread Panayiotis Karabassis

Thanks to all.

Yes I've followed the Debian Eee Pc pages. The repository is not needed 
for Wheezy, from what I understand.


I guess I have a non standard layout, for example when I press the key 
that has '#' typed on it I get '|'. Funny thing is that I actually have 
no trouble using the keyboard with this (wrong) layout because I find 
the correct keys intuitively.


BTW, the xsetkbmap is not available on my system, and I can't find it 
with apt-file either...


Anyway, I'll either google for the correct layout, or look into the 
manual which I've been too lazy to read... :-P


Thanks again,
 Panayiotis


--
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/4f0e9c05.60...@gmail.com



Re: installing electricsheep in sid

2012-01-12 Thread tv.deb...@googlemail.com

11/01/2012 22:40, Bob Proulx wrote:

Scott Ferguson wrote:

I'm puzzled - why not just:-
# apt-get install electricsheep


It is just that apt-get.  But in Sid there is a transition happening
from ffmpeg to libav and Sid's electricsheep is broken concerning this
and needs to be updated.  The original poster just didn't show the
full command history.

Here is a relevant bug report on it:

   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638560

Here is the full trace after a fresh update today.

   # apt-get update
   ...
   # apt-get install -s electricsheep
   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Some packages could not be installed. This may mean that you have
   requested an impossible situation or if you are using the unstable
   distribution that some required packages have not yet been created
   or been moved out of Incoming.
   The following information may help to resolve the situation:

   The following packages have unmet dependencies:
electricsheep : Depends: libavcodec52 (>= 4:0.6-1~) but it is not
installable or
 libavcodec-extra-52 (>= 4:0.6-1~) but it is not 
installable
Depends: libavformat52 (>= 4:0.6-1~) but it is not 
installable or
 libavformat-extra-52 (>= 4:0.6-1~) but it is not 
installable
Depends: libavutil50 (>= 4:0.6-1~) but it is not 
installable or
 libavutil-extra-50 (>= 4:0.6-1~) but it is not 
installable
   E: Broken packages

Really what needs to happen is that the electricsheep package needs to
be updated.

Bob


As an ugly workaround you could pull Ubuntu version from 
http://packages.ubuntu.com/ , libav* dependencies seems to be updated there.



--
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/4f0e9b16.8050...@googlemail.com



Re: virtualbox guest addon don't working

2012-01-12 Thread Michael Meskes
[Why is this send to so many lists?]

On Thu, Jan 12, 2012 at 07:15:23AM +, Balint Szigeti wrote:
> >>I installed virtualbox-guest-additions, virtualbox-ose,
> >>virtualbox-ose-dkms, virtualbox-ose-qt packages.
> >>lsmod says:
> >>...
> >>vboxdrv  1723671  2 vboxnetadp,vboxnetflt
> ...
> |/|I installed|/|vbox-|/|||ose* from official repos||.
> I tried install vbox fuse (
> dpkg --get-selections |grep virtualbox
> virtualbox-guest-additions  install
> virtualbox-ose  install
> virtualbox-ose-dkms install
> virtualbox-ose-fuse install
> virtualbox-ose-qt   install
> ) but nothing has changed.

All of these describe the host, but the vboxfs mount happens inside the VM, so 
all of this info doesn't help. So please tell us if the modules are loaded in 
the VM and which packages are installed there.

Also

> I use 4.1.2 VBox.
> The VM is 6.0.3 Debian. VM kernel's 2.6.32-5-amd64
> In VM the vboxmanage says:
> /|vboxmanage -v
> 3.2.10_OSEr66523

How about updating your vbox tools in the VM to match at least at the major 
version?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at googlemail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL


-- 
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/20120112075607.ga10...@feivel.credativ.lan