Re: [gentoo-user] realtek 8197 wireless card setup

2007-12-16 Thread Florian Philipp

On Sat, 2007-12-15 at 23:19 -0500, Jeff Cranmer wrote:
 On Tuesday 11 December 2007 09:48:10 am Mick wrote:
  On Tuesday 11 December 2007, Jeff Cranmer wrote:
   I believe that I have this enabled, however ieee80211 is still barfing
   out by asking for CONFIG_NET_RADIO.
  
   I'll check and confirm this tonight.
 
  Also check bugzilla.  I remember reporting a bug with the more recent
  kernels failing to build kernel drivers.  The last kernel that I managed to
  build rt2570 was 2.6.20-gentoo-r8.  Kernel 2.6.23-gentoo-r3 fails to emerge
  any driver whatsoever.
 
 I have now (finally) successfully compiled the latest kernel 2.6.23-gentoo-r3 
 kernel.  Once I enabled the 'Generic IEEE 802.11 Networking Stack (mac80211)' 
 option in Networking -- Wireless, the Realtek RTL8187 USB support option 
 appears in Device Drivers -- Network Device Support -- Wireless LAN section 
 under wireless LAN (IEEE 802.11).
 
 With this RTL8187 driver compiled into the kernel, I get some success.
 
 Running the command 'dmesg | grep rtl8187' after reboot returns the message
 usbcore: registered new interface driver rtl8187
 
 There is, however, no /etc/init.d/net.wlan0 on my system, so I'm not quite 
 there yet.
 
 There is a net.eth0 (wired network), and a net.lo
 What do I need to do to get net.wlan0 active?
 
 Thanks
 
 Jeff

Check the output of iwconfig. Maybe the device's got another name like
eth1 or rtl0


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo Rules

2007-12-16 Thread Bo Ørsted Andresen
On Saturday 15 December 2007 20:00:54 Grant wrote:
   The real blocker for features that I'd like Gentoo to support is
   Portage. There is only 1½ people working on it and changing anything in
   it is hard because Portage is a horrible mess. There's plenty of
   activity in the tree but new desired features cannot be used in the
   tree until Portage supports them. It also doesn't make matters better
   that over the years all sorts of weird hacks (that now have to be
   supported) have been added to the tree instead of waiting for proper
   solutions. Most people who are capable of helping to improve Portage
   just don't want to touch it.
 
  Would you say that portage is the main block in the way of Gentoo's
  continued progress?

 Actually I guess that's pretty much exactly what you said.  I didn't
 realize portage is where the problem lies.  In fact, I thought we were
 all still proud of portage  I'm going to think about this some.

It all depends on what kind of features you're interested in. The features I 
happen to be interested in requires ebuild changes (which means that me using 
another package manager doesn't help) *and* requires package manager support 
before said ebuild changes can happen. Therefore for me Portage is a 
blocker...

-- 
Bo Andresen


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


Re: [gentoo-user] Gentoo Rules

2007-12-16 Thread Dale
Bo Ørsted Andresen wrote:
 On Saturday 15 December 2007 20:00:54 Grant wrote:
   
 The real blocker for features that I'd like Gentoo to support is
 Portage. There is only 1½ people working on it and changing anything in
 it is hard because Portage is a horrible mess. There's plenty of
 activity in the tree but new desired features cannot be used in the
 tree until Portage supports them. It also doesn't make matters better
 that over the years all sorts of weird hacks (that now have to be
 supported) have been added to the tree instead of waiting for proper
 solutions. Most people who are capable of helping to improve Portage
 just don't want to touch it.
 
 Would you say that portage is the main block in the way of Gentoo's
 continued progress?
   
 Actually I guess that's pretty much exactly what you said.  I didn't
 realize portage is where the problem lies.  In fact, I thought we were
 all still proud of portage  I'm going to think about this some.
 

 It all depends on what kind of features you're interested in. The features I 
 happen to be interested in requires ebuild changes (which means that me using 
 another package manager doesn't help) *and* requires package manager support 
 before said ebuild changes can happen. Therefore for me Portage is a 
 blocker...

   

I read a link provided earlier about Plaudis, (sp?).  It seems that
Portage has a lot of hacks in it, according to what I read anyway.  Is
that true?  Also, is it being wrote with python hurting portage as for
as the program itself?  If it is, why are they not trying to switch to
something else?  If C++ is better, then putting off changing is only
going to get harder as time goes on.

In case you can't tell, I'm not a programmer.   Last time I did
programming, it was on a Vic-20.  LOL 

Just curious.

Dale

:-)  :-)


Re: [gentoo-user] Gentoo Rules

2007-12-16 Thread Grant
The real blocker for features that I'd like Gentoo to support is
Portage. There is only 1½ people working on it and changing anything in
it is hard because Portage is a horrible mess. There's plenty of
activity in the tree but new desired features cannot be used in the
tree until Portage supports them. It also doesn't make matters better
that over the years all sorts of weird hacks (that now have to be
supported) have been added to the tree instead of waiting for proper
solutions. Most people who are capable of helping to improve Portage
just don't want to touch it.
  
   Would you say that portage is the main block in the way of Gentoo's
   continued progress?
 
  Actually I guess that's pretty much exactly what you said.  I didn't
  realize portage is where the problem lies.  In fact, I thought we were
  all still proud of portage  I'm going to think about this some.

 It all depends on what kind of features you're interested in. The features I
 happen to be interested in requires ebuild changes (which means that me using
 another package manager doesn't help) *and* requires package manager support
 before said ebuild changes can happen. Therefore for me Portage is a
 blocker...

What does everyone else think about this.  Is portage a major blocker
of progress or not so much?

- Grant
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread David Relson
On Sun, 16 Dec 2007 06:20:38 -0600
Dale wrote:

...[snip]...
 I read a link provided earlier about Plaudis, (sp?).  It seems that
 Portage has a lot of hacks in it, according to what I read anyway.  Is
 that true?  Also, is it being wrote with python hurting portage as for
 as the program itself?  If it is, why are they not trying to switch to
 something else?  If C++ is better, then putting off changing is only
 going to get harder as time goes on.

IMHO, python is a very nice object oriented language and C++ is no
better (unless you need particular features of the language).  I
suspect C++ runs somewhat faster, but that's not the issue here.  As I
understand, portage needs to deal with lots of special cases and
exceptions to the general rules for updating package.  Special cases
and exceptions always lead to complications and messy code.  Switching
languages doesn't help a situation like this.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I don't understand what's happening with emerge gnupg

2007-12-16 Thread Naga Toro
On Sunday 16 December 2007 01.17.42 Neil Bothwick wrote:
 On Sat, 15 Dec 2007 18:55:43 -0500, Walter Dnes wrote:
- why didn't portage replace the old version itself?  That's generally
  part of the update process.

 GnuPG is slotted, so 1.* and 2.* can be installed simultaneously.

No.
Both ver 1.4* and ver 2.* use slot 0, but ver 1.9* use slot 1.9, for more info 
see -dev (don't have access to the thread right now)

-- 
Naga
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Dale
David Relson wrote:
 On Sun, 16 Dec 2007 06:20:38 -0600
 Dale wrote:

 ...[snip]...
   
 I read a link provided earlier about Plaudis, (sp?).  It seems that
 Portage has a lot of hacks in it, according to what I read anyway.  Is
 that true?  Also, is it being wrote with python hurting portage as for
 as the program itself?  If it is, why are they not trying to switch to
 something else?  If C++ is better, then putting off changing is only
 going to get harder as time goes on.
 

 IMHO, python is a very nice object oriented language and C++ is no
 better (unless you need particular features of the language).  I
 suspect C++ runs somewhat faster, but that's not the issue here.  As I
 understand, portage needs to deal with lots of special cases and
 exceptions to the general rules for updating package.  Special cases
 and exceptions always lead to complications and messy code.  Switching
 languages doesn't help a situation like this.
   

Thanks.  I was curious as to how a language could hurt a program as long
as the end result is the same.  I take what you wrote as, it is not the
rules that makes a mess but all the exceptions to the rules that makes a
mess. 

Thanks for the reply.

Dale

:-)  :-) 


Re: [gentoo-user] realtek 8197 wireless card setup

2007-12-16 Thread Jeff Cranmer
All I get for iwconfig is 
lo  no wireless extensions
eth0no wireless extensions.

I think I need some more info in /etc/conf.d/net, and need somehow to create 
the necessary /etc/init.d/net.wlan0 or whatever driver.

The only 'net.anything' drivers present at the moment are net.lo and net.eth0

Jeff


On Sunday 16 December 2007 05:50:49 am Florian Philipp wrote:
 On Sat, 2007-12-15 at 23:19 -0500, Jeff Cranmer wrote:
  On Tuesday 11 December 2007 09:48:10 am Mick wrote:
   On Tuesday 11 December 2007, Jeff Cranmer wrote:
I believe that I have this enabled, however ieee80211 is still
barfing out by asking for CONFIG_NET_RADIO.
   
I'll check and confirm this tonight.
  
   Also check bugzilla.  I remember reporting a bug with the more recent
   kernels failing to build kernel drivers.  The last kernel that I
   managed to build rt2570 was 2.6.20-gentoo-r8.  Kernel 2.6.23-gentoo-r3
   fails to emerge any driver whatsoever.
 
  I have now (finally) successfully compiled the latest kernel
  2.6.23-gentoo-r3 kernel.  Once I enabled the 'Generic IEEE 802.11
  Networking Stack (mac80211)' option in Networking -- Wireless, the
  Realtek RTL8187 USB support option appears in Device Drivers -- Network
  Device Support -- Wireless LAN section under wireless LAN (IEEE 802.11).
 
  With this RTL8187 driver compiled into the kernel, I get some success.
 
  Running the command 'dmesg | grep rtl8187' after reboot returns the
  message usbcore: registered new interface driver rtl8187
 
  There is, however, no /etc/init.d/net.wlan0 on my system, so I'm not
  quite there yet.
 
  There is a net.eth0 (wired network), and a net.lo
  What do I need to do to get net.wlan0 active?
 
  Thanks
 
  Jeff

 Check the output of iwconfig. Maybe the device's got another name like
 eth1 or rtl0
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread David Relson
On Sun, 16 Dec 2007 08:05:17 -0600
Dale wrote:

 David Relson wrote:
  On Sun, 16 Dec 2007 06:20:38 -0600
  Dale wrote:
 
  ...[snip]...

  I read a link provided earlier about Plaudis, (sp?).  It seems that
  Portage has a lot of hacks in it, according to what I read
  anyway.  Is that true?  Also, is it being wrote with python
  hurting portage as for as the program itself?  If it is, why are
  they not trying to switch to something else?  If C++ is better,
  then putting off changing is only going to get harder as time goes
  on. 
 
  IMHO, python is a very nice object oriented language and C++ is no
  better (unless you need particular features of the language).  I
  suspect C++ runs somewhat faster, but that's not the issue here.
  As I understand, portage needs to deal with lots of special cases
  and exceptions to the general rules for updating package.  Special
  cases and exceptions always lead to complications and messy code.
  Switching languages doesn't help a situation like this.

 
 Thanks.  I was curious as to how a language could hurt a program as
 long as the end result is the same.  I take what you wrote as, it is
 not the rules that makes a mess but all the exceptions to the rules
 that makes a mess. 
 
 Thanks for the reply.
 
 Dale

I don't know enough to say for sure.  I _am_ a programmer, but not
involved with portage.  My guess is that the rules are reasonable, but
evolved over time.  Having read many messages about portage and ebuilds
I'm lead to believe that exceptions have lead to complications and a
less than ideal solution -- code that's difficult to maintain..
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] trouble with vsftpd

2007-12-16 Thread David Relson
I have installed vsftpd but it's not working.  When I try to retrieve a
file, not much happens.

wget -nd ftp://localhost/test.txt; produces:

  --11:23:39--  ftp://localhost/test.txt
   = `test.txt'
  Resolving localhost... 127.0.0.1
  Connecting to localhost|127.0.0.1|:21... connected.
  Logging in as anonymous ... 
  Login incorrect.

and (from another machine) wget -nd ftp://osage/test.txt; produces:

--11:23:21--  ftp://osage/test.txt
   = `test.txt'
  Resolving osage... 192.168.1.10
  Connecting to osage|192.168.1.10|:21... connected.
  Logging in as anonymous ... 
  Error in server response, closing control connection.
  Retrying.

after these attempts, /var/log/messages shows:

  date osage xinetd[7153]: START: ftp pid=30268 from=192.168.1.2 
  date osage xinetd[30268]: FAIL: ftp address from=192.168.1.2 
  date osage xinetd[7153]: EXIT: ftp status=0 pid=30268 duration=0(sec)

/etc/xinet.d/vsftpd contains:

  # default: off
  # description: Vsftpd is an FTP server, designed to be secure.
  # $Header: /var/cvsroot/gentoo-x86/net-ftp/vsftpd/files/vsftpd.xinetd,v
 1.4 2005/06/07 18:34:17 uberlord Exp $

  service ftp
  {
socket_type = stream
wait= no
user= root
server  = /usr/sbin/vsftpd
server_args = /etc/vsftpd/vsftpd.conf
log_on_success  += DURATION 
nice= 10
disable = no
 }

What else should I be checking?

Thanks.

David
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] trouble with vsftpd

2007-12-16 Thread Vladimir Rusinov
On 12/16/07, David Relson [EMAIL PROTECTED] wrote:

 I have installed vsftpd but it's not working.  When I try to retrieve a
 file, not much happens.

 wget -nd ftp://localhost/test.txt; produces:

   --11:23:39--  ftp://localhost/test.txt
= `test.txt'
   Resolving localhost... 127.0.0.1
   Connecting to localhost|127.0.0.1|:21... connected.
   Logging in as anonymous ...
   Login incorrect.

 and (from another machine) wget -nd ftp://osage/test.txt; produces:

 --11:23:21--  ftp://osage/test.txt
= `test.txt'
   Resolving osage... 192.168.1.10
   Connecting to osage|192.168.1.10|:21... connected.
   Logging in as anonymous ...
   Error in server response, closing control connection.
   Retrying.


Have you enabled anonimous ftp account in vsftpd.conf?

-- 
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/


Re: [gentoo-user] realtek 8197 wireless card setup

2007-12-16 Thread Mick
On Sunday 16 December 2007, Jeff Cranmer wrote:
 All I get for iwconfig is
 lono wireless extensions
 eth0  no wireless extensions.

This means that the driver has not been loaded yet.  In generic terms you'll 
need to install the necessary driver for your WiFi device (either the new one 
in the kernel or emerge net-wireless/rtl8187, or ndiswrapper and the MS 
Windows driver).  If you build the driver as a module then you need to 
modprobe -v rtl8187, while you keep an eye on the logs to see how things go 
(tail -f /var/log/messages).  You have seen this, right?

http://gentoo-wiki.com/HARDWARE_rtl8187

 I think I need some more info in /etc/conf.d/net, and need somehow to
 create the necessary /etc/init.d/net.wlan0 or whatever driver.
 
 The only 'net.anything' drivers present at the moment are net.lo and
 net.eth0

You will of course have to manually create a symlink between net.wlan0 - 
net.lo (or whatever your new WiFi device is recognised as by the kernel) so 
that you can bring it up by running /etc/init.d/net.wlan0 start.  But this is 
only necessary for autoloading the driver through the runlevel scripts.  To 
try it out follow the instructions in the Wiki page above.
-- 
Regards,
Mick


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


[gentoo-user] Re: trouble with vsftpd

2007-12-16 Thread reader
David Relson [EMAIL PROTECTED] writes:

   Logging in as anonymous ... 
   Login incorrect.

Is vsftpd setup for `anonymous'

From vsftpd.conf
  Logging in as anonymous ... 
 # Allow anonymous FTP? (Beware - allowed by default if you 
 # comment this out).
 anonymous_enable=NO =

I don't allow anonymous as you see but maybe that line is set to `NO'
in your vsftpd.conf?

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] scan for network devices by IP and time?

2007-12-16 Thread Mark Knecht
Hi all,
   What tools would I want to look into so that I could scan my
network to determine all the devices currently on it, either by IP or
name?

   Extra points for a tool that can keep track of what time a device
was added to the network.

   If it matters, my network is a wireless router and 3 wireless
bridges. At each of the bridges there is a switch and then 1 or more
computers. There are 2 computers hooked directly to the router.

Thanks,
Mark
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: DMZ on an vmware gentoo guest running on winXP host

2007-12-16 Thread Mick
On Saturday 15 December 2007, [EMAIL PROTECTED] wrote:
 Randy Barlow [EMAIL PROTECTED] writes:
  [EMAIL PROTECTED] wrote:
  I mean if
  you connect it to any machine in the diagram or elsewhere wouldn't you
  be exposing that machine to the unfiltered internet?
 
  I think that's the idea here - to see the difference between the two
  sides of the router.

 If that is the case then I guess I don't see how the quote below
 applies.  From Mick in his initial reply:
  A rather simpler solution to do this would be to get hold of hub,
  connect it to the firewall and watch everything that passes through
  it.

Your network diagram in the previous post is exactly what I was thinking and 
proposing.  What you are not showing is the link from your gentoo box to the 
hub.  Then you capture that packets that flow through with a suitable 
application.  Have a look at the penultimate diagram at the bottom of this 
page:

http://www.mynetwatchman.com/pckidiot/ethernet.htm

 I relize you are not who made the reply I quote above but:

 If you still have to come up with a hardened interface to the hub then
 how is it simpler?

I am not totally convince that a 'particularly' hardened interface is 
necessary.  A second NIC with suitable firewall rules, or a virtual NIC on 
ntop should suffice for you to capture the packets flowing through the hub 
into a log file.  You could even go as far as creating VLANs to seperate the 
two, but I am not sure that this is necessary.  I mean it is not as if you 
are going to create a bridge between a trusted interface and this hub facing 
interface, right?  Of course you would not be running e.g. tcpdump as root in 
real time so the risk of exposure (as I understand it in this context) is 
minimal, but others may want to comment.  nprobe or fprobe could capture the 
packets both on the Gentoo machine and on a WinXP machine and save them on 
file(s), and/or send them to ntop as NetFlow .  Perhaps others can comment 
further on similar suitable software and ways to set all this up.

 Further, since the router is switched then you'd really need two hubs.
 One on each side, if the aim were to compare what is coming and what is
 getting thru.  So we're getting further and futher away from `rather
 simpler'

Sure, you can add a second hub and so increase complexity, or use nprobe or 
the log files of the machines on the LAN side to see what actually gets 
through.  I am not sure if you want to run this long term and automate all of 
this capture and reporting into graphical formats (e.g. using rddtool), set 
up a dedicated machine just for this purpose, or if you just want to test 
particular connections in an ad hoc fashion to see why/how particular 
connections behave.

 Come up with the hardened interface and forget the hub[s].  As I said
 my router offers to send all the bounced traffic to a designated DMZ.

 I am probably not interested enough right now to build up a whole
 different machine to talk to the hub or be the DMZ.  So if you are
 pretty convinced doing it from a VMgentoo appliance running on one of
 the win boxes then I'll probably just keep fiddling around with the
 logs produced by the router.
 ... Thanks

I just saw the installation of vmware and the generation of a virtual image as 
more involved than what I suggest above.  Using the raw logs from the router 
and filtering/sorting these through a spreadsheet would probably make them 
easier to read.  Anyway, what ever works better/easier for you.
-- 
Regards,
Mick


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


Re: [gentoo-user] Kernel schedulers

2007-12-16 Thread Mick
On Saturday 15 December 2007, forgottenwizard wrote:
 On 15:27 Thu 13 Dec , Jason Carson wrote:
  Greetings,
 
  Where in the kernel config (make menuconfig) do I find the choice for
  schedulers. The one I am currently using is Anticipatory. What is the
  newest and latest scheduler for 2.6.23?
 
  Regards,
 
  Jason Carson
 
  --
  [EMAIL PROTECTED] mailing list

 Like someone else mentioned, you can switch the sched on the fly, and
 quite easily. From what I have seen myself:

 Anticipatory seems to be, at times, faster than deadline, but not by
 much. It tries to predict what will be needed next, where as deadline
 makes reads/writes based on which will be the fastest (recomended for
 databases and such iirc).

 In my experiance, CFQ has always been the slowest. It gives everything
 even time, and seems to cause alot more head movement than the other
 two, which is a pain.

 Best bet is to compile them all in, and switch them out to see what
 works best. For me that seems to be deadline (btw, I am running a
 desktop), but testing would be the best thing.

Is testing a matter of how 'it feels' to use the desktop type-of-thing, or is 
it a matter of trying to start/run multiple apps against a stop-watch?

I have used anticipatory and CFQ on my laptop and I am not sure that I can 
tell the difference . . .
-- 
Regards,
Mick


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


Re: [gentoo-user] dd questions

2007-12-16 Thread maxim wexler
 This is what happens when you hit TAB twice when
 running bash. So either
 you hit TAB or a couple TAB characters \t\t were in
 the input stream

Not TAB, but ESC, which I hit multi times to monitor
progress whenever the console went to sleep. Could
that have done it?

mw


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
David Relson wrote:
 IMHO, python is a very nice object oriented language and C++ is no
 better (unless you need particular features of the language).  I
 suspect C++ runs somewhat faster, but that's not the issue here.  As I
 understand, portage needs to deal with lots of special cases and
 exceptions to the general rules for updating package.  Special cases
 and exceptions always lead to complications and messy code.  Switching
 languages doesn't help a situation like this.

C++ is most certainly going to yield faster programs since it is a
machine compiled language and python is interpreted.  But that's not the
idea behind portage.  It's all about using the right tools for the job.
 I do all my research code in C++ because I need good memory management
and I need speed.  But python is far easier to code in, doesn't need to
be compiled, and is pretty dang elegant.  It's also pretty platform
independent, which is also nice.

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] LVM, crypto, and backup

2007-12-16 Thread felix
I want to set up two portable 1TB drives so users have their own LVM
partitions to mount as crypto drives.  These partitions would have to
be mounted manually with the passpharse supplied by each user (this is
a family setup, just a few users).  But I want the system to be able
to backup one 1TB drive to the other for offline backup.

1.  What crypto system to use?

2.  I have planned this with each user having their own LVM partition,
but would it be possible to use one passphrase and make the entire
drive crypto, then run LVM on top of that?  This is a curiousity
question more than anything.  It might be handy for a system disk
someday, but not now.

3.  What is the right way to backup one 1TB drive to the other?  dd
would probably work, but that sounds rather crude, not to mention
it would have to copy the entire 1TB over USB.  It would be a lot
faster to only backup what is needed.  I want to backup partitions
automatically once a week, without knowing the passphrase or
requiring the partitions to be mounted.  If each LVM partition is
only expanded as necessary, unused space in each partition would
be kept to a minimum.  Or is it possible for the backup to only
backup as much of each partition as is used, without knowing the
passphrase or having it mounted?  I suspect not, but I don't know.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: trouble with vsftpd

2007-12-16 Thread David Relson
On Sun, 16 Dec 2007 11:38:44 -0600
[EMAIL PROTECTED] wrote:

 David Relson [EMAIL PROTECTED] writes:
 
Logging in as anonymous ... 
Login incorrect.
 
 Is vsftpd setup for `anonymous'
 
 From vsftpd.conf
   Logging in as anonymous ... 
  # Allow anonymous FTP? (Beware - allowed by default if you 
  # comment this out).
  anonymous_enable=NO =
 
 I don't allow anonymous as you see but maybe that line is set to `NO'
 in your vsftpd.conf?

anonymous_enable=YES is set.

Below are the non-comment lines in vsftpd.conf (as reported
by grep -v ^# /etc/vsftpd/vsftpd.conf:

anonymous_enable=YES
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chown_uploads=NO
ascii_upload_enable=NO
ascii_download_enable=NO
ls_recurse_enable=NO

file_open_mode=0666
local_umask=0022
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Hemmann, Volker Armin
On Sonntag, 16. Dezember 2007, Randy Barlow wrote:
 David Relson wrote:
  IMHO, python is a very nice object oriented language and C++ is no
  better (unless you need particular features of the language).  I
  suspect C++ runs somewhat faster, but that's not the issue here.  As I
  understand, portage needs to deal with lots of special cases and
  exceptions to the general rules for updating package.  Special cases
  and exceptions always lead to complications and messy code.  Switching
  languages doesn't help a situation like this.

 C++ is most certainly going to yield faster programs since it is a
 machine compiled language and python is interpreted.  But that's not the
 idea behind portage.  It's all about using the right tools for the job.
  I do all my research code in C++ because I need good memory management
 and I need speed.  But python is far easier to code in, doesn't need to
 be compiled, and is pretty dang elegant.  It's also pretty platform
 independent, which is also nice.

 --
 Randy Barlow
 http://electronsweatshop.com

one reason pro phyton and contra c and c++ has always been: segfaults.

And with c++ comes another one: abi changes.

Just think about this horror: gcc/libstdc++ update and your package manager 
stops working
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM, crypto, and backup

2007-12-16 Thread Albert Hopkins

On Sun, 2007-12-16 at 11:52 -0800, [EMAIL PROTECTED] wrote:
 I want to set up two portable 1TB drives so users have their own LVM
 partitions to mount as crypto drives.  These partitions would have to
 be mounted manually with the passpharse supplied by each user (this is
 a family setup, just a few users).  But I want the system to be able
 to backup one 1TB drive to the other for offline backup.
 
 1.  What crypto system to use?
 
 2.  I have planned this with each user having their own LVM partition,
 but would it be possible to use one passphrase and make the entire
 drive crypto, then run LVM on top of that?  This is a curiousity
 question more than anything.  It might be handy for a system disk
 someday, but not now.
 
 3.  What is the right way to backup one 1TB drive to the other?  dd
 would probably work, but that sounds rather crude, not to mention
 it would have to copy the entire 1TB over USB.  It would be a lot
 faster to only backup what is needed.  I want to backup partitions
 automatically once a week, without knowing the passphrase or
 requiring the partitions to be mounted.  If each LVM partition is
 only expanded as necessary, unused space in each partition would
 be kept to a minimum.  Or is it possible for the backup to only
 backup as much of each partition as is used, without knowing the
 passphrase or having it mounted?  I suspect not, but I don't know.
 
I would probably use encfs, forget about the one-lvm-per-user
complexity, and just back up the encrypted filesystem just like any
other fs.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Matan Peled
On 16/12/2007, Randy Barlow [EMAIL PROTECTED] wrote:
 David Relson wrote:
  IMHO, python is a very nice object oriented language and C++ is no
  better (unless you need particular features of the language).  I
  suspect C++ runs somewhat faster, but that's not the issue here.  As I
  understand, portage needs to deal with lots of special cases and
  exceptions to the general rules for updating package.  Special cases
  and exceptions always lead to complications and messy code.  Switching
  languages doesn't help a situation like this.

 C++ is most certainly going to yield faster programs since it is a
 machine compiled language and python is interpreted.  But that's not the
 idea behind portage.  It's all about using the right tools for the job.
  I do all my research code in C++ because I need good memory management
 and I need speed.  But python is far easier to code in, doesn't need to
 be compiled, and is pretty dang elegant.  It's also pretty platform
 independent, which is also nice.

I see you haven't read the portage source-code.  It isn't so elegant...
And I'm saying this as someone who likes python and thinks it is
generally a Good Idea.

On 16/12/2007, Hemmann, Volker Armin
[EMAIL PROTECTED] wrote:
 one reason pro phyton and contra c and c++ has always been: segfaults.

 And with c++ comes another one: abi changes.

 Just think about this horror: gcc/libstdc++ update and your package manager
 stops working

Hehehehe. Guess what python is linked against (It doesn't have to be
linked against libstdc++, but it usually is)? =P
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Albert Hopkins

[...]
 
  Just think about this horror: gcc/libstdc++ update and your package manager
  stops working
 
 Hehehehe. Guess what python is linked against (It doesn't have to be
 linked against libstdc++, but it usually is)? =P

CPython is written in C and has no C++ dependencies:

$ ldd `which python`
linux-gate.so.1 =  (0xb7ffd000)
libpython2.5.so.1.0 = /usr/lib/libpython2.5.so.1.0 (0x455b)
libpthread.so.0 = /lib/libpthread.so.0 (0x421c9000)
libdl.so.2 = /lib/libdl.so.2 (0x421af000)
libutil.so.1 = /lib/libutil.so.1 (0x42feb000)
libm.so.6 = /lib/libm.so.6 (0x42189000)
libc.so.6 = /lib/libc.so.6 (0x42052000)
/lib/ld-linux.so.2 (0x4100)

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Bo Ørsted Andresen
On Sunday 16 December 2007 20:32:58 Randy Barlow wrote:
 C++ is most certainly going to yield faster programs since it is a
 machine compiled language and python is interpreted.

In this case it's not really significant. The biggest performance hit for a 
package manager for Gentoo remains I/O no matter which language you use...

-- 
Bo Andresen


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


Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Antonio Quartulli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



Hemmann, Volker Armin ha scritto:
 On Sonntag, 16. Dezember 2007, Randy Barlow wrote:
 David Relson wrote:
 IMHO, python is a very nice object oriented language and C++ is no
 better (unless you need particular features of the language).  I
 suspect C++ runs somewhat faster, but that's not the issue here.  As I
 understand, portage needs to deal with lots of special cases and
 exceptions to the general rules for updating package.  Special cases
 and exceptions always lead to complications and messy code.  Switching
 languages doesn't help a situation like this.
 C++ is most certainly going to yield faster programs since it is a
 machine compiled language and python is interpreted.  But that's not the
 idea behind portage.  It's all about using the right tools for the job.
  I do all my research code in C++ because I need good memory management
 and I need speed.  But python is far easier to code in, doesn't need to
 be compiled, and is pretty dang elegant.  It's also pretty platform
 independent, which is also nice.

 --
 Randy Barlow
 http://electronsweatshop.com
 
 one reason pro phyton and contra c and c++ has always been: segfaults.
 
 And with c++ comes another one: abi changes.
 
 Just think about this horror: gcc/libstdc++ update and your package manager 
 stops working

Why don't a python upgrade break your package manager??

- --
Antonio Quartulli,
 @System President  www.atsystem.org
 Student of Computer Science at University of Pisa
 Web: www.quartulli.org
 GPG Key: www.quartulli.org/aquartulli_0×41A1F50B.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBR2WN1JUBe9lBofULAQJOZwf/b42oKASq7T3LPChNub/L48Sdc4frpTuT
zNov1laSH3Wswax1UtFg+2oGxwJga3tzd4SX6F0/E5LhQE9BBSX3YGwgKy2HANsB
ban2rZssT/IADSK8PE6rGM2SmBm46iGOJNDcTfw/K014FC68ZoA+giK63KTpcQ70
j789xlfDQQKrTitR0uawwPiZAE7mQ2wqgTozInOecDxEiNXV6HOOdNeqOgofGLOM
R9XfpURFsaj72cMpqlW/hnuQQAf5hHq1GDBoWDpiETC3IDZNLkXI2hgoy6oBxybB
VqTCUdfInUsMTlXARJgebr96Yl6x4XXafZZTbvncN0MQTCZ1WCQaUQ==
=sG2L
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Matan Peled
On 16/12/2007, Antonio Quartulli [EMAIL PROTECTED] wrote:
snip
  And with c++ comes another one: abi changes.
 
  Just think about this horror: gcc/libstdc++ update and your package manager
  stops working

 Why don't a python upgrade break your package manager??

Also possible, but less likely. Python is usually OK wrt backwards
compatibility.

Surprisingly enough, the thing most likely to break your package
manager is a package manager update. =P

pycrypto, anyway?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
Hemmann, Volker Armin wrote:
 one reason pro phyton and contra c and c++ has always been: segfaults.
 
 And with c++ comes another one: abi changes.
 
 Just think about this horror: gcc/libstdc++ update and your package manager 
 stops working

Well segfaults generally indicate bugs in your code - so hopefully you
would be a good coder and ensure that you manage memory correctly.  Abi
changes suck big time, I agree on that point, and also the updates -
hadn't thought of that one :)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Randy Barlow
Matan Peled wrote:
 I see you haven't read the portage source-code.  It isn't so elegant...
 And I'm saying this as someone who likes python and thinks it is
 generally a Good Idea.

No, I definitely have not, but I have done some Python coding in my
days.  I was referring to the language, not the use of the language by
Portage :)

-- 
Randy Barlow
http://electronsweatshop.com
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Bo Ørsted Andresen
On Sunday 16 December 2007 22:04:52 Randy Barlow wrote:
 Bo Ørsted Andresen wrote:
  In this case it's not really significant. The biggest performance hit for
  a package manager for Gentoo remains I/O no matter which language you
  use...

 Yeah, you are right - although there is one step of an emerge that seems
 to hit my P3 hard: right after it reads the data from disk to determine
 dependencies, it goes 100% CPU for a few seconds.  Just think, we could
 save a few seconds! ;)  But seriously, I totally think Python is the
 tool for the package manager job - I was just trying to outline when you
 might choose C++ over python...

Heh, I don't think Python is the right choice. Performance just isn't the 
reason. ;)

-- 
Bo Andresen


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


Re: [gentoo-user] Kernel schedulers

2007-12-16 Thread forgottenwizard
On 18:36 Sun 16 Dec , Mick wrote:
 On Saturday 15 December 2007, forgottenwizard wrote:
  On 15:27 Thu 13 Dec , Jason Carson wrote:
   Greetings,
  
   Where in the kernel config (make menuconfig) do I find the choice for
   schedulers. The one I am currently using is Anticipatory. What is the
   newest and latest scheduler for 2.6.23?
  
   Regards,
  
   Jason Carson
  
   --
   [EMAIL PROTECTED] mailing list
 
  Like someone else mentioned, you can switch the sched on the fly, and
  quite easily. From what I have seen myself:
 
  Anticipatory seems to be, at times, faster than deadline, but not by
  much. It tries to predict what will be needed next, where as deadline
  makes reads/writes based on which will be the fastest (recomended for
  databases and such iirc).
 
  In my experiance, CFQ has always been the slowest. It gives everything
  even time, and seems to cause alot more head movement than the other
  two, which is a pain.
 
  Best bet is to compile them all in, and switch them out to see what
  works best. For me that seems to be deadline (btw, I am running a
  desktop), but testing would be the best thing.
 
 Is testing a matter of how 'it feels' to use the desktop type-of-thing, or is 
 it a matter of trying to start/run multiple apps against a stop-watch?
 
 I have used anticipatory and CFQ on my laptop and I am not sure that I can 
 tell the difference . . .
 -- 
 Regards,
 Mick

I go by how things feel. I know about how long most programs take to
start up, and how everything feels.

Of course, you can also figure into all this I have mpd running, fetchmail
running every few minutes, plus other various programs running that are
going to take up more disk I/O than what might be expected from a
laptop.

From what I've been able to tell, deadline has always worked best for
me, since not many of the reads I have take very long to start off with
(outside of the occasional movie).

Course, there is also how much you have loaded into RAM and cache that
would affect all this (which I bet you have more RAM than I do), so...

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM, crypto, and backup

2007-12-16 Thread Neil Bothwick
On Sun, 16 Dec 2007 14:15:12 -0600, Albert Hopkins wrote:

 I would probably use encfs, forget about the one-lvm-per-user
 complexity, and just back up the encrypted filesystem just like any
 other fs.

Alternatively, you could do the same with the in-kernel ecryptfs. These
two solutions work in much the same way, allowing you to mount individual
directories with their own passwords, so you could have a single /home
with each user's directory having its own password. You back up the
encrypted data, so no passwords are needed for this.


-- 
Neil Bothwick

Linux users do it without paying a Bill


signature.asc
Description: PGP signature


Re: [gentoo-user] LVM, crypto, and backup

2007-12-16 Thread felix
On Sun, Dec 16, 2007 at 02:15:12PM -0600, Albert Hopkins wrote:

 I would probably use encfs, forget about the one-lvm-per-user
 complexity, and just back up the encrypted filesystem just like any
 other fs.

No, I want each user to have their own volume, manually mouinted with
a passphrase.  For instance, I have crontab entries for myself that I
want to execute even if the encryopted volume is not mounted.  I wanta
reboot to work fine without waiting for passphrases.

I have no problem with LVM.  I will configure the external drive as
one volume group and create individual logical volumes for each user,
so everyone has control of their own encrypted volume.  They can add
something to their .bash files to automount it if they want, it won't
make me no never mind.  Heck, they can skip the encryption if they
want.  But I want users to have their own logical volumes, and I want
it to be independent of $HOME.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Python vs C++ [was: Gentoo Rules]

2007-12-16 Thread Hemmann, Volker Armin
On Sonntag, 16. Dezember 2007, Randy Barlow wrote:
 Hemmann, Volker Armin wrote:
  one reason pro phyton and contra c and c++ has always been: segfaults.
 
  And with c++ comes another one: abi changes.
 
  Just think about this horror: gcc/libstdc++ update and your package
  manager stops working

 Well segfaults generally indicate bugs in your code - so hopefully you
 would be a good coder and ensure that you manage memory correctly.  Abi
 changes suck big time, I agree on that point, and also the updates -
 hadn't thought of that one :)


sometimes a lib update is the one factor that turns a simply 'thinko' in a 
full grown segfault ;)
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] realtek 8197 wireless card setup

2007-12-16 Thread Stroller


On 16 Dec 2007, at 17:14, Mick wrote:

On Sunday 16 December 2007, Jeff Cranmer wrote:
Running the command 'dmesg | grep rtl8187' after reboot returns  
the message

usbcore: registered new interface driver rtl8187

All I get for iwconfig is
lo  no wireless extensions
eth0no wireless extensions.


This means that the driver has not been loaded yet.


Looking at Jeff's previous post (quoted added above) that's not a  
conclusion I'd jump to.


But it would have helped if Jeff had posted `dmesg | grep rtl8187   
iwconfig` in the same post to prove the point.


Stroller.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] realtek 8197 wireless card setup

2007-12-16 Thread Mick
On Sunday 16 December 2007, Stroller wrote:
 On 16 Dec 2007, at 17:14, Mick wrote:
  On Sunday 16 December 2007, Jeff Cranmer wrote:
  Running the command 'dmesg | grep rtl8187' after reboot returns
  the message
  usbcore: registered new interface driver rtl8187
 
  All I get for iwconfig is
  lo no wireless extensions
  eth0   no wireless extensions.
 
  This means that the driver has not been loaded yet.

 Looking at Jeff's previous post (quoted added above) that's not a
 conclusion I'd jump to.

Oops!  Sorry, didn't see that.  If the driver is loaded then why isn't an 
interface showing up?

 But it would have helped if Jeff had posted `dmesg | grep rtl8187 
 iwconfig` in the same post to prove the point.

 Stroller.

-- 
Regards,
Mick


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


Re: [gentoo-user] hibernate: press SPACE to continue?

2007-12-16 Thread Iain Buchanan

On Mon, 2007-12-10 at 18:42 +, Mick wrote:
 On Monday 10 December 2007, Rumen Yotov wrote:
  On (10/12/07 10:37) Iain Buchanan wrote:
   Hi all,
  
   I just upgraded from hibernate-script-1.97-r3 to
   hibernate-script-1.97-r4, and now at every stage of the suspend to disk
   and resume process, I see this message:
  
   Press SPACE to continue.
  
   So I have to press the space bar about 4 times during suspend, and again
   during resume.
  
   I can't find any reference in the docs, readme, google, or even the
   source!  (well, there is a bit on google, but no help really).
  
   Any ideas?  thanks!
   --
   Iain Buchanan iaindb at netspace dot net dot au
 
  Using the same version on 2.6.22-suspend2-rX sources with no problem.
  But have tried it only from X-less terminal, what's your WM/DM ?
  HTH. Rumen
 
 I just tried sys-power/hibernate-script-1.97-r4 with the 2.6.23-gentoo-r3 
 kernel and it suspends as expected.  No Press SPACE to continue messages 
 here . . .
 
 Have you looked at the hibernate.log content in case it is more informative 
 (tweak you hibernate.conf first to increase verbosity if required).

thanks for the tips - in the end I commented out the userui
suspend2ui_fbsplash and went back to normal.  After a few normal reboots
(for other reasons) I went back to suspend2ui_text and then
suspend2ui_fbsplash and I no longer get the message.

Don't know why, but at least I don't have to press space all the time!

cya,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Nanny Ogg looked him up and down or, at least, down and further down.
You're a dwarf, she said.
-- Nanny Ogg meets Casanunda
   (Terry Pratchett, Witches Abroad)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: trouble with vsftpd

2007-12-16 Thread reader
David Relson [EMAIL PROTECTED] writes:

 anonymous_enable=YES is set.

I won't be able to help beyond that, but I'm sure others will.  I
remember having a hard time with vsftpd and anonymous too.  But it
suddenly hit me after messing with it for a good while that I had no
need of anonymous since its on a protected home lan so just went with

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: DMZ on an vmware gentoo guest running on winXP host

2007-12-16 Thread reader
Mick [EMAIL PROTECTED] writes:

 I just saw the installation of vmware and the generation of a virtual image 
 as 
 more involved than what I suggest above.  Using the raw logs from the router 
 and filtering/sorting these through a spreadsheet would probably make them 
 easier to read.  Anyway, what ever works better/easier for you.

Thanks for your input... very usefull.
And you are probably right about 
'installation of vmware and the generation of a virtual image' being
more trouble. (If it had to be done from scratch)

I wouldn't be doing it from scratch since I have a vmware setup with a
gentoo application running on one of the winXP boxes already, so that
kind of `colored' my notion of what would be more trouble I
guess. hehe.

I left out the connections from hub to a machine illustrating the fact
that it had to be done somewhere and whereever it was it would need
some kind of protection.

As I mentioned in OP, my gentoo box is pretty freewheeling ... don't
use a firewall at all, the firewall is on the router/switch/firewall.
Which is easy to configure and nearly maintenance free.  Makes no
noise and takes very little space.

In my experience IPTABLES in the hands of a novice is no where near
maintenance free and not so easy either.  Much more likely to shoot
yourself in the foot.  I went to a store-bought firewall some yrs ago
exactly from having unending troubles getting my own working.

So I didn't see how  installing a second NIC, and accompanying
firewall would really be any different than just chucking the hub and
letting the second nic connect in that position.  But I'm not very
knowledgable here so maybe that isn't really an option, or a bad one. 

And either one seemed more involved than doing something from an
existing vmware on a winXP or just suffering along with clunky logs.
Or whatever scripting I could muster to pull info out of them
quickly. 

[...]

 real time so the risk of exposure (as I understand it in this context) is 
 minimal, but others may want to comment.

I hope they do.  I'd be interested.

[...] snipped other helpful info

Thanks for the info and the names of some of the tools involved.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] LVM, crypto, and backup

2007-12-16 Thread felix
On Sun, Dec 16, 2007 at 09:53:08PM +, Neil Bothwick wrote:
 On Sun, 16 Dec 2007 14:15:12 -0600, Albert Hopkins wrote:
 
  I would probably use encfs, forget about the one-lvm-per-user
  complexity, and just back up the encrypted filesystem just like any
  other fs.
 
 Alternatively, you could do the same with the in-kernel ecryptfs. These
 two solutions work in much the same way, allowing you to mount individual
 directories with their own passwords, so you could have a single /home
 with each user's directory having its own password. You back up the
 encrypted data, so no passwords are needed for this.

ecryptfs-utils apaprently is for ~x86 only.  Any idea of when it will
be ready for ~amd64?

One of the things I want is to move this external drive from machine
to machine.  It would be a shame if 32 bit and 64 bit didn't talk to
each other!

I do have encfs emrrged on all machines, so I can start there with
experimentation; it does encrypt file names, but I'd rather have a
solid encrypted block than bits and pieces.  I suppose that might not
matter a whole lot.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] growisofs: media is not recognized as recordable DVD

2007-12-16 Thread Daniel
I had some .avi's that I wanted to burn, so I went out and bought a 10pack of 
Fujifilm DVD-R media (4.7GB) and fired up K3b.  However, it kept asking me to 
insert a writable disk even though I put fresh disk after fresh disk in the 
drive.

So I resorted to growisofs.  I had an ISO I wanted to burn as well so:

  $ growisofs -Z /dev/dvdrw=/path/to/image.iso
  :-( /dev/dvdrw: media is not recognized as recordable DVD: 0

...so I started Googling and found numerous references to people making stupid 
mistakes (trying to burn CDs instead, putting +R discs in  -R drives etc.) 
and a few people suggesting I flash my firmware.

The thing is, this USED to work -- both with -R and +R and +RW... I just 
haven't done it for a few months.  I burned a CDR just the other day, but 
this is the first time in a while that I've tried to burn a DVD.  The drive 
is a good one:

  $ dvd+rw-mediainfo /dev/dvdrw
  INQUIRY:[PIONEER ][DVD-RW  DVR-108 ][1.10]
  GET [CURRENT] CONFIGURATION:
  :-( no media mounted, exiting...

And the binaries look ok:

  $ ls -l `which cdrecord` `which growisofs` `which mkisofs`
  -rwxr-xr-x 1 root root 321432 2007-12-16 19:08 /usr/bin/cdrecord
  -rwxr-xr-x 1 root root  83620 2007-12-16 18:35 /usr/bin/growisofs
  -rwxr-xr-x 1 root root 432384 2007-12-16 19:08 /usr/bin/mkisofs

As do my permissions:

  $ ls -l /dev/hda /dev/dvd /dev/dvdrw
  lrwxrwxrwx 1 root root 3 2007-12-16 18:49 /dev/dvd - hda
  lrwxrwxrwx 1 root root 3 2007-12-16 18:49 /dev/dvdrw - hda
  brw-rw 1 root cdrom 3, 0 2007-12-16 18:49 /dev/hda

...though admittedly, I'm not sure what that b is on /dev/hda...

Lastly, my software is up to date:

  $ eix cdrtools
  [I] app-cdr/cdrtools app-cdr/dvd\\+rw-tools
   Available versions:  2.01-r1 2.01.01_alpha25 2.01.01_alpha34
   ~2.01.01_alpha36 {unicode}
   Installed versions:  2.01.01_alpha34(19:08:15 16/12/07)
   Homepage:http://cdrecord.berlios.de/
   Description: A set of tools for CD/DVD reading and recording, 
   including cdrecord

  [I] app-cdr/dvd+rw-tools
   Available versions:  5.21.4.10.8 ~6.0 ~6.1 6.1-r1 7.0
   Installed versions:  7.0(18:35:30 16/12/07)
   Homepage:http://fy.chalmers.se/~appro/linux/DVD+RW/
   Description: A set of tools for DVD+RW/-RW drives

My user is in the cdrom group and the above happens whether I'm root or my 
user.  I gotta get this stuff burned ASAP and I'm even downloading Nero for 
Windows (shudder) just to get it done, but I really want this to work again.  
Suggestions?  Help??


-- 
It's hard not to believe tv
It's spent so much time raising us
  - Bart Simpson
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: trouble with vsftpd

2007-12-16 Thread David Relson
On Sun, 16 Dec 2007 18:19:14 -0600
[EMAIL PROTECTED] wrote:

 David Relson [EMAIL PROTECTED] writes:
 
  anonymous_enable=YES is set.
 
 I won't be able to help beyond that, but I'm sure others will.  I
 remember having a hard time with vsftpd and anonymous too.  But it
 suddenly hit me after messing with it for a good while that I had no
 need of anonymous since its on a protected home lan so just went with

I've actually got 2 non-working installations -- one a protected home
lan machine and the second a server (which stopped working a while
ago).  I figured the gentoo machine was the best place for
experimenting :-

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Dual USB HDD enclosure shows only a single disk (NexStar MX)

2007-12-16 Thread felix
I bought a NexStar MX dual SATA enclosure and two 1TB drives for it.
It has an internal switch to select it appearing as a single 2TB drive
or two separate 1TB drives.  I eventually want it to be the single
drive, but I want it as two separate drives initially.  However, it
doesn't work that way.

I have tried these combinations:

Both drives installed

Swapped them

One drive in each slot, the other slot empty

Both slots work, and both drives work.  But with two drives installed
and the switch in individual drives mode, it only shows one of them.
These are SATA and there is no master / slave jumper to snag me,
AFAIK.

The instruction manual mkes a reference to the mode switch being
either JBOD or individual drives.  They have a reference to RAID as a
comparison, but nowhere else in the manual do they refer to RAID, nor
does the box anywhere brag about RAID, and the installation procedures
for both Windows and Mac explicitly show two separate new drives.  I
think it is safe to assume I should see either one 2TB drive or two
1TB drives.

I don't have either a Windows or a Mac to try this on, and I don't
particularly want to contaimnate my shiny new 1TB drives.

So here's my question:

Is there some feature of the USB spec that is not implemented under
Linux that would prevent one of the drives from showing up?

The kernel config does NOT set CONFIG_SCSI_MULTI_LUN, if that makes
any difference.

Here is /var/log/messages when I first inserted the USB connection:

Dec 16 12:13:14 bitroteo [575806.793193] usb 4-3: new high speed USB device 
using ehci_hcd and address 6
Dec 16 12:13:14 bitroteo [575806.909127] usb 4-3: configuration #1 chosen from 
1 choice
Dec 16 12:13:14 bitroteo [575806.910493] scsi2 : SCSI emulation for USB Mass 
Storage devices
Dec 16 12:13:14 bitroteo [575806.910794] usb-storage: device found at 6
Dec 16 12:13:14 bitroteo [575806.910799] usb-storage: waiting for device to 
settle before scanning
Dec 16 12:13:19 bitroteo [575811.909675] scsi 2:0:0:0: Direct-Access WDC WD10 
EACS-00ZJB0   PQ: 0 ANSI: 2 CCS
Dec 16 12:13:19 bitroteo [575811.911024] sd 2:0:0:0: [sda] 1953525168 512-byte 
hardware sectors (1000205 MB)
Dec 16 12:13:19 bitroteo [575811.911754] sd 2:0:0:0: [sda] Write Protect is off
Dec 16 12:13:19 bitroteo [575811.911761] sd 2:0:0:0: [sda] Mode Sense: 00 38 00 
00
Dec 16 12:13:19 bitroteo [575811.911765] sd 2:0:0:0: [sda] Assuming drive 
cache: write through
Dec 16 12:13:19 bitroteo [575811.912751] sd 2:0:0:0: [sda] 1953525168 512-byte 
hardware sectors (1000205 MB)
Dec 16 12:13:19 bitroteo [575811.913500] sd 2:0:0:0: [sda] Write Protect is off
Dec 16 12:13:19 bitroteo [575811.913506] sd 2:0:0:0: [sda] Mode Sense: 00 38 00 
00
Dec 16 12:13:19 bitroteo [575811.913509] sd 2:0:0:0: [sda] Assuming drive 
cache: write through
Dec 16 12:13:19 bitroteo [575811.913519]  sda: unknown partition table d
Dec 16 12:13:19 bitroteo [575811.923424] sd 2:0:0:0: [sda] Attached SCSI disk
Dec 16 12:13:19 bitroteo [575811.923691] sd 2:0:0:0: Attached scsi generic sg0 
type 0
Dec 16 12:13:19 bitroteo [575811.924342] usb-storage: device scan complete

Here is the result of lsusb:

# lsusb
Bus 004 Device 013: ID 152d:2336 JMicron Technology Corp. / JMicron
USA Technology Corp. 
Bus 004 Device 001: ID :  
Bus 002 Device 001: ID :  
Bus 003 Device 002: ID 047d:1020 Kensington 
Bus 003 Device 001: ID :  
Bus 001 Device 003: ID 06a3:8000 Saitek PLC 
Bus 001 Device 001: ID :  

# lsusb -v -s 4:13

Bus 004 Device 013: ID 152d:2336 JMicron Technology Corp. / JMicron
USA Technology Corp. 
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x152d JMicron Technology Corp. / JMicron USA
  Technology Corp.
  idProduct  0x2336 
  bcdDevice1.00
  iManufacturer   1 JMicron
  iProduct2 JM20336 SATA, USB Combo
  iSerial 5 8DC88D10EAC8
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   32
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  4 USB Mass Storage
bmAttributes 0xc0
  Self Powered
MaxPower2mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk (Zip)
  iInterface  6 Bulk-In, Bulk-Out Interface
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  

Re: [gentoo-user] realtek 8197 wireless card setup

2007-12-16 Thread Stroller


On 16 Dec 2007, at 22:56, Mick wrote:


On Sunday 16 December 2007, Stroller wrote:

On 16 Dec 2007, at 17:14, Mick wrote:

On Sunday 16 December 2007, Jeff Cranmer wrote:

Running the command 'dmesg | grep rtl8187' after reboot returns
the message
usbcore: registered new interface driver rtl8187


All I get for iwconfig is
lo  no wireless extensions
eth0no wireless extensions.


This means that the driver has not been loaded yet.


Looking at Jeff's previous post (quoted added above) that's not a
conclusion I'd jump to.


Oops!  Sorry, didn't see that.  If the driver is loaded then why  
isn't an

interface showing up?


Good question. I agree that without seeing that statement I might  
well have thought the same thing. That's why I wrote:



But it would have helped if Jeff had posted `dmesg | grep rtl8187 
iwconfig` in the same post to prove the point.


Stroller.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dual USB HDD enclosure shows only a single disk (NexStar MX)

2007-12-16 Thread Hemmann, Volker Armin
On Montag, 17. Dezember 2007, [EMAIL PROTECTED] wrote:
 The kernel config does NOT set CONFIG_SCSI_MULTI_LUN, if that makes
 any difference.

it should. Please set it. Oh, and don't forget - in 'single disk mode' you 
might loose everything if one of the two disks dies.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dual USB HDD enclosure shows only a single disk (NexStar MX)

2007-12-16 Thread felix
On Mon, Dec 17, 2007 at 02:38:40AM +0100, Hemmann, Volker Armin wrote:
 On Montag, 17. Dezember 2007, [EMAIL PROTECTED] wrote:
  The kernel config does NOT set CONFIG_SCSI_MULTI_LUN, if that makes
  any difference.
 
 it should. Please set it. Oh, and don't forget - in 'single disk mode' you 
 might loose everything if one of the two disks dies.

I don't mean to sound argumentative, but why shoul SCIS LUNs matter
here?  I know USB comes across as SCSI disks, but why should the USB
system care about them -- why wouldn't the USB interface simply
present itself as two disks, sda and sdb for instance?

I am not worried about one of the two disks dying.  I intend to use
two of them, one as backup.  Of course, backups aren't foolproof, but
I have other backups too.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread reader
It all started like this:  Using rsync I was getting an error when
ever I used the `--stats' flag.  The output said it was an error in
the stack ... Rather than mess with it, I thought I might take the
opportunity to sync portage and see if a newer rsync was available.

Its been a mnth or so since I synced.

At the end of the sync I got the notice about emerging a new
portage... so did so.

But then when I attempted to emerg rsync I got some errors I'd never
seen before:

--- ACCESS VIOLATION SUMMARY ---
LOG FILE = /var/log/sandbox/sandbox-14253.log

open_rd:   /root/.bash_history
open_rd:   /root/.bash_history


What was shown there is absolutely all that is in the log and there
are no others at that location.

Looking at /root/.bash_history  I saw nothing wrong.  Its permissions
were 600... but just incase I set it to 644 but it didn't help.

Since these were (To me) unusual errors I thought maybe I should back
out the portage update.

Foolishly I ran emerge -vC portage  before thinking about it much.

I was deeply embroiled in some perl programming is my only excuse
other than deep seated stupidity.

But cutting to the chase: Now of course many of the portage tools were
rm'ed before the emerge -vC failed here:

[...]
--- !empty   dir /usr
--- !empty   dir /etc/portage
--- !empty   dir /etc/logrotate.d
--- !empty   dir /etc/env.d
--- !empty   dir /etc
[portage-2.1.4_rc10] bash: /usr/lib/portage/bin/ebuild.sh: No such file or 
directory
!!! FAILED postrm: 127
 
So very basic stuff is missing.

emerge is one of the tools now missing 

I thought maybe I could download portage and compile it manually but
it appears not to really be made to be used like that. 

At least looking in the unpacked top level directory I don't see the
familiar signs of a gnu sources package like ./configure and such.  It
does have a ready made emerge at ./bin/emerge but running it seems to
indicate it is looking in the wrong places for stuff and isn't going
to be usefull without some more skilled technician than me.

What are my choices here... is the only one to use the livecd and
emerge portage from there?  Or is there such a thing as a sources
package of portage arranged for a stand alone compile job.

All I could find was the distfile..

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread felix
On Sun, Dec 16, 2007 at 10:23:35PM -0500, Randy Barlow wrote:

 Anyone else want to chime in

I am by no means an expert or even close personal friend of Pythion or
gentoo, but that won't stop me.  Portage installs pretty quickly;
wouldn't it be possible to just do everything manually?  It's not like
he removed gcc or the kernel.  Someone could send him a build log and
he could just do the manual steps -- unpack, copy, etc.  Tedious and a
pain and probably need to be done several times to get it right, but
otherwise it seems like it ought to be doable within an hour or so.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread Dale
[EMAIL PROTECTED] wrote:
 On Sun, Dec 16, 2007 at 10:23:35PM -0500, Randy Barlow wrote:

   
 Anyone else want to chime in
 

 I am by no means an expert or even close personal friend of Pythion or
 gentoo, but that won't stop me.  Portage installs pretty quickly;
 wouldn't it be possible to just do everything manually?  It's not like
 he removed gcc or the kernel.  Someone could send him a build log and
 he could just do the manual steps -- unpack, copy, etc.  Tedious and a
 pain and probably need to be done several times to get it right, but
 otherwise it seems like it ought to be doable within an hour or so.

   


http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

That help any?  It's not like you are the first to do something like
this.  LOL

Dale

:-)  :-)  :-) 


Re: [gentoo-user] Got myself in a bind unmerging portage

2007-12-16 Thread Albert Hopkins

On Sun, 2007-12-16 at 22:23 -0500, Randy Barlow wrote:
 It kind of
 makes me chuckle a bit that emerge -vC portage doesn't at least warn
 you
 that this will make a mess of your system (Are you sure?)

# emerge -Ca portage

 These are the packages that would be unmerged:


!!! 'sys-apps/portage' is part of your system profile.
!!! Unmerging it may be damaging to your system.


I'd say that's fair enough.
--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dual USB HDD enclosure shows only a single disk (NexStar MX)

2007-12-16 Thread Iain Buchanan

On Sun, 2007-12-16 at 18:23 -0800, [EMAIL PROTECTED] wrote:
 On Mon, Dec 17, 2007 at 02:38:40AM +0100, Hemmann, Volker Armin wrote:
  On Montag, 17. Dezember 2007, [EMAIL PROTECTED] wrote:
   The kernel config does NOT set CONFIG_SCSI_MULTI_LUN, if that makes
   any difference.
  
  it should. Please set it. Oh, and don't forget - in 'single disk mode' you 
  might loose everything if one of the two disks dies.
 
 I don't mean to sound argumentative, but why shoul SCIS LUNs matter
 here?  I know USB comes across as SCSI disks, but why should the USB
 system care about them -- why wouldn't the USB interface simply
 present itself as two disks, sda and sdb for instance?
 
 I am not worried about one of the two disks dying.  I intend to use
 two of them, one as backup.  Of course, backups aren't foolproof, but
 I have other backups too.

don't ask me, I only work here... but I have a multimedia unit that
has 4 card reader slots, a HD, an LCD and USB2.  Only /dev/sda shows up
if I don't set the multiple luns option, and /dev/sda isn't the HD!
It's the (usually empty) CFCARD slot!

I don't know why it isn't on by default in the livecd either...

-- 
Iain Buchanan iaindb at netspace dot net dot au

An honest politician is one who when he is bought will stay bought.
-- Simon Cameron

There are honest journalists like there are honest politicians.  When
bought they stay bought.
-- Bill Moyers

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dual USB HDD enclosure shows only a single disk (NexStar MX)

2007-12-16 Thread felix
On Mon, Dec 17, 2007 at 02:00:32PM +0930, Iain Buchanan wrote:
 don't ask me, I only work here... but I have a multimedia unit that
 has 4 card reader slots, a HD, an LCD and USB2.  Only /dev/sda shows up
 if I don't set the multiple luns option, and /dev/sda isn't the HD!
 It's the (usually empty) CFCARD slot!
 
 I don't know why it isn't on by default in the livecd either...

I have several of those USB multislot multimedia readers, and none of
them show any rpesence in /dev except for those slots which have a
card in them.  Wel, I haven't checked them in a while.  But for
instance, one of them has four slots, I think they show up normally on
my system as sd[fghi], nad the one I use th emost is sdh.  I put the
card in, then plug in the USB cable, and sdh shows up but not sd[fgi].

Last time I cheked, it also confused the heckout of the USB system if
I pulled the card out of the slot before yanking out the USB cable.

I will try the LUN flag but not right now, I don't want to reboot now.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dual USB HDD enclosure shows only a single disk (NexStar MX)

2007-12-16 Thread Hemmann, Volker Armin
On Montag, 17. Dezember 2007, [EMAIL PROTECTED] wrote:
 On Mon, Dec 17, 2007 at 02:00:32PM +0930, Iain Buchanan wrote:
  don't ask me, I only work here... but I have a multimedia unit that
  has 4 card reader slots, a HD, an LCD and USB2.  Only /dev/sda shows up
  if I don't set the multiple luns option, and /dev/sda isn't the HD!
  It's the (usually empty) CFCARD slot!
 
  I don't know why it isn't on by default in the livecd either...

 I have several of those USB multislot multimedia readers, and none of
 them show any rpesence in /dev except for those slots which have a
 card in them.  Wel, I haven't checked them in a while.  But for
 instance, one of them has four slots, I think they show up normally on
 my system as sd[fghi], nad the one I use th emost is sdh.  I put the
 card in, then plug in the USB cable, and sdh shows up but not sd[fgi].

 Last time I cheked, it also confused the heckout of the USB system if
 I pulled the card out of the slot before yanking out the USB cable.

 I will try the LUN flag but not right now, I don't want to reboot now.

 --
 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
  Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
   GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license
 #4933 I've found a solution to Fermat's Last Theorem but I see I've run out
 of room o

and I have a '30in1' card reader that needs the multi-lun flag to find 
anything at all.

usb is just 'some kind of scsi' for the kernel.

-- 
Conclusions 
 In a straight-up fight, the Empire squashes the Federation like a bug. Even 
with its numerical advantage removed, the Empire would still squash the 
Federation like a bug. Accept it. -Michael Wong 
-- 
[EMAIL PROTECTED] mailing list