Erez D | 14 Aug 12:22 2014
Picon

Q: suspend and resume a usb device from command line

i searched and could not find a solution

i need to suspend a specific usb device, and later resume it
i have no 'power/level' or 'power/pm_qos_no_power_off' under /sys/bus/usb/devices/...

does anyone know how i can achieve this ?
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
E.S. Rosenberg | 12 Aug 11:47 2014
Picon
Picon

Re: Running a script for email received

re:all
procmail and/or sieve seem to be the natural candidates....
With /etc/alias you could also pipe the mail into a script which would trigger the script...




2014-08-12 12:45 GMT+03:00 E.S. Rosenberg <esr <at> g.jct.ac.il>:
procmail and/or sieve seem to be the natural candidates....
With /etc/alias you could also pipe the mail into a script which would trigger the script...


2014-08-11 19:38 GMT+03:00 Ori Idan <ori <at> helicontech.co.il>:
I am trying to run a script when an email is received on my server.
I tried what described here:

But it invoked the script for all mails not mail to a specific user
I tried the simplest thing of /etc/alias
But got error: Recipient address rejected: User unknown in virtual alias table

Does anyone have any idea how to run a script for mail sent to a specific user?

-- 
Ori Idan


_______________________________________________
Linux-il mailing list
Linux-il-4CMFUCtaffM@public.gmane.orgi.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il



_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Ori Idan | 11 Aug 18:38 2014
Picon

Running a script for email received

I am trying to run a script when an email is received on my server.
I tried what described here:

But it invoked the script for all mails not mail to a specific user
I tried the simplest thing of /etc/alias
But got error: Recipient address rejected: User unknown in virtual alias table

Does anyone have any idea how to run a script for mail sent to a specific user?

-- 
Ori Idan

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Mord Behar | 11 Aug 15:33 2014
Picon

OT: languages in Google Maps

I'm trying to embed a Google Map on a website, and since most of the target audience is non-English readers, I want the map to be in Hebrew.
So I set my Google settings to be Hebrew, and got an embed code from Google. Now Google pointed out to me that each visitor will view a map appropriate for them (I think it refers to Places only). But when I tried to view it on the website, the map is in English. I then noticed that even though my map is in Hebrew, the little floating window I get to get an embed code shows the map in English.
Does Google not support Hebrew for embedded maps? Or is there some way to force it?

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Eli Billauer | 2 Aug 19:31 2014
Picon

[HAIFUX LECTURE] Cedalion: A Democracy Awaiting the People -- Boaz Rosenan

On Monday, August 4th at 18:30, Haifux will gather to hear a talk by Boaz Rosenan:

    Cedalion: A Democracy Awaiting the People

Abstract

Cedalion is a democratic programming language. Most programming languages have a fixed syntax with fixed
semantics, defined by either a small committee or by a single person, who, as benevolent as he or she may be,
is still a dictator. Cedalion is different. It features a small core, that is only enough for users to
extend the language, adding the language constructs they need for the problem and solution domains they
are interested in. For that, Cedalion provides them nearly complete freedom over syntax and semantics.
Unfortunately, a democracy is worthless without the people, and the people are yet to come to use
Cedalion. One important reason for this is that so far we have failed to provide a simple way to use Cedalion
programs outside the Cedalion IDE, mainly due to its pure-declarati
 ve nature.

I will start this talk with a short overview of Cedalion, followed by a 
short demo. Then I will describe our earlier attempts at creating a Web 
framework around Cedalion, and eventually dive into our current work on 
the subject. The current approach goes deep into the fundamentals of 
software, questioning the fine line between a programmer and a user, 
between a program and its state, and between a powerful generic IDE and 
good UI.

=================================================================

We meet in Taub building, room 6. For instructions see:
http://www.haifux.org/where.html

Attendance is free, and you are all invited!

==================================================================
Future lectures:

01/09/14  The Book of Bad Crypto Decisions (part 2 of 1,000,000):
           Orr Dunkelman

==================================================================

We are always interested in hearing your talks and ideas. If you wish to give a talk, hold a discussion, or
just plan some event haifux might be interested in, please contact us atwebmaster@...

--

-- 
Web:http://www.billauer.co.il

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Amos Shapira | 26 Jul 13:00 2014
Picon

better antenna for a USB DVB-T dongle?

Hi,

I'm asking here since I saw that quiet a few members here mentioned using things like this in the past.

I bought a USB DVB dongle for my Cubox-I running OpenELEC (here is the item on ebay: http://www.ebay.com.au/itm/251537079924) and although it's well supported and the kernel recognises it without a hitch, scanning for channels (both through tvheadend and command line w_scan) can't lock on any channels.

I live less than 2 km from the antennas which broadcast to all of Sydney (~80km radius service area).

According to the instructions at http://baratel.com/guides/mythTV.htm, the internal antenna which comes with such dongles is worthless for more than 500m.

But the antenna input socket is not the standard wide one (e.g. like the one you can see in this wikipedia image: http://en.wikipedia.org/wiki/Coaxial_cable#mediaviewer/File:N_Connector.jpg) but something that looks like 1 mm headphone jack with an itsy bitsy hole in the middle.

Does anyone know how can I extend the reception for this baby?

I think of two main options:

1. Connect it to "normal"/"common" coaxial wall socket, so I can take advantage of the antenna on the roof.
2. Buy a bigger internal antenna which can connect to this weird jack.

Any pointers would be appreciated.

Thanks,

--Amos
--

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Rabin Yasharzadehe | 22 Jul 21:56 2014

Looking for a recommendation for Triple LCD Stand Desk

Hello all,

Is any one the list have any recommendation or experience with multi-monitor stands,
Any thing i should know before buying one ?
Local vs overseas ?
Is there a cheaper way to achieve this like a DIY project ?

Thanks in advance,

--
Rabin
_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Erez D | 20 Jul 17:46 2014
Picon

Re: reverse ssh

On Sun, Jul 20, 2014 at 3:36 PM, E.S. Rosenberg <esr <at> g.jct.ac.il> wrote:
> You can have something running on the machine you want to SSH to that
> updates the machine with a fixed IP what its' IP is and have a firewall rule
> or some other way to redirect specific traffic like for instance traffic to
> TCP:22222 from that machine to the IP that it was updated to be....
>
still do not understand what you mean, and how it will let me connect
to a machine with a private ip
>
> 2014-07-20 14:33 GMT+03:00 Erez D <erez0001@...>:
>
>> On Sun, Jul 20, 2014 at 1:30 PM, Yedidyah Bar David
>> <linux-il@...> wrote:
>> > If you just want an ssh connection you can simply redirect connection
>> > attempts to some port on the
>> > Internet-accessible machine to port 22 on the private-ip one - using
>> > whatever tool that fits you best -
>> > iptables, xinetd, redir, probably many others.
>> > --
>> > Didi
>>
>> i do not understand what do you mean
>> >
>> >
>> > 2014-07-20 13:31 GMT+03:00 Erez D <erez0001@...>:
>> >>
>> >> looks a little complicated - extra ssh server, firewall with port
>> >> knocking
>> >> all this for a ssh connection ...
>> >>
>> >> On Sun, Jul 20, 2014 at 11:38 AM, Rabin Yasharzadehe <rabin@...>
>> >> wrote:
>> >> > you can add a port-knocking tool like fwknop to add a dynamic rule to
>> >> > forward your connection into the privet machine.
>> >> >
>> >> > --
>> >> > Rabin
>> >> >
>> >> >
>> >> > On Sun, Jul 20, 2014 at 12:16 PM, Erez D <erez0001@...> wrote:
>> >> >>
>> >> >> On Sun, Jul 20, 2014 at 11:06 AM, Lior Kaplan <kaplanlior@...>
>> >> >> wrote:
>> >> >> > Didn't check it, but login in with a user who has /bin/true might
>> >> >> > do
>> >> >> > the
>> >> >> > trick.
>> >> >> you are correct, it works.
>> >> >> however it is still a security risk, as this means the client may
>> >> >> listen on unused port ...
>> >> >>
>> >> >> >
>> >> >> > Kaplan
>> >> >> >
>> >> >> >
>> >> >> > On Sun, Jul 20, 2014 at 12:03 PM, Erez D <erez0001@...>
>> >> >> > wrote:
>> >> >> >>
>> >> >> >> On Sun, Jul 20, 2014 at 10:39 AM, Lior Kaplan
>> >> >> >> <kaplanlior@...>
>> >> >> >> wrote:
>> >> >> >> > ssh itself ?
>> >> >> >> >
>> >> >> >> > http://www.thegeekstuff.com/2013/11/reverse-ssh-tunnel/
>> >> >> >> nice, however this requires me to give access to my server, which
>> >> >> >> i
>> >> >> >> do
>> >> >> >> not want ...
>> >> >> >> (or, can i give people permission to ssh to my server only for
>> >> >> >> reverse
>> >> >> >> tunnels and no shell ?)
>> >> >> >>
>> >> >> >> >
>> >> >> >> > Kaplan
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > On Sun, Jul 20, 2014 at 11:36 AM, Erez D <erez0001@...>
>> >> >> >> > wrote:
>> >> >> >> >>
>> >> >> >> >> hello
>> >> >> >> >>
>> >> >> >> >> i have a linux machine with a private ip connected to the
>> >> >> >> >> internet
>> >> >> >> >> i have a public ip and need to ssh to the linux box
>> >> >> >> >>
>> >> >> >> >> any tools for that ?
>> >> >> >> >>
>> >> >> >> >> _______________________________________________
>> >> >> >> >> Linux-il mailing list
>> >> >> >> >> Linux-il@...
>> >> >> >> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>> >> >> >> >
>> >> >> >> >
>> >> >> >
>> >> >> >
>> >> >>
>> >> >> _______________________________________________
>> >> >> Linux-il mailing list
>> >> >> Linux-il@...
>> >> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>> >> >
>> >> >
>> >>
>> >> _______________________________________________
>> >> Linux-il mailing list
>> >> Linux-il@...
>> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>> >
>> >
>>
>> _______________________________________________
>> Linux-il mailing list
>> Linux-il@...
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Erez D | 20 Jul 10:36 2014
Picon

reverse ssh

hello

i have a linux machine with a private ip connected to the internet
i have a public ip and need to ssh to the linux box

any tools for that ?

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Eli Billauer | 19 Jul 19:55 2014
Picon

[HAIFUX LECTURE] The Book of Bad Crypto Decisions -- Orr Dunkelman

On Monday, July 21st at 18:30, Haifux will gather to hear a talk by Orr Dunkelman:

    The Book of Bad Crypto Decisions (part 1 of 1,000,000)

Abstract

The borderline between cryptography and computer security (or "How to 
use cryptography") was, is, and will be, a place for many problems. In 
this talk we shall go over several of the (many) examples to "what might 
get wrong", and discuss how to avoid them (and how to mitigate them).

The examples will cover GSM's security (with several lessons), issues 
with random number generation, how PKI can be misused, etc.

=================================================================

We meet in Taub building, room 6. For instructions see:
http://www.haifux.org/where.html

Attendance is free, and you are all invited!

==================================================================
Future lectures:

04/08/14 Cedalion: A Democracy Awaiting the People: Boaz Rosenan

==================================================================

We are always interested in hearing your talks and ideas. If you wish to give a talk, hold a discussion, or
just plan some event haifux might be interested in, please contact us atwebmaster@...

--

-- 
Web:http://www.billauer.co.il

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Eli Billauer | 18 Jul 16:23 2014
Picon

Haifux, this Monday, on crypto-hell

Hello all,

On Monday (July 21st), Haifux will mock those who had good intentions 
but poor crypto wisdom, and deserved their position in the shameful list 
of security fails. And also discuss why they got it wrong...

The short abstract is at http://www.haifux.org/lectures/328

This is an extra announcement, as the lecture was added recently.

See you,

     Eli

--

-- 
Web: http://www.billauer.co.il

_______________________________________________
Linux-il mailing list
Linux-il@...
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Gmane