Re: PC-to-phone VoIP
On 8/22/05, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote: On Sun, Aug 21, 2005 at 08:23:00PM -0700, [EMAIL PROTECTED] wrote: Interesting. Did a quick browse of their website. Download seems to be Windows only, or am I missing something? It user SIP, so you can use any program or device that supports ISP. There are several. If you hunt around there are instructions and program links. http://www.freeworldialup.com/support/software_downloads Last time I heard at least one (maybe two) experts in the field (people who make a living installing Asterisk boxes) they were VERY unsatisfied with current open-source SIP linux implementations. I think one of them mentioned a propretary SIP linux implementation as close to being useable but no long brown fat smoking thingy with Tobacco(*). That was around 6 months or so ago. Is anyone aware of significant advances in that area since? The reasoning explained by Ilya is certianly worrying to me, but if I'll try to use anything more complicated than Skype to talk to people they'll just give up on it. Cheers, --Amos (*) To paraphrase Terry Pratchet's Thief of time which I'm reading right now :) 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: Mounting a partition off a disk image
On Mon, 22 Aug 2005, Muli Ben-Yehuda wrote: mount -o loop,offset=xxx myfile /dev/whatever What does the offset=xxx do ? It does not exist on my version. Does it indicate the offset of the filesystem image in the file ? If so, what version of mount etc is this ? thanks, Peter = 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: Mounting a partition off a disk image
On Mon, Aug 22, 2005 at 11:01:37AM +0300, Peter wrote: On Mon, 22 Aug 2005, Muli Ben-Yehuda wrote: mount -o loop,offset=xxx myfile /dev/whatever What does the offset=xxx do ? It does not exist on my version. Does it indicate the offset of the filesystem image in the file ? Yes. If so, what version of mount etc is this ? 2.11y has it, but I don't recall this as a particularly new feature, especially since util-linux development has been glacial until recently. Which mount and losetup are you using? Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.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: Debian Political standings
Interesting that according to IANA: http://www.iana.org/cctld/cctld-whois.htm#p the text , Occupied is not considered necessary. All the other examples quoted (Falklands/Malvinas, Libyan Arab Jamahiriya, Democratic Republic of Korea etc) remain with their extended versions. RP = 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]
openssi
I try to install and configure openssi cluster on FC3. We succeed to install , boot the kernel , and get some failover between 2 nodes from the cluster. I cannot get loadbalancing using ha-lvs that is inculded in kernel. Does anybody know how to do it ? Thank you Camelia Botez System admin unix/linux Weizmann Institute of science Rehovot Tel: 971-8-9344964 Fax: 971-8-9344102 = 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: xterm/mlterm
On Sun, Aug 21, 2005 at 12:05:01PM +0300, Avraham Rosenberg wrote: Hi, Your problem with the mlterm settings, which apparently was not addressed in the answers you received, caught my eye, because I am also contemplating moving to UTF8, and because I grew to be addicted to my habits. I would, therefore, like to hear from you how these fare in mlterm. I still did not play with it much, but I am pretty sure I don't and won't like it. I use it currently almost only for email, with most of my windows being xterm. Few of the things I miss: Double-click behaviour is different - dragging doesn't select by words, only the first selection is a whole word It's a bit less flexible in setting word boundries No extend selection (right click in xterm) Most important (and I really would like to know what sets this option) is the interpretation of the modifier key: I like to use it in the shell like it is defined in emacs: I mean ALT-F, ALT-b to jump a word forward/backward, ALT-D, ALT-BS to erase one, ALT-c to capitalize, ALT-u to change to upper case till the end of the word and ^ALT-y in conjunction with ALT-i to recall the i-th argument of the preceding command. Did not play with this. I use vi :-) For the rest of my preferences, I quote the relevant lines from .Xresources: XTerm*title: Hebfont xterm XTerm*geometry: 100x39+0+0 XTerm*scrollBar: on XTerm*saveLines: 500 XTerm*pointerShape: hand2 I think most of these aren't an issue (some I also tried). XTerm*background: cornsilk XTerm*foreground: black I personally like dark backgrounds. This is what I use: #!/bin/sh bg=rgbi:`dd if=/dev/urandom bs=1 count=3 2/dev/null | od -tu1 | \ awk '{b=0.1/256 ; printf(%s/%s/%s\n, $2*b, $3*b, $4*b); exit(0)}'` exec xterm -bg $bg -fg white $@ and it's the exact same in mlterm (-fg/-bg). XTerm*visualBell: false XTerm*VT100*font: -*-*-*-*-*-*-24-*-*-*-*-*-iso8859-8 Which font is this in reality on your machine? I have personally edited the Hebrew part of the utf-8 10x20 and use it. You can get it at http://www.cs.tau.ac.il/~didi/10x20heb.tgz. It will probably be a bit small for you if you use 24. -- 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]
Re: Mounting a partition off a disk image
On Mon, 22 Aug 2005, Muli Ben-Yehuda wrote: On Mon, Aug 22, 2005 at 11:01:37AM +0300, Peter wrote: On Mon, 22 Aug 2005, Muli Ben-Yehuda wrote: mount -o loop,offset=xxx myfile /dev/whatever What does the offset=xxx do ? It does not exist on my version. Does it indicate the offset of the filesystem image in the file ? Yes. If so, what version of mount etc is this ? 2.11y has it, but I don't recall this as a particularly new feature, especially since util-linux development has been glacial until recently. Which mount and losetup are you using? 2.11x ?! It may be in it but it is not in the manpage. I will try this later. thanks, Peter = 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: Mounting a partition off a disk image
On Mon, 22 Aug 2005, Amos Shapira wrote: On 8/22/05, Peter [EMAIL PROTECTED] wrote: On Mon, 22 Aug 2005, Muli Ben-Yehuda wrote: mount -o loop,offset=xxx myfile /dev/whatever What does the offset=xxx do ? It does not exist on my version. Does it indicate the offset of the filesystem image in the file ? If so, what version of mount etc is this ? The mount(8) on my system says that it's just passed to losetup, so you can probably achieve the same without mount's support. (Debian Sarge, mount 2.12p). Ok, I got it, it's in the losetup page. thanks, Peter = 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: xterm/mlterm
On Mon, Aug 22, 2005 at 03:26:16PM +0300, Yedidyah Bar-David wrote: On Sun, Aug 21, 2005 at 12:05:01PM +0300, Avraham Rosenberg wrote: Hi, Your problem with the mlterm settings, which apparently was not addressed in the answers you received, caught my eye, because I am also contemplating moving to UTF8, and because I grew to be addicted to my habits. I would, therefore, like to hear from you how these fare in mlterm. I still did not play with it much, but I am pretty sure I don't and won't like it. I use it currently almost only for email, with most of my windows being xterm. Few of the things I miss: Double-click behaviour is different - dragging doesn't select by words, only the first selection is a whole word It's a bit less flexible in setting word boundries Quoting mlterm(1) : -W --sep=characterlist Delimiter characters used for word selection, which are con‐ sulted when you double-clicked mlterm, to define what is a word. The default is ,.:;/@) Somewhat similar to XTerm's -cc . Sadly (at least IMHO), it seems that most other terminals (rxvt included) don't follow xterm here. No extend selection (right click in xterm) Yup. Missing indeed. Makes it possible to use a lousy pointer from my laptop. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend = 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: Mounting a partition off a disk image
When specifying an offset for the partition, can it be used safely without specifying its limits (size) ? What if I have another partition at the end of the one I need - isn't there a chance it will be overwritten? What I meant by /dev/loop0p1 (look at a file in fdisk), is whether there's a way to access the partition directly, through the kernel facilities, instead of figuring out the byte offset of the partition manually. - Itay. On 8/22/05, Muli Ben-Yehuda [EMAIL PROTECTED] wrote: On Sun, Aug 21, 2005 at 11:33:14PM +0300, Itay Duvdevani wrote: In order to get a single file off a certain partition, I did the following: 1. losetup the image file to /dev/loop0 2. fdisk /dev/loop0, and displaying partition information in byte-units, thus gaining byte offsets in the image of my desired partition (start + end). 3. dd-ing that partition off the image to a separate file. 4. mounting that file directly, taking away my file. Mission successful - although I'd like to ask if there's a better way. mount -o loop,offset=xxx myfile /dev/whatever Problems with this method are: 1. You can losetup a file with an offset, but I couldn't find any size parameter available. That could save me the time (and disk space) of extracting the partition off the image (I could losetup it directly from the image file). Look for 'offset' in the mount man page. 2. Is there a direct way to access the partition on that kind of an image? (fdisk uses the /dev/loop0p1 notation, but no traces of that sort of thing in my /dev...). Not sure what you mean here? Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.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]
/ gets remounted RO
Hi all, I have this problem which comes without warning on my box, it seems / gets remounted (without any warning, not reason) as read only. I can use the box without real big problems, until something needs to write to the disk (for example konqueror gets a file from the web or something as silly as that). I reboot, and the next thing I see is that / is not clean, and I need to run fsck -y, which takes a long time since my root-fs is quite large (30GB). I tried looking into dmeg a few times, but I did not find anything wierd. I thought that it might be an hibernate/swsusp2 problem, but now I a clean-booting, and still see the problem (still using a swsusp2 enabled kernel). My guess is that some part of mys disk (my guess is that /usr/local/src/[something) is messed up in a way fsck does not find. My question is: Has anyone else seen such problems? How can I debug it? What can cause that? -- diego, kde-il translation team, http://www.kde.org/il Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html = 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: Mounting a partition off a disk image
On Mon, Aug 22, 2005 at 10:29:42PM +0300, Itay Duvdevani wrote: When specifying an offset for the partition, can it be used safely without specifying its limits (size)? Interesting question. I believe so - at least for the file systems I've used this with, the file system always knows where its metadata and data blocks on the disk are. But if you had a corrupt file system, I guess it would be possible for it to write to a different partition's space in this case. What I meant by /dev/loop0p1 (look at a file in fdisk), is whether there's a way to access the partition directly, through the kernel facilities, instead of figuring out the byte offset of the partition manually. In other words, mount the whole file as a disk rather than a partition. I'm not familiar with a comfortable way of doing it. What I usually do in such a case is use this file as a secondary disk with either bochs or qemu. Cheers, Muli -- Muli Ben-Yehuda http://www.mulix.org | http://mulix.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: Mounting a partition off a disk image
On Monday 22 August 2005 22:58, Muli Ben-Yehuda wrote: In other words, mount the whole file as a disk rather than a partition. I'm not familiar with a comfortable way of doing it. Interesting scenario. If the file contains a disk image (with partition table etc.) than what is actually needed is not a mount, but convincing the kernel it is a full disk image. A terrible hack (without coding) that poped up in my head (not-tested) is to use nbd: nbd-server 6789 a-disk-file-image modprobe nbd nbd-client 127.0.0.1 6789 /dev/nd0 If we are lucky, we have a new block device containing the disk image -- anyone care to test? -- Oron Peled Voice/Fax: +972-4-8228492 [EMAIL PROTECTED] http://www.actcom.co.il/~oron ICQ UIN: 16527398 write your own operating system. It has worked every time for me -- Linus Thorvalds = 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: Mounting a partition off a disk image
On Mon, 22 Aug 2005, Oron Peled wrote: On Monday 22 August 2005 22:58, Muli Ben-Yehuda wrote: In other words, mount the whole file as a disk rather than a partition. I'm not familiar with a comfortable way of doing it. Interesting scenario. If the file contains a disk image (with partition table etc.) than what is actually needed is not a mount, but convincing the kernel it is a full disk image. A terrible hack (without coding) that poped up in my head (not-tested) is to use nbd: nbd-server 6789 a-disk-file-image modprobe nbd nbd-client 127.0.0.1 6789 /dev/nd0 won't work. excerpts from nbd.sourceforge.net: Please note that read-write nbd with client and server on the same machine is bad idea: expect deadlock within seconds (this may vary between kernel versions, maybe on one sunny day it will be even safe?) and: Read-write nbd with client and server on some machine has a rather fundamental problem: when system is short of memory, it tries to write back dirty page. So nbd client asks nbd server to write back data, but as nbd-server is userland process, it may require memory to fullfill the request. That way lies the deadlock. -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = 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: Mounting a partition off a disk image
On 8/23/05, Itay Duvdevani [EMAIL PROTECTED] wrote: When specifying an offset for the partition, can it be used safely without specifying its limits (size) ? What if I have another partition at the end of the one I need - isn't there a chance it will be overwritten? Not if the filesystem wasn't corrupted when you created the image. I also though like you that the size is required but I've just realized that filesystems usually hold their own size (which might be a little smaller than the partition) in their metadata so it doesn't even make sense to specify the partition size to the mount command - what should the filesystem driver code do in case of a conflict? Just try to mount it with the offset parameter - use -o ro (or is it already burbed on a RO media?). Cheers, --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: Mounting a partition off a disk image
On 8/23/05, Itay Duvdevani [EMAIL PROTECTED] wrote: When specifying an offset for the partition, can it be used safely without specifying its limits (size) ? What if I have another partition at the end of the one I need - isn't there a chance it will be overwritten? loopback mounting does not handle partition tables at all - at least up to kernel 2.6.9 (don't have newer sources here to check right now). in the past, NASA's good people created a patch for kernel 2.4 to support partitions on loop devices - it looks like this patch is dead... so, you're at the mercy of the file-system code to avoid overflows (underflows are probably limited by the loop device - i.e. writing to a position lower then the offset you mentioned during the losetup command or the mount command). -- guy For world domination - press 1, or dial 0, and please hold, for the creator. -- nob o. dy = 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: / gets remounted RO
On Tue, Aug 23, 2005 at 01:55:41AM +0300, Diego Iastrubni wrote: Hi all, I have this problem which comes without warning on my box, it seems / gets remounted (without any warning, not reason) as read only. I can use the box without real big problems, until something needs to write to the disk (for example konqueror gets a file from the web or something as silly as that). I reboot, and the next thing I see is that / is not clean, and I need to run fsck -y, which takes a long time since my root-fs is quite large (30GB). Is it ext2? Bad corruptions on reiserfs give somewhat similar errors but with a different message. The init scripts do that. I tried looking into dmeg a few times, but I did not find anything wierd. Right. Because it's in userland. I thought that it might be an hibernate/swsusp2 problem, but now I a clean-booting, and still see the problem (still using a swsusp2 enabled kernel). My guess is that some part of mys disk (my guess is that /usr/local/src/[something) is messed up in a way fsck does not find. The root filesystem? Not another one? So this probably is not just a corrupted partition. Maybe fstab itself is corrupted. My question is: Has anyone else seen such problems? How can I debug it? What can cause that? Distro-dependent. On RH it is rc.sysinit . Other distros have a whole directory of rcS.d . There should be two places where such fsck-s and mounts occour: first for / and later for the other filesystems. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849755 | | friend = 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]