udp question

2006-09-05 Thread Erez D
hii'm trying to build a client + server using udp (in c)i can send from the client to the server,but when i reply from the sender to the client, i get:write: Transport endpoint is not connected so my question is: can i use a udp connection bidirectionly, or do i need to open two ?thanks,erez.

Re: udp question

2006-09-05 Thread Erez D
i did listen on both sides,if i use send, or write (from the server) i get : write: Transport endpoint is not connectedif i use sendto, i get: sendto: Cannot assign requested addresswhat sockaddr do i need to put in the server's sendto() ? erez.On 9/5/06, Danny L [EMAIL PROTECTED] wrote: udp is

solved (was: udp question)

2006-09-05 Thread Erez D
recvfrom() returns the data needed on the server when using sendto()erez.

Re: Virtual firewalls (Xen/VMware)

2006-08-30 Thread Erez D
how about user-mode-linux, isn't it better for this perpose (i.e. as a sandbox) ?On 8/29/06, Muli Ben-Yehuda [EMAIL PROTECTED] wrote:On Tue, Aug 29, 2006 at 08:37:13PM +0300, Gil Freund wrote: Yes, but that makes the domU trusted (an attacker with root access ot the domU can easily take down the

Re: vi q

2006-07-12 Thread Erez D
if anyone is interested, here is the solution::%s/\([0-9]*\)+\([0-9]*\)/\=submatch(1)+submatch(2)/gcheerserez.On 7/11/06, Erez D [EMAIL PROTECTED] wrote:i have a text that looks like: 8+9 to 201+7 to 29and i want to change it to:17 to 208 to 29(i.e. do the math)how do i do that in vi ?thanks

vi q

2006-07-11 Thread Erez D
i have a text that looks like:8+9 to 201+7 to 29and i want to change it to:17 to 208 to 29(i.e. do the math)how do i do that in vi ?thanks,erez.

Re: Myth-TV and YES MAX

2006-06-20 Thread Erez D
just didn't understand why did you put mythtv in the subject if this mail is about yes-max ?On 6/20/06, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote:Has anyone been able to copy recorded programs from a Yes Max using Linux? When I got it, I was told that you would be able to download

sending attachments from cmdline

2006-06-04 Thread Erez D
hii used to send attachments from commandline as:uuencode $fname $fname |mail -s $fname $recepianthowever, this works only for a single attachment.how to send more than one attachment from cmdline ? thanks,erez.

Re: sending attachments from cmdline

2006-06-04 Thread Erez D
echo blah blah | mutt -s my subject -a file1 -a file2 [EMAIL PROTECTED]this did what i wanted. no need to type enything else (e.g. :wq)thanks. erez.On 6/4/06, Amos Shapira [EMAIL PROTECTED] wrote: On 04/06/06, Erez D [EMAIL PROTECTED] wrote: hi i used to send attachments from commandline

hd dopy with dd

2006-05-23 Thread Erez D
hii have a damaged 60M HD. it only runs if it is positioned vertical.i bought a new 80M HD, and copied with ddi used conv=noerror as my HD has bad sectors at offset about 10Gi did it by booting single user into linux (hda2), remounting / read-only and typing: dd if=/dev/hda of=/dev/hdb bs=1M

Re: hd dopy with dd

2006-05-23 Thread Erez D
wasteland, which is the least of your worries at the moment. On Tue, 2006-05-23 at 16:16 +0300, Erez D wrote: hi i have a damaged 60M HD. it only runs if it is positioned vertical. i bought a new 80M HD, and copied with dd i used conv=noerror as my HD has bad sectors at offset about 10G i did

Re: hd dopy with dd

2006-05-23 Thread Erez D
i forgot to mention that i used kill -USR1 to see DD's status every 10 secondserez.On 5/23/06, Erez D [EMAIL PROTECTED] wrote:dd reported 57000 blocks (1M each) copied so i assume that was the whole hd. of course i ran 'sync' before shuting down.i didn't use DD's sync option as i understand

Re: hd dopy with dd

2006-05-23 Thread Erez D
23, 2006 at 05:00:15PM +0300, Yedidyah Bar-David wrote: On Tue, May 23, 2006 at 04:16:25PM +0300, Erez D wrote: hi i have a damaged 60M HD. it only runs if it is positioned vertical. any idea ? I strongly suggest using dd_rescue and/or ddrhelp.Just to make it clear - even without really

voip and firewall

2006-05-07 Thread Erez D
himy company just installed a new firewall.i had an ATA (grandstream handytone) that was connected via the internet to asterisk at my homethis ATA does not work anymore ( i can dial, but have no incoming audio, people can dial to me but it disconnects when i answer) this is due to the new

Re: voip and firewall

2006-05-07 Thread Erez D
On 5/7/06, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sun, May 07, 2006 at 02:12:46PM +0300, Erez D wrote: hi my company just installed a new firewall. i had an ATA (grandstream handytone) that was connected via the internet to asterisk at my home. this ATA does not work anymore ( i can dial

bash alias q

2006-05-01 Thread Erez D
hii have in csh:alias vi 'gvim \!* 'i tryed translating to bash asalias vi='gvim $* 'this works without the ampersand, bit not with itorvi() {gvim $* ; } same again.any idea ?thanks,erez.

Re: pid by port number

2006-05-01 Thread Erez D
lsofOn 5/1/06, Yahav Biran [EMAIL PROTECTED] wrote: Hi all,Is somebody knows how can I retrieved the pid that holds a port.In solaris I'm using the pfiles.Many thanks[Yahav Biran]= To unsubscribe, send mail to [EMAIL PROTECTED]

Re: Who do I have to sleep with to get an FXO card?

2006-04-05 Thread Erez D
I also wanted an FXO card, and had no free pci slots, so i thought of buying handytone devices well, i had a very bad experiance with both the devices ( i bought a few, different models, all had severe problems), and support - i got an automatic reply saying the usual staff like update firmware

linux upnp client

2006-03-27 Thread Erez D
hidoes anybody know of a UPNP client for linux ?thankserez.

firewall problem

2006-03-14 Thread Erez D
snat not working my local ip is aaa.aaa.aaa.aaa asterisk sitting on the internet at ip bbb.bbb.bbb.bbb my firewall's internal ip is 192.168.0.254 i did snat: iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to aaa.aaa.aaa iptables -t nat -L -v gives: Chain POSTROUTING (policy ACCEPT 23663

Re: Playing video on Windows from a Linux host.

2006-03-14 Thread Erez D
suggestions: 1. netcat mencoder | nc udp windows-machine vlc udp (or tcp) 2. named pipe mknod ... pipe1 at windows: \\linux\path-to-pipe1\ hth, erez. On 3/14/06, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote: Hi, I have a computer running Linux (FC4) with a TV card. I've set up a

Re: FW: * question

2006-03-13 Thread Erez D
: Sunday, March 12, 2006 1:02 PM To: Yossi Ben Hagai; Amos Rosenboim Subject: FW: * question -- Imri Zvik PGP (2.6.3ia) Public Key: http://mariska.inter.net.il/~imriz/imriz.pgp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erez D Sent: Thursday

* question

2006-03-09 Thread Erez D
I tried configuring asterisk to let me enter a number, and if i do not, to ring the phone. this way i can call my home and turn on my boiler for 15 minutes (1900) or my air-condition (1901), or burn the house down (1902). but if someone else calls me,he hears 'wait a moment' and after 3 seconds

Re: * question

2006-03-09 Thread Erez D
On 3/9/06, Gilad Ben-Yossef [EMAIL PROTECTED] wrote: Erez D wrote: I tried configuring asterisk to let me enter a number, and if i do not, to ring the phone. this way i can call my home and turn on my boiler for 15 minutes (1900) or my air-condition (1901), or burn the house down (1902

Re: asterisk questions

2006-03-05 Thread Erez D
On 3/5/06, Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sun, Mar 05, 2006 at 09:16:10AM +0200, Erez D wrote: hi i have asterisk and few handytone adapters installed. i was wondering: 1. is there a way to let the user know he has messages, without dialing to voicemail (and not via

asterisk questions

2006-03-04 Thread Erez D
hi i have asterisk and few handytone adapters installed. i was wondering: 1. is there a way to let the user know he has messages, without dialing to voicemail (and not via email) 2. is there a way to make voceMailMain automatically select a mailbox and not ask for a password ( i.e. i do not

Fwd: MythTV and Yes

2006-02-28 Thread Erez D
sorry, didn't reply to the list also ... -- Forwarded message -- From: Erez D [EMAIL PROTECTED] Date: Feb 28, 2006 9:59 PM Subject: Re: MythTV and Yes To: [EMAIL PROTECTED] On 2/28/06, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote: Well after finaly getting the Red Hat Fedora

dual core dual os

2006-02-06 Thread Erez D
hi is it possible to run using dual core cpu 2 different osS at the same time ( i.e. linux on one, and win on the other) ? erez. = To unsubscribe, send mail to [EMAIL PROTECTED] with the word unsubscribe in the message body,

.bashrc not running

2005-12-20 Thread Erez D
hi i am using Centos4.2 (rhel comaptible) whenever i login, it seems that .bashrc is not running so i have to manually issue a '. .bashrc' command. any idea ? erez. To unsubscribe, send mail to [EMAIL PROTECTED] with the word

vim inline :set

2005-12-12 Thread Erez D
hi i have : set ts=2 set sw=2 set expandtab in my vimrc. i know it is possible to embed it in the c source file however, i had no luck googling for it anyone ? To unsubscribe, send mail to [EMAIL PROTECTED] with the word

dvb card for linux

2005-12-04 Thread Erez D
I'm resending this mail from thunderbird, as it seems mail i send from gmail does not arrive at the list. --- original message (sort of) - hi i'm looking for a dvb card for my linux box anyone knows where i can get a GOOD linux compatible dvb card ? (or things

gdb and vim

2005-11-16 Thread Erez D
hi i'm looking for a way to integrate vim with gdb i found a script called vimgdb i found a program called clewn i tried them both, but they are not really stable anyone knows a better one ? erez.

ot: OS X

2005-10-10 Thread Erez D
hi i just passed in a store and saw a mac with OS X it looks pretty, and i remembered i saw that a lot of linux programs can be ported to work on OS X. as i do not like windows, but i need it for various resons (ms office compatibility, sites that work only on explorer etc...) i was wondering:

Re: Why most people prefer Windows

2005-10-06 Thread Erez D
I am also thinking of moving to linux-only for about 10 years now, both in work and home (my own system has always had dual os via dual boot, colinux, vmware, etc ..) 1. firefox (even on windows) does not support a lot of israely sites: my nephue can't play at fun.walla.com, i can't reach yes's

Re: Why most people prefer Windows

2005-10-06 Thread Erez D
On 10/6/05, Marc A. Volovic [EMAIL PROTECTED] wrote: Quoth Erez D: what mailer are you using (what is 'Quoth' ? ) 1. firefox (even on windows) does not support a lot of israely sites: my nephue can't play at fun.walla.com http://fun.walla.com, i can't reach yes's program guide, etcTrue

Re: [OFF TOPIC] Wiring up home network

2005-09-25 Thread Erez D
On 9/23/05, Alexander Indenbaum [EMAIL PROTECTED] wrote: Hi,I'm just finishing major shiputz at my home and now it is time torun home network wiring.From topology point of view, one of the rooms is designated asserver/communication room. In the communication room there will be cable connection to

solved (was: load balancing problems)

2005-08-21 Thread Erez D
isp2addr dev isp2dev weight 1 it's important that you do not have a default route at table main. that's all erez. On 8/17/05, Erez D [EMAIL PROTECTED] wrote: i'll try the LARTC (linux advanced router ..) mailing list thanks anyway erez.On 8/17/05, Noam Meltzer [EMAIL PROTECTED] wrote: I'm sorry

Re: load balancing problems

2005-08-17 Thread Erez D
, NoamOn 8/16/05, Erez D [EMAIL PROTECTED] wrote: hii have 2 internet connetions: via eth3 and ppp0i wanted to do load balancing so i did: ip route add default nexthop via ip1 dev eth3 weight1 nexthop via ip2 dev ppp0 weight 1i test by pinging the interneti get funny results:if the route was selected via

Re: load balancing problems

2005-08-17 Thread Erez D
/05, Erez D [EMAIL PROTECTED] wrote: hithe command line i have used originated fromhttp://lartc.org/howto/lartc.rpdb.multiple-links.html about: http://www.ssi.bg/~ja/#routesare you aware of a specific bug/patch relevant the command i issued,or is it just a pointer to the patches available

Re: load balancing problems

2005-08-17 Thread Erez D
?NoamOn 8/17/05, Erez D [EMAIL PROTECTED] wrote: hithe command line i have used originated fromhttp://lartc.org/howto/lartc.rpdb.multiple-links.html about: http://www.ssi.bg/~ja/#routesare you aware of a specific bug/patch relevant the command i issued,or is it just a pointer to the patches available

Re: Program like wget that opens multiple connections.

2005-08-17 Thread Erez D
do you mean a download accelerator ? how about AXEL (search google for it) erez.On 8/17/05, Geoffrey S. Mendelson [EMAIL PROTECTED] wrote: Someone mentioned a program like wget that opened multiple connectionswhen discussing their multiple connection routing programs. I thoughtI had saved their

solved ( was: distributed disk)

2005-08-16 Thread Erez D
i installed pvfs2 it seams a good solution for a distributed disk over a cluster cheers, erez.On 7/27/05, Marc A. Volovic [EMAIL PROTECTED] wrote: Quoth Muli Ben-Yehuda: Looking at AFS has been known to induce tears and hysteria. It's the most non-unix-like UNIX FS I've ever seen.Exactly, old

load balancing problems

2005-08-16 Thread Erez D
hi i have 2 internet connetions: via eth3 and ppp0 i wanted to do load balancing so i did: ip route add default nexthop via ip1 dev eth3 weight1 nexthop via ip2 dev ppp0 weight 1 i test by pinging the internet i get funny results: if the route was selected via ppp0 then it works if the route

HD overheating

2005-08-01 Thread Erez D
hi my linux box is a PVR using mythtv my big problem is that the HD is overheating (i can fry an egg on it) as i can not really give it better cooling, i wonder if there is a way to make it generate less heat for example by tweaking the kernel or so ( e.g. make it read the whole file to ram, and

Re: HD overheating

2005-08-01 Thread Erez D
[EMAIL PROTECTED] ~==# hdparm -S 240 /dev/sda /dev/sda: setting standby to 240 (20 minutes) HDIO_DRIVE_CMD(setidle1) failed: Inappropriate ioctl for device [EMAIL PROTECTED] ~==# On 8/1/05, Matan Ziv-Av [EMAIL PROTECTED] wrote: On Mon, 1 Aug 2005, Erez D wrote: hi my linux box is a PVR using

Re: HD overheating

2005-08-01 Thread Erez D
not scsi, its SATAOn 8/1/05, Matan Ziv-Av [EMAIL PROTECTED] wrote: nOn Mon, 1 Aug 2005, Erez D wrote: [EMAIL PROTECTED] ~==# hdparm -S 240 /dev/sda /dev/sda: setting standby to 240 (20 minutes) HDIO_DRIVE_CMD(setidle1) failed: Inappropriate ioctl for device [EMAIL PROTECTED] ~==#/dev/sda

distributed disk

2005-07-27 Thread Erez D
hi I have few machines, each with a small disk i want to build one big network disk from all. (i.e. one partition) how do i do that ? btw: system: centos-4.0 (RHEL4 equiv) erez.

<    1   2   3   4   5   6