Re: ping
ping does not natively make those 'deductions', be it is easy to write a wrapper that does that for you. Something like: case `ping -qc 5 $1` in *'100% packet loss'*) echo "Target host $1 does not respond to ICMP echo requests." ;; *) echo "Target host $1 responds to ICMP echo requests." ;; esac On Tue, May 29, 2001 at 11:48:14PM -0700!@?#?%?, Noam Meltzer wrote: > Hi! > I know that on Solaris the output of "ping" is " is alive" or > "service not avaiable" (or something like that) > i was wandering how i can achieve such answer in linux. > > noam > > > = > 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: ping
Oleg Goldshmidt <[EMAIL PROTECTED]> wrote: > rcs <[EMAIL PROTECTED]> writes: > > > #!/bin/sh > > if [ $# != 2 ]; then echo "usage: $0 "; exit; fi > > ping -c 1 $1 > > if [ $? == 0 ] > > then > > echo $0 is alive. > > else > > echo $0 is not answering (to ICMP echo-request). > > fi > > $0 should be $1, shouldn't it? Yea ofcource. > > -- > Oleg Goldshmidt | [EMAIL PROTECTED] > If it aint't broken it hasn't got enough features yet. -- http://www.rshell.org Join #shellcode on EFnet. [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]
More details about today (Wednesday) linux cluster lecture
Since I got these details only today (Wednesday) and in view of the fact that you might overlook the Reply message to my original announcement on IGLU front page, I am posting this to the list too. > > >From Mike Kemelmakher about this week's lecture: > -- > The lecture will be about the linux cluster > built in Bar Ilan during my thesis work. > I will describe general cluster building consepts . > I will also speak about MOSIX - which is linux kernel extention - > produced in Hebrew University to enable process migration > among cluster nodes. And, finally, I will describe general concepts > of PVM and MPI programming and runtime environments for parallel > applications developement. > -- > Keep in mind though that contrary to `Moshe Bar's cluster product', the speaker is not representing any commercial firm. If you are interested, the meeting will be held today (Wednesday, May 30th), 19:45, at "Ulam Shlifer 2" in building #304 of the Bar-Ilan campus (http://www.biu.ac.il/General/campusmap). All the above should be linked from IGLU front page too. -- Shaul Karl <[EMAIL PROTECTED]> Hillel used to say: If I am not for myself who will be for me? Yet, if I am for myself only, what am I? And if not now, when? (Ethics Of The Fathers 1:14) = 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: ping
Ooops! and if [ $# != 2 ]... should be if [ $# != 1 ] Sorry, it's been a long long day. here's the new code: #!/bin/sh if [ $# != 1 ]; then echo "usage: $0 "; exit; fi ping -c 1 $1 >/dev/null 2>&1 if [ $? == 0 ] then echo $1 is alive else echo $1 is not answering (to ICMP echo-request) fi Oleg Goldshmidt <[EMAIL PROTECTED]> wrote: > rcs <[EMAIL PROTECTED]> writes: > > > #!/bin/sh > > if [ $# != 2 ]; then echo "usage: $0 "; exit; fi > > ping -c 1 $1 > > if [ $? == 0 ] > > then > > echo $0 is alive. > > else > > echo $0 is not answering (to ICMP echo-request). > > fi > > $0 should be $1, shouldn't it? > > -- > Oleg Goldshmidt | [EMAIL PROTECTED] > If it aint't broken it hasn't got enough features yet. -- http://www.rshell.org Join #shellcode on EFnet. [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: ping
rcs <[EMAIL PROTECTED]> writes: > #!/bin/sh > if [ $# != 2 ]; then echo "usage: $0 "; exit; fi > ping -c 1 $1 > if [ $? == 0 ] > then > echo $0 is alive. > else > echo $0 is not answering (to ICMP echo-request). > fi $0 should be $1, shouldn't it? -- Oleg Goldshmidt | [EMAIL PROTECTED] If it aint't broken it hasn't got enough features yet. = 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: ping
#!/bin/sh if [ $# != 2 ]; then echo "usage: $0 "; exit; fi ping -c 1 $1 if [ $? == 0 ] then echo $0 is alive. else echo $0 is not answering (to ICMP echo-request). fi Noam Meltzer <[EMAIL PROTECTED]> wrote: > Hi! > I know that on Solaris the output of "ping" is " is alive" or > "service not avaiable" (or something like that) > i was wandering how i can achieve such answer in linux. > > noam > > > = > 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] -- http://www.rshell.org Join #shellcode on EFnet. [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: 2.4.4
At 09:35 29/05/01 +0300, you wrote: >Usually I don't used to respond to my own messages, but... > >I wrote: > > > Eran Levy wrote: > > > > > Just wanted to notice. You can download Mandrake 2.4.4 kernel from: > > > > >ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake-devel/cooker/cooker/Mandrake/RPMS/ > > > if you havent downloaded it yet :) > > > > Thank you. > > > > I knew that there is an updated Cooker version of the kernel, and I even > > don't care that Cooker is experimental. > > > > What I care is its dependency on the other parts of Cooker, i.e. can it be > > installed under Mandrake 8.0? > > Does anybody know whether a Cooker kernel can be installed under the > > standard version? > >Amazing... >What a coincidence >Exactly the same question, is being discussed NOW at the Mandrake Forum: > >http://www.mandrakeforum.com yes I see, You can also check the cooker overview in the URL I gave you... >= >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] Regards, Eran Levy. E-mail: [EMAIL PROTECTED] WebSite: http://come.to/liloboot = 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]
ping
Hi! I know that on Solaris the output of "ping" is " is alive" or "service not avaiable" (or something like that) i was wandering how i can achieve such answer in linux. noam = 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: Free XServer for windows, and a firewall question
Tzafrir Cohen wrote: [...] > BTW: The only other free X server for win32 is XFree, when compiled with > cygwin: http://sources.redhat.com/cygwin/xfree/ IIRC. Installation is not > exactly trivial, though (from what I heard. I haven't tried it yet) Tzafrir, Installation of Cygwin/Xfree86 *used* to be non-trivial, but now it's pretty simple. All you have to do is to install Cygwin (one click from the cygwin site), and then untar the Xfree binary archives. I use it at our company to access a Linux server from Windows, and it works perfectly. Especially compared to what we used in the past (vncviewer+Xvnc... slow!). I can certainly recommend Cygwin/XFree for production environments. Gavrie. -- Gavrie Philipson Netmor Applied Modeling Research Ltd. = 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]
Radius for Linux+ MS SQL
Anyone can point me to a Linux RADIUS server which can talk to MS SQL ? Best Regards, Evgeny Popov Comsec Publicom ltd. = 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: IP Chains Rules
I had the same thing with bezeqint on ISDN. Everything went well until they installed a POP proxy (MiraPoint). I know that Internet Gold uses the same equipment and have the same problems with few of their customers. Fortunately, I have overcome this issue and can advise you to do one of the following: 1. Call inetgold and ask their support personell to tell you the IP address of the exact mail server you need to connect to. 2. Play with your MTU/MRU settings - after a while bezeqint blocked direct access to the POP servers by forwarding them to the proxy using their firewalls, and changing my MTU to 1152 (or was it 716?) did the trick. Your MTU is probably 1500 or 1499 if you didn't change it, so you can have a go with this. Isaac Aaron Head of Development Quality Bytes http://www.q-bytes.com TEL: +972-3-952 3175 FAX: +972-3-952 3176 ---Original Message--- From: Noam Meltzer Date: Monday, May 28, 2001 19:55:25 To: IGLU Cc: [EMAIL PROTECTED] Subject: IP Chains Rules Hi!Finally i got this holiday to configure my ADSL on an old pc with two network adapters, and configured the ip-masq.Everything seemed to work fine, until I tried to recieve mail.What happens is that when i try to get my messages from the win2k masq-client (using netscape) it connects to the pop3 server and learn that I have X messages, but it can't download them.I tried to telnet to "in.zahav.net.il" port 110 and discovered how to login and then type "list". which showed me how many messages i have which was the same as the client showed.I tried to send mail (SMTP) and it worked no problem.any1 has idea?please reply to this address, because I can read mail from it:[EMAIL PROTECTED]=To unsubscribe, send mail to [EMAIL PROTECTED] withthe word "unsubscribe" in the message body, e.g., run the commandecho unsubscribe | mail [EMAIL PROTECTED] _IncrediMail - Email has finally evolved - Click Here
Re: 2.4.4
I have run the 2.4.4 kernel and runs flawlessly. As for what you stated on XFS, true, but it you don't use XFS, then you wouldn't need any of the XFS tools, as with many other kernel features. For example: How many people install ipchains, or ipvsadm on kernel 2.2? Still, the kernel manages to do very well without them. These user tools are needed for control of these subsystems and when they don't exist, the kernel has a default behavior (such as, being able to mount XFS partitions). Isaac Aaron Head of Development Quality Bytes http://www.q-bytes.com TEL: +972-3-952 3175 FAX: +972-3-952 3176 ---Original Message--- From: Eli Marmor Date: Tuesday, May 29, 2001 11:31:09 To: [EMAIL PROTECTED] Subject: Re: 2.4.4 Tzafrir Cohen wrote:> > What I care is its dependency on the other parts of Cooker, i.e. can it be> > installed under Mandrake 8.0?> > This is a kernel. What can it depend on?Wow. Zillion things...One example:In one of the last Cookers (I don't know if the latest too), I sawan XFS supporting kernel, plus a special XFS fsck and other user-level programs for XFS. If you take this kernel and put it under thestandard 8.0, you don't have these programs.Let me re-ask my question:I didn't ask if the Cooker's kernel depends on specific parts ofCooker; It DOES depend. What I asked, was - what parts exactly?> Assuming you have a proper compiler, binutils, modutils, etc. for 2.4,> there should be no problem using/building this spesific version.There may be a different compiler, glibc, etc., in Cooker vs. 8.0.> I suppose you'll want to compile it yourself. Either download the -source> rpm and build it, or (probably a better option) download the source rpm,> extract it, and run 'rpm -bp path/to/kernel.spec' . This will extract the> kernel and apply all of the patches.> > The atvantage here is that by tweaking the spec file you can try to add or> remove certain patches ("try": because some patches depend on other> patches, and may need to be changed in order to be applied properly after> another patch was removed. Still, it is worth a try).I'll do it.Thanks!-- Eli Marmor[EMAIL PROTECTED]CTO, FounderNetmask (El-Mar) Internet Technologies Ltd.__Tel.: +972-9-766-1020 8 Yad-Harutzim St.Fax.: +972-9-766-1314 P.O.B. 7004Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel=To unsubscribe, send mail to [EMAIL PROTECTED] withthe word "unsubscribe" in the message body, e.g., run the commandecho unsubscribe | mail [EMAIL PROTECTED] _IncrediMail - Email has finally evolved - Click Here
Re: 2.4.4
Hi Eli, You can read an overview about the Cooker version at: http://www.mandrakesoft.com/labs/cooker This will give you all the information you need (I hope) :) At 08:33 29/05/01 +0300, you wrote: >Eran Levy wrote: > > > Just wanted to notice. You can download Mandrake 2.4.4 kernel from: > > > >ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake-devel/cooker/cooker/Mandrake/RPMS/ > > if you havent downloaded it yet :) > >Thank you. > >I knew that there is an updated Cooker version of the kernel, and I even >don't care that Cooker is experimental. > >What I care is its dependency on the other parts of Cooker, i.e. can it be >installed under Mandrake 8.0? >Does anybody know whether a Cooker kernel can be installed under the >standard version? > >BTW: grsecurity was updated, and its latest version is based on 2.4.5 >Of course, kernel 2.4.4 and its grsecurity are good enough for almost >everybody... > >Thanks again, >-- >Eli Marmor >[EMAIL PROTECTED] >CTO, Founder >Netmask (El-Mar) Internet Technologies Ltd. >__ >Tel.: +972-9-766-1020 8 Yad-Harutzim St. >Fax.: +972-9-766-1314 P.O.B. 7004 >Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel > >= >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] Regards, Eran Levy. E-mail: [EMAIL PROTECTED] WebSite: http://come.to/liloboot = 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: 2.4.4
On Tue, 29 May 2001, Eli Marmor wrote: > Eran Levy wrote: > > > Just wanted to notice. You can download Mandrake 2.4.4 kernel from: > > >ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake-devel/cooker/cooker/Mandrake/RPMS/ > > if you havent downloaded it yet :) > > Thank you. > > I knew that thereis an updated Cooker version of the kernel, and I even > don't care that Cooker is experimental. > > What I care is its dependency on the other parts of Cooker, i.e. can it be > installed under Mandrake 8.0? This is a kernel. What can it depend on? Assuming you have a proper compiler, binutils, modutils, etc. for 2.4, there should be no problem using/building this spesific version. Maybe you'll lack some user-space programs to exploit certain features, but this is not exactly a dependency. [Or am I missing anything?] > Does anybody know whether a Cooker kernel can beinstalled under the > standard version? I suppose you'll want to compile it yourself. Either download the -source rpm and build it, or (probably a better option) download the source rpm, extract it, and run 'rpm -bp path/to/kernel.spec' . This will extract the kernel and apply all of the patches. The atvantage here is that by tweaking the spec file you can try to add or remove certain patches ("try": because some patches depend on other patches, and may need to be changed in order to be applied properly after another patch was removed. Still, it is worth a try). -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir = 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: Lilo problem
Hi, It's look like you got your "table" parameter worng. it shuold include only /dev/hda and not /dev/hda1 so your windows part on the lilo.conf have to look like the following: other=/dev/hda1 #(or where ever your windows partiotion is. can be check with fdisk -l /dev/hda) lable=Windows tables=/dev/hda and don't forget to run "lilo" after you rewrite the "lilo.conf". good luck Tomer. - Original Message - From: "Erez Boym" <[EMAIL PROTECTED]> To: "Linux-IL" <[EMAIL PROTECTED]> Sent: Monday, May 28, 2001 11:07 AM Subject: Lilo problem > Hi, > > I have a problem loading Win2K with Lilo. > > I have installed Win2k and Red hat 6.0 on the same > machine. The comp. used to be used by both me and my > partner, which knows only MSOffice, and to make things > easier for her I had removed Lilo by using fdisk /MBR. > So whenever I'm using the comp. I use a boot disk to > get my beloved RedHat and all she has to do to get her > Win2k is to turn the comp. on. > > Now, since she is not using the comp anymore I wont > Lilo to boot my RedHat and Win2k partitions. > > Running /sbin/lilo I got a message "Partision Entry > Not Found" and lilo installed only after removing the > table=/dev/hda1 from linux.conf. > > after rebooting lilo gave me 3 options (which is ok) > linux, 2.2.17-2 and Windows. loading linix and > 2.2.17-2 works fine but typing Windows at the lilo > prompt is ignored. I just get the lilo prompt again. > uninstaling lilo usinf fdisk /MBR dose not work any > more only lilo -u works and then Win2k loads with no > problems. > > Can u help me identify the problem here ? > > Can I make shore that lilo is able to load my other op > systems before overwriting the MBR ? > > > -- my lilo.conf - > > boot=/dev/hda > delay=50 > map=/boot/map > install=/boot/boot.b > prompt > timeout=50 > image=/boot/vmlinuz-2.2.5-15 > label=linux > root=/dev/hdb1 > read-only > image=/boot/bzImage-2.2.17-2 > label=2.2.17-2 > root=/dev/hdb1 > read-only > other=/dev/hda1 > label=Windows > table=/dev/hda1 > > - > > Thanks > > Erez > > > > __ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.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] > = 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: 2.4.4
Usually I don't used to respond to my own messages, but... I wrote: > Eran Levy wrote: > > > Just wanted to notice. You can download Mandrake 2.4.4 kernel from: > > >ftp://ftp.proxad.net/pub/Distributions_Linux/Mandrake-devel/cooker/cooker/Mandrake/RPMS/ > > if you havent downloaded it yet :) > > Thank you. > > I knew that there is an updated Cooker version of the kernel, and I even > don't care that Cooker is experimental. > > What I care is its dependency on the other parts of Cooker, i.e. can it be > installed under Mandrake 8.0? > Does anybody know whether a Cooker kernel can be installed under the > standard version? Amazing... What a coincidence Exactly the same question, is being discussed NOW at the Mandrake Forum: http://www.mandrakeforum.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: 2.4.4
Tzafrir Cohen wrote: > > What I care is its dependency on the other parts of Cooker, i.e. can it be > > installed under Mandrake 8.0? > > This is a kernel. What can it depend on? Wow. Zillion things... One example: In one of the last Cookers (I don't know if the latest too), I saw an XFS supporting kernel, plus a special XFS fsck and other user- level programs for XFS. If you take this kernel and put it under the standard 8.0, you don't have these programs. Let me re-ask my question: I didn't ask if the Cooker's kernel depends on specific parts of Cooker; It DOES depend. What I asked, was - what parts exactly? > Assuming you have a proper compiler, binutils, modutils, etc. for 2.4, > there should be no problem using/building this spesific version. There may be a different compiler, glibc, etc., in Cooker vs. 8.0. > I suppose you'll want to compile it yourself. Either download the -source > rpm and build it, or (probably a better option) download the source rpm, > extract it, and run 'rpm -bp path/to/kernel.spec' . This will extract the > kernel and apply all of the patches. > > The atvantage here is that by tweaking the spec file you can try to add or > remove certain patches ("try": because some patches depend on other > patches, and may need to be changed in order to be applied properly after > another patch was removed. Still, it is worth a try). I'll do it. Thanks! -- Eli Marmor [EMAIL PROTECTED] CTO, Founder Netmask (El-Mar) Internet Technologies Ltd. __ Tel.: +972-9-766-1020 8 Yad-Harutzim St. Fax.: +972-9-766-1314 P.O.B. 7004 Mobile: +972-50-23-7338 Kfar-Saba 44641, Israel = 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]