Re: [vox-tech] usb woes

2002-02-18 Thread Peter Jay Salzman

turns out that USB hard drives are accessed via scsi device files.
never knew that.  well, supposedly they do.  someone had one at the IF
today, but we never did get it working...

pete


begin Erik Mullinix [EMAIL PROTECTED] 
 Im so used to suse.
 It allows me to check on devices like windows.. only it works.
 
 Disreguard my babble please As im trying to find the info i had to back it
 up and it isnt getting found.  I was using an olderversion/kernal. And
 wonder if this version has changed anything.
 
 ;-(
 Im not a programmer. so please excuse me when I dont do things like you.
 
 - Original Message -
 From: Peter Jay Salzman [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, February 17, 2002 2:55 AM
 Subject: Re: [vox-tech] usb woes
 
 
  begin Erik Mullinix [EMAIL PROTECTED]
   When I went through the device management for my mouse
   (usb) and tried my scanner. it was coming up under the scsi device list.
 but
   unnaccessable innicialy.Did you know suse has a nice scanner utility ?
 
  device management?   what's device management?  are we talking about
  windows or linux?
 
  there appears to be no evidence that the kernel is mis-managing the
  devices.  at least, none that i can see.  maybe this is a windows (or
  suse) thing?  i dunno.  it's just hard to believe the linux would
  misregister hardware.  especially hardware plugged into completely
  different ports.
 
   and I dont have it overclocked. I think there is a problem with the
 chipset
   controls for the pci buss.
 
  wierd.  did you know that there were bad problems of people selling over
  rated celeron chips?   apic errors are very rare.  except when a CPU is
  run at a speed faster than its rating.
 
  i forget the details, but there are websites out there that can tell you
  if you have a mislabelled celeron.  even fox news ran a story on this
  about 3 years ago.
 
  pete
 
  ___
  vox-tech mailing list
  [EMAIL PROTECTED]
  http://lists.lugod.org/mailman/listinfo/vox-tech
 
 
 ___
 vox-tech mailing list
 [EMAIL PROTECTED]
 http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
Enron..safe legal abortion..civil liberty..repealing ICBM treaty..deficit..
What's worse?  Screwing an intern or screwing an entire country?

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] usb woes

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 01:45:36AM -0800, Peter Jay Salzman wrote:
 turns out that USB hard drives are accessed via scsi device files.

Yep.  My CF card reader (which connects via USB) appears as /dev/sda1

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] usb woes

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 01:57:12AM -0800, nbs wrote:
 On Mon, Feb 18, 2002 at 01:45:36AM -0800, Peter Jay Salzman wrote:
  turns out that USB hard drives are accessed via scsi device files.
 
 Yep.  My CF card reader (which connects via USB) appears as /dev/sda1

PS - Interestingly, the CF cards themselves appear as IDE drives on the
Zaurus (eg, /dev/hda1 :) )   (And the SD card appears as /dev/mmcda1 ...
and the 'RAM' filesystem appears as /dev/mtdblock1 )

Wacky wacky :)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] ssh remote commands

2002-02-18 Thread nbs

I'm trying to set up remote access to the PC on my LAN which has the
Rio MP3 player connected to it.  Unfortunately, the command which talks
to it, rio, requires root access.

As an exercise in safety, I'd like to set up password-less access to the
'/usr/bin/rio' command on that system via SSH.  Unfortunately, I just noticed
this in sshd's man page:

 command=command
 Specifies that the command is executed whenever this key is used
 for authentication.  The command supplied by the user (if any) is
 ignored. ... 
 ^^^

This means that I can't do anything like:

  ssh root@zen rio -d

  ssh root@zen rio -za

  ssh root@zen rio -u somefile.mp3



Now, I can set up 'sudo' to let particular users access the 'rio' command,
but unfortunately, unless you've ran the command very recently (eg, in the
last 5 minutes!), they're forced to enter their sudo'ing password.  ie:

  ssh myself@zen sudo rio -d

will ask me for 'myself's password.  What's worse is, since this is via
an 'ssh' command execution, when I type my password, it's echoed back!



Looking at these issues, and the fact that one will need to be scp'ing
files back and forth to the host with the Rio connected to it ANYWAY,
I'm thinking ssh or ssh/sudo isn't going to be what I need.


I guess I should look into riofs and see if I can do some sort of weird
double remote mounting.  Or somehting. :)


-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ssh remote commands

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 03:19:43AM -0800, nbs wrote:
snip 
 
 Looking at these issues, and the fact that one will need to be scp'ing
 files back and forth to the host with the Rio connected to it ANYWAY,
 I'm thinking ssh or ssh/sudo isn't going to be what I need.
 
 
 I guess I should look into riofs and see if I can do some sort of weird
 double remote mounting.  Or somehting. :)

Bah!  That won't work, either. :^(

  http://www.cs.stedwards.edu/~hazel/rio/

states:

  ... at the moment, riofs is read-only ...

:^(


Any other suggestions?  (Henry's lpr idea was interesting, but I don't
think it'll handle deleting stuff.)


-bill!
glad that USB and CF/SD cards are becoming more the norm, and bizarre
printer port access to extremely proprietary flash file systems which
break your SmartMedia to the point where you need to find a Windows box
to run some odd reformatter so that you can continue to use the card
in your digital camera... gasp are becoming less the norm ;)
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ssh remote commands

2002-02-18 Thread Charles Polisher

On Mon, Feb 18, 2002 at 03:19:43AM -0800, nbs wrote:
 I'm trying to set up remote access to the PC on my LAN which has the
 Rio MP3 player connected to it.  Unfortunately, the command which talks
 to it, rio, requires root access.
 
 As an exercise in safety, I'd like to set up password-less access to the
 '/usr/bin/rio' command on that system via SSH.  Unfortunately, I just noticed

Can you clear the SUID bit and add the device 
to fstab with user-mountable permissions? Maybe
even use a chrooted mount-point? Just thinking out
loud...

-- 
BWAHAHAAHAHahhahahahaah.  No, no, no, said the little chicken.
-- gcc comment
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] module loading at suse kernel initialization and usb woes

2002-02-18 Thread Peter Jay Salzman

hey erik,

yeah.  not crazy.  in fact, i learned quite a bit about usb at the
installfest.  pretty amazing we had this conversation the day before i
got to see it in action.  :)

the deal is that the device itself isn't recognized as scsi.  the scsi
system doesn't register the device, usb does.  however, the scsi system
provides the transport layer between the kernel and usb.  so a usb hard
drive is registered by usb-storage.o but is accessed with scsi-ide (i
think i'm remembering this correctly).  so the drive is supposed to be
accessed via /dev/sd*.  we didn't get his drive working, but that's
because usb didn't recognize the device.  i think if we upgraded his
kernel, we could've gotten it to work.

oh -- question about suse.

i wanted the guy's usb-storage module to load on boot.  on most systems
i've seen, /etc/modules contains a lis of modules that are to be loaded
at boot time.

i've seen this on debian, LRP, LEAF and i think redhat.  i tried this
under suse (suse didn't have an /etc/modules so i created one).
however, my /etc/modules was ignored by suse.

so i'd like to know -- under suse, if you want a module to be loaded
when the kernel first boots, how do you do it?

pete


begin Erik Mullinix [EMAIL PROTECTED] 
 Cool Im not a complete nutcase.
 
 Well Not complete.
 Dangit.. I missed Sundays IF. witch was on calander.
 
 oki back to complete nutcase.
 
 Hesp
 
 
 ___
 vox-tech mailing list
 [EMAIL PROTECTED]
 http://lists.lugod.org/mailman/listinfo/vox-tech

-- 
Enron..safe legal abortion..civil liberty..repealing ICBM treaty..deficit..
What's worse?  Screwing an intern or screwing an entire country?

PGP Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] ssh remote commands

2002-02-18 Thread nbs

On Mon, Feb 18, 2002 at 06:25:42AM -0800, Charles Polisher wrote:

 Can you clear the SUID bit and add the device 
 to fstab with user-mountable permissions? Maybe
 even use a chrooted mount-point? Just thinking out
 loud...

It doesn't access the rio via a /dev/ device.  It accesses it _directly_.
(It took me a while, some stracing, and finally some reading of the rio
software homepage, to remember this.)

:^/

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech