cp command with progress bar

2007-04-18 Thread yaron
Hi all,

I am looking for a cp like command line utility, that shows the percentage of 
data copied during the file copy.

Is anyone familiar with such a utility.


Thanks in advance,


Yaron Kahanovitch 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: cp command with progress bar

2007-04-18 Thread Oren Held

rsync -v --progress

[EMAIL PROTECTED] wrote:

Hi all,

I am looking for a cp like command line utility, that shows the percentage of 
data copied during the file copy.

Is anyone familiar with such a utility.


Thanks in advance,


Yaron Kahanovitch 


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

  



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: cp command with progress bar

2007-04-18 Thread Valery Reznic

--- [EMAIL PROTECTED] wrote:

> Hi all,
> 
> I am looking for a cp like command line utility,
> that shows the percentage of data copied during the
> file copy.
> 
> Is anyone familiar with such a utility.

May be those:
http://freshmeat.net/projects/progress/
http://freshmeat.net/projects/barcat/
http://freshmeat.net/projects/commandlineprogressbar/

Valery.

> 
> 
> Thanks in advance,
> 
> 
> Yaron Kahanovitch 
> 
>
=
> To unsubscribe, send mail to
> [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g.,
> run the command
> echo unsubscribe | mail
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: cp command with progress bar

2007-04-18 Thread Alex Dover

I once looked for similar functionality and found this:
http://www.theiling.de/projects/bar.html
Haven't tried it yet though...


On 4/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi all,

I am looking for a cp like command line utility, that shows the percentage of 
data copied during the file copy.

Is anyone familiar with such a utility.


Thanks in advance,


Yaron Kahanovitch

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: system wait on SATA 7200 10k rpm drive

2007-04-18 Thread Dan Bar Dov

I cannot tell from the clip, I think its native SATA since it maps to IRQ 16.
However I don't know if it is using AHCI. Check out your BIOS next
time you boot.

Native SATA support in latest kernels is stable. It actually started
wit the early days of 2.6 so its not that recent. The various
libraries were only bringing some order to a small chaos of storage
devices.

Dan

On 4/17/07, Amos Shapira <[EMAIL PROTECTED]> wrote:

On 17/04/07, Dan Bar Dov <[EMAIL PROTECTED]> wrote:
> Are you sure the SATA disks are configured as SATA in the BIOS
> (enhanced/AHCI), and not emulated to PATA, then mapped using libata
> (which makes them /dev/sd* ?

No I'm not sure. Is there a way to infer this from within Linux or must I
access the BIOS screen?

Here is a clip from the latest boot:

Apr 12 09:16:53 submit3 kernel: SCSI subsystem initialized
Apr 12 09:16:53 submit3 kernel: ACPI: PCI Interrupt :00:0f.0[B] -> GSI
20 (level, low) -> IRQ 16
 Apr 12 09:16:53 submit3 kernel: PCI: Via IRQ fixup for :00:0f.0, from
10 to 0
Apr 12 09:16:53 submit3 kernel: sata_via :00:0f.0: routed to hard irq
line 0
Apr 12 09:16:53 submit3 kernel: ata1: SATA max UDMA/133 cmd 0xC000 ctl
0xB802 bmdma 0xA800 irq 16
Apr 12 09:16:53 submit3 kernel: ata2: SATA max UDMA/133 cmd 0xB400 ctl
0xB002 bmdma 0xA808 irq 16
Apr 12 09:16:53 submit3 kernel: ata1: SATA link up 1.5 Gbps (SStatus 113)
Apr 12 09:16:53 submit3 kernel: ata1: dev 0 ATA-7, max UDMA/133, 234441648
sectors: LBA48
Apr 12 09:16:53 submit3 kernel: ata1: dev 0 configured for UDMA/133
Apr 12 09:16:53 submit3 kernel: scsi0 : sata_via
Apr 12 09:16:53 submit3 kernel: ata2: SATA link down (SStatus 0)
Apr 12 09:16:53 submit3 kernel: scsi1 : sata_via
Apr 12 09:16:53 submit3 kernel:   Vendor: ATA   Model: ST3120811AS
Rev: 3.AA
Apr 12 09:16:53 submit3 kernel:   Type:   Direct-Access
 ANSI SCSI revision: 05
Apr 12 09:16:53 submit3 kernel: SCSI device sda: 234441648 512-byte hdwr
sectors (120034 MB)
Apr 12 09:16:53 submit3 kernel: sda: Write Protect is off
Apr 12 09:16:53 submit3 kernel: SCSI device sda: drive cache: write back
Apr 12 09:16:53 submit3 kernel: SCSI device sda: 234441648 512-byte hdwr
sectors (120034 MB)
Apr 12 09:16:54 submit3 kernel: sda: Write Protect is off
Apr 12 09:16:54 submit3 kernel: SCSI device sda: drive cache: write back
Apr 12 09:16:54 submit3 kernel:  sda: sda1 sda2
Apr 12 09:16:54 submit3 kernel: sd 0:0:0:0: Attached scsi disk sda

Also - how well is the native SATA support in the latest kernels? As far as
I followed the kernel changes libsata/libpata/lib?ata was integrated in the
mainstream not long ago.

Thanks,

--Amos




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Investment house

2007-04-18 Thread Dan Bar Dov

Fixed, no.
It works ok for reading information, but you cannot do any stock
operations, not even get stock trade status. [This is for Firefox on
Linux, not sure on windows].

Dan

On 4/17/07, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote:

I thought Bank Discount fixed their support for Firefox.. didn't they?

Thanks,
Hetz

On 4/17/07, Dan Bar Dov <[EMAIL PROTECTED]> wrote:
> I'm sick and tired of the my bank (discount) support for firefox.
> I'm looking for an Israeli investment house with a decent internet
> portal that works well with firefox/linux.
>
> If you have good experience with one, please let me know,
>
> Thanks,
> Dan
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


--
Skepticism is the lazy person's default position.
Visit my blog (hebrew) for things that (sometimes) matter:
 http://wp.dad-answers.com



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Samba on Linux redhat

2007-04-18 Thread Israel Shikler
Hi All,

  I have a need of setting a Samba server ON A Linux RH or HP/UNIX in order
to maintain windows printers drivers in one central repository which should
  NOT be a windows server.

  What should such a task take in means of time ?

  Is Samba stable enough to support any numbers of users (more than 500).
  Any pitfall that we should avoid?

  The goal of course is to maintain printers drivers by one administrator on
the Linux or HP box and enable users to self install printers drivers from
that server
  on their PC.

  Any suggestions will be appreciated.


Israel Shikler

Softkol Software Services





Re: cp command with progress bar

2007-04-18 Thread yaron
Thanks,

perfect for me.


Yaron Kahanovitch
- Original Message -
From: "Oren Held" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Cc: "linux-il" <[EMAIL PROTECTED]>
Sent: Wednesday, April 18, 2007 11:13:57 AM (GMT+0200) Auto-Detected
Subject: Re: cp command with progress bar

rsync -v --progress

[EMAIL PROTECTED] wrote:
> Hi all,
>
> I am looking for a cp like command line utility, that shows the percentage of 
> data copied during the file copy.
>
> Is anyone familiar with such a utility.
>
>
> Thanks in advance,
>
>
> Yaron Kahanovitch 
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>   



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: system wait on SATA 7200 10k rpm drive

2007-04-18 Thread Amos Shapira

On 18/04/07, Dan Bar Dov <[EMAIL PROTECTED]> wrote:


I cannot tell from the clip, I think its native SATA since it maps to IRQ
16.
However I don't know if it is using AHCI. Check out your BIOS next
time you boot.

Native SATA support in latest kernels is stable. It actually started
wit the early days of 2.6 so its not that recent. The various
libraries were only bringing some order to a small chaos of storage
devices.



Thanks for your input. I'll do that when I getaround to reboot the box.

In the meantime, in continuation for Arieh's "what are these 13 processes?"
question I noticed that sendmail keeps accumulating queue runners. I
switched it to use one persistant queue runner and forced it to wake it up
every 5 minutes (I read somwere that even this single queue runner will stop
running if the load is above QueueLA) and the machines seem to have found a
new lease on life - their load has dropped dramatically, they startted
accepting new connections and the queue's size seems to stabilize. I'm now
running queue runners manually to try to shrink the queue.

Cheers,

--Amos


Re: Samba on Linux redhat

2007-04-18 Thread Yedidyah Bar-David
On Wed, Apr 18, 2007 at 12:47:35PM +0300, Israel Shikler wrote:
> Hi All,
> 
>   I have a need of setting a Samba server ON A Linux RH or HP/UNIX in order
> to maintain windows printers drivers in one central repository which should
>   NOT be a windows server.
> 
>   What should such a task take in means of time ?
> 
>   Is Samba stable enough to support any numbers of users (more than 500).
>   Any pitfall that we should avoid?
> 
>   The goal of course is to maintain printers drivers by one administrator on
> the Linux or HP box and enable users to self install printers drivers from
> that server
>   on their PC.

I think you should not have a problem. I never managed a server serving
500 users in parallel, though. One important note: At least in some
older versions of samba, and I have a feeling this is still true, it was
a nightmare configuring this to work as a _print_server_ serving
automatically drivers for its printers. If you only intend to make it a
normal share and put there all the drivers as downloaded from
manufacturer's sites etc. then I see no problem.
-- 
Didi


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



New "dumb" question: how to USB

2007-04-18 Thread Dan Bar Dov

I'm on Fedora core 5. I have a simple user question, please assume
kernel and the os are all set up fine, I simly need to know how to.

I inserted a USB flash drive to the USB slot. man -k usb told me about
lsusb, and the device is recognized. How do I access it (mount it)? [I
don't think hotplugging is set up, but I want to do it manually, so
please, don't teach me how to set up hotplugging].

Thanks,
Dan

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Microsoft looking to run Windows on OLPC

2007-04-18 Thread Erez D

http://www.vnunet.com/vnunet/news/2170209/microsoft-looking-windows-olpc

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Microsoft looking to run Windows on OLPC

2007-04-18 Thread Geoffrey S. Mendelson
On Wed, Apr 18, 2007 at 02:16:36PM +0300, Erez D wrote:
> http://www.vnunet.com/vnunet/news/2170209/microsoft-looking-windows-olpc

The biggest ting wrong with the OLPC IMHO is feature creep. By the time it
will be done, it will be a $1,000 desktop.

I'm (a small) part of a team working on a commercial alternative to it. 
There are also local alternatives in China and India.

Geoff.
-- 
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM
IL Voice: (07)-7424-1667  Fax ONLY: 972-2-648-1443 U.S. Voice: 1-215-821-1838 
Visit my 'blog at http://geoffstechno.livejournal.com/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: What to run on a monster?

2007-04-18 Thread Dan Bar Dov

Ira, kudus on the new system. It seems you're bored shitless to hack
around with all this virtualization, right?

Dan

On 4/1/07, Ira Abramov <[EMAIL PROTECTED]> wrote:

Over the last few years I spent very little on hardware, so now I took a
big jump and upgraded my lowly P3 old Linux server into something more
like a propper workstation. an intel E6600 processor with Core2 Duo and
2 gig ram. the questions are:

a. do I gain anything at all by reinstalling my system as a 64 bit one?
to the best of my knowledge there will be no change in speed, I don't
have over 4 gigs of RAM and certainly no intention of running processes
of more than a few hundred megs in size.

b. I just noticed it has the much talked-about VT extensions, would it
be easy for me then to keep the system as a router/firewall and a
desktop and securely also install a second "slave" VM to run other OSs,
or do I need a lean Xen "base/visor" and the desktop should not run on
it? Is this worth the headache or should I look into VirtualBox or
VMWarePlayer instead? I remember there were some shortcuts in network
security wehn Xen is activated, so maybe it's safer not to use it if the
machine is meant to be a firewall as well.

those are the two main things at the moment I guess :-)

--
Curse of the bambino
Ira Abramov
http://ira.abramov.org/email/

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: New "dumb" question: how to USB

2007-04-18 Thread Geoff Shang

Dan Bar Dov wrote:


I inserted a USB flash drive to the USB slot. man -k usb told me about
lsusb, and the device is recognized. How do I access it (mount it)? [I
don't think hotplugging is set up, but I want to do it manually, so
please, don't teach me how to set up hotplugging].


I'm runing late 2.4.x series kernels so your mileage may vary, but for me 
USB mass storage devices come up as SCSI devices.  for most of them it's 
simply been a matter of:


mount -t vfat /dev/sda1 /mnt

though I have one drive which I have to mount from say /dev/sda instead of 
/dev/sda1.


As to which SCSI drive it comes up as?  Well I think you can see this 
either on the console or in syslog.  But it's been my experience that, at 
least until you reboot, the first device you plug in will be SDA, the 
second SDB, etc.  And it will remember these.  So if you plug the first one 
back in again, it wil come up as SDA again.  But all this gets forgotten 
when you reboot, which is perhaps a good argument for hotplugging on its 
own (and I should really learn how to set it up one day).


I've not seen any USB devices which aren't VFAT.  Of course, you can put 
what you like on it but don't expect it to work everywhere.


Geoff.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: New "dumb" question: how to USB

2007-04-18 Thread Vassilii Khachaturov
> I inserted a USB flash drive to the USB slot. man -k usb told me about
> lsusb, and the device is recognized. How do I access it (mount it)? [I
> don't think hotplugging is set up, but I want to do it manually, so
> please, don't teach me how to set up hotplugging].

Once you have the device recognized it means you've already got it
hotplugged. Probably you meant that you don't want how to set up
automounting the device?

Typically, when you plug the USB drive in, it'll get assigned
a pseudo-scsi interface in the kernel, and thus get some device name
like /dev/sda, /dev/sdb, etc. You can see the name through the kernel
messages, or through the /proc filesystem. The problem is that
if you have 2 similar drives, you have no control over which one
will become sda and what sdb. You should be using udev
to write a rule that creates a symlink accordingly to the drive
make/label/capacity/whatever, but I won't elaborate as this sometimes
is also designated as the very hotplugging you asked not to be taught.

Now that you know the device name, whether directly smth like /dev/sda
or indirectly like an automatically created symlink like /dev/myusbdrive
-> sda, you should be using the regular ways to mount the drive. If a
non-one-time operation, you should add an appropriate line to
/etc/fstab, and then use mount(8) to mount it, or you can directly
specify both the device partition name and the target mount point name
on the command line.

HTH,
VKh

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Samba on Linux redhat

2007-04-18 Thread Oron Peled
On Wednesday, 18 בApril 2007 12:47, Israel Shikler wrote:
>   I have a need of setting a Samba server ON A Linux RH or HP/UNIX in order
> to maintain windows printers drivers in one central repository which should
>   NOT be a windows server.

Your bible is:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html

>   Is Samba stable enough to support any numbers of users (more than 500).
>   Any pitfall that we should avoid?

Generally Samba is used by sites with thousands of users for many years
so in terms of stability you are at least safe as your Windows servers.

>   The goal of course is to maintain printers drivers by one administrator on
> the Linux or HP box and enable users to self install printers drivers from
> that server
>   on their PC.

1. If you go with HP-UX box, you can either compile your version from
   samba.org or use the HP product. The HP product is standard part
   of HP-UX (which is helpfull if you have support contract), but is
   obviously older than the latest source package.

2. The pro in using Linux is that most modern distros (including RedHat)
   use cups for printing which helps a lot in maintaining such a setup.

Hope it helps,

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

It's not the software that's free; it's you.
- billyskank on Groklaw

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: Microsoft looking to run Windows on OLPC

2007-04-18 Thread Amos Shapira

On 18/04/07, Geoffrey S. Mendelson <[EMAIL PROTECTED]> wrote:

On Wed, Apr 18, 2007 at 02:16:36PM +0300, Erez D wrote:
> http://www.vnunet.com/vnunet/news/2170209/microsoft-looking-windows-olpc

The biggest ting wrong with the OLPC IMHO is feature creep. By the time it
will be done, it will be a $1,000 desktop.


It's already done. I've just saw a photo of it being deployed in
Sudan(?), and a few weeks ago I saw news of it being deployed somewere
else.

The article about MS is a bit of old news - it's dated December last year.

I don't know the exact state of the speciman shown in the latest
meeting but the ones which made the rounds in LCA2007 last February
(there were quite a few of them)  were complete, functional and ready
to roll into developer's hands to add even more applications.

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: New "dumb" question: how to USB

2007-04-18 Thread Julian Daich
El mié, 18-04-2007 a las 14:08 +0300, Dan Bar Dov escribió: 
> I'm on Fedora core 5. I have a simple user question, please assume
> kernel and the os are all set up fine, I simly need to know how to.
> 
> I inserted a USB flash drive to the USB slot. man -k usb told me about
> lsusb, and the device is recognized. How do I access it (mount it)? [I
> don't think hotplugging is set up, but I want to do it manually, so
> please, don't teach me how to set up hotplugging].
> 
Unless you are working without an elaborated GUI, an icon of your USB
drive is supposed to appear at your desktop immediately after
hotplugging in. Are your system updated?
At least until Fedora 4 USB drives should be automatically mounted
at /media/usbdisk or /mnt/sdaX where X=1,2,3, etc.
You can try to mount it manually with

# mount -t vfat /dev/sdaX /media/usbdisk where X=1,2,3, etc.


> Thanks,
> Dan
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 
-- 
Julian Daich <[EMAIL PROTECTED]>


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: New dumb question: how to USB

2007-04-18 Thread Ehud Karni
On Wed, 18 Apr 2007 14:08:56, Dan Bar Dov wrote:
>
> I inserted a USB flash drive to the USB slot. man -k usb told me about
> lsusb, and the device is recognized. How do I access it (mount it)? [I
> don't think hotplugging is set up, but I want to do it manually, so
> please, don't teach me how to set up hotplugging].

I don't see how lsusb helps you - It only shows that a real device is
attached to the usb hub - not how the system (device-mapper ?) added it
to /dev directory.

A better way is to check the /var/log/messages. Do something like:
grep -C 7 "SCSI emulation for USB" /var/log//messages

The relevant result (kernel 2.6.11) I got are:

 kernel: usb 1-2: new high speed USB device using ehci_hcd and address 
5
 kernel: scsi5 : SCSI emulation for USB Mass Storage devices
 kernel:   Vendor: WDC WD25  Model: 00JS-60NCB1   Rev: 2E02
 kernel:   Type:   Direct-Access  ANSI SCSI 
revision: 02
 kernel: SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
 kernel: sdc: assuming drive cache: write through
 kernel: SCSI device sdc: 488397168 512-byte hdwr sectors (250059 MB)
 kernel: sdc: assuming drive cache: write through

Which means - an uninitialized disk attached as /dev/sdc
After initializing and making an fs, I mount it by:
mount /dev/sdc1 /GIBUY (this disk is for backup).

I did not use flash memory, but AFAIK it is FAT device so you should
mount it by:  mount -t vfat /dev/sd1 

Note. Don't count on the scsi device being always the same, I've seen
changing even when only 1 USB device was attached.

Ehud.


--
 Ehud Karni   Tel: +972-3-7966-561  /"\
 Mivtach - Simon  Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D Better Safe Than Sorry

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: New "dumb" question: how to USB

2007-04-18 Thread Oron Peled
On Wednesday, 18 בApril 2007 14:08, Dan Bar Dov wrote:
> I inserted a USB flash drive to the USB slot. man -k usb told me about
> lsusb, and the device is recognized. How do I access it (mount it)? [I
> don't think hotplugging is set up, but I want to do it manually, so
> please, don't teach me how to set up hotplugging].

USB disk on key look as SCSI disks to the user, so if you don't
have any other SCSI disks it would be the first SCSI disk:
  /dev/sda

Most DOKs have a one big partion. However, some DOKs have no
partition table at all (just like floppies). How can you
find out? Choose the method you like (as root of course):
  1. cat /proc/partitions
 and then see if you have only /dev/sda or /dev/sda1 as well.
  2. tail -f /var/log/messages
 and then insert the DOK. In the messages you should see
 if a /dev/sda1 was created or not (Modern distros like FC-5
 uses udev to automagically create these device files for you.
  3. fdisk -l /dev/sda
 would show you the partition table (if there's any).

After you found which device file to use, simply prepare
an empty directory to mount it (the convention is to create
them under /media, but it's just a convention).

Now you can mount it:
mount -t vfat /dev/sda1 /media/mydok

Don't forget to umount it before pulling it out.

Another option instead of mount/umount is to use mtools
[mdir, mcopy, etc.] You'll just need to configure /etc/mtools.conf
for this.

Bye.

-- 
Oron Peled Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"Microsoft: We make virii work!"

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: New "dumb" question: how to USB

2007-04-18 Thread Alex Dover

Right after inserting the USB device run "dmesg" you will see the
device and/or partition name within the last 5 lines of the output.

On 4/18/07, Oron Peled <[EMAIL PROTECTED]> wrote:

On Wednesday, 18 בApril 2007 14:08, Dan Bar Dov wrote:
> I inserted a USB flash drive to the USB slot. man -k usb told me about
> lsusb, and the device is recognized. How do I access it (mount it)? [I
> don't think hotplugging is set up, but I want to do it manually, so





x permission problems

2007-04-18 Thread Erez D

can not open remote apps (xterm from "creambo") on my desktop ("erez-dual")

here is the log:

[EMAIL PROTECTED] ~--> echo $SHELL
/bin/bash
[EMAIL PROTECTED] ~--> echo $DISPLAY
:0.0
[EMAIL PROTECTED] ~--> ip addr show eth0|grep 'inet\>'
   inet 172.20.1.20/24 brd 172.20.1.255 scope global eth0
[EMAIL PROTECTED] ~--> xhost +
access control disabled, clients can connect from any host
[EMAIL PROTECTED] ~--> xhost
access control disabled, clients can connect from any host
[EMAIL PROTECTED] ~--> ssh creambo
Last login: Wed Apr 18 17:12:03 2007 from 172.20.1.20
[EMAIL PROTECTED] ~--> echo $SHELL
/bin/bash
[EMAIL PROTECTED] ~--> export DISPLAY=172.20.1.20:0
[EMAIL PROTECTED] ~--> xterm
xterm Xt error: Can't open display: 172.20.1.20:0
[EMAIL PROTECTED] ~-->


"creambo" is centos4.0
"erez-dual" is ubuntu edgy
home dir is same on both (mounted from a common nfs server)
user is defined via nis server.

any idea ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: x permission problems

2007-04-18 Thread Valery Reznic

--- Erez D <[EMAIL PROTECTED]> wrote:

> can not open remote apps (xterm from "creambo") on
> my desktop ("erez-dual")
> 
> here is the log:
> 
> [EMAIL PROTECTED] ~--> echo $SHELL
> /bin/bash
> [EMAIL PROTECTED] ~--> echo $DISPLAY
> :0.0
> [EMAIL PROTECTED] ~--> ip addr show eth0|grep 'inet\>'
> inet 172.20.1.20/24 brd 172.20.1.255 scope
> global eth0
> [EMAIL PROTECTED] ~--> xhost +
> access control disabled, clients can connect from
> any host
> [EMAIL PROTECTED] ~--> xhost
> access control disabled, clients can connect from
> any host
> [EMAIL PROTECTED] ~--> ssh creambo
> Last login: Wed Apr 18 17:12:03 2007 from
> 172.20.1.20
> [EMAIL PROTECTED] ~--> echo $SHELL
> /bin/bash
> [EMAIL PROTECTED] ~--> export DISPLAY=172.20.1.20:0
> [EMAIL PROTECTED] ~--> xterm
> xterm Xt error: Can't open display: 172.20.1.20:0
> [EMAIL PROTECTED] ~-->
> 
> 
> "creambo" is centos4.0
> "erez-dual" is ubuntu edgy
> home dir is same on both (mounted from a common nfs
> server)
> user is defined via nis server.
> 
> any idea ?
Firewall on erez-dual ?

Valery



> 
>
=
> To unsubscribe, send mail to
> [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g.,
> run the command
> echo unsubscribe | mail
> [EMAIL PROTECTED]
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: x permission problems

2007-04-18 Thread Oren Held
Does your X Server listen to tcp/ip connections? (sometimes default is 
only local unix sockets).


The simple test you can do is 'telnet 172.20.1.20 6000' from the remote 
machine, or even 'telnet localhost 6000' from the local machine.


Erez D wrote:
can not open remote apps (xterm from "creambo") on my desktop 
("erez-dual")


here is the log:

[EMAIL PROTECTED] ~--> echo $SHELL
/bin/bash
[EMAIL PROTECTED] ~--> echo $DISPLAY
:0.0
[EMAIL PROTECTED] ~--> ip addr show eth0|grep 'inet\>'
   inet 172.20.1.20/24 brd 172.20.1.255 scope global eth0
[EMAIL PROTECTED] ~--> xhost +
access control disabled, clients can connect from any host
[EMAIL PROTECTED] ~--> xhost
access control disabled, clients can connect from any host
[EMAIL PROTECTED] ~--> ssh creambo
Last login: Wed Apr 18 17:12:03 2007 from 172.20.1.20
[EMAIL PROTECTED] ~--> echo $SHELL
/bin/bash
[EMAIL PROTECTED] ~--> export DISPLAY=172.20.1.20:0
[EMAIL PROTECTED] ~--> xterm
xterm Xt error: Can't open display: 172.20.1.20:0
[EMAIL PROTECTED] ~-->


"creambo" is centos4.0
"erez-dual" is ubuntu edgy
home dir is same on both (mounted from a common nfs server)
user is defined via nis server.

any idea ?

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: x permission problems

2007-04-18 Thread Erez D

Firewall on erez-dual ?


both does not have firewalles
(i'll spare you the output of 'iptables -L -v -n' and 'iptables -t nat
-L -v -n' )

also selinux is disabled in both

any idea ?

btw, it used to work, but probably one update of ubuntu broken it.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: x permission problems

2007-04-18 Thread Erez D

it seems not to listen on port 6000:


[EMAIL PROTECTED] ~--> fuser -v 6000/tcp
[EMAIL PROTECTED] ~--> telnet localhost 6000
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused


where is it configured on what it listens ?


erez.

On 4/18/07, Oren Held <[EMAIL PROTECTED]> wrote:

Does your X Server listen to tcp/ip connections? (sometimes default is
only local unix sockets).

The simple test you can do is 'telnet 172.20.1.20 6000' from the remote
machine, or even 'telnet localhost 6000' from the local machine.

Erez D wrote:
> can not open remote apps (xterm from "creambo") on my desktop
> ("erez-dual")
>
> here is the log:
>
> [EMAIL PROTECTED] ~--> echo $SHELL
> /bin/bash
> [EMAIL PROTECTED] ~--> echo $DISPLAY
> :0.0
> [EMAIL PROTECTED] ~--> ip addr show eth0|grep 'inet\>'
>inet 172.20.1.20/24 brd 172.20.1.255 scope global eth0
> [EMAIL PROTECTED] ~--> xhost +
> access control disabled, clients can connect from any host
> [EMAIL PROTECTED] ~--> xhost
> access control disabled, clients can connect from any host
> [EMAIL PROTECTED] ~--> ssh creambo
> Last login: Wed Apr 18 17:12:03 2007 from 172.20.1.20
> [EMAIL PROTECTED] ~--> echo $SHELL
> /bin/bash
> [EMAIL PROTECTED] ~--> export DISPLAY=172.20.1.20:0
> [EMAIL PROTECTED] ~--> xterm
> xterm Xt error: Can't open display: 172.20.1.20:0
> [EMAIL PROTECTED] ~-->
>
>
> "creambo" is centos4.0
> "erez-dual" is ubuntu edgy
> home dir is same on both (mounted from a common nfs server)
> user is defined via nis server.
>
> any idea ?
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: x permission problems

2007-04-18 Thread Erez D

well, i think i found it:

[EMAIL PROTECTED] ~--> cat /etc/X11/xinit/xserverrc
#!/bin/sh
exec /usr/bin/X11/X -dpi 100 -nolisten tcp



10x
erez.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: x permission problems (SOLVED)

2007-04-18 Thread Erez D

changing  /etc/X11/xinit/xserverrc didn't help as i am running X from gdm

searched for 'nolisten' in gdm and found how to fix it:

in : /etc/X11/gdm/gdm.conf
replaced 'DisallowTCP=true' to 'DisallowTCP=false'

now it works


thank you all for your help,
erez.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: [SLUG] Blogging system recommendations

2007-04-18 Thread Amos Shapira

On 19/04/07, Adam Kennedy <[EMAIL PROTECTED]> wrote:

The biggest example is probably SQL placeholders, which pretty much
remove any chance of SQL injections attack in one fell swoop.

I know for DBI it's very difficult to do any non-trivial work without
using them.


I was just bitten (again) by the lack of support for these in the
MS-SQL DBI interface.
Is there another implementation which allows using place holders with
MS SQL (2005)?

Thanks,

--Amos

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]