Re: [gentoo-user] ipw3945d no longer starting when wifi switch is set to on with udev-103 (without coldplug now)

2006-12-05 Thread jak gentoo

On 12/5/06, Gabriel Rossetti [EMAIL PROTECTED] wrote:


Hello everyone,

I updated my system and the new udev-103 didn't like coldplug (since it
is now able to do it itself). My problem is that now
ipw3945d is no longer started when I switch on the wifi switch on my
laptop, like it was when coldplug was installed. Any
ideas on how to achieve this functionality now?

Thank you,
Gabriel

--
gentoo-user@gentoo.org mailing list

Hi Gabriel,


do you use ipw3945d stable or testing?
it seems the stable release has problems with udev 103, mybe try to use the
testing ipw3945d.
I use testing and i didnĀ“ t had any problems after the update of udev. also
testing comes with an rc-start-script now.

greez

jakommo


[gentoo-user] SUDO: running /etc/init.d/cupsd restart

2006-12-04 Thread jak gentoo

Hi all,

I'm trying to allow users in the wheel group to run /etc/init.d/cupsd
restart
I edited /etc/sudoers with visudo to the following but it doesn't work, any
ideas?

%wheel ALL=(ALL)NOPASSWD: /sbin/runscript.sh
%wheel ALL=(ALL)NOPASSWD: /etc/init.d/cupsd restart

when I try with my normal acount I get
[EMAIL PROTECTED] ~ $ /etc/init.d/cupsd restart
* /sbin/runscript.sh: must be root to run init scripts
but I'm in the wheel group
[EMAIL PROTECTED] ~ $ id
uid=1000(jak) gid=100(users) groups=10(wheel),100(users)

Regards

jakommo


Re: [gentoo-user] SUDO: running /etc/init.d/cupsd restart

2006-12-04 Thread jak gentoo

On 12/4/06, Daniel Waeber [EMAIL PROTECTED] wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

jak gentoo wrote:
 Hi all,

 I'm trying to allow users in the wheel group to run /etc/init.d/cupsd
 restart
 I edited /etc/sudoers with visudo to the following but it doesn't work,
any
 ideas?

 %wheel ALL=(ALL)NOPASSWD: /sbin/runscript.sh
You won't need the line above, it would be a risk if wheel group is
allowed to to run any script wiht runscript.sh as root.

 %wheel ALL=(ALL)NOPASSWD: /etc/init.d/cupsd restart

 when I try with my normal acount I get
 [EMAIL PROTECTED] ~ $ /etc/init.d/cupsd restart
 * /sbin/runscript.sh: must be root to run init scripts
But you have to start the cupsd script with sudo:
$ sudo /etc/init.d/cupsd restart

At least this is how I know sudo.
- --
wabu


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

iD8DBQFFdCgfBbWbHb9PeLsRAn2eAKCDoJ0WS0Ji29u8bfWMfkXPLBIWVwCeO11w
E9tcCK5q+LcwE4vVX9JteWg=
=K6aG
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list

thanks to both of you, I was to stupid to add sudo in front.

its running now.

jakommo


[gentoo-user] Overlay SVN problem

2006-12-03 Thread jak gentoo

Hi all,

I have a problem, here's the descrition:
I tried to emerge emerald- from the xeffects overlay, but the progress
hang up, so I hit crtl+c an it told me it caught the signal but is still
cleaning up, but after five minutes notting happend so I killed the
processes and now I have a problem.
when  I try the emerge emerald again it tells me:

svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

!!! ERROR: x11-wm/emerald- failed.
Call stack:
 ebuild.sh, line 1546:   Called dyn_unpack
 ebuild.sh, line 708:   Called src_unpack
 ebuild.sh, line 1255:   Called subversion_src_unpack
 subversion.eclass, line 274:   Called subversion_fetch
 subversion.eclass, line 195:   Called die


I ran svn cleanup on different directories but it seems I didn't get the
right one because the lock is still aktive.
does someone know on which directory I have to run svn ceanup to solve the
locking problem???

thanks

jakommo


Re: [gentoo-user] Transcoding movie DVD to MPEG4?

2006-12-03 Thread jak gentoo

On 12/3/06, Mick [EMAIL PROTECTED] wrote:


Hi All,

I want to copy a movie from a DVD which I bought in a shop, to another DVD
to
take with me on holiday.  I'll be playing back the copy on my laptop and
(if
it is feasible) the hotel's DVD player.

I thought that K3B and a double layer blank DVD+R is all I need to burn an
iso
image of the DVD.  After two expensive coasters (see other recent topic) I
came to the conclusion that the combination of
K3B/Phillips-DVD8421/Imation-DVD+R DL will just not work.  I could start
trying out different brands of DVD+R DL, but I cannot see a sustainable
economic case for persevering with my coaster production.  :-(

So, I am now looking at alternative solutions to be able to enjoy my
movies
when on hols.  I mounted the DVD and can see a number of *.vob files only
some of which are the main film.  Saving these would be enough, if only
they
could fit in a single layer DVD.  Each of these *.vob files are approx.:

-r-xr-xr-x  1 michael users 1073684480 Dec  3 11:21 vts_01_1.vob

There are 6 of them in a video which I want to copy, but given the recent
failed attempts with burning DVD+R DLs I will have to compact them so that
they can fit in a single DVD.  I read about transcoding into mpeg4, but I
don't know what are the right options for what I want.  What would you
recommend?
--
Regards,
Mick




Hi Mick,
I'm not sure if this is what you want, but there is a tool in portage called
dvdrip, maybe that helps.
I never used it so I don't know if it will suit your needs.


[gentoo-user] Re: Overlay SVN problem

2006-12-03 Thread jak gentoo

On 12/3/06,  [EMAIL PROTECTED] wrote:


Hi all,

I have a problem, here's the descrition:
I tried to emerge emerald- from the xeffects overlay, but the progress
hang up, so I hit crtl+c an it told me it caught the signal but is still
cleaning up, but after five minutes notting happend so I killed the
processes and now I have a problem.
when  I try the emerge emerald again it tells me:

svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for
details)

!!! ERROR: x11-wm/emerald- failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  ebuild.sh, line 1255:   Called subversion_src_unpack
  subversion.eclass, line 274:   Called subversion_fetch
  subversion.eclass , line 195:   Called die


I ran svn cleanup on different directories but it seems I didn't get the
right one because the lock is still aktive.
does someone know on which directory I have to run svn ceanup to solve the
locking problem???

thanks

jakommo



Ok found it myself by running emerge in debug mod.
it was svn cleanup /usr/portage/distfiles/svn-src/emerald/emerald/

jakommo


Re: [gentoo-user] Using a remote DVD writer

2006-12-01 Thread jak gentoo

On 11/29/06, Mick [EMAIL PROTECTED] wrote:


On Tuesday 28 November 2006 23:10, Daniel Iliev wrote:
 Mick wrote:
  Hi All,
 
  My laptop does not have a DVD writer, only a DVD/CD player.  On the
other
  hand, my desktop has the works.  Other than booting the desktop in
Gentoo
  and burning DVDs directly, is there a way to use it remotely from my
  laptop?  Can I define in K3B my desktop's DVD drive(s)?  How can I set
  this up for a LAN connection?
 
  While at it, is there a way to achieve this at all when the desktop is
  not running Gentoo, but WinXP?
 
  PS. I do not currently have SAMBA configured on either box.

 I think these two command chains should work:

 mkisofs -opt1 -opt2 -optN /files/for/burning | \
 ssh desktop cdrecord dev=/dev/hdc -driveropts=burnfree - ---for CDs

 mkisofs -opt1 -opt2 -optN /files/for/burning | \
 ssh desktop  growisofs -dvd-compat -Z /dev/dvd=/dev/fd/0 ---for DVDs

 If you decide to try the above commands, please, do it with *RW media*
 first, because I haven't tested them.

Thanks for all suggestions.  Daniel's idea seems to be closer to what I
was
looking for (I do not have Java installed on either box, although I could
run
Knoppix on  the CD writer machine).  Only I have no idea what the options
should be to copy a DVD - I guess an iso image of the original?  I'll need
to
go through that man page a few times, unless you can suggest an
appropriate
string of options.

PS.  When I used the k3b gui with default settings to copy a WinXP
directory
to a DVD it capitalised all filenames and substituted most characters
like , spaces, etc with _.  I assume that this is because it applied
Jolliet standard.  How should I set it in K3B to get all the
file name characters copied over intact?  How would I do this in mkisofs,
too?
--
Regards,
Mick


on mkisofs I think you have to use -r for Rock  Ridge then you should get

the real filenames


Re: [gentoo-user] new udev (?) loading ipw3945 without starting ipw3945d

2006-12-01 Thread jak gentoo

On 11/30/06, Daniel Barkalow [EMAIL PROTECTED] wrote:


On Wed, 29 Nov 2006, Richard Fish wrote:

 On 11/29/06, Daniel Barkalow [EMAIL PROTECTED] wrote:
  I switched to udev-103 recently, and now when I boot I find that
ipw3945d
  is not getting started, which causes my wireless card to not appear at
  all. rmmod ipw3945; modprobe ipw3945 once the system has started
works.
 
  Any advice?

 my /etc/modules.d/ipw3945 file contains the following:

ipw3945d, I assume?

 install ipw3945 /sbin/modprobe --ignore-install ipw3945 ; sleep 0.2;
 /sbin/ipw3945d --quiet
 remove ipw3945 /sbin/ipw3945d --kill ; sleep 0.2; /sbin/modprobe -r
 --ignore-remove ipw3945
 alias pci:v8086d4222sv*sd*bc*sc*i* off
 alias pci:v8086d4227sv*sd*bc*sc*i* off

 The alias lines are necessary to prevent udev from coldplugging the
 driver which otherwise would occur at a very early point in the boot
 sequence...in fact before /var is mounted on my system.  Without /var
 mounted and read-write, ipw3945d cannot start.

 I then /sbin/modprobe ipw3945 in /etc/conf.d/local.start to load the
 module near the end of the boot sequence.

 Perhaps you need to do something similar?

That's probably the same thing I need (except / rw should be sufficient
for me, so I think I can use /etc/modules.autoload).

I wonder if udev can be configured not to load the module. Probably the
right thing is really to have ipw3945d run as regular service. It'd be
nice if ipw3945 produced class net node for the device when the daemon
isn't running, and just required the daemon to actually turn it on.

-Daniel
*This .sig left intentionally blank*
--
gentoo-user@gentoo.org mailing list

if you use the testing versoin of ipw3945d it comes with an rc

startscript, maybe that helps.
I 'm using ipw3945d testing an I didn't had problems after updating udev to
103