login, path and ~/.profile

2005-09-29 Thread Benedict Verheyen

Hi,

i was looking to change the prompt of a UML and while i was at it i 
noticed something in regards to the path that is set.

When logging in these files are processed (used echo to find out)
/etc/profile
/etc/bash.bashrc
~/.bash_profile
~/.bashrc

This might differ on your system as I:
* source /etc/bash.bashrc from /etc/profile
* source ~/.bashrc from ~/.bash_profile

When doing su, these files are executed
/etc/bash.bashrc
~/.bashrc

As for my questions:
1. Why isn't ~/.profile run?
2. I'm setting up an UML that i debootstrapped so root is the only way 
to log on for the moment. When i apt-get i get errors in the end because 
the /bin /sbin paths aren't set so certain tools aren't found.
Is it better to leave the path like this security wise or should i just 
add the /bin and /sbin directories?
The ~/.profile file contains a decent PATH but as this file doesn't seem 
to get executed, the path isn't set.


On a side note: i found out this way that su sets a path and that it can 
be customized with ENV_PATH and ENV_SUPATH definitions in /etc/login.defs


Thanks
Benedict


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




Re: gnome upgrade in testing

2005-09-29 Thread Rick Pasotto
On Thu, Sep 29, 2005 at 10:54:08AM +0100, Antony Gelberg wrote:
> Rick Pasotto wrote:
> > 'apt-get upgrade' is holding back lots of gnome programs. When I go
> > to manually install them apt-get wants to remove some programs.
> > Could someone explain to me why it wants to remove 'capplets' while
> > at the same time upgrading 'capplets-data'?
> 
> If you're using testing you should expect this type of thing to
> happen.

No, I shouldn't. It makes no sense to upgrade the data for an
application if the application itself is being removed.

>  A good way to get to the bottom of things is to run aptitude
>  interactively, try to do what you want, and look at the bottom pane
>  for feedback.

In other words, you do not know the answer to my question.

-- 
"Our doctrine is based on private property. Communism is based on
 systematic plunder, since it consists in handing over to one man,
 without compensation, the labor of another. If it distributed to
 each one according to his labor, it would, in fact, recognize
 private property and would no longer be communism."
-- Frédéric Bastiat (1801-1850)
Rick Pasotto[EMAIL PROTECTED]http://www.niof.net


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



Re: "ata1 is slow to respond, please be patient" msg

2005-09-29 Thread Leonardo Francalanci
I downloaded "debian-31r0a-amd64-binary-1.iso" which uses a 
2.6.8-11-amd64 (if I'm not wrong). There is no linux26 boot option (only 
linux and expert). Did you actually installed on a SATA drive?


PLEASE someone help me, I don't want to change distro!!!

What kernel are you using? I also have a asus k8n board with nvidia/sata. I 
have never had a problem with it. At the moment I am running sarge (stable) 
with the 2.6.8-2-k7 kernel, but I also have the amd64 sarge installed with a 
2.6.8-?-k8 kernel and both work fine. When I booted the install cd I used the 
"linux26" boot option.






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




Re: How to list all files that are going to be installed when doing "apt-get upgrade"?

2005-09-29 Thread Sonixxfx
Thanks Joe,

It works quite well, only "awk '{print $1}'" also shows the "/unknown" part that is appended to the packages names. For example:

libsnmp5/unknown
unzip/unknown
cpio/unknown

Because of this dpkg cannot handle this.

Can you tell me how I can exclude that "/unknown" part? 
Thanks a lot

Regards,

Ben
On 9/29/05, Joe Smith <[EMAIL PROTECTED]> wrote:
>I know how to list the packages that are going to be installed, like with>"apt-get -s upgrade" or "apt-show-versions -u", but I >would like to know>which files included in these packages are going to be installed. I have
>tried "grep" when doing "apt-get -s >upgrade" and "apt-show-versions -u",>and thought of piping the output trough "dpkg -L", but my knowledge is too>limited for >this.
something like this should work:for i in $(apt-show-versions -u|awk '{print $1}'); do dpkg -L $i;doneThe awk '{print $1}' outputs the first collumn. I don't rember what columnapt-show-versions shows the package name, so you may need to change this.
To sort the output do this instead:sort <(for i in $(apt-show-versions -u|awk '{print $1}'); do dpkg -L$i;done)--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: 500 million Linux laptops in next year

2005-09-29 Thread Andy Streich
On Thursday 29 September 2005 09:40 pm, Gautam Bakshi wrote:
> On 9/29/05, Don Jackson <[EMAIL PROTECTED]> wrote:
> > Interesting article on BBC news:
> >
> >
> > ** Sub-$100 laptop design unveiled **
> > Nicholas Negroponte of the Massachusetts Institute of Technology (MIT),
> > outlines blueprints for a sub-$100 PC.
> > < http://news.bbc.co.uk/go/em/fr/-/2/hi/technology/4292854.stm >
>
> Yea i heard about it also...Hopefully many children in third world
> countries will benefit and also spread linux more around the world.

See http://laptop.media.mit.edu/

(actually it is 100 million, not 500 million, but who's counting?  Seems that 
RedHat is involved.)

Andy


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



Re: virtual package? aptitude says "not a real package".

2005-09-29 Thread furufuru
Michael Spang wrote:
> [EMAIL PROTECTED] wrote:
[...]
> >If they are unavailable, then why do they show up when you type
> >
> >   $ aptitude search mplayer
> >
> >for example.  What does this mean?
[...]
> It means that there is no such package but that something depends or
> conflicts with the package. These packages are just referenced by
> others even though they arent in the archive. This happens
> for a variety of reasons.
[...]
> [EMAIL PROTECTED]:~$ apt-cache showpkg mplayer
> Package: mplayer
> Versions:
>
> Reverse Depends:
>   xmms-xmmplayer,mplayer
>   mozilla-mplayer,mplayer 1.0-pre5
> Dependencies:
> Provides:
> Reverse Provides:

Aha!  That's clear.  Thanks for the explanation.

Regards,
Ryo


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



Re: 500 million Linux laptops in next year

2005-09-29 Thread Gautam Bakshi
On 9/29/05, Don Jackson <[EMAIL PROTECTED]> wrote:
Interesting article on BBC news:** Sub-$100 laptop design unveiled **Nicholas Negroponte of the Massachusetts Institute of Technology (MIT),outlines blueprints for a sub-$100 PC.< 
http://news.bbc.co.uk/go/em/fr/-/2/hi/technology/4292854.stm >--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]Yea
i heard about it also...Hopefully many children in third world
countries will benefit and also spread linux more around the world.



Re: hardware recommendation

2005-09-29 Thread Gautam Bakshi
i have used many different hardware types and platforms..I have never had a problem.

you can see a list of architectures debian is ported for: http://www.us.debian.org/ports/

hope it helps.On 9/29/05, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:Hi, first time in this list.
I've been a Suse user for the last several years and have decided to tryDebian. I'm looking to purchase a new system. Can anyone recommend asystem that Debian will install with no problems, or better yet, asystem that has Debian pre-installed.
Thanks, Matt--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]-- Take CareGautam Bakshi


Re: Re: [OT] Drawing a rectangle with Gimp

2005-09-29 Thread Ryan King
On Wed, Sep 28, 2005 at 10:01:46PM -0700, g r wrote:
> It's a pity people have to ask around before they can
> draw a rectangle with a graphics program. I had the
> same question. I haven't come across a less intuitive
> windows program than GIMP. I know I am commenting
> based on my quick first impression and criticizing a
> free tool. But what good is "free" if it's not usable.
> Why port such a tool to windows when there are $29
> programs that are actually usable? Tool palettes hide
> behind the main window!!? 

Everything different seems weird at first.

As far as drawing a rectangle, it is a touch complicated, but quite
powerful.  The way I do it is hit "r" for the Rectangle marquee selection,
draw my rect, then go to the "Paths" dialogue (Alt+d, p).  Now click the
"Selection to path" button in the middle of the control.

Now hit Ctrl+Shift+A to remove your marquee.  Click the icon just to the
right of "Selection to path" called "Stroke Selection", and then you're
there.

The power kicks in when you realize you can stroke the path with any brush,
convert the stroke back to a selection and do fills/etc inside it, modify
it to non-rectangular shapes, Shift+click the "Path to Selection" icon,
etc.

AFAIK Adobe Photoshop works in very similar ways - but IANAAPE.

And secondly, the way the Gimp has a decentralized window setup (they're
all 100% "MDI" windows, to use the Win32 term) is a curse and a blessing.
In most Linuxy desktop environments, it's easy to switch virtual desktops,
and makes this a more pleasant mode than having a big honkin' window to hold
all the other windows.  I'll have, for example, my IRC window omnipresent,
and run the Gimp in a separate desktop from my web browser, which is in a
separate desktop from my xterm's.  A quick keystroke to switch between them
and it's pretty hard to beat.

Also, be sure you learn about the way the Gimp handles "Tab" to hide/show
dialogues, and the various keybindings to call up particular dialogues.

That is all.
-rjk


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



Re: virtual package? aptitude says "not a real package".

2005-09-29 Thread Michael Spang

[EMAIL PROTECTED] wrote:


Kumar Appaiah wrote:

 


On my system, apt-cache show emacs-dl-wn gives me black, install says
that package is unavailable.
   



Thanks for your response!  I'm still puzzled.  What's this "ghost"
package, then?  The "mplayer" package seems to be another example.
If they are unavailable, then why do they show up when you type

  $ aptitude search mplayer

for example.  What does this mean?

 

It means that there is no such package but that something depends or 
conflicts with the package. These packages are just referenced by others 
even though they arent in the archive. This happens for a variety of 
reasons.




[EMAIL PROTECTED]:~$ apt-cache showpkg mplayer
Package: mplayer
Versions:

Reverse Depends:
 xmms-xmmplayer,mplayer
 mozilla-mplayer,mplayer 1.0-pre5
Dependencies:
Provides:
Reverse Provides:



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




Re: virtual package? aptitude says "not a real package".

2005-09-29 Thread furufuru
Kumar Appaiah wrote:

> On my system, apt-cache show emacs-dl-wn gives me black, install says
> that package is unavailable.

Thanks for your response!  I'm still puzzled.  What's this "ghost"
package, then?  The "mplayer" package seems to be another example.
If they are unavailable, then why do they show up when you type

   $ aptitude search mplayer

for example.  What does this mean?

> I think virtual packages are those which are actually generic software
> which have many options fitting the bill. For example, exim4, postfix,
> esmtp-run, sendmail etc. all `provide' the `mail-transport-agent'
> virtual package.
>
> See:
> http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html#s-virtual

Thanks. That matches my understanding of virtual packages.

Regards,
Ryo


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



Joystick not recognized by games

2005-09-29 Thread Freddy Freeloader
I have a Gravis Blackhawk that isn't being recognized by any games.  It 
is, however, recognized at boot as recorded by dmesg.


The following modules are loaded at boot:  joydev, grip, emu10k-gp, 
gameport, and ns558.  I'm running a Soundblaster Live! sound card. 

There is a /dev/input/js0. 

So, what am I missing?  The following link gives some instructions for 
getting joysticks to work in Debian but it's pretty old and says that 
the instructions and utilities there are for the 2.4 kernel so I'm 
unsure if all the instructions are valid:  
http://atrey.karlin.mff.cuni.cz/~vojtech/input/ .


I'm running a mixture of sid and Sarge with the 2.6.8-2-386 kernel, but 
have only the packages required for Firefox 1.07 installed from sid. 



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




RE: eth0 does not start during boot, but can be started manually

2005-09-29 Thread Steven Jones
Cd  /etc/rc3.d
/etc/rc2.d
/etc/rc5.d

find the pcmcia Sxxx and note where it points to eg,

S24pcmcia -> ../init.d/pcmcia

And networking,

Rm the S24 and set it to 1 lower than networking.

S10network -> ../init.d/network

ln -s /etc/init.d/pcmcia /etc/rc3.d/S09pcmcia

regards

Steven


-Original Message-
From: richard [mailto:[EMAIL PROTECTED] 
Sent: Friday, 30 September 2005 12:15 p.m.
To: debian-user@lists.debian.org
Subject: Re: eth0 does not start during boot, but can be started
manually

Dear Steven,

Thanks!  It sounds plausible.  Can you give me a bit more detail (or a
reference) on how to do that, please?  As I recall from reading, the
number-order in a particular run level will determine the event
ordering, but in what level should networking start, and where do I
find the  links/scripts?

Do you have any idea what might have caused this?  It used to work
after all.

Richard


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




Re: counting bandwidth usage

2005-09-29 Thread Mark Fletcher

Almut Behrens wrote:


On Thu, Sep 29, 2005 at 06:14:41PM -0400, kamaraju kusumanchi wrote:
 

Very trivial question. I have two machines workA, homeB. Let's say I am 
sitting at workA and run an nxclient session to connect to homeB. Now in 
this homeB session, I open a konsole and download 1GB file (using wget). 
Will this be counted as network traffic of 1GB on homeB or network 
traffic of 1GB on workA? I ask because, I pay for network usage at workA 
but at homeB it is free.
   



Unless you've tunneled port 80 (or whichever port wget is using) from
home back to work, the file will be downloaded via your home network.
(I'm assuming there's a seperate internet connection at work and at
home.)  By default, NX will only forward your X display, so that's the
only traffic you'll have to pay for...  IOW, nothing to worry about.

 

BUT Make sure you understand that the resulting downloaded data is now 
on homeB not workA. Any further manipulation you wish to do on the data 
will have to be conducted using tools on homeB, not workA, because the 
data hasn't actually been transferred to workA. Of course you can 
control such manipulation from workA as you did the download in the 
first place, but if this data is for example an image and you expect to 
be able to use some image manipulation tool on workA to work with it 
that's going to entail transferring the data again, this time from homeB 
to workA, and that means paying for the transfer judging by the info you 
provided in your inital post...



Will there be any difference in the answer if I use ssh instead of nxclient?
   



Hardly any.  nxclient might cause somewhat less traffic than ssh with X
forwarding, because NX is highly optimized for just that...  If you can
live with just a remote terminal login (no X GUI), then ssh will cause
even less traffic, of course.

Cheers,
Almut


 




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




Re: WiFi Problems (It doesn't work properly)

2005-09-29 Thread David R. Litwin

Did you enter the IP of the DNS server of your ISP into the resolv.conf as Isuggested earlier?
Jan

As I mentioned previously in the thread (I think I did, any way: I've
been known to be wrong.), the IP address of the ISP is sent to me when
the link is activated. So, there isn't one to input.

The reason I konw this is from looking at pppoeconf, which is how I
normally connect to the internet (via ethernet wire). It makes a
reference to this. Unless I read it in some documentation. But, I'm
fairly sure that it is the former.

Am I wrong about this, though? Perhaps I mis-interpreted what it said?
I use High-Speed DSL, so perhaps this is a different case?
Thank you kindly.

-- —A watched bread-crumb never boils.—My hover-craft is full of eels.—[...]and that's the he and the she of it.


hardware recommendation

2005-09-29 Thread matt77
Hi, first time in this list. 

I've been a Suse user for the last several years and have decided to try
Debian. I'm looking to purchase a new system. Can anyone recommend a
system that Debian will install with no problems, or better yet, a
system that has Debian pre-installed. 

Thanks, Matt


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



Re: exim4 how to enable authorisation

2005-09-29 Thread Chris Purves
On 29/09/05, Chris Purves <[EMAIL PROTECTED]> wrote:
> I have installed exim4 and enabled sasl for authorisation according to
> the supplied docs, but I don't know how to get the server to
> authorise.  If I allow relaying from all hosts, then I end up with an
> open relay.  If I disable relaying, then there's no option to
> authorise.
>
> I'm sure this is a simple thing to enable, but I can't find the answer
> anywhere.  Thank you for your help.

I found the problem...it was really stupid.  The computer I was using
to test authentication had the computer name (win98) set to
king_graham, and it was being rejected because it was not a proper
hostname when sending EHLO king_graham.  I changed it to king-graham
and now it can try to authenticate.

Now I get "TLS not supported"...still have to figure that out.

--
Take care, eh.
Chris



????? .. ?????? ?????? ????????

2005-09-29 Thread ????????
 ? ? ??  ??? ?? ? ?
 ?  ??  ??
http://www.1426.ws

? ??? ?? :
??? ?? ??? 
  ? ?? 
? ??? 
 ??? 
??? ?? ? ? ?? ??? .


?? ?? 
??? 
demo
? ?
demo

* ??  ?? ??? ??? ..


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



Re: Two upstream connections

2005-09-29 Thread David Clymer
On Thu, 2005-09-29 at 17:39 -0500, Tim wrote:
> Does anybody have a simple script for two upstream connections?
> I have ADSL as primary and wireless as backup.  I don't need load
> balance just an active/backup scenario (with automatic failover).
> The DSL has dynamic IP via DHCP the wireless can use either static
> IP or DHCP.
> 
> The intranet runs NAT.  I am running the 2.4.27-2-686 kernel.  I also
> do some port forwarding.  I think iproute is what I need but all the
> examples I've seen are overly complicated for what we need.

This question was posed and answered on this list a few days ago. You
may find this thread helpful:

http://lists.debian.org/debian-user/2005/09/msg03253.html

-davidc

-- 
gpg-key: http://www.zettazebra.com/files/key.gpg


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


Re: Samba PDC + LDAP, cannot access LDAP when not root (SOLVED)

2005-09-29 Thread David Clymer
On Tue, 2005-09-20 at 08:41 -0400, David Clymer wrote:
> I'm using Samba (3.1.14a) on Debian Sarge, with the ldapsam backend and
> OpenLDAP (.
> 
> When attempting to join an Windows XP+SP2 computer to my domain
> (WORKGROUP), using the Administrator account, I am told 'Access denied.'
> 
> The logs indicate that the user Administrator is being authenticated,
> but when It goes to add the computer to the domain, it fails. Apparently
> because samba is unable to access LDAP:
> 
> smbldap_open: cannot access LDAP when not root..
> 
> Google searching has brought up a bunch of results for early versions of
> samba 3.0, related to modification of user groups. However that bug was
> supposedly fixed, and I've seen no reports of it occuring in later
> versions.
> 
> Is there any type of (mis)configuration that could result in the same
> sort of symptom?
> 
> attached is my samba log output (debug level=4):
> 
> -davidc
> 

I figured out the the problem, but since it is already archived in the
Samba mailing list, you may as well read it there rather than me
recreating it:

http://lists.samba.org/archive/samba/2005-September/111520.html

-davidc

-- 
gpg-key: http://www.zettazebra.com/files/key.gpg


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


Re: eth0 does not start during boot, but can be started manually

2005-09-29 Thread richard
Dear Steven,

Thanks!  It sounds plausible.  Can you give me a bit more detail (or a
reference) on how to do that, please?  As I recall from reading, the
number-order in a particular run level will determine the event
ordering, but in what level should networking start, and where do I
find the  links/scripts?

Do you have any idea what might have caused this?  It used to work
after all.

Richard


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



Re: root cannot su to normal user now

2005-09-29 Thread Wang Xu
2005/9/30, Wang Xu <[EMAIL PROTECTED]>:
> Hi All,
>
> I have 2 linux computer, one is running testing, and the other is running
> unstable.
>
> Now the sid one cannot use `su' to change from root to any user, including
> itself.

additional information:

I found there were some problems about wheel group setting.

1) For the previous described setting, members of wheel group can su to any
   user without typing passwd, while they can only su to root without passwd
   before.

2) After disabling the wheel group setting, root can su to any user it want.

Thank you!



Re: root cannot su to normal user now

2005-09-29 Thread Wang Xu
2005/9/30, Stephen Cormier <[EMAIL PROTECTED]>:
> Try upgrading the login package I think you may have run into bug
> #330291.
>

Thank you!

However, the version of my `login' has already been `4.0.12-5' as
suggested in `Bug #330291'

--
==
WANG, Xu
Ph.D. Candidate
Service & Terminal lab,
Wireless Technology Innovation Institute,
Beijing University of Posts & Telecommunications (BUPT)
Postal Add.: P.O. Box 92#, BUPT, Bei Jing 100876, China
Tel.: +86-10-62283699 ext. 311
Fax.: +86-10-62283553
E-mail: gnawux (at) gmail.com
Blog: http://gnawux.blogchina.com
==



Re: root cannot su to normal user now

2005-09-29 Thread Stephen Cormier
On September 29, 2005 09:49 pm, Wang Xu wrote:
> Hi All,
>
> I have 2 linux computer, one is running testing, and the other is
> running unstable.
>
> Now the sid one cannot use `su' to change from root to any user,
> including itself.
>
> cannot su - xx
> cannot su xx
> cannot su xx -c 'command'
>
> but the 'su -c' is improtant for the acpid script for the button of
> laptop.
>
> The libpam0g version in the sid machine is 0.79-1, and in the etch
> machine is 0.76-23, and
>
> I did enable the
>   ``auth sufficient pam_rootok.so''
> in ``/etc/pam.d/su''
>
> and enable the wheel group in it.
>
> Any advices? Many thanks.
>
> The following is my /etc/pam.d/su, while other setting about pam and
> login is shipped with the distribution.
>
> 
>
> #
> # The PAM configuration file for the Shadow `su' service
> #
>
> # Uncomment this to force users to be a member of group root
> # before they can use `su'. You can also add "group=foo" to
> # to the end of this line if you want to use a group other
> # than the default "root".
> # (Replaces the `SU_WHEEL_ONLY' option from login.defs)
> auth   required   pam_wheel.so group=adm
>
> # Uncomment this if you want wheel members to be able to
> # su without a password.
> auth   sufficient pam_wheel.so trust group=adm
>
> # Uncomment this if you want members of a specific group to not
> # be allowed to use su at all.
> auth   required   pam_wheel.so deny group=nosu
>
> # This allows root to su without passwords (normal operation)
> auth   sufficient pam_rootok.so
>
> # Uncomment and edit /etc/security/time.conf if you need to set
> # time restrainst on su usage.
> # (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
> # as well as /etc/porttime)
> # accountrequisite  pam_time.so
>
> # The standard Unix authentication modules, used with
> # NIS (man nsswitch) as well as normal /etc/passwd and
> # /etc/shadow entries.
> @include common-auth
> @include common-account
> @include common-session
>
> # Sets up user limits, please uncomment and read
> /etc/security/limits.conf # to enable this functionality.
> # (Replaces the use of /etc/limits in old login)
> # sessionrequired   pam_limits.so

Try upgrading the login package I think you may have run into bug 
#330291.

Stephen
-- 
Debian the choice of a GNU generation

GPG Public Key: http://users.eastlink.ca/~stephencormier/publickey.asc


pgpbVAFPCnh68.pgp
Description: PGP signature


keyboard problems with PowerBook 3400c

2005-09-29 Thread Paul Scott

Got no responses on Debian-PowerPC

Where can I learn how to deal with missing standard keys on PB 3400
keyboard?

How do I do Shift-PageUp, Home and End (in places where Ctrl-A and Ctrl-E
won't work)?

How do I middle-click to paste?

TIA for any help,

Paul Scott




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




just wanna switch the menu.lst for grub in the mbr to read

2005-09-29 Thread BUYO-BUYO-IGOR
have DeMuDi(Sarge) in one partition
had Slackware in another
installed plain Sarge to that another one
was happy with the grub in mbr
which searches for he menu.lst in the /boot/grub of that
plain Sarge  
but now am willing to bring back Slack again to where that
menu.lst is
so i want grub to look for the menu.lst which DeMuDi's
partition keeps
can i make it behave like that from a command from DeMuDi
?

tia 

--
Know more about Breast Cancer
http://pr.mail.yahoo.co.jp/pinkribbon/


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



root cannot su to normal user now

2005-09-29 Thread Wang Xu
Hi All,

I have 2 linux computer, one is running testing, and the other is running
unstable.

Now the sid one cannot use `su' to change from root to any user, including
itself.

cannot su - xx
cannot su xx
cannot su xx -c 'command'

but the 'su -c' is improtant for the acpid script for the button of laptop.

The libpam0g version in the sid machine is 0.79-1, and in the etch machine
is 0.76-23, and

I did enable the
  ``auth sufficient pam_rootok.so''
in ``/etc/pam.d/su''

and enable the wheel group in it.

Any advices? Many thanks.

The following is my /etc/pam.d/su, while other setting about pam and login
is shipped with the distribution.



#
# The PAM configuration file for the Shadow `su' service
#

# Uncomment this to force users to be a member of group root
# before they can use `su'. You can also add "group=foo" to
# to the end of this line if you want to use a group other
# than the default "root".
# (Replaces the `SU_WHEEL_ONLY' option from login.defs)
auth   required   pam_wheel.so group=adm

# Uncomment this if you want wheel members to be able to
# su without a password.
auth   sufficient pam_wheel.so trust group=adm

# Uncomment this if you want members of a specific group to not
# be allowed to use su at all.
auth   required   pam_wheel.so deny group=nosu

# This allows root to su without passwords (normal operation)
auth   sufficient pam_rootok.so

# Uncomment and edit /etc/security/time.conf if you need to set
# time restrainst on su usage.
# (Replaces the `PORTTIME_CHECKS_ENAB' option from login.defs
# as well as /etc/porttime)
# accountrequisite  pam_time.so

# The standard Unix authentication modules, used with
# NIS (man nsswitch) as well as normal /etc/passwd and
# /etc/shadow entries.
@include common-auth
@include common-account
@include common-session

# Sets up user limits, please uncomment and read /etc/security/limits.conf
# to enable this functionality.
# (Replaces the use of /etc/limits in old login)
# sessionrequired   pam_limits.so



Re: counting bandwidth usage

2005-09-29 Thread Almut Behrens
On Thu, Sep 29, 2005 at 06:14:41PM -0400, kamaraju kusumanchi wrote:
> Very trivial question. I have two machines workA, homeB. Let's say I am 
> sitting at workA and run an nxclient session to connect to homeB. Now in 
> this homeB session, I open a konsole and download 1GB file (using wget). 
> Will this be counted as network traffic of 1GB on homeB or network 
> traffic of 1GB on workA? I ask because, I pay for network usage at workA 
> but at homeB it is free.

Unless you've tunneled port 80 (or whichever port wget is using) from
home back to work, the file will be downloaded via your home network.
(I'm assuming there's a seperate internet connection at work and at
home.)  By default, NX will only forward your X display, so that's the
only traffic you'll have to pay for...  IOW, nothing to worry about.

> 
> Will there be any difference in the answer if I use ssh instead of nxclient?

Hardly any.  nxclient might cause somewhat less traffic than ssh with X
forwarding, because NX is highly optimized for just that...  If you can
live with just a remote terminal login (no X GUI), then ssh will cause
even less traffic, of course.

Cheers,
Almut


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




Re: Use Debian system as a RIP

2005-09-29 Thread Aaron Maxwell
Oops, in the second paragraph of my reply, "ps2pdf" should be "pdf2ps".
-Aaron

On Thursday 29 September 2005 12:46 pm, Aaron Maxwell wrote:
> If it really is that simple (I have no experience with RIPs), then a
> Debian system might work.  The conversion would be done with the
> pdf2ps tool (man pdf2ps), from the gs-common package, or possibly
> pdftops, from xpdf-utils.
>
> One thing to thoroughly check out is that ps2pdf, etc. would actually
"One thing to thoroughly check out is that pdf2ps, etc. would actually"

> convert the images your client works with.  That is, get a good
> cross-section of the PDF images they would work with, and verify that
> they are converted to correct, printable Post Script.  Having used
> them for several years, my experience with these conversion tools is
> that they almost always work, but I've had a few situations where
> they choke (mostly with what I'd consider quirky documents, which
> your client may have.)  I have also heard of some people having more
> trouble than I've had with those tools.
>
> Of course, another thing to consider is the the EX12 RIP's
> reputation. Have other users found it reliable, etc.?
>
> Good luck.

-- 
Peace,
Aaron Maxwell - http://redsymbol.net
Skills for higher math - http://InnerAlgebra.com
COMING SOON: Retail Worker's Survival Guide - http://rwsg.us


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



Re: sarge wireless config

2005-09-29 Thread Ganeshram Iyer
On 9/29/05, Thore Senneset <[EMAIL PROTECTED]> wrote:
> | iwconfig eth0 essid test mode managed key on enc 11
> | ifup eth0 (this sometimes says eth0 is already configured and quits)
> | ifconfig (did it work)
> Why not smack the whole thing in /etc/network/interfaces (assuming
> you're using DHCP):
>
> auto eth0
> iface eth0 inet dhcp
>   wireless-essidtest
>   wireless-key  11i am afraid, being a 
> newbie, i dont quite know what to do with the entries you have suggested. the 
> following is the information in my current /etc/network/interfaces.
>   wireless-mode Managed
>   wireless-rate auto
>   wireless-nick your-host-name

thanks for the reply,
a few more quick questions (i'm a bit of a newbie). do I just add the
info you gave at the end of the /etc/network/interfaces file? also i
roam with this laptop. would inputting all this info in prevent me
from using other wlans? i also use a lan card in the same socket as
the wireless pcmcia if there are no wlans available. how do i account
for this in the interfaces? any gui out there that would help me do
this on the fly without modifying the interfaces file for each essids
that i use?

my interfaces file
=
auto lo
iface lo inet loopback

# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0

# The primary network interface
iface eth0 inet dhcp



Re: annoying eog warnings

2005-09-29 Thread Almut Behrens
On Thu, Sep 29, 2005 at 11:26:32AM +0900, Miles Bader wrote:
> When I run "eog" to view an image, it always outputs some warnings:
> 
>$ LANG=C eog ../images/image73-s1280x1024-a3-Ftriang-g1.8.png
>** (eog:5433): WARNING **: Failed to lock:  No locks available
>** (eog:5433): WARNING **: Failed to lock:  No locks available
>** (eog:5433): WARNING **: Failed to lock:  No locks available
> 
> It's not just ugly either -- it seems to delay startup significantly (I
> gather it's timing out on something).
> 
> eog --version says:   Gnome eog 2.10.2
> 
> The above is from my work machine.  This _doesn't_ happen on my home
> system, and eog starts up much more quickly there despite my home
> machine being far slower.
> 
> I wonder if it has something to do with my homedir being in NFS (though
> the image file above is on the local disk)?
> 
> Anyone know what's going on and how I can fix it?

Your suspicion is probably correct.  It wouldn't be the first time that
file locking (i.e. fcntl(2)) and NFS don't play nice with each other...

Most likely, eog is trying to update Gnome's recently-used files stuff
(for which it needs to get a lock on the file before writing).
AFAIK, the file in question is ~/.recently-used -- not 100% sure though
(in case of doubt, use strace and grep for 'recent' in its output).

In such cases, it sometimes helps to move the file to some local file
system, and then create a symlink to it, i.e.

$ mkdir /tmp/yourusername
$ mv ~/.recently-used /tmp/yourusername/
$ ln -s /tmp/yourusername/.recently-used ~/.recently-used

(/tmp/ might not be the best choice, in case it gets purged on a
regular basis... but you get the idea :)

It's kinda ugly, but for me, this approach solved similar issues with
some Qt apps, so you might want to give it a try.  If it doesn't work,
you can always move the file back into your home.

Good luck,
Almut


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



Re: disable password authentication with openssh

2005-09-29 Thread Greg Norris
On Thu, Sep 29, 2005 at 03:42:28PM -0500, Matthew Lenz wrote:
> it looks like ChallengeResponseAuthentication no by itself works
> correctly.  you still think usePam no is needed?

I think it depends on the OpenSSH version.  IIRC, there are (were?) a 
number of entries in the BTS which indicate that both options are 
needed... at least in some cases.


signature.asc
Description: Digital signature


netkit-inetd vs. inetutils-inetd

2005-09-29 Thread Carlos Rodrigues

Hi!

I'm wondering what's the difference between the netkit-inetd and 
inetutil-inetd packages...


Debian (sarge) installs netkit-inetd by default, but if one does a 
"apt-get install inetd", inetutils-inetd is proposed for installation 
instead.


The descriptions for both packages are terse at best, and give no clues.

Carlos Rodrigues


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




Re: GRUB woes (install to hde)

2005-09-29 Thread Mike McCarty

Alvin Oga wrote:

hi ya mike

- how about you let the orginal poster ask questions
  and/or present real problems he's facing ??


Umm, you do have the horse before the cart. You were
the one who chose to respond to me rather than the OP.
You asked the questions of me, rather than the OP.
That is also the reason you don't have the context you
need properly to respond to the situation.

I suggest that next time you

(1) read the OP, so you actually know the context, and
(2) ask questions of the OP, rather than a third party.

That way you won't be frustrated by getting responses from a
third party you are quizzing rather than the OP.

[snip]

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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




Two upstream connections

2005-09-29 Thread Tim
Does anybody have a simple script for two upstream connections?
I have ADSL as primary and wireless as backup.  I don't need load
balance just an active/backup scenario (with automatic failover).
The DSL has dynamic IP via DHCP the wireless can use either static
IP or DHCP.

The intranet runs NAT.  I am running the 2.4.27-2-686 kernel.  I also
do some port forwarding.  I think iproute is what I need but all the
examples I've seen are overly complicated for what we need.

Thanks!

Tim


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



Re: GRUB woes (install to hde)

2005-09-29 Thread Alvin Oga

hi ya mike

- how about you let the orginal poster ask questions
  and/or present real problems he's facing ??

- sme of your comments are contradcitory to those
  your stated earlier or later in within the context
  of just this emails

- making clones of xxx into another disk is trivial
  or complicated ...

- making it bootable is equally trivial
or complicated

- i've already posted the booting portion
at least 3x - 5x to make /dev/hde bootable
as any other disk in any other system,
but you do need to read and understand 
what the answer was, otherwise i could have
also written the answer in chines characters
and the answer is still meaningless to some

- i've clone disks by the thousnds on the various
  you-name-it-i-bought-this-mb-system, but it doesn't
  work for me, can you come fix it ...

  i like getting paid (full rate) to fix things 
  that somebody else bought w/o knowing if it works
  or not with today's flavor of linux and kernel

am top posting as protest ... :-0 

c ya
alvin


On Thu, 29 Sep 2005, Mike McCarty wrote:

> Alvin Oga wrote:
> > 
> > On Thu, 29 Sep 2005, Mike McCarty wrote:
> > 
> > 
> >>>it'd be pointless to install the grub mbr on /dev/hde if it cannot boot 
> >>
> >>Umm, no, what he's doing is perfectly reasonable.
> > 
> > 
> > if doesn't work ... one should figure out technically why it will
> > not work
> > - some bios will NTO let you boot from /dev/hde is all
> > i'm saying and since it is a "grub woes" what does grub do
> > for you in this case, esp if as you say, he's not booting it ??
> > 
> > 
> >>He wants to
> >>duplicate boot discs for use on other machines.
> > 
> > 
> > ah... more grub problems ..
> 
> Yeah. Well, not problems. Just want to install using a technique
> GRUB isn't deliberately set up for.
> 
> > you cannot move a /dev/hde w/ grub info already on it from PC#1 
> > to boot it as /dev/hda on PC#2 and expect pc#2 to boot it
> > - explain why ... you can .. and under what circumstances
> > you can boot
> 
> Of course he can't just do that. Nobody has said he could.
> The trick is to figure out a way to accomplish the end goal,
> which is to be able to put a disc into a machine, type a command
> or three, and in several minutes have a disc which can be used
> that way. THAT is what I think is the goal, and I also think it is
> reasonable to want to do. And I'm sure there is a way to
> do it. Just haven't figured it out, yet :-)
> 
> > - same disk config or different disk config in terms of
> > the number and ordering of fd, cd, dvd, ide, scsi
> > and also referring to /boot/grub/device.map
> > 
> > - since you're moving from /dev/hde which presumably
> > implies you booted a different disk that you're trying to
> > clone... you will have problems as /dev/hde become /dev/hda
> > but is trivially fixed in 5 seconds if you know what to
> > change .. and with grub you do NOT need to edit files
> > and can change it dynamically to test it
> 
> Yep.
> 
> > 
> >>IIUI, he doesn't  want to boot from /dev/hde ever.
> > 
> > 
> > which gets back to the point .. why bother with grub in that case
> 
> He wants GRUB on the /dev/hda when he moves the disc to the
> new machine. He wants GRUB to manage the boot from the disc
> he's making. At some point, GRUB needs to be installed
> somewhere.
> 
> >>He wants to create a disc
> >>connected as /dev/hde which can become /dev/hda on another
> >>machine.
> > 
> > 
> > and again .. why ???
> 
> Because he has lots of machines to install on. I forget the
> number, if he even mentioned it exactly, but the impression I get
> is tens of machines with identical or nearly identical discs.
> 
> He wants a disc duplicator which will duplicate a bootable hard
> disc.
> 
> > 
> > - it's a lot of headache when there are trivially 100x simpler
> > ways of doing the same thing
> >  
> > 
> >>One way to do that would be to dd if=zero of=/dev/hda ...
> > 
> > 
> > that could be the equivalent of " rm -rf " if one were to use
> > that command without knowing what it might do
> 
> Umm, no. This was in context of copying the device. If the device is not
> filled with zeroes, then the compression doesn't work so well,
> and that would result in very large file.
> 
> >>and then make the thing a minimal bootable, then put it on
> >>as, say, /dev/hdf and then dd if=/dev/hdf | gzip image to create a
> >>(relatively) small image on /dev/hda.
> > 
> > 
> > now you have /dev/hdf  to create what would be /dev/hda on /dev/hde 
> > ( more complications )
> > 
> > 
> >>I've tried to figure out a way he can clone his boot for him without
> >>writing multi-megs of data. It should be easy, but isn't, quite.
> > 
> > 
> > to clone any boot info from any disk to another ..
> > 
> > dd if=/dev/hda of=/dev/hdc bs=446 count=1
> > 
> > where you want /dev/hda to be the way the clone will boot
> > when /dev/hdc w

Re: cpufreqd: ondemand

2005-09-29 Thread Florian Dorpmueller

> If you are able to understand german, I can recommend to have a look at
> http://www.debianforum.de/wiki/?page=P4DynamischTakten. Furthermore I
> propose to use the ondemand governor.

Yes, I understand German. Thank you for the link!

It seems that the `ondemand' governor is available only in 2.6.9 and
later kernels.


Right!


So far I have kept the 2.6.8 kernel.
I'm now experimenting with powernowd which requires the `userspace'
governor which is available with 2.6.8.



In my memory powernowd was better than cpufreqd. But now I use the ondemand 
governor with kernel 2.6.9 and 2.6.10.


Have fun,
Flori



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




counting bandwidth usage

2005-09-29 Thread kamaraju kusumanchi
Very trivial question. I have two machines workA, homeB. Let's say I am 
sitting at workA and run an nxclient session to connect to homeB. Now in 
this homeB session, I open a konsole and download 1GB file (using wget). 
Will this be counted as network traffic of 1GB on homeB or network 
traffic of 1GB on workA? I ask because, I pay for network usage at workA 
but at homeB it is free.


Will there be any difference in the answer if I use ssh instead of nxclient?

Thanks in advance.
raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: upgrading to etch after installing sarge

2005-09-29 Thread Andy Streich
On Thursday 29 September 2005 12:11, valdyn wrote:
> you could pin udev to whatever version you have from sarge or you could
> grab a 2.6.12 kernel image from sid and install that one. Example(s) for
> pinning to some version are in 'man apt_preferences'.

Thanks.  I've pinned udev.  Any hint on how to avoid this kind of thing in the 
future with some other package upgrade?  I was using synaptic, added testing 
to the repository after installing sarge, and then chose "Mark All Upgrades".  
I thought that part of "debian way" of package management was preventing a 
package being installed without its dependencies being present or at least 
installed at the same time.  Or is this something peculiar to a kernel 
dependency?  (Or do I just have the wrong conception of the whole scheme?)

Andy


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



can't install postgresql

2005-09-29 Thread Csanyi Pal
Hello!

Debian Sarge

Before two month I play with jackd and Rosegarden with no success.
Before that I have installed postgresql.
Then I remove postgresql for some reason.

Later I will to install again postgresql, but get the error message:
Preconfiguring packages ...
/tmp/postgresql.config.36411: line 9: JACK_START_SERVER: command not found
postgresql failed to preconfigure, with exit status 127

Now I remove the jackd and try to install postgresql but get the error 
message abowe.

How can I install now postgresql?

Thanks for any advices!

-- 
Regards,
Debian Junior Project, DebianEdu, Moodle ->  :-) :-) :-) :-) :-) :-) :-)
http://www.ektf.hu/~Csanyi.Pal (Up to now, it is in Hungarian only.)


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



Re: [OT] Drawing a rectangle with Gimp

2005-09-29 Thread kamaraju kusumanchi

g r wrote:


It's a pity people have to ask around before they can
draw a rectangle with a graphics program. I had the
same question. I haven't come across a less intuitive
windows program than GIMP. I know I am commenting
based on my quick first impression and criticizing a
free tool. But what good is "free" if it's not usable.
Why port such a tool to windows when there are $29
programs that are actually usable? Tool palettes hide
behind the main window!!? 


Grr

 


Gimp is probably the wrong tool for this purpose. Use xfig.

raju

--
Kamaraju S Kusumanchi
Graduate Student, MAE
Cornell University
http://www.people.cornell.edu/pages/kk288/


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




Re: GRUB woes (install to hde)

2005-09-29 Thread Mike McCarty

Alvin Oga wrote:


On Thu, 29 Sep 2005, Mike McCarty wrote:


it'd be pointless to install the grub mbr on /dev/hde if it cannot boot 


Umm, no, what he's doing is perfectly reasonable.



if doesn't work ... one should figure out technically why it will
not work
- some bios will NTO let you boot from /dev/hde is all
i'm saying and since it is a "grub woes" what does grub do
for you in this case, esp if as you say, he's not booting it ??



He wants to
duplicate boot discs for use on other machines.



ah... more grub problems ..


Yeah. Well, not problems. Just want to install using a technique
GRUB isn't deliberately set up for.

you cannot move a /dev/hde w/ grub info already on it from PC#1 
to boot it as /dev/hda on PC#2 and expect pc#2 to boot it

- explain why ... you can .. and under what circumstances
you can boot


Of course he can't just do that. Nobody has said he could.
The trick is to figure out a way to accomplish the end goal,
which is to be able to put a disc into a machine, type a command
or three, and in several minutes have a disc which can be used
that way. THAT is what I think is the goal, and I also think it is
reasonable to want to do. And I'm sure there is a way to
do it. Just haven't figured it out, yet :-)


- same disk config or different disk config in terms of
the number and ordering of fd, cd, dvd, ide, scsi
and also referring to /boot/grub/device.map

- since you're moving from /dev/hde which presumably
implies you booted a different disk that you're trying to
clone... you will have problems as /dev/hde become /dev/hda
but is trivially fixed in 5 seconds if you know what to
change .. and with grub you do NOT need to edit files
and can change it dynamically to test it


Yep.




IIUI, he doesn't  want to boot from /dev/hde ever.



which gets back to the point .. why bother with grub in that case


He wants GRUB on the /dev/hda when he moves the disc to the
new machine. He wants GRUB to manage the boot from the disc
he's making. At some point, GRUB needs to be installed
somewhere.


He wants to create a disc
connected as /dev/hde which can become /dev/hda on another
machine.



and again .. why ???


Because he has lots of machines to install on. I forget the
number, if he even mentioned it exactly, but the impression I get
is tens of machines with identical or nearly identical discs.

He wants a disc duplicator which will duplicate a bootable hard
disc.



- it's a lot of headache when there are trivially 100x simpler
ways of doing the same thing
 


One way to do that would be to dd if=zero of=/dev/hda ...



that could be the equivalent of " rm -rf " if one were to use
that command without knowing what it might do


Umm, no. This was in context of copying the device. If the device is not
filled with zeroes, then the compression doesn't work so well,
and that would result in very large file.


and then make the thing a minimal bootable, then put it on
as, say, /dev/hdf and then dd if=/dev/hdf | gzip image to create a
(relatively) small image on /dev/hda.



now you have /dev/hdf  to create what would be /dev/hda on /dev/hde 
	( more complications )




I've tried to figure out a way he can clone his boot for him without
writing multi-megs of data. It should be easy, but isn't, quite.



to clone any boot info from any disk to another ..

dd if=/dev/hda of=/dev/hdc bs=446 count=1

where you want /dev/hda to be the way the clone will boot
	when /dev/hdc will become /dev/hda later in a different 
	or same box


And that causes /dev/hdc to have Linux installed on it how?


converting hda to hdc is a imple matter of changing fstab


Well, this isn't what I think he wants to do.

He has, say, twenty virtually identical machines with Some Other
OS installed on them. Call these machines B-U.

He wants to take the hard drive out of each, say one or two at
a time, and put them into a machine which already runs Our Favorite OS.
Call this machine A. So he takes the disc out of machine B, and puts
it into machine A, and boots.

He then would like to issue a few commands, which hopefully run in a
reasonable amount of time, after which he can take the disc originally
from disc B back out of machine A, and put it into machine B, which
then automagically is a Linux booting machine. Then he'd like to repeat
this with the disc currently in machine C, making machine C a Linux
machine. And so on.

This is what I understand to be the goal. It's a reasonable one.
And I'm pretty sure it's achievable. One just has to hold his
tongue right.

There may be a better way to clone off machines. Maybe you even
know one.


- there are say hundred ways to make a bootable disk
  and NOT all will work in all situations



Well, that's pretty much evident.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% 

RE: proftpd using nobody user with /bin/sh ?

2005-09-29 Thread micobros
Paolo sayed : "The daemon do not start a shell (that is started
when the user login)."

Ok, but i don't want ftp users to have any kind of access to shells, just
pure ftp connexions, that's all. 
Should I remove in /bin/sh for user nobody in /etc/password?

Mico.

-Original Message-
From: Paolo Pantaleo [mailto:[EMAIL PROTECTED] 
Sent: jeudi 29 septembre 2005 17:45
To: [EMAIL PROTECTED]
Cc: debian-user@lists.debian.org
Subject: Re: proftpd using nobody user with /bin/sh ?

2005/9/29, micobros <[EMAIL PROTECTED]>:
>
>
>
> Hello,
>
>
>
> Proftpd is launched with user nobody. I was wondering why this user had to
> have a default shell set to /bin/sh. Is there any reason for that? Can I
> modify it to /bin/false? Is it a security problem to have a service like
> Proftpd (running standalone) running with the default shell to /bin/sh?
>
>
>
>
>
> Chears,
>
>
>
>
>
> Mico.

When you run a daemon it changes his user id to something (in this
case it is nobody) so it can get the privileges of that user. The user
id change is done in the same process(that will eventually fork, but
this doesn't matter). The daemon do not start a shell (that is started
when the user login).

PAolo


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



simplified -- Re: GRUB woes (install to hde)

2005-09-29 Thread Alvin Oga


hi ya OP

if you are doing your magic on /dev/hde and want to make it
a bootable device as /dev/hda on another PC

- let's assume you have /dev/hda ( hd0 ) and your clone /dev/hde ( hd1 )
- note and understand the grub terminology

- also "cat /boot/grub/device.map"
- what are your two disks called /dev/hdxx vs hd#

- if you booted off /dev/hda on your current pc and your other pc will
  be booting of the new  /dev/hda ( currently called /dev/hde ), all you
  need to do ... after you do all your magic about "cloning"

dd if=/dev/hda of=/dev/hde bs=446 count=1
sync

power off - move the disk -- power on -- cross your fingers

- ie.. don't bother with grub-install and all that ..
- you already have a good MBR and a good /boot/grub/device.map

-- you will have to edit /boot/grub/device.map if the number of
  disks is different on both PCs
- different numbers of fd, cd, dvd, disks, scsi, usb-stick ..

- you will need to figure out what your original /dev/hde
is called on your new pc ( hd0, or hd1, or hd2, .. )

- if you like to do thigns the hard way

grub> root (hd0,0)
grub> kernel vmlinuz... ( whatever your kernel is called )
grub> setup (hd0)
grub> boot

add initrd=initrd.gz before setup if your (broken)kernel needs some help

-- see the various gazillion grub-howto's

c ya
alvin


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



Re: testing & stable: vanished packages?

2005-09-29 Thread furufuru
Antony Gelberg wrote:
[...]
> apcalc isn't in testing as it has an RC bug (read: serious problem).
>
> http://bjorn.haxx.se/debian/testing.pl?package=apcalc

Thanks for the info!  This webpage
(entitled "Why is package X not in testing yet?")
seems very useful.

But, why then isn't the older package (which is part of the stable
distribution) kept for the testing distribution?  As I said,
it _appears_ to be working on my etch box.  Is it known to be seriously
broken on the etch platform?  Or, does this phrase in the webpage above

apcalc has no old version in testing (trying to add, not update)

mean that the package maintainer intends to re-introduce the older
package while the bug in the newer is being fixed?

It seems that I don't quite understand the process in which packages
are updated.

Regards,
Ryo


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



Re: GRUB woes (install to hde)

2005-09-29 Thread Alvin Oga


On Thu, 29 Sep 2005, Mike McCarty wrote:

> > it'd be pointless to install the grub mbr on /dev/hde if it cannot boot 
> 
> Umm, no, what he's doing is perfectly reasonable.

if doesn't work ... one should figure out technically why it will
not work
- some bios will NTO let you boot from /dev/hde is all
i'm saying and since it is a "grub woes" what does grub do
for you in this case, esp if as you say, he's not booting it ??

> He wants to
> duplicate boot discs for use on other machines.

ah... more grub problems ..

you cannot move a /dev/hde w/ grub info already on it from PC#1 
to boot it as /dev/hda on PC#2 and expect pc#2 to boot it
- explain why ... you can .. and under what circumstances
you can boot

- same disk config or different disk config in terms of
the number and ordering of fd, cd, dvd, ide, scsi
and also referring to /boot/grub/device.map

- since you're moving from /dev/hde which presumably
implies you booted a different disk that you're trying to
clone... you will have problems as /dev/hde become /dev/hda
but is trivially fixed in 5 seconds if you know what to
change .. and with grub you do NOT need to edit files
and can change it dynamically to test it

> IIUI, he doesn't  want to boot from /dev/hde ever.

which gets back to the point .. why bother with grub in that case

> He wants to create a disc
> connected as /dev/hde which can become /dev/hda on another
> machine.

and again .. why ???

- it's a lot of headache when there are trivially 100x simpler
ways of doing the same thing
 
> One way to do that would be to dd if=zero of=/dev/hda ...

that could be the equivalent of " rm -rf " if one were to use
that command without knowing what it might do

> and then make the thing a minimal bootable, then put it on
> as, say, /dev/hdf and then dd if=/dev/hdf | gzip image to create a
> (relatively) small image on /dev/hda.

now you have /dev/hdf  to create what would be /dev/hda on /dev/hde 
( more complications )

> I've tried to figure out a way he can clone his boot for him without
> writing multi-megs of data. It should be easy, but isn't, quite.

to clone any boot info from any disk to another ..

dd if=/dev/hda of=/dev/hdc bs=446 count=1

where you want /dev/hda to be the way the clone will boot
when /dev/hdc will become /dev/hda later in a different 
or same box

converting hda to hdc is a imple matter of changing fstab

- there are say hundred ways to make a bootable disk
  and NOT all will work in all situations

c ya
alvin


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



Re: Question about samba setup in Sarge

2005-09-29 Thread Aaron Maxwell
On Monday 26 September 2005 03:10 pm, Paul E Condon wrote:
> I am attempting to create a samba server on a Sarge box
> using pure Debian. I am looking at the /etc/samba/smb.conf
>
> I cannot find a file, ENCRYPTION.txt, on my computer or as part of
> any of the packages that I installed. Where can I obtain a copy of
> this file?

Hi,

I found this:
http://www.samba-tng.org/docs/tng/textdocs/ENCRYPTION.txt
It's dated August 2000.  I found some older versions, but nothing newer.  
This may be the most recent revision.

BTW, I found this through Google's advanced search, looking for URLs 
that contained "samba" and "ENCRYPTION.txt".  

Also, if you speak Japanese, 'samba-doc-ja' contains a Japanese 
translation :)

-- 
Peace,
Aaron Maxwell - http://redsymbol.net
Skills for higher math - http://InnerAlgebra.com
COMING SOON: Retail Worker's Survival Guide - http://rwsg.us


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



Re: disable password authentication with openssh

2005-09-29 Thread Matthew Lenz
it looks like ChallengeResponseAuthentication no by itself works
correctly.  you still think usePam no is needed?

On Thu, 2005-09-29 at 15:34 -0500, Greg Norris wrote:
> On Thu, Sep 29, 2005 at 03:46:42PM -0400, Roberto C. Sanchez wrote:
> > RSAAuthentication yes
> > PubkeyAuthentication yes
> > PasswordAuthentication no
> 
> Don't forget "UsePAM no" and "ChallengeResponseAuthentication no".


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



Re: disable password authentication with openssh

2005-09-29 Thread Greg Norris
On Thu, Sep 29, 2005 at 03:46:42PM -0400, Roberto C. Sanchez wrote:
> RSAAuthentication yes
> PubkeyAuthentication yes
> PasswordAuthentication no

Don't forget "UsePAM no" and "ChallengeResponseAuthentication no".


signature.asc
Description: Digital signature


Re: disable password authentication with openssh

2005-09-29 Thread Matt Zagrabelny
On Thu, 2005-09-29 at 14:44 -0500, Matthew Lenz wrote:
> I want my users to only be able to ssh into the system using public key
> authentication.  I can't seem to locate which option i need to toggle to
> only allow pubkey auth.

hmmm. perhaps commenting some lines out in /etc/pam.d/ssh

-matt zagrabelny


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



Virüs Uyarisi! (Virus Notification!)

2005-09-29 Thread ANTIGEN_TJKEXCH
TJKEXCH e-posta sunucumuz gönderdiginiz e-postada "VIRUS=
Win32/MyDoom.BI!Worm (CA(InoculateIT),VBuster,Sophos)" virüsü buldu!

E-posta sunucumuz "Error" konulu iletinizde "VIRUS= Win32/MyDoom.BI!Worm
(CA(InoculateIT),VBuster,Sophos)" virüsü buldugu için e-postaniz  alici(lar)
"[EMAIL PROTECTED] ([EMAIL PROTECTED])" a iletilemedi!

Türkiye Jokey Kulübü
Kompüterize Sistem Müdürlügü
www.tjk.org

NOT: Asagidaki metin yukaridaki uyari metninin Ingilizce benzeridir.

---

Our e-mail server TJKEXCH found "VIRUS= Win32/MyDoom.BI!Worm
(CA(InoculateIT),VBuster,Sophos)" virus in the message you sent!

Your message with the subject "Error" was infected with "VIRUS=
Win32/MyDoom.BI!Worm (CA(InoculateIT),VBuster,Sophos)" virus and was not
delivered to the recepient(s) "[EMAIL PROTECTED] ([EMAIL PROTECTED])"!

Jockey Club of Turkey
Computer Center
www.tjk.org

NOTE: The message at the top is Turkish translation of above message.



Re: disable password authentication with openssh

2005-09-29 Thread Matthew Lenz



On Thu, 2005-09-29 at 15:46 -0400, Roberto C. Sanchez wrote:
> On Thu, Sep 29, 2005 at 02:44:58PM -0500, Matthew Lenz wrote:
> > I want my users to only be able to ssh into the system using public key
> > authentication.  I can't seem to locate which option i need to toggle to
> > only allow pubkey auth.
> > 
> In /etc/ssh/sshd_config:
> 
> RSAAuthentication yes
> PubkeyAuthentication yes
> PasswordAuthentication no
> 
> Of course, remember to restart ssh.
> 
> -Roberto

those are the debian sarge openssh defaults you posted and do not
disable logging in using the system password.

here are the debian defaults.  exception is the change I made to the
PermitRootLogin param .. can't remember its default.

IgnoreRhosts yes
KeepAlive yes
KeyRegenerationInterval 3600
LoginGraceTime 600
LogLevel INFO
PasswordAuthentication no
PermitEmptyPasswords no
PermitRootLogin without-password
Port 22
PrintLastLog yes
PrintMotd no
Protocol 2
PubkeyAuthentication yes
RhostsRSAAuthentication no
RSAAuthentication yes
ServerKeyBits 768
StrictModes yes
Subsystem   sftp/usr/lib/sftp-server
SyslogFacility AUTH
UsePAM yes
UsePrivilegeSeparation yes
X11DisplayOffset 10
X11Forwarding no


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



bayesian filter training question

2005-09-29 Thread Roberto C. Sanchez
So, I finally decided to get with the 20th century and install
spamassassin (acutally spampd hooked through postfix) to do site-wide
spam filtering for my server.  My question is this.  As I am training it
with sa-learn, is it (good|bad|indifferent) to train it on spam that has
already been flagged as spam.  That is, will this reinforce
spamassassin's notion of spam or ruin it?

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


pgpafbouNA0h3.pgp
Description: PGP signature


Re: Use Debian system as a RIP

2005-09-29 Thread Aaron Maxwell
Hi Peter,

On Thursday 29 September 2005 07:34 am, Peter King wrote:
> Is there a way of using a Debian system as a RIP.
> I have a client that has just been quoted by Xerox £11500 for a Fiery
> EX12 Raster Image Processor
> the system is only a PIII-500 with 256MB RAM and a 9GB HDD so I am
> thinking of putting together a nice hefty system and use Debian
> instead.
> Apparently the rip just takes a PDF file then converts it to a Post
> Script file and sends it to the printer. Surely there is something on
> Linux to do this.

If it really is that simple (I have no experience with RIPs), then a 
Debian system might work.  The conversion would be done with the pdf2ps 
tool (man pdf2ps), from the gs-common package, or possibly pdftops, 
from xpdf-utils.  

One thing to thoroughly check out is that ps2pdf, etc. would actually 
convert the images your client works with.  That is, get a good 
cross-section of the PDF images they would work with, and verify that 
they are converted to correct, printable Post Script.  Having used them 
for several years, my experience with these conversion tools is that 
they almost always work, but I've had a few situations where they choke 
(mostly with what I'd consider quirky documents, which your client may 
have.)  I have also heard of some people having more trouble than I've 
had with those tools.

Of course, another thing to consider is the the EX12 RIP's reputation.  
Have other users found it reliable, etc.?

Good luck.

-- 
Peace,
Aaron Maxwell - http://redsymbol.net
Skills for higher math - http://InnerAlgebra.com
COMING SOON: Retail Worker's Survival Guide - http://rwsg.us



Re: disable password authentication with openssh

2005-09-29 Thread Roberto C. Sanchez
On Thu, Sep 29, 2005 at 02:44:58PM -0500, Matthew Lenz wrote:
> I want my users to only be able to ssh into the system using public key
> authentication.  I can't seem to locate which option i need to toggle to
> only allow pubkey auth.
> 
In /etc/ssh/sshd_config:

RSAAuthentication yes
PubkeyAuthentication yes
PasswordAuthentication no

Of course, remember to restart ssh.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


pgpXEjzP6QtFi.pgp
Description: PGP signature


disable password authentication with openssh

2005-09-29 Thread Matthew Lenz
I want my users to only be able to ssh into the system using public key
authentication.  I can't seem to locate which option i need to toggle to
only allow pubkey auth.

-Matt


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



Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Bruno Buys

Hi again Jan and all,
Very thanks, my custom 2.6.12-5 won't panic now! I'm happy :)
The only issue left is usb transfer: I can't compile a kernel that will 
upload files to my mp3 usb player as fast as the 2.6.8 k7 debian stock. 
Using the k7 I get ~800kbps, but my customs only do ~90kbps.

Anyway, that's another story...
thanks again!


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




Re: upgrading to etch after installing sarge

2005-09-29 Thread valdyn
you could pin udev to whatever version you have from sarge or you could grab a 
2.6.12 kernel image from sid and install that one.
Example(s) for pinning to some version are in 'man apt_preferences'.

cheers,

flo


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



Re: GRUB woes (install to hde)

2005-09-29 Thread Mike McCarty

Alvin Oga wrote:

hiya matt

On Wed, 28 Sep 2005, Matt Price wrote:



I'm trying desperately to install grub on an auxiliary hard drive
currently living on the 3rd IDE bus (/dev/hde).



do you know if your motherboard can boot from /dev/hde ??
- not all bios/mb supports booting from off-board controllersPower down 
(no shutdown).
- stick a working disk/cd-drive in /dev/hde and see if you can
boot it

it'd be pointless to install the grub mbr on /dev/hde if it cannot boot 


[snip]

Umm, no, what he's doing is perfectly reasonable. He wants to
duplicate boot discs for use on other machines. IIUI, he doesn't
want to boot from /dev/hde ever. He wants to create a disc
connected as /dev/hde which can become /dev/hda on another
machine.

One way to do that would be to dd if=zero of=/dev/hda ...
and then make the thing a minimal bootable, then put it on
as, say, /dev/hdf and then dd if=/dev/hdf | gzip image to create a
(relatively) small image on /dev/hda. Then put on /dev/hde
and gunzip image | dd of=/dev/hde and re-create the whole thing,
but it would wind up writing the entire disc, which would be slow.
That's why I haven't mentioned it.

I've tried to figure out a way he can clone his boot for him without
writing multi-megs of data. It should be easy, but isn't, quite.

Maybe you know a way.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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




500 million Linux laptops in next year

2005-09-29 Thread Don Jackson
Interesting article on BBC news:


** Sub-$100 laptop design unveiled **
Nicholas Negroponte of the Massachusetts Institute of Technology (MIT),
outlines blueprints for a sub-$100 PC.
< http://news.bbc.co.uk/go/em/fr/-/2/hi/technology/4292854.stm >



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



Re: cpufreqd: ondemand

2005-09-29 Thread Hanspeter Roth
  On Sep 29 at 14:20, Florian Dorpmueller spoke:

> If you are able to understand german, I can recommend to have a look at 
> http://www.debianforum.de/wiki/?page=P4DynamischTakten. Furthermore I 
> propose to use the ondemand governor.

Yes, I understand German. Thank you for the link!

It seems that the `ondemand' governor is available only in 2.6.9 and
later kernels. 
So far I have kept the 2.6.8 kernel. 
I'm now experimenting with powernowd which requires the `userspace'
governor which is available with 2.6.8.

-Hanspeter


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



Re: sarge wireless config

2005-09-29 Thread Thore Senneset
[Ganeshram Iyer <[EMAIL PROTECTED]>]

| Hello Debian experts,
| I have sarge installed on a dell inspiron 5000 and everything works (I
| think), but i have one problem trying to get the pcmcia netgear
| wireless card to work on the first attempt. it works and works fine
| just not on the first/second/third attempt. i have to go through the
| following commands a number of times before i get a valid IP
| (192.168.2.6 in all successful cases). if the process fails then i get
| even 192.168.1.102 (i dont know where this is coming from - maybe
| neighbor?) and 127.0.0.1 (does nothing i guess). the commands i cycle
| thru
>
| iwconfig eth0 essid test mode managed key on enc 11
| ifup eth0 (this sometimes says eth0 is already configured and quits)
| ifconfig (did it work)
| if no:
| ifconfig eth0 del 192.168.1.102
| rinse and repeat.
>

Why not smack the whole thing in /etc/network/interfaces (assuming
you're using DHCP):

auto eth0
iface eth0 inet dhcp
  wireless-essidtest
  wireless-key  11
  wireless-mode Managed
  wireless-rate auto
  wireless-nick your-host-name


-- 
Thore



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



Re: Use Debian system as a RIP

2005-09-29 Thread Joerg Rossdeutscher
Hi,

Am Donnerstag, den 29.09.2005, 16:29 +0100 schrieb David Goodenough:
> No, a RIP takes Postscript and turns it into a Raster image.  It does much
> what GhostScript does, but directly to a bitmap which gets fed to the
> laser on the printer.  It is also highly unlikely that you have the necessary
> interface on the PC to drive that interface which is more like a Video driver
> than anything you would think of as a printer interface.

That is not true anymore nowadays. Even the names says so
("RasterImageProcessor"), there exist some solution that "render" ps
level 3 code to some easier stuff the printer understands, possibly even
lower level postscript. Mainly to implement complex features like
transparency, colormanagement or compression. Or even some
postprocessing like putting small pages on bigger sheets. Sorry, don't
know the english word, "Bogenmontage" in german.


However - I would not suggest to build an own RIP. I tried it in a
professional enviroment, and ghostscript ist a lot more sensible to the
crazy code that dtp software generates nowadays. Trouble an pain.

Bye,
Ratti

-- 
 -o) fontlinge | Fontmanagement for Linux | Schriftenverwaltung in Linux
 /\\ http://freshmeat.net/projects/fontlinge/
_\_V http://www.gesindel.de https://sourceforge.net/projects/fontlinge/


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


Re: sarge wireless config

2005-09-29 Thread Adam Garside
On Thu, Sep 29, 2005 at 12:23:23PM -0500, Ganeshram Iyer wrote:
> I was wondering what i am missing to get this to work in the first
> attempt? it does eventually works after mostly the third attempt but
> never the 1st. any help that you can provide would be most helpful.

Instead of manually using iwconfig and then ifup, put your configuration
in /etc/network/interfaces (see wireless(7) and interfaces(5) for more
info.)

Might not solve your problem but it will, at least, save you some
keystrokes.

-- asg


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



sarge wireless config

2005-09-29 Thread Ganeshram Iyer
Hello Debian experts,
I have sarge installed on a dell inspiron 5000 and everything works (I
think), but i have one problem trying to get the pcmcia netgear
wireless card to work on the first attempt. it works and works fine
just not on the first/second/third attempt. i have to go through the
following commands a number of times before i get a valid IP
(192.168.2.6 in all successful cases). if the process fails then i get
even 192.168.1.102 (i dont know where this is coming from - maybe
neighbor?) and 127.0.0.1 (does nothing i guess). the commands i cycle
thru

iwconfig eth0 essid test mode managed key on enc 11
ifup eth0 (this sometimes says eth0 is already configured and quits)
ifconfig (did it work)
if no:
ifconfig eth0 del 192.168.1.102
rinse and repeat.

I was wondering what i am missing to get this to work in the first
attempt? it does eventually works after mostly the third attempt but
never the 1st. any help that you can provide would be most helpful.

i guess the 2nd part of my question is if I could automate this
anyway. i use icewm and fspanel so dont use kwifimanager or something
similar. any other tool i can use without compiling it?
thanks
Ganeshram Iyer
2703 West Royal Ln Apt 906
Irving, TX, 75063



Re: Re: Debian Installation with a Redhat kernel/drivers

2005-09-29 Thread Adam Garside
On Thu, Sep 29, 2005 at 05:21:07PM +0200, Madl Alfred - Together AT wrote:
> Alfred
I replied off-list before I saw this. If you want to post my off-list
reply back, please do.

-- asg


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



Missing Printer Drivers, can't connect to print server

2005-09-29 Thread Smugzilla
I'm trying to set up a shared printer connected to my server's parallel 
port. So far I can get the WinXP box in my network to print using samba, 
but I also have a client running debian AMD64 2.6.12 and that one has 
turned into a huge hassle. Right now I'd like to connect to the server 
(also running debian) via samba. From the client, I can open the 
"Printing" admin tool and click the "Add New Printers" icon and get 
through the first half of the connection process, i.e. the client sees 
the server and the attached server fine. However, when I get to the step 
to add the printer driver there are no drivers in the database. I also 
get an error when I try to select the PPD manually using the "Install 
Driver..." button:


Missing asterisk in column 1 at 
1:'/home/pete/Downloads/Brother-HL-1440-hl1250.ppd'


Which package do I need to install to populate the drivers db? If it's 
cupsys-driver-gimpprint then I'm in trouble, because that one is giving 
me a dependency error.


Failing that, how can I get my PPD to load?

Thanks


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




Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Jan Schledermann
Bruno Buys wrote:



> I did remove the initrd mention in lilo.conf, and rerun it. About these
> other block devices and msdos partition, I can´t tell right now, but as
> soon as I get back home, I´ll check it (i´m eager to, actually).
> Do you run a non-initrd kernel yourself?
> 
> 
> bruno
> 
> 
Yes on 2 servers and my Dell inspiron 510m. Currently on 2.6.12 kernels.
-- 
** Do not use the reply-to address. It'll end up in the trash can
** Mail me at: janATschledermann.or"REMOVE_THIS"g 


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



upgrading to etch after installing sarge

2005-09-29 Thread Andy Streich
Hi,

Just installed sarge on a P4 box, then ran synaptic and upgraded to etch 
during which I got this:

* Configuring debconf
* unpacking replacement locales
* preparing to replace 2.3.2.dsl-22 (using libc6_2.3.5-i386.deb)
* [snip]
* Name Service Switch update in C Library...
* [snip]
*   gdm must be stopped before glibc upgrade
* [snip]
* Continue Y/n:

So at that point I quit the process. This was my second pass at doing an 
install on this machine.  

The first time when I got to this point, I continued with the process and 
wound up with a "locale" problem and a warning that "udev requires kernel >= 
2.6.12 upgrade aborted."  Gnome was hosed while KDE continued to work.  But, 
after this second install now I have a working desktop system with both Gnome 
and KDE.

I'm a relative noob.  Had etch with the 2.4 kernel working on a P2 machine 
which literally caught on fire (black, smelly smoke kind of fire).  On the 
new one I installed the 2.6.8 kernel.

I'd like to move to etch (testing) and am wondering what to do after running 
into the above problem.  Do I boot to a command prompt and run aptitude as a 
work around?  Or ...?

Andy


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



Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Nelson Castillo
> Do you run a non-initrd kernel yourself?

Yup.
Don't forget to add support for your chipset
(VIA, SiS, etc).

Regards.

--
Homepage : http://geocities.com/arhuaco

The first principle is that you must not fool yourself
and you are the easiest person to fool.
 -- Richard Feynman.



Re: Howto start X in a default resolution?

2005-09-29 Thread Ralph Katz
On 09/28/2005 10:31 AM, Pep Serrano wrote:
> Hi lists.  I am trying to setup an X server with KDM on a laptop which has
> wide screen format (1280x768) and normal screen (1280x1024) when connected
> to an external monitor.
> But I don't get to configure the wide screen format as the default one.
> Actually it is running inside a vmware, but don't get distracted by
> that...
> 
> I want to start X on the wide resolution but I can't. The DOC says the
> first resolution found in your config is taken by default.
> My X server always starts in 1280x1024 and I can later switch to 1280x768.
> But I want it the other way around.
> If I remove all references to 1280x1024 in the config, then my X starts in
> 1280x768 but I can't switch to 1280x1024 anymore.
> Why doesn't X get the first resolution found in the config? How can I
> force it to start in a particular resolution?
> 
> Here are the relevant lines of my XF86config:
> 
> Section "Monitor"
> Identifier  "vmware"
> VendorName "VMware, Inc"
> HorizSync 1-1
> VertRefresh 1-1
> Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
> ModeLine "1280x1024" 100 1280 1300 1400 1500 1024 1100 1200 1300
> EndSection
> Section "Screen"
> Identifier  "Screen 1"
> Device  "VMware SVGA"
> Monitor "vmware"
> Subsection "Display"
> # VGA mode: better left untouched
> Depth   4
> Modes "1280x768" "1280x1024"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   8
> Modes "1280x768" "1280x1024"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   15
> Modes "1280x768" "1280x1024"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   16
> Modes "1280x768" "1280x1024"
> ViewPort0 0
> EndSubsection
> Subsection "Display"
> Depth   24
> Modes "1280x768" "1280x1024"
> ViewPort0 0
> EndSubsection
> EndSection
> 
> 
> Thanks,
> Pep Serrano
> 
> 

I'm pretty sure this has been discussed here before. :)  So searching
the archives may be useful.

While I don't use kde (what, no settings manager?), I have a single
xrandr command in my .xsession file to set the desired resolution.  You
could  do something similar in launching your kde.

$ man xrandr

Regards.


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



Re: newbie boot question

2005-09-29 Thread michael
On Thu, 2005-09-29 at 11:15 -0400, Jim Woodward wrote:
> Mike McCarty wrote:
> > Jim Woodward wrote:
> > 
> >> michael wrote:
> >>
>  michael wrote:
> 
> > On Mon, 2005-09-26 at 12:20 -0400, Jim Woodward wrote:
> >
> >
> >> How do I retrieve the messages that I see when booting?
> >> dmesg does not have all the information.
> >> I'm using kernel 2.6.13.2
> >> Thanks
> > 
> > 
> > Obviously, there are some messages which may be unretrieveable
> > even in principle. Until some persistent file system gets mounted,
> > nothing is stored. So, if the machine fails to come up to the
> > point where it has mounted a persistent file system, nothing
> > can be saved. If messages are stored in a non-persistent
> > area (which I doubt) before that point, then after then they
> > could be copied to a persistent file system, like /etc/something.
> > 
> > What exactly is your ultimate goal?
> > 
> > Mike
> I want to correct some mistakes I must have made when running xconfig.
> 

Shouldn't you be looking at /var/log/XFree86.0.log (or sim) then (and
not worrying about bootlog)?

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


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



Re: what the least installation of Debian

2005-09-29 Thread michael
On Thu, 2005-09-29 at 08:21 -0700, hamidreza alipour wrote:
> I want to install Debian linux but my bandwidth is not
> enough.
> I want to know what the least installation of debian
> is and where i can find it?
> thanks friends

to get started, download the netinst ISO image
http://www.debian.org/distrib/netinst

 and boot from that. then just only load the stuff you need as & when

-- 
Michael Bane
Atmospheric Physics Group
University of Manchester


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



Re: proftpd using nobody user with /bin/sh ?

2005-09-29 Thread Paolo Pantaleo
2005/9/29, micobros <[EMAIL PROTECTED]>:
>
>
>
> Hello,
>
>
>
> Proftpd is launched with user nobody. I was wondering why this user had to
> have a default shell set to /bin/sh. Is there any reason for that? Can I
> modify it to /bin/false? Is it a security problem to have a service like
> Proftpd (running standalone) running with the default shell to /bin/sh?
>
>
>
>
>
> Chears,
>
>
>
>
>
> Mico.

When you run a daemon it changes his user id to something (in this
case it is nobody) so it can get the privileges of that user. The user
id change is done in the same process(that will eventually fork, but
this doesn't matter). The daemon do not start a shell (that is started
when the user login).

PAolo



Re: Re: Debian Installation with a Redhat kernel/drivers

2005-09-29 Thread Madl Alfred - Together AT
Hi !

Did you really succeed with "bootcd" ? We never managed to be able to
boot from the created CD successfully..."missing /dev/console"...kernel
panic...

How did you start a standard Debian installer from a CD created with
"bootcd" ? Or do you also have local disks in your blades ?

Does IBM support your "vanilly 2.4.31 kernel + patches" in the case of
HW/SW problems ? 

Did you use the downloadable (IBM certified) driver sources from qlogic
website (intended for Redhat/SuSe) for building your kernel ?

Did you ever try to use a standard Debian 2.6.8-2 kernel with your
Broadcom Ethernet adapters in the blade center ? Whenever we tried that
we had to reset the ethernet adapter of the blade center afterwards...

Thanks a lot.

Alfred



what the least installation of Debian

2005-09-29 Thread hamidreza alipour
I want to install Debian linux but my bandwidth is not
enough.
I want to know what the least installation of debian
is and where i can find it?
thanks friends



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


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



Re: newbie boot question

2005-09-29 Thread Jim Woodward

Mike McCarty wrote:

Jim Woodward wrote:


michael wrote:


michael wrote:


On Mon, 2005-09-26 at 12:20 -0400, Jim Woodward wrote:



How do I retrieve the messages that I see when booting?
dmesg does not have all the information.
I'm using kernel 2.6.13.2
Thanks



Obviously, there are some messages which may be unretrieveable
even in principle. Until some persistent file system gets mounted,
nothing is stored. So, if the machine fails to come up to the
point where it has mounted a persistent file system, nothing
can be saved. If messages are stored in a non-persistent
area (which I doubt) before that point, then after then they
could be copied to a persistent file system, like /etc/something.

What exactly is your ultimate goal?

Mike

I want to correct some mistakes I must have made when running xconfig.


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




Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Bruno Buys

Hi Jan,


So here is some more to look for:

Are the following block devices compiled into your kernel:

   IDE, BLK_IDE, BLK_DEVB_IDEDISK, IDE_GENERIC, BLK_DEV_IDEPCI,
   BLK_DEV_GENERIC, BLK_DEV_IDEDMA_PCI, IDEDMA_PCI_AUTO
   + the driver for the chipset used in your pc?

You mentioned that Reiser is already compiled in but what about:
MSDOS_PARTITION ?

And then the almost borderline insulting one: did you remove/ommit the
initrd specification from your /boot/grub/menu.lst in the entry that you
boot from?

Jan
 

I did remove the initrd mention in lilo.conf, and rerun it. About these 
other block devices and msdos partition, I can´t tell right now, but as 
soon as I get back home, I´ll check it (i´m eager to, actually).

Do you run a non-initrd kernel yourself?


bruno


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




Re: Use Debian system as a RIP

2005-09-29 Thread David Goodenough
On Thursday 29 September 2005 15:34, Peter King wrote:
> Is there a way of using a Debian system as a RIP.
>
> I have a client that has just been quoted by Xerox £11500 for a Fiery EX12
> Raster Image Processor
>
> the system is only a PIII-500 with 256MB RAM and a 9GB HDD so I am thinking
> of putting together a nice hefty system and use Debian instead.
>
> Apparently the rip just takes a PDF file then converts it to a Post Script
> file and sends it to the printer. Surely there is something on Linux to do
> this.
No, a RIP takes Postscript and turns it into a Raster image.  It does much
what GhostScript does, but directly to a bitmap which gets fed to the
laser on the printer.  It is also highly unlikely that you have the necessary
interface on the PC to drive that interface which is more like a Video driver
than anything you would think of as a printer interface.

David
>
>
> Any help or advice/experiences appreciated.
>
> --
>
>
> Regards
> Peter King
>
> www.sitedesign.net


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



Debian GNU/Darwin

2005-09-29 Thread Ritesh Raj Sarraf
Hello All,

I read sometime back about Debian GNU/OpenSolaris idea.
Looked great.

Mac OSX's open source version, Darwin, Does it qualify under DFSG ?
If yes, could we have a Debian GNU/Darwin port ?

And even if Apple's Darwin doesn't qualify, GNU-Darwin would definitely
will. Why don't we try to port them ?
I don't have the fully required expertise but given the help and guidence
I can contribute to it.

I was just reading this article and thought about it.
http://www.macdevcenter.com/pub/a/mac/2005/09/27/what-is-darwin.html?CMP=OTC-13IV03560550

Note: Please CC me, I'm not on the list.

Regards,

rrs
-- 
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
"Stealing logic from one person is plagiarism, stealing from many is
research".


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



Re: Sarge - postfix/saslauthd issues

2005-09-29 Thread Steve Block

On Sat, Jul 09, 2005 at 05:36:49AM -0500, BJ Dierkes wrote:

PROBLEM 1:
The first problem is is that Postfix can't connect to the saslauthd  
socket.  The reason appears to be because it is running in a chroot  
environment (by default) and the socket is outside of the jail by  
default.


These what the vars in the "/etc/init.d/saslauthd" script looks like:

NAME=saslauthd
DAEMON="/usr/sbin/${NAME}"
DESC="SASL Authentication Daemon"
DEFAULTS=/etc/default/saslauthd
PWDIR=/var/run/saslauthd
PIDFILE="/var/run/${NAME}/saslauthd.pid"

The saslauthd socket is created as "$PWDIR/mux".  However, Postfix  
looks for it as "/var/spool/postfix/var/run/saslauthd/mux".


Errors without /var/spool/postfix/var/run/saslauthd/mux (/var/log/ 
mail.log):


postfix/smtpd[7663]: warning: SASL authentication failure: cannot  
connect to saslauthd server: No such file or directory
postfix/smtpd[7663]: warning: SASL authentication failure: Password  
verification failed

postfix/smtpd[7663]: warning: SASL PLAIN authentication failed


To fix it I removed "/var/run/saslauthd", and then recreated it as a  
soft link to "/var/spool/postfix/var/run/saslauthd" (make sure that  
postfix or whatever the postfix user is, is a part of the sasl group).


This fixes the problem for me, but Is there anything I'm missing?  I  
really didn't find anything in the documentation for saslauthd that  
led to this.  Just want to make sure I didn't waste hours of my life  
for no reason.  ;)


This is the method I originally used, though I tied it in with
dpkg-statoverride and some other things. I agree that it is an annoying
and somewhat hidden problem. The solution I tried and stuck with after
my second postfix installation was to create a bind mount between
/var/run/saslauthd and the directory inside the postfix chroot. I
created the directory /var/spool/postfix/var/run/saslauthd and then
added the following to my /etc/fstab file

/var/run/saslauthd /var/spool/postfix/var/run/saslauthd none rw,bind 0 0

It was easier to do it this way and have the machine come up fully and
properly with a reboot, since I always seemed to have to recreate the
symlink on reboot with the prior method (until I started editing startup
scripts, but let's not get into that).

--
Steve Block
http://ev-15.com/
http://steveblock.com/
[EMAIL PROTECTED]


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




Use Debian system as a RIP

2005-09-29 Thread Peter King
Is there a way of using a Debian system as a RIP.

I have a client that has just been quoted by Xerox £11500 for a Fiery EX12 
Raster Image Processor

the system is only a PIII-500 with 256MB RAM and a 9GB HDD so I am thinking 
of putting together a nice hefty system and use Debian instead.

Apparently the rip just takes a PDF file then converts it to a Post Script 
file and sends it to the printer. Surely there is something on Linux to do 
this.


Any help or advice/experiences appreciated.

-- 


Regards
Peter King

www.sitedesign.net


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



Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Jan Schledermann
Bruno Buys wrote:


>>>Hi, Matt,
>>>I'm booting of an ide disk. Nelson castillo remembered me to add support
>>>to it as built-in. I checked my .config and yes, the drivers were
>>>modules. So, I'm compiling again.
>>>More news to come...
>>>thanks Matt, William and Nelson.
>>>
>>>
>>
>>Which filesystem do you use? Check if your file system wasn't compiled as
>>a module rather than into the kernel itself.
>>
>>Best regards
>>Jan
>>
>>  
>>
> 
> 

So here is some more to look for:

Are the following block devices compiled into your kernel:

IDE, BLK_IDE, BLK_DEVB_IDEDISK, IDE_GENERIC, BLK_DEV_IDEPCI,
BLK_DEV_GENERIC, BLK_DEV_IDEDMA_PCI, IDEDMA_PCI_AUTO
+ the driver for the chipset used in your pc?

You mentioned that Reiser is already compiled in but what about:
MSDOS_PARTITION ?

And then the almost borderline insulting one: did you remove/ommit the
initrd specification from your /boot/grub/menu.lst in the entry that you
boot from?

Jan
-- 
** Do not use the reply-to address. It'll end up in the trash can
** Mail me at: janATschledermann.or"REMOVE_THIS"g 


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



Re: Sarge - postfix/saslauthd issues

2005-09-29 Thread Roman Gaufman
I was stuck with this for the last 2 days, you're a life saver!

Wish the maintainers would take your comments into practice and
re-release the packages as it is indeed far too complicated and
virtually undocumented.

The thing I was stuck on is I saw smtp.conf on various sites and created
mine in /etc/postfix/sasl, but it was smtpd.conf, doh! :)

Anyway, thanks a gain,

Roman


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



gap in sound device numbering

2005-09-29 Thread Sebastian Seifert
Hello,

in my PC there is a single on-board sound card that works great using ALSA and
OSS emulation where necessary. The sound card is card 0 for alsa. 
I have a bluetooth headset as well. Whenever I attach the bluetooth
headset, a new ALSA device for it is created, but it gets the device
number 2. 1 seems to be occupied by some kind of midi device that I
don't use and which probably is on-board as well. 

For the OSS emulation, /dev/dsp and /dev/dsp2 are created by udev. No
/dev/dsp1, since the strange midi device does not have any dsp.

The problem is that I use a VoIP soft phone called "xten xlite" that
works via OSS and IGNORES /dev/dsp2, because it doesn't find /dev/dsp1
(and thinks I only have /dev/dsp then). When I symlink /dev/dsp1 to
/dev/dsp2, I can choose from 3 sound cards. But having to create this
symlink by hand everytime I want to make a telephone call via my headset
is tedious.

What is the best solution for this? Writing a udev rule (can someone
point me to a primer on how to do that)? Telling alsa to somehow ignore
the strange midi device? Maybe the number skipping in OSS dsp numbering
even is a bug (either that or the softphone is buggy)?

Thanks for any help,
Sebastian

-- 
We are Pentium of Borg. Division is futile. You will be approximated.


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



one more equivs problem

2005-09-29 Thread Natalie




Hello, Martin!

I am trying to create a dummy mail package, using equivs.

the error message:
dh_installchangelogs
parsechangelog/debian: error: badly formatted trailer line, at changelog line 5
dh_installchangelogs: changelog parse failure
make: *** [binary-arch] Error 1
Error during the build process: Inappropriate ioctl for device at /usr/bin/equivs-build line 180,  line 33.

Could you please help me to fix it?

the control file:

Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: mtalocal
Version: 1.0
Maintainer: Natalie<[EMAIL PROTECTED]>
Provides: mail-transport-agent
Architecture: all
Description: A local MTA package


thank you in advice, 
Natalie




RE: cpufreqd: ondemand

2005-09-29 Thread Florian Dorpmueller

Hello,

I have an /etc/cpufreqd.conf that makes
/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq go to 60
on Mandriva if the system is idle.
However the same configuration on Debian makes it go to 150 that
is full speed if the system is idle.
Kernel is 2.6.8-2-686.
Why does the same cpufreqd configuration behave differently on
Debian than on Mandriva?
What is required on Debian to make it go to the minimum frequency if
the system is idle?

The config file looks like:


# this is a comment
#
# you need: 1 [General] section,
#   1 or more [Profile] sections
# 1 or more [Rule] sections
#
# a section ends at the first blank line
#
# [Rule] sample:
#   [Rule]
#   name=sample_rule
#   ac=on# (on/off)
#   battery_interval=0-10
#   cpu_interval=30-60
#   programs=xine,mplayer
#   profile=sample_profile
#
# [Profile] sample:
#   [Profile]
#   name=sample_profile
#   minfreq=10%
#   maxfreq=100%
#   policy=performance
#
# see CPUFREQD.CONF(5) manpage for a complete reference

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi #(acpi, apm or pmu)
# Uncomment the following line to enable ACPI workaround (see 
cpufreqd.conf(5))

# acpi_workaround=1
verbosity=4 #(if you want a minimal logging set to 5)

[Profile]
name=old_hi_boost
minfreq=66%
maxfreq=100%
policy=performance

[Profile]
name=hi_boost
minfreq=0%
maxfreq=100%
policy=ondemand

[Profile]
name=medium_boost
minfreq=33%
maxfreq=66%
policy=performance

[Profile]
name=lo_boost
minfreq=0%
maxfreq=33%
policy=performance

[Profile]
name=lo_power
minfreq=0%
maxfreq=33%
policy=powersave

# conservative mode when not AC
[Rule]
name=conservative
ac=off   # (on/off)
battery_interval=0-100
cpu_interval=0-40
cpu_nice_scale=1.5
delay_cycles=3
profile=lo_boost

# need some power
[Rule]
name=lo_cpu_boost
ac=off   # (on/off)
battery_interval=0-100
cpu_interval=30-80
profile=medium_boost

# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost
ac=off   # (on/off)
battery_interval=50-100
cpu_interval=70-100
profile=medium_boost

# full power when AC
[Rule]
name=AC_on
ac=on   # (on/off)
profile=hi_boost

# full power when watching DVDs and not AC:
# this is the last rule and takes less
# precedence with respect to the others
[Rule]
name=dvd_watching
ac=off   # (on/off)
battery_interval=0-100
programs=xine,mplayer,avidemux
cpu_interval=0-100
profile=hi_boost



If you are able to understand german, I can recommend to have a look at 
http://www.debianforum.de/wiki/?page=P4DynamischTakten. Furthermore I 
propose to use the ondemand governor.


Florian



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




Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Joseph H. Fry
On Thu, 2005-09-29 at 11:02 -0300, Bruno Buys wrote:
> Hi Jan and all,
> Last try still didn´t work. I have support for ide disk and reiserfs 
> definately built-in. The new information is that, a bit before the panic 
> message, I could see the kernel detecting my ide devices, with some 
> 'hda:', 'hdc:' and 'hdd:' output, which makes believe the problem lies 
> elsewhere, besides ide support. Unless the whole thing is more complex 
> than just that.
> The panic says 'unable to mount root fs, please append the correct boot 
> option 'root='...'. Then I append 'root=/dev/hda2' but no difference 
> (this is lilo bootloader, by the way).
> What do you guys think?
> 
Had the same problem once (unresolved) however I do belive my research
led me to issues with udev or devfs... google for the panic message and
maybe append udev to devfs, I found some answers somewhere but instead
chose to stick with initrd.



Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Bruno Buys

   Hi Jan and all,
   Last try still didn´t work. I have support for ide disk and reiserfs 
definately built-in. The new information is that, a bit before the panic 
message, I could see the kernel detecting my ide devices, with some 
'hda:', 'hdc:' and 'hdd:' output, which makes believe the problem lies 
elsewhere, besides ide support. Unless the whole thing is more complex 
than just that.
The panic says 'unable to mount root fs, please append the correct boot 
option 'root='...'. Then I append 'root=/dev/hda2' but no difference 
(this is lilo bootloader, by the way).

What do you guys think?



Jan Schledermann wrote:


Bruno Buys wrote:
 
 


Hi, Matt,
I'm booting of an ide disk. Nelson castillo remembered me to add support
to it as built-in. I checked my .config and yes, the drivers were
modules. So, I'm compiling again.
More news to come...
thanks Matt, William and Nelson.
   



Which filesystem do you use? Check if your file system wasn't compiled as a
module rather than into the kernel itself.

Best regards
Jan 

 




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




Re: WiFi Problems (It doesn't work properly)

2005-09-29 Thread Jan Schledermann
David R. Litwin wrote:



> What else should I be doing? I'm convinced that I have missed out a step;
> or put in some too many. But what?
> 
> I thank you kindly in advance.
> 
> --
> ?A watched bread-crumb never boils.
> ?My hover-craft is full of eels.
> ?[...]and that's the he and the she of it.

Did you enter the IP of the DNS server of your ISP into the resolv.conf as I
suggested earlier?
Jan
-- 
** Do not use the reply-to address. It'll end up in the trash can
** Mail me at: janATschledermann.or"REMOVE_THIS"g 


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



Re: compiling non-initrd 2.6 kernel?

2005-09-29 Thread Jan Schledermann
Bruno Buys wrote:
 
>>
> Hi, Matt,
> I'm booting of an ide disk. Nelson castillo remembered me to add support
> to it as built-in. I checked my .config and yes, the drivers were
> modules. So, I'm compiling again.
> More news to come...
> thanks Matt, William and Nelson.

Which filesystem do you use? Check if your file system wasn't compiled as a
module rather than into the kernel itself.

Best regards
Jan 

-- 
** Do not use the reply-to address. It'll end up in the trash can
** Mail me at: janATschledermann.or"REMOVE_THIS"g 


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



Re: [OT] Drawing a rectangle with Gimp

2005-09-29 Thread James Vahn
gr wrote:
> It's a pity people have to ask around before they can
> draw a rectangle with a graphics program. I had the
> same question. 

I'm wondering how the question resulted in Gimp for an answer..   
Gimp wasn't exactly designed for drawing. You want a vector drawing
program of some kind.  sodipodi, sketch, dia, inkscape ...?
And be sure to look at Scribus sometime.


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



Re: Checking `bindshell'... INFECTED (PORTS: 3049)

2005-09-29 Thread Florian Ernst
Hello *,

On Thu, Sep 29, 2005 at 11:12:27AM +0100, Jon Dowland wrote:
> On Thu, Sep 29, 2005 at 09:21:49AM +0400, [EMAIL PROTECTED] wrote:
> > Bug in the chkrootkit or in the cfs ?
> > Killing cfsd makes report clear,but i suppose it is not a solution .
> 
> chkrootkit, but I'm not sure a false positive qualifies as a bug.

 reads:
| below is a (non-exhaustive) list of packages that are known to cause false
| positives.  before filing a bug report, please check this list.
| 
| listens on well known ports
|   [...]
|   cfs: bindshell listens on port 3049.

A similar warning is in README.Debian in Sarge's version...

Cheers,
Flo


signature.asc
Description: Digital signature


Re: FTP server setup help required

2005-09-29 Thread Radhika
Hi,
 
Thanks for your reply. I have checked the proftpd with webmin module.This will provide only creating user as system accounts not as virtual users and how to check the user usage using this webmin module.Is there any other tool to give proftp easily.
 
Thanks for your help"Roberto C. Sanchez" <[EMAIL PROTECTED]> wrote:
On Thu, Sep 29, 2005 at 03:29:05AM -0700, Radhika wrote:> Hi,> > We are planning to implement pro FTP server and we need a web interface for our support group so that they can create users and check the disk usage of users limit.> > Can some one help me for this features this FTP software is useful or not.Is there any webinterface tool to do all the functionality .> > is there any other free FTP software do this type of functionality.> > Thanks in advance$ apt-cache search webmin ftpwebmin-frox - frox control module for webminwebmin-proftpd - Proftpd module for webminwebmin-wuftpd - wu-ftpd control module for webmin-Roberto-- Roberto C. Sanchezhttp://familiasanchez.net/~roberto
		Yahoo! for Good 
Click here to donate to the Hurricane Katrina relief effort. 


How to enable SNMP TCP/Ip input/output counters

2005-09-29 Thread Joost Kraaijeveld
Hi,

Is it possible to use SNMP for viewing 1.3.6.1.2.1.2.2.1.10.1 (out
ethernet) en 1.3.6.1.2.1.2.2.1.16.1 (in ethernet) on a Debian Sarge
based router?

If so, what else should I do besides "apt-get install snmp snmpd"? It
looks to me that none of the MIBS in /usr/share/snmp/mibs are used? 

-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: [EMAIL PROTECTED]
web: www.askesis.nl 



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



Re: Debian Installation with a Redhat kernel/drivers

2005-09-29 Thread Adam Garside
On Wed, Sep 28, 2005 at 01:17:03PM +0200, Madl Alfred - Together AT wrote:
> Just want to inform that we have successfully installed Debian Sarge 3.1r0a 
> (32 Bit, 64 Bit AMD64/EM64T will follow next days) on an IBM x345 with QLogic 
> SAN adapters (no local disks) and on an IBM x460 with QLogic SAN adapters (no 
> local disks) by using a custom kernel which was built directly from redhat 
> 2.6.9-11 kernel sources (in order to have IBM supported driver versions). 

We use a custom 2.4.31 vanilla kernel + grsec patches + supported QLogic
QLA2300 vendor drivers on our HS20 Blade Servers.

> We also have succesfully produced custom Debian NetInst install CDs which 
> boot already (and install) the custom kernel in order to access SAN disks 
> during the installation process and boot from SAN (again with the right 
> kernel) during the second phase of debian installer.

Our custom installer was built from the above custom kernel + sarge
chroot with the 'bootcd' package.

-- asg


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



proftpd using nobody user with /bin/sh ?

2005-09-29 Thread micobros








Hello, 

 

Proftpd is launched with user nobody. I was wondering
why this user had to have a default shell set to /bin/sh. Is there any reason
for that? Can I modify it to /bin/false? Is it a security problem to have a
service like Proftpd (running standalone) running with the default shell to
/bin/sh? 

 

 

Chears, 

 

 

Mico. 








Sound on Opliplex GX150

2005-09-29 Thread mulvihill
Hello,

Does anyone have onboard sound working on a Dell Optiplex GX150?
Mine is completely mute apart from the PC speaker. (It also has
no sound in Windows so this could be a hardware problem.)

I am running testing, with the 2.6.12-1-686 kernel, and have
tried both OSS and Alsa. With alsa-base installed hotplug
correctly loads the snd_intel8x0 module. If I remove alsa-base
and blacklist snd_intel8x0 the OSS module i810_audio gets
loaded, but either way I can get no sound.

Before anyone asks I have enabled onboard sound in the BIOS
and have used alsamixer to unmute everything.

As I said this could be a hardware problem, but if anyone
has any suggestions for other things I could try I'd be grateful.

Thanks in advance,

Ben Mulvihill


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



permissions below /dev/ across reboots

2005-09-29 Thread Hanspeter Roth
Hello,

How does one set the permission of /dev/net/tun so that they remain
across reboots?
I guess it has something to do with /etc/udev/permissions.rules.
But there is no manpage on permissions.rules.

-Hanspeter


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



RE: Re: [OT] Drawing a rectangle with Gimp

2005-09-29 Thread Žáček Kryštof
Good joke !
XPAINT looks even worse than GIMP :-)

http://freshmeat.net/screenshots/12076/12077/

http://www.koffice.org/krita/

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Hugo Vanwoerkom
> Sent: Thursday, September 29, 2005 11:21 AM
> To: debian-user@lists.debian.org
> Subject: Re: [OT] Drawing a rectangle with Gimp
> 
> Žáček Kryštof wrote:
> > This is not just your first impression. GIMP sucks even 
> after long term usage in terms of usability - windows 
> scattered over the whole desktop, overlapped toolbox windows, 
> incredibly stupid archane file dialog, the gtk slowness etc..
> > 
> > However, there is a hope: the KDE's Krita program is the 
> step in the right direction, it has just to catch up in features. 
> > 
> > 
> > 
> > 
> >>-Original Message-
> >>From: g r [mailto:[EMAIL PROTECTED]
> >>Sent: Thursday, September 29, 2005 7:02 AM
> >>To: [EMAIL PROTECTED]
> >>Cc: debian-user@lists.debian.org
> >>Subject: Re: Re: [OT] Drawing a rectangle with Gimp
> >>
> >>It's a pity people have to ask around before they can draw 
> a rectangle 
> >>with a graphics program. I had the same question. I haven't come 
> >>across a less intuitive windows program than GIMP. I know I am 
> >>commenting based on my quick first impression and 
> criticizing a free 
> >>tool. But what good is "free" if it's not usable.
> >>Why port such a tool to windows when there are $29 programs 
> that are 
> >>actually usable? Tool palettes hide behind the main window!!?
> >>
> 
> Package: xpaint (2.7.8.1-1)
> http://packages.debian.org/testing/graphics/xpaint
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 



  1   2   >