Re: tcpip stops working after some time

2008-12-21 Thread Micha Feigin
On Fri, 19 Dec 2008 12:37:44 -0800 (PST)
Jeff D fixedo...@gmail.com wrote:

 On Fri, 19 Dec 2008, Micha Feigin wrote:
 
  On Sat, 13 Dec 2008 01:07:12 +0200
  subscriptions subscripti...@rdegraaf.nl wrote:
 
   On Fri, 2008-12-12 at 22:10 +0100, Micha Feigin wrote:
   
For some reason after a few days of uptime , tcp stops working on my
machine.
Ping and dns lookups work, tcp doesn't. I tried both wired and
wireless,
removing the firewall and unloading all firewall related modules but
nothing
seems to change.
   
Only restarting seems to help
   
Any ideas what else could it be?
   
Thanks
  
   Try 'netstat -atn' to see if you have filled all ports.
  
 
  Here's the output, doesn't seem to me that I filled the ports, but I may be
  wrong. Not sure what are all those open ports at the 4-6 range
  I also it seems that the connection is not all dead, it's just really slow
  (I sometime get a reply to telnet www.google.com 80 after a couple of
  minutes although it mostly times out. ping works fine. nada
  in /var/log/syslog and /var/log/messages
 
  vivalunalitshi:tmp# netstat -atn
  Active Internet connections (servers and established)
  Proto Recv-Q Send-Q Local Address   Foreign Address State
  tcp0  0 192.168.1.11:55178  132.66.7.110:80
  ESTABLISHED tcp0  1 192.168.1.100:51591
  132.66.7.110:80 SYN_SENT tcp0  0
  192.168.1.100:51593 132.66.7.110:80 ESTABLISHED tcp
  0  1 192.168.1.100:49378 74.125.79.109:995   SYN_SENT
  tcp0  1 192.168.1.100:51590 132.66.7.110:80
  SYN_SENT tcp0  0 192.168.1.100:57531
  130.83.165.8:3250   ESTABLISHED tcp0  0
  192.168.1.100:42224 87.70.122.110:43754 ESTABLISHED tcp
  0  1 192.168.1.100:43329 132.66.7.110:80 SYN_SENT
  tcp0  0 192.168.1.100:39098 77.127.241.67:10184
  ESTABLISHED
 
   Best,
  
   Rob
 
 are you seeing issues with all tcp or just web traffic? One other thing
 you might want to try out is to fire up tcpdump (tcpdump -i eth0 -n ) and
 run:
 traceroute -n google.com
 and
 traceroute -n -T google.com
 
 The -T there, tells traceroute to send out tcp packets.  It could give you
 some insight on what may be causing this issue, or at least where the
 issue might be.
 

I have no idea on how to read this. It seems that regular traceroute fails (-n)
tcp traceroute works (-n -T) and telnet www.yahoo.com 80 fails (same with
google and a few others I testes)

Any ideas?

vivalunalitshi:mpi$ sudo traceroute -n  www.yahoo.com
traceroute to www.yahoo.com (69.147.76.15), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *
vivalunalitshi:mpi$ sudo traceroute -n -T  www.yahoo.com
\traceroute to www.yahoo.com (69.147.76.15), 30 hops max, 60 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  69.147.76.15  225.569 ms  225.608 ms  180.227 ms
vivalunalitshi:mpi$ telnet www.yahoo.com 80
Trying 69.147.76.15...
and nada

 Jeff


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny: which arch for a Intel Core 2 Duo?

2008-12-20 Thread Micha Feigin
On Sat, 20 Dec 2008 11:56:43 -0700
Mario morrellmarioc...@qwest.net wrote:

 Mirto Silvio Busico wrote:
  Hi all,
  
  my new notebook is an Acer AS5930G which uses an Intel Core 2 Duo cpu.
  
  I should like to install the 64 bit version of Lenny.
  
  Which is the correct arch for this processor?
  
  Thanks
  Mirto
  
  P.S. from http://cdimage.debian.org/cdimage/weekly-builds/ I downloaded the
  
  amd64 kde CD
  
  But, during the installation all went wrong:
  
  * normal graphic intall loops trying to detect the keyboard
  * expert graphic install goes on until it reaches the disk
partitioning, then freezes
  
  
  
  
 You need the ia64.
 

no, consumer 64 bit (all amd actually and intel core2 and xeon) are amd64
(intel calls it em64t IIRC but it is compatible to amd's 64 bit extensions).
ia64 is itenium 64 bit which is not compatible with core2 or xeon.

 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: tcpip stops working after some time

2008-12-19 Thread Micha Feigin
On Sat, 13 Dec 2008 01:07:12 +0200
subscriptions subscripti...@rdegraaf.nl wrote:

 On Fri, 2008-12-12 at 22:10 +0100, Micha Feigin wrote:
  
  For some reason after a few days of uptime , tcp stops working on my
  machine.
  Ping and dns lookups work, tcp doesn't. I tried both wired and
  wireless,
  removing the firewall and unloading all firewall related modules but
  nothing
  seems to change.
  
  Only restarting seems to help
  
  Any ideas what else could it be?
  
  Thanks
 
 Try 'netstat -atn' to see if you have filled all ports.
 

Here's the output, doesn't seem to me that I filled the ports, but I may be
wrong. Not sure what are all those open ports at the 4-6 range
I also it seems that the connection is not all dead, it's just really slow (I
sometime get a reply to telnet www.google.com 80 after a couple of minutes
although it mostly times out. ping works fine. nada in /var/log/syslog
and /var/log/messages

vivalunalitshi:tmp# netstat -atn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address   Foreign Address State  
tcp0  0 0.0.0.0:28147   0.0.0.0:*   LISTEN 
tcp0  0 127.0.0.1:38422 0.0.0.0:*   LISTEN 
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN 
tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN 
tcp0  0 127.0.0.1:250.0.0.0:*   LISTEN 
tcp0  0 192.168.1.11:55178  132.66.7.110:80 ESTABLISHED
tcp0  1 192.168.1.100:51591 132.66.7.110:80 SYN_SENT   
tcp0  0 192.168.1.100:51593 132.66.7.110:80 ESTABLISHED
tcp0  1 192.168.1.100:49378 74.125.79.109:995   SYN_SENT   
tcp0  1 192.168.1.100:51590 132.66.7.110:80 SYN_SENT   
tcp0  0 192.168.1.100:57531 130.83.165.8:3250   ESTABLISHED
tcp0  0 192.168.1.100:42224 87.70.122.110:43754 ESTABLISHED
tcp0  1 192.168.1.100:43329 132.66.7.110:80 SYN_SENT   
tcp0  0 192.168.1.100:39098 77.127.241.67:10184 ESTABLISHED
tcp6   0  0 :::22   :::*LISTEN 
tcp6   0  0 ::1:631 :::*LISTEN 
vivalunalitshi:tuxonice-head# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State   
User   Inode   PID/Program name
tcp0  0 0.0.0.0:28147   0.0.0.0:*   LISTEN  
1000   11961   5101/skype  
tcp0  0 127.0.0.1:38422 0.0.0.0:*   LISTEN  
1000   643814  4753/gdl_indexer
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN  
0  61124041/sshd   
tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN  
0  61534066/cupsd  
tcp0  0 127.0.0.1:250.0.0.0:*   LISTEN  
0  621869  23059/exim4 
tcp6   0  0 :::22   :::*LISTEN  
0  61104041/sshd   
tcp6   0  0 ::1:631 :::*LISTEN  
0  61544066/cupsd  
udp0  0 127.0.0.1:35370 0.0.0.0:*   
1000   92115101/skype  
udp0  0 0.0.0.0:68  0.0.0.0:*   
0  1224846 16412/dhclient  
udp0  0 0.0.0.0:68  0.0.0.0:*   
0  360014  29605/dhclient  
udp0  0 0.0.0.0:28147   0.0.0.0:*   
1000   11962   5101/skype  
udp0  0 0.0.0.0:631 0.0.0.0:*   
0  61564066/cupsd  

 Best,
 
 Rob
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: laptop recomendations

2008-12-17 Thread Micha Feigin
On Tue, 16 Dec 2008 23:49:43 -0200
Ismael Scalcon thesupermo...@gmail.com wrote:

 That's why we recommend a netbook. It's light, small and the power
 supply of my EEE 701 is smaller than my cell phone charger.
 

Like I said in my original post, it's an issue of screen and computing
power. I'm looking for a powerful laptop (core2 T9500 or simillar) with a 15
display so that I can work on it without using an external monitor at home and
in the office.

Netbooks are nice for the occasional work outside, carrying and repairing
presentation and watching movies on the go. They are not work machines. They do
have the advantage of being cheep, but like I said, I was looking for sane in
work terms (~1500$) so that is not the issue.

I do have a friend who claims that he can run matlab on an eee pc, but I still
think that it's fiction ;-)

 2008/12/14 Micha Feigin mi...@post.tau.ac.il:
  On Sun, 14 Dec 2008 16:34:48 +0100
  Bernard bdebr...@teaser.fr wrote:
 
  Micha Feigin wrote:
 
  On Sat, 13 Dec 2008 00:37:04 +0100
  Bernard bdebr...@teaser.fr wrote:
  
  
  
  Dotan Cohen wrote:
  
  
  
  2008/12/11 Micha Feigin mi...@post.tau.ac.il:
  
  
  
  
  Hello,
  
  Sorry for being a bit off topic
  
  
  
  Thank in advance for your any advice or recommandation.
  
  
  
  
  
  I would go with the vosotro line if you want to save money and
  stick with dell. The inspiron is similar to all other home lines
  which are cheap in all respects, not just the money.
  
  I like the t61 but it's old now. the t500 are out, but the
  reviews are mixed, apparently the keyboard has been replaced with
  a cheaper one. They are not cheap of course, but you abuse your
  laptop it will probably pay off.
  
  A friend of mine has the vosotro 1440 I think (I believe it has
  been replaced also with a newer model) and he is rather happy
  with it.
  
  Another one is willing to kill anyone who considers anything
  other than macs.
  
  
  
  
  Thanks for those hints. I will carry a bit more search into the
  vosotro line. At the time I had purchased my old Thinkpad 600, it
  was bound to be my main home personal computer, so I was prepared
  to pay the price for something really good and nice for my
  eyes..., but now that I mostly use a recent good desktop, my new
  laptop will only serve on an occasional basis ; however I want it
  reliable and not fragile, and powerful enough as far as wifi is
  concerned.
 
 
 
  One other thing that people often forget to look at when buying a
  laptop. If you plan to have it mobile, check out the size of the
  power supply. The cheaper laptops may look initially not much
  heavier than the more expensive ones but the power supply can be a
  serious brick that can add more than an extra pound to the total
  weight
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
 
 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: laptop recomendations

2008-12-14 Thread Micha Feigin
On Sun, 14 Dec 2008 16:34:48 +0100
Bernard bdebr...@teaser.fr wrote:

 Micha Feigin wrote:
 
 On Sat, 13 Dec 2008 00:37:04 +0100
 Bernard bdebr...@teaser.fr wrote:
 
   
 
 Dotan Cohen wrote:
 
 
 
 2008/12/11 Micha Feigin mi...@post.tau.ac.il:
  
 
   
 
 Hello,
 
 Sorry for being a bit off topic 
 
   
 
 Thank in advance for your any advice or recommandation.
 
 
 
 
 
 I would go with the vosotro line if you want to save money and stick with
 dell. The inspiron is similar to all other home lines which are cheap in all
 respects, not just the money.
 
 I like the t61 but it's old now. the t500 are out, but the reviews are mixed,
 apparently the keyboard has been replaced with a cheaper one. They are not
 cheap of course, but you abuse your laptop it will probably pay off.
 
 A friend of mine has the vosotro 1440 I think (I believe it has been replaced
 also with a newer model) and he is rather happy with it.
 
 Another one is willing to kill anyone who considers anything other than macs.
 
 
   
 
 Thanks for those hints. I will carry a bit more search into the vosotro 
 line. At the time I had purchased my old Thinkpad 600, it was bound to 
 be my main home personal computer, so I was prepared to pay the price 
 for something really good and nice for my eyes..., but now that I mostly 
 use a recent good desktop, my new laptop will only serve on an 
 occasional basis ; however I want it reliable and not fragile, and 
 powerful enough as far as wifi is concerned.
 
 

One other thing that people often forget to look at when buying a laptop. If
you plan to have it mobile, check out the size of the power supply. The
cheaper laptops may look initially not much heavier than the more expensive
ones but the power supply can be a serious brick that can add more than an
extra pound to the total weight


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: tp_smapi config

2008-12-13 Thread Micha Feigin
On Sat, 13 Dec 2008 14:02:47 -0400
tyler tyler.sm...@mail.mcgill.ca wrote:

 Micha Feigin mi...@post.tau.ac.il writes:
 
  On Fri, 12 Dec 2008 11:23:35 -0400
  tyler tyler.sm...@mail.mcgill.ca wrote:
 
  Winfried Tilanus winfr...@tilanus.com writes:
  
   Install the tp_smapi modules. See http://www.thinkwiki.org/wiki/Tp_smapi
   for more information.
  
  oops. I'm missing something. I just installed the tp-smapi packages for
  my kernel, and according to the documentation on thinkwiki, I can set
  the start and stop thresholds with this:
  
  echo 40  /sys/devices/platform/smapi/BAT0/start_charge_thresh 
  echo 70  /sys/devices/platform/smapi/BAT0/stop_charge_thresh 
  
  Except that there is no /sys/devices/platform/smapi directory on my
  system, and I cannot create the directory with mkdir. I searched my
  entire system for smapi directories, BAT0 directories, or files names
  {start,stop}_charge_thresh, but none exist. I tried rebooting, in case
  there was some mystic kernel thing going on, but that didn't help. I
  tried modprobe -l, which confirmed that the smapi modules were loaded:
  
 
  do lsmod to make sure that they are loaded
 
 
 lsmod | grep smapi 
 

modprobe tp_smapi
and if you want it to load automatically at startup you will want to do as root
echo tp_smapi  /etc/modules

 produces nothing, so they aren't loaded. How do I load them? I'm not
 using a custom kernel, so the instructions on ThinkWiki lead me to
 believe that all I needed to do was
 
 aptitude install tp-smapi-modules-`uname -r`
 
 I guess there's more to it?
 
 Thanks,
 
 Tyler
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: tp_smapi config

2008-12-13 Thread Micha Feigin
On Sat, 13 Dec 2008 17:27:55 -0400
tyler tyler.sm...@mail.mcgill.ca wrote:

 Micha Feigin mi...@post.tau.ac.il writes:
 
  On Sat, 13 Dec 2008 14:02:47 -0400
  tyler tyler.sm...@mail.mcgill.ca wrote:
   
   oops. I'm missing something. I just installed the tp-smapi packages for
   my kernel, 
 
  modprobe tp_smapi
 
  and if you want it to load automatically at startup you will want to
  do as root 
  echo tp_smapi  /etc/modules
 
 
 Thanks!
 
 Is this a documentation bug, or is it something that we should
 reasonably assume a new user of tp-smapi should know? Or maybe there's
 no bug, just something I misunderstood in the tp-smapi docs at
 think-wiki? Usually debian packages install themselves in such a way
 that they start working without further tweaking.
 

It's an issue with kernel modules. They need to be loaded to work and I guess
that it is assumed that you know that if you use package that install kernel
modules.

I'm guessing that it's the debian policy to force module loading on you, plus
there is not standard way AFAIK at the moment to handle package customized
module loading in /etc/modules

Most hardware related modules load automatically when the hardware is detected,
this doesn't happen with tp_smapi, I don't know if it can be made to work with
some alias entry in /etc/modprobe.d/ as I don't know if and how this hardware
is actually detected.
 
 Cheers,
 
 Tyler 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: laptop recomendations

2008-12-12 Thread Micha Feigin
On Thu, 11 Dec 2008 21:24:35 -0500
Celejar cele...@gmail.com wrote:

 On Thu, 11 Dec 2008 23:39:26 -0200
 Ismael Scalcon thesupermo...@gmail.com wrote:
 
 ...
 
  Also, my girlfriend has bought herself an Acer Aspire (not the One),
  and, so far, we had no problems with it.
 
 I've been using an Acer (Aspire 3690) for about two years with no
 problems yet, but I baby it; I've never dropped it, spilled anything
 into it, sat on it, etc.  The battery life is quite low, only about an
 hour and a half when new, but I nearly always use it on AC.  [Tangent:
 my impression is that that will help preserve the battery life, as
 charge / discharge cycles reduce it.  Is this true?]
 

Not completely, what newer batteries hate is heat, over and under charging. If
it's always plugged in it may kill the battery rather quickly. What I have on
my current thinkpad is the ability to stop charging before 100% and that can
add quite a bit of like to the battery.

A friend of mine as a lenovo 3000 (very bad track record with them with the
university staff), which was always plugged in and almost always on, the
battery is mostly dead in a year.

 I've never dealt with Acer support.
 
 This was already a low end machine when I purchased it, but it is quite
 usable for my needs:
 
 Celeron M 420 @ 1.6GHZ
 512MB RAM (recently upgraded to 2GB, not because I needed it, but
 because I found a steal on RAM)
 60GB HDD
 Broadcom wireless (4318, supported perfectly by b43)
 15 inch screen, Intel 945GM graphics
 Intel 82801G stuff inside
 
 The OP asked about performance, but IIUC, that will depend mostly on
 the actual components used, not on the build quality or any special
 sauce of the integrator.  I daresay I'm oversimplifying, and I'll
 appreciate corrections
 
 Celejar
 --
 mailmin.sourceforge.net - remote access via secure (OpenPGP) email
 ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: laptop recomendations

2008-12-12 Thread Micha Feigin
On Fri, 12 Dec 2008 12:12:47 -0200
Ismael Scalcon thesupermo...@gmail.com wrote:

 Well, both my EEE Pc and my girlfriend's Aspire 4520 stop charging the
 battery when 100% (the battery charging light turn off and the OS
 energy manager just says Using AC instead of Charging. Both in my
 EEE Pc Debian and My girlfriends Aspire Windows XP.
 

100% is too much for normal work, the battery has a better lifespan if you
limit it to 90% or so, but AFAIK this is only possible with (possibly
newer) thinkpads.

 2008/12/12 Michael Shuler mich...@pbandjelly.org:
  On 12/12/2008 05:58 AM, tyler wrote:
  Micha Feigin mi...@post.tau.ac.il writes:
 
  Not completely, what newer batteries hate is heat, over and under
  charging. If it's always plugged in it may kill the battery rather
  quickly. What I have on my current thinkpad is the ability to stop
  charging before 100% and that can add quite a bit of like to the
  battery.
 
  How do you do this? I've got a thinkpad R60, and I've been plugging it
  in when it runs low, then (when I remember), unplugging it when it
  reaches full charge. Is there some way to automate this? I know the
  Windows partition has some configuration options, but I don't know how
  to do this under Debian.
 
  Been using settings for charge control from here for a year or so:
  http://www.thinkwiki.org/wiki/Tp_smapi#Battery_charge_control_features
 
  --
  Kind Regards,
  Michael Shuler
 
 
  --
  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
  with a subject of unsubscribe. Trouble? Contact
  listmas...@lists.debian.org
 
 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: laptop recomendations

2008-12-12 Thread Micha Feigin
On Fri, 12 Dec 2008 14:10:35 -0500
Celejar cele...@gmail.com wrote:

 On Fri, 12 Dec 2008 13:20:03 +0200
 Micha Feigin mi...@post.tau.ac.il wrote:
 
 ...
 
  Not completely, what newer batteries hate is heat, over and under charging.
  If it's always plugged in it may kill the battery rather quickly. What I
  have on my current thinkpad is the ability to stop charging before 100% and
  that can add quite a bit of like to the battery.
 
 Thanks for the information.  I've been using my laptop for about two
 years, for an average of probably several hours of power-on a day.  The
 design_charge is 200, and the current / now charge is 1792000, so I
 suppose it hasn't degraded too badly yet.  This is, I believe, a bottom
 of the barrel battery, on a rather low end system, which I guess also
 means less power draw, although my understanding is that the Celeron
 has crippled power management.  When new, I got a fairly consistent 1.5
 hours till shutdown, and I haven't done a drain test recently.
 
 You mention overcharging; as Ismael says in another message in this
 thread, the system seems to know when the battery is full and stops
 charging; the power LED goes from red to green, and ACPI reports
 full, not charging.   Does it really keep charging, to the
 detriment of the batter?
 

It depends on how good they built the circuitry. If the led changes color then
I guess that it actually stops charging.

The issue is like this, battery charge percentage isn't an exact value, to make
sure that you are at a 100% you need to over charge it and see that it stops
there. If you stop at approximately 80% you're not over charging. Apart from
that, if you disconnect and reconnect again, you start charging again even if
it dropped just to 99.5%. What I do is set a stop charge limit at 85% and a
start charge limit at 75% so it doesn't immediately start charging again.

The problem is that this is possible only with newer thinkpads AFAIK.

 Celejar
 --
 mailmin.sourceforge.net - remote access via secure (OpenPGP) email
 ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



tcpip stops working after some time

2008-12-12 Thread Micha Feigin
For some reason after a few days of uptime , tcp stops working on my machine.
Ping and dns lookups work, tcp doesn't. I tried both wired and wireless,
removing the firewall and unloading all firewall related modules but nothing
seems to change.

Only restarting seems to help

Any ideas what else could it be?

Thanks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: tp_smapi config [Was OT: laptop recomendations]

2008-12-12 Thread Micha Feigin
On Fri, 12 Dec 2008 11:23:35 -0400
tyler tyler.sm...@mail.mcgill.ca wrote:

 Winfried Tilanus winfr...@tilanus.com writes:
 
  Install the tp_smapi modules. See http://www.thinkwiki.org/wiki/Tp_smapi
  for more information.
 
 oops. I'm missing something. I just installed the tp-smapi packages for
 my kernel, and according to the documentation on thinkwiki, I can set
 the start and stop thresholds with this:
 
 echo 40  /sys/devices/platform/smapi/BAT0/start_charge_thresh 
 echo 70  /sys/devices/platform/smapi/BAT0/stop_charge_thresh 
 
 Except that there is no /sys/devices/platform/smapi directory on my
 system, and I cannot create the directory with mkdir. I searched my
 entire system for smapi directories, BAT0 directories, or files names
 {start,stop}_charge_thresh, but none exist. I tried rebooting, in case
 there was some mystic kernel thing going on, but that didn't help. I
 tried modprobe -l, which confirmed that the smapi modules were loaded:
 

do lsmod to make sure that they are loaded

   /lib/modules/2.6.26-1-686/extra/tp-smapi/thinkpad_ec.ko
   /lib/modules/2.6.26-1-686/extra/tp-smapi/tp_smapi.ko
 
 I'm a little over my head - What do I need to do to get this set up?
 
 Thanks,
 
 Tyler
 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: OT: laptop recomendations

2008-12-12 Thread Micha Feigin
On Sat, 13 Dec 2008 00:37:04 +0100
Bernard bdebr...@teaser.fr wrote:

 Dotan Cohen wrote:
 
 2008/12/11 Micha Feigin mi...@post.tau.ac.il:
   
 
 Hello,
 
 Sorry for being a bit off topic but it's time for a new laptop that will run
 linux solely and I'm looking for recomendation on what has a good build
 quallity (will travel), descent battery life, although more important is
 good computing power and a good screen at 15.4 (needs to be workable with
 the screen) at a price range of around 1500$ rough ballpark. Good service
 is a must since it's a working laptop.
 
 I know that hp and compaq are a big no no (build quality is shaky at
 best).  I also have the worst experience possible with Sony support on just
 about every continent (haven't managed to run into worse).  Lenovo 3000
 series also has a bad track run at our uni in terms of build quallity, no
 experience with the ideapad pad heard that they are not much brighter.
 
 Currently the best candidates are the lenovo thinkpad series (either stick
 with the older and probed t61 or go with the t500 or similar), mac (not
 sure about the one button issue although the design is nice).
 
 Runner up is Dell, although the hardware seems a bit cheap when looking at
 the drivers (especially the touchpad which tends to be alps which isn't up
 to par with the synaptic).
 
 Toshiba local dealers didn't prove themselves with a friends laptop.
 
 Can't find anyone with experience with lg and fujitsu.
 
 Will be happy for feedback/experience/hardware trouble/Service experience in
 case of mulfunciton etc.
 
 Thanks
 
 
 
 
 I've got a Dell Inspiron E1505 / 6400 2.0 gHz Duo Core laptop with 2GB
 of RAM that I've been lugging on my back since January 2007. 15.4
 1680x1050 screen, works great with Compiz, wifi, bluetooth. Terrific
 keyboard too. At the time it was about $1200 but it should be less
 now. My only regret is the 80 GB hard drive, which is too small. Be
 sure that you get a 7200 RPM hard drive no matter what size you buy.
 
   
 
 I have read this thread with much interest, since I am planning to 
 purchase a new laptop. My old IBM Thinkpad 600 is too old (about 8 years 
 old). I might have bought a Lenovo Thinkpad T61, but they are awfully 
 expensive here : in the range 1800 to 2400 Euros, while DELL is much 
 cheaper (380 Euros for a DELL Inspiron 1525, which is 4-5 times 
 cheaper). The Inspiron 1505 no longer exists, as they write on their 
 website, pointing out that the new 1525 is better and cheaper.
 
 Does anyone know about that DELL Inspiron 1525 ?   It is being sold with 
 Ubuntu v8.04 installed, but I plan to install Debian Etch instead, maybe 
 even Lenny. Its default characteristics are as follow :
 

It's a bit of apples and oranges. The dell inspiron is a home laptop, which
should be compared (somewhat) to the r series if you go for the proper thinkpad
line or the lenovo 3000 which at least in our uni, they recomend the staff to
avoid since people have had a lot of problems with.

The t61 is more comparable to the latitude line (business) and vostro (small
business, cheaper but a bit heavier)

In general Dells are cheaper though, but they also give you less.

 - Intel Celeron processor 560 (2.13 GHz, 533 MHz FSB
 - 1 MB L2 cache

Thats borderline for a new computer

 - screen WXGA 15.4 (1280x800)

Thats the low end screens. If there is an option for 1440xwhatever or 1680x1050
I would go for it as those are better screens

 - HD 120 GB 5400 rpm
 - battery 6 cells (I suppose it is a Li-ion, but it is not specified)
 
 There is an extra charge of 85 Euros if you want a HD 160 GB that spins 
 at 7200 rpm ;
 an extra charge of 240 Euros for a processor Intel Core 2 duo TB100 ;
 and an extra charge of 300 Euros for Intel Core 2 duo TB300


What are you planning to use the laptop for? For office and network it's ok, if
you want a little more I would go with the core 2, although I don't know these
models.
 
 I might request the HD that spins at 7200 rpm since it is being said 
 that it is safer in case of fall.
 

Don't know about safer in case of a fall, it's not due to the 7200rpm, could be
a harddisk feature. My current t61 thinkpad has accelerometers that park the
drive (software daemon) in case of a fall or a hit. Depends on drive support
for parking the heads though

 Thank in advance for your any advice or recommandation.
 
 

I would go with the vosotro line if you want to save money and stick with
dell. The inspiron is similar to all other home lines which are cheap in all
respects, not just the money.

I like the t61 but it's old now. the t500 are out, but the reviews are mixed,
apparently the keyboard has been replaced with a cheaper one. They are not
cheap of course, but you abuse your laptop it will probably pay off.

A friend of mine has the vosotro 1440 I think (I believe it has been replaced
also with a newer model) and he is rather happy with it.

Another one is willing to kill anyone who considers anything other than macs

Re: Video editing

2008-12-10 Thread Micha Feigin
On Wed, 10 Dec 2008 12:34:53 -0600
Ron Johnson [EMAIL PROTECTED] wrote:

 On 12/10/08 13:11, Rodolfo Medina wrote:
  Rodolfo Medina wrote:
  
  Another thing I want to do is adding a simple text presentation at the
  beginning of the file
  
  
  
  Arc Roca [EMAIL PROTECTED] writes:
  
  Write your text say with tex, do dvipng, then convert the pngs into a
  short movie with gimp or something else. Then attach at the beginning of
  your movie.You can use any editor to create your text, including
  openoffice, or scribus. If you want fancy fonts, etc.
  
  
  
  Rodolfo Medina wrote:
  
  It would be very nice to manage to do such a thing, i.e. transform an
  image into a movie!  I didn't manage with gimp: how can I achieve this?
 
  And, Ron, once converted the image into a movie, will it be possible to
  attach it to the video with plain old cat?
  
  
  
  Ron Johnson [EMAIL PROTECTED] writes:
  
  The problem is that Arc Roca's comment about text editing makes no sense in
  the context of video editing.
  
  
  
  But, if what he says is true, that would be a solution, wouldn't it?
 
 tex is used for writing text books and scientific papers.
 
 I guess that if you need to create PowerPoint-style presentations 
 but really hate every other dedicated presentation tool, you could 
 use latex, dvipng, convert and ffmpeg to create an AVI file.
 

Probably off topic, but for powerpoint style presentations with tex there are
several packages that produce pdf, avi sounds inappropriate for a presentation.

beamer is my personal favorite

 But *why*???
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



OT: laptop recomendations

2008-12-10 Thread Micha Feigin
Hello,

Sorry for being a bit off topic but it's time for a new laptop that will run
linux solely and I'm looking for recomendation on what has a good build
quallity (will travel), descent battery life, although more important is good
computing power and a good screen at 15.4 (needs to be workable with the
screen) at a price range of around 1500$ rough ballpark. Good service is a must
since it's a working laptop.

I know that hp and compaq are a big no no (build quality is shaky at best).  I
also have the worst experience possible with Sony support on just about every
continent (haven't managed to run into worse).  Lenovo 3000 series also has a
bad track run at our uni in terms of build quallity, no experience with the
ideapad pad heard that they are not much brighter.

Currently the best candidates are the lenovo thinkpad series (either stick with
the older and probed t61 or go with the t500 or similar), mac (not sure about
the one button issue although the design is nice).

Runner up is Dell, although the hardware seems a bit cheap when looking at the
drivers (especially the touchpad which tends to be alps which isn't up to par
with the synaptic).

Toshiba local dealers didn't prove themselves with a friends laptop.

Can't find anyone with experience with lg and fujitsu.

Will be happy for feedback/experience/hardware trouble/Service experience in
case of mulfunciton etc.

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Freeze SO Linux, it's possible?

2008-12-10 Thread Micha Feigin
Tux on ice www.tuxonice.org has a keep image mode, although you need to be
really careful with such stuff. You need to make sure that disks that do change
are unmounted before you make the image or it will trash your drive (missmatch
between memory state and disk state)

On Wed, 10 Dec 2008 12:34:22 -0500
James Kosin [EMAIL PROTECTED] wrote:

 Carlos Carrero Gutierrez wrote:
  Hi, i would like to freeze my linux in order to freeze the OS, then,
  when I reboot the computer all changes that i made in the computer
  dissapears and it returns to the previous OS freezed.
  
  In windows there is something similar, called Deep Freeze (it's
  freeware).
  
  Somebody could help me? 
  
  Thank you very much, I appreciate your help.
  
 Deep Freeze is also available for Linux
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



xfce doesn't recognize screen height on rotation

2008-12-09 Thread Micha Feigin
I'm trying to get xrandr -o left to work properly with an nvidia card on two
machines under xfce (rotate the screen). The problem seems to be that the
screen rotates but either X or xfce doesn't realize the change and when I
maximize windows the maximize horizontally but vertically they only go to the
previous resolution (about 3/4 of the screen)

Any ideas?
Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



NFS boot with a dhcpless network

2008-12-09 Thread Micha Feigin
I want to setup three machines to boot over the network from an nfs root.
The network doesn't have a dhcp server (I prefer if it's possible to do it
without one) and the network card is only supported with newer kernels
(2.6.28-rc).

Is there a way to do it through grub or do I need to setup a minimal system and
boot from it?

Any pointers on how to set this up?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Making sure eth interfaces are numbered consistently

2008-12-09 Thread Micha Feigin
Hello,

i have 4 network interfaces in my machine all using the e1000e driver.

Can I be assured that they are all numbered consistently on each boot (i.e that
the same card is always eth0) or if not, is there a way to force it?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NFS boot with a dhcpless network

2008-12-09 Thread Micha Feigin
On Tue, 09 Dec 2008 10:27:28 -0600
Ron Johnson [EMAIL PROTECTED] wrote:

 On 12/09/08 09:58, Micha Feigin wrote:
  I want to setup three machines to boot over the network from an nfs root.
  The network doesn't have a dhcp server (I prefer if it's possible to do it
  without one) and the network card is only supported with newer kernels
  (2.6.28-rc).
  
  Is there a way to do it through grub or do I need to setup a minimal system
  and boot from it?
  
  Any pointers on how to set this up?
 
 PXE boot seems like what you want, where the client's NIC requests 
 the boot files from the server.
 
 Or am I misunderstanding your questions?
 

Yes, theoretically that is what I want, but if I'm not mistaken PXE boot is
dependent on a dhcp server giving the machine an IP and declaring that it has
a boot image to provide, or am I wrong.

I want to give the ip as an option and use a given nfs server as a root, not
resolve these values at run time

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NFS boot with a dhcpless network

2008-12-09 Thread Micha Feigin
On Tue, 09 Dec 2008 14:14:23 -0600
Ron Johnson [EMAIL PROTECTED] wrote:

 On 12/09/08 13:47, Boyd Stephen Smith Jr. wrote:
  On Tuesday 2008 December 09 11:49:42 Ron Johnson wrote:
  On 12/09/08 11:25, Micha Feigin wrote:
  On Tue, 09 Dec 2008 10:27:28 -0600
  Ron Johnson [EMAIL PROTECTED] wrote:
  On 12/09/08 09:58, Micha Feigin wrote:
  I want to setup three machines to boot over the network from an nfs
  root. The network doesn't have a dhcp server (I prefer if it's possible
  to do it without one) and the network card is only supported with newer
  kernels (2.6.28-rc).
 
  Is there a way to do it through grub or do I need to setup a minimal
  system and boot from it?
 
  Any pointers on how to set this up?
  PXE boot seems like what you want, where the client's NIC requests
  the boot files from the server.
 
  Or am I misunderstanding your questions?
  Yes, theoretically that is what I want, but if I'm not mistaken PXE boot
  is dependent on a dhcp server giving the machine an IP and declaring that
  it has a boot image to provide, or am I wrong.
 
  I want to give the ip as an option and use a given nfs server as a root,
  not resolve these values at run time
  Hmmm, yes, you're right.  There's got to be a way, though, using
  bootp, MAC address and tftp, since that's how we did it 10 years ago
  with X Terminals.
  
  DHCP is an extension to bootp.  Anything you were doing with bootp 10 years 
  ago should be done with DHCP today.  IIRC, dhcpd from ISC can do bootp 
  without the DHCP extensions.
  
  And, yeah, for a full PXE boot, you will need a TFTP server on the
  network. (It could be the DHCP server, but doesn't have to be.)  I could be
  wrong, but I believe that PXE is actually proprietary Intel extensions to
  and older, standard netboot protocol.
  
  If you just want NFS root, it's suppored by the kernel, I think something
  like root=IP:/path, but you'll need some storage in the clients for the 
  bootloader, kernel image, and initrd (if any).
  
  If you want the kernel image and initrd loaded from the network, you'll
  need a DHCP server that responds to requests with the IP of the TFTP server
  (as path to the file?).  That response will have to include some IP
  address, possibly with a very short lease, that the client will use during
  the TFTP download. This IP can, of course, be overridden with configuration
  in the kernel/initrd.
  
  You can do both and, if the client needs access to more data than fits in
  RAM, you'll need to.  The kernel/initrd will be loaded from the TFTP server 
  specified in the DHCP response.  The initrd will then mount the NFS root 
  filesystem and chroot/switch_root/pivot_root into it.
 
 And can't you tell DHCP to associate IP addresses to MAC addresses? 
   So even though OP doesn't want to use DHCP, he'd use it but not 
 for it's usual purpose...
 

I can't use a dhcp server on this network. These machines are exposed to the
general network which already has a dhcp server and if I add another one I'm
going to cause trouble over the whole network.

Besides a dhcp server with the specific setup is going to be a serious pain.

The machines do have disks which are meant mostly for local user data. The idea
is to have as little as possible in terms of a system on each machine to make
it easier to maintain and keep safe from the users. Looks like the easiest
solution is to have grub and a kernel installed locally on each machine.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NFS boot with a dhcpless network

2008-12-09 Thread Micha Feigin
On Tue, 09 Dec 2008 15:46:31 -0600
Ron Johnson [EMAIL PROTECTED] wrote:

 On 12/09/08 15:38, Micha Feigin wrote:
  On Tue, 09 Dec 2008 14:14:23 -0600
  Ron Johnson [EMAIL PROTECTED] wrote:
 [snip]
  And can't you tell DHCP to associate IP addresses to MAC addresses? 
So even though OP doesn't want to use DHCP, he'd use it but not 
  for it's usual purpose...
 
  
  I can't use a dhcp server on this network. These machines are exposed to the
  general network which already has a dhcp server and if I add another one I'm
  going to cause trouble over the whole network.
  
  Besides a dhcp server with the specific setup is going to be a serious pain.
  
  The machines do have disks which are meant mostly for local user data. The
  idea is to have as little as possible in terms of a system on each machine
  to make it easier to maintain and keep safe from the users. Looks like the
  easiest solution is to have grub and a kernel installed locally on each
  machine.
 
 The existing dhcp server could point the diskless machines to the 
 machine that has the boot files on it.
 
 Or would that entail too much bureaucracy and/or interference from 
 know-nothing MSCEs?
 

It's a university departmental dhcp server, do you think that there is any
chance that I can convince them to do something like that ;-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: I need to see open connections this moment - With Iptables i can only see logs

2008-12-09 Thread Micha Feigin
On Tue, 09 Dec 2008 18:32:02 -0200
Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote:

 Carlos Carrero Gutierrez wrote:
  Hi, i use Iptables and i would like to find a tool or software in order
  to see my open connections. In doesn't care if it's a gui or not, and it
  can be not interactive (of course). 
 
  Wireshark capture paquets but i can't be constantly searching if a
  paquet is correct or not.
 
  Somebody could help me?
 
  Thank you very much, and sorry (i am doing crossposting)
 
 netstat will show open connections. There are some options for filtering
 what is displayed and what is not, check the man page.
 
 

There is netstat -tulpen will show you open connections and by which program
(the program feature will only work if you run as root), but is not continuous,
i.e if you want an update you will need to run it again.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



the cost of ethernet bridging

2008-12-09 Thread Micha Feigin
I was thinking of using ethernet bridging to simplify naming and routing on my
system. This system consists of four computers all interconnected. The question
is whether there is any hidden cost, as I need the cards to work at full
throughput (three ethernet cards). So, will this just give me the same ip for
all three cards or will it also start copying data from one port to the other?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Building kernels the Debian way

2008-12-08 Thread Micha Feigin
On Mon, 08 Dec 2008 23:45:08 +0100
Sven Joachim [EMAIL PROTECTED] wrote:

 On 2008-12-08 23:01 +0100, Jochen Schulz wrote:
 
  Sven Joachim:
  Finally, some good advice.  But before this step, you need to copy your
  old config to linux-2.6.22.1/.config and cd to the kernel directory.
 
  The copy should be unnecessary as long as the current config is
  available from /proc/config.gz.
 
 As long as it available, but is it?  I thought the Debian kernels are
 built without CONFIG_IKCONFIG_PROC because that wastes some memory and
 the config is always available from /boot/config-$(uname-r).
 

You have the config in /boot/config-kernel version
That way it doesn't take memory.

  Either way, I suggest to go through the hassle to start with a minimal
  configuration and only enable those options you need now (or which you
  think you may need later). This has two main benefits: kernel compile
  time drops *significantly* and you don't need to mess with initrds.
 
 And has the additional benefit that you learn a lot the hard way by
 building kernels that fail to boot or lack important features.  In this
 case, however, it is best not to bother with make-kpkg at all; the
 make  make install  make modules_install triplet will save a lot
 of time on subsequent compilations.
 

make-kpkg doesn't rebuild everything, just the same as make. If you want to
change the version number you can just remove the debian directory and do
make-kpkg again with a different --revision

 Sven
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



changing execution permissions with thunar?

2008-12-07 Thread Micha Feigin
Is it possible to change the execution permissions of a file in thunar? All I
could find was read/write permissions and even that I can't seem to do in batch
mode, only one file at a time.

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



remote system administration - grub via serial cable?

2008-12-07 Thread Micha Feigin
I'm trying to do some kernel development remotely which requires reboots and
the occasional kernel panic on start which is very annoying since then I need to
wait a few days until I get to the computer or someone knowledged enough is
around it to restart it into a working configuration.

Is there some way to control grub, see the startup text and reboot remotely in
case of kernel panic such as through a serial cable (although I need to check
if that motherboard actually has a serial port as these are hard to come by
these days).

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: question about a linux embedded router i have

2008-12-05 Thread Micha Feigin
On Fri, 5 Dec 2008 16:25:04 -0700
CJ Kelley [EMAIL PROTECTED] wrote:

 Hi all,
 
 ive been searching for hours and found very little information, but what I
 have is a StepTech MAAT router which has linux embedded. Since DHCP is not
 enabled by default on this router, i have to statically address everything.
 I wonder if any of you would be able to help me because i dont have any
 documentation on this router and i do not know what the routers address is.
 

In what sense does dhcp not work? can you connect to the outside world? If so
then you need to have an address assigned to the local computer and a default
gateway (look at the output of route -n). The default gateway should be the
router (although they sometimes have different address for router access and
network access, in these cases the router needs to be disconnected from the
external network to be accessed locally).

 Additional Information:
 Serial Number: PA32000688
 Model: MAAT
 
 Everything powers up and it runs just fine (infact you can hear the little
 hard drive in there going)


I seriously doubt that it's a harddrive in there, these things are usually
solid state. Could be a fan, but those are rare also (it's usually air cooled
with no moving parts).
 
 TIA
 
 --CJ


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Building a cluster with debian?

2008-12-03 Thread Micha Feigin
On Wed, 3 Dec 2008 12:40:45 +0200
Johann Spies [EMAIL PROTECTED] wrote:

 On Tue, Dec 02, 2008 at 04:53:45PM +1100, Alex Samad wrote:
 
  I believe there is software out there that will do that, I read about
  some recently, but can't find reference to it now :(
 
 Have a look at http://gridengine.sunsource.net/
 

Thanks, looks like a glorified pbs mostly but may be of some help. I was hoping
to somehow abuse numa and processor queues to make the cluster look as a single
numa computer but that seems to require hardware support (multi processor numa
system and not several systems combined into one numa).

The solutions I found so far:
1. Hardware - Buy a very expensive multi opetron system (not an option at this 
time)
2. ssi (single system image) cluster, seems to be what I want, it's just not
clear to me at the moment if there is anything that can properly migrate threads
http://en.wikipedia.org/wiki/Single-system_image
3. Batch/Grid systems

Your reference seems to fall into the third category.

The problem with this is that you either need to use mpi or cluster openmp
(which I haven't managed to get working on non-opetron systems) or to run
several unconnected jobs in parallel.

I prefered number 2 but as I said, it doesn't seem to handle multi threaded and
shared memory programs, most of them not even as a whole (i.e once you have
threads the whole job will not migrate).

I want to get more threads for matlab. The solution is matlab
distributed computing (which costs about 4000$, not cheap also), and agian,
mostly allows managing several jobs in parallel on a cluster but not a
massively parallel job

I will read a bit more into these as the machines are supposed to arrive
tomorrow finally (4 quad core machines). Will try to give a followup if anyone
is interested.

 Regards
 Johann
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Building a cluster with debian?

2008-12-03 Thread Micha Feigin
On Wed, 3 Dec 2008 14:18:37 +0200
Micha Feigin [EMAIL PROTECTED] wrote:

 On Wed, 3 Dec 2008 12:40:45 +0200
 Johann Spies [EMAIL PROTECTED] wrote:
 
  On Tue, Dec 02, 2008 at 04:53:45PM +1100, Alex Samad wrote:
  
   I believe there is software out there that will do that, I read about
   some recently, but can't find reference to it now :(
  
  Have a look at http://gridengine.sunsource.net/
  
 
 Thanks, looks like a glorified pbs mostly but may be of some help. I was
 hoping to somehow abuse numa and processor queues to make the cluster look as
 a single numa computer but that seems to require hardware support (multi
 processor numa system and not several systems combined into one numa).
 
 The solutions I found so far:
 1. Hardware - Buy a very expensive multi opetron system (not an option at
 this time)
2. ssi (single system image) cluster, seems to be what I want,
 it's just not clear to me at the moment if there is anything that can
 properly migrate threads http://en.wikipedia.org/wiki/Single-system_image

Looks like current options are
LinuxPMI ( continues that dropped openmosix project)
Kerrighed (web page says that they are planning to allow thread migration in 
november)
Mosix 2 (commercial)

Looks like all of them support comunication through pipes, doesn't seem like
any of them support thread migration yet, would love to hear otherwise.

 3. Batch/Grid systems
 
 Your reference seems to fall into the third category.
 
 The problem with this is that you either need to use mpi or cluster openmp
 (which I haven't managed to get working on non-opetron systems) or to run
 several unconnected jobs in parallel.
 
 I prefered number 2 but as I said, it doesn't seem to handle multi threaded
 and shared memory programs, most of them not even as a whole (i.e once you
 have threads the whole job will not migrate).
 
 I want to get more threads for matlab. The solution is matlab
 distributed computing (which costs about 4000$, not cheap also), and agian,
 mostly allows managing several jobs in parallel on a cluster but not a
 massively parallel job
 
 I will read a bit more into these as the machines are supposed to arrive
 tomorrow finally (4 quad core machines). Will try to give a followup if anyone
 is interested.
 
  Regards
  Johann
  
  
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



centralized authentication

2008-12-03 Thread Micha Feigin
I am trying to setup a local cluster in uni and I need a simple centralized
authentication method (so that all users are defined on all computers and have
the same passwork). Is there a (relatively) easy way to do this?

not sure if just mounting etc (or the whole root system) through nfs is the
best way, but it may work

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



volume osd with xfce

2008-12-03 Thread Micha Feigin
Is it possible to get a volume osd such as in gnome with xfce/xfwm?

I tried replacing xfce-mcs-settings with gnomes-settings-daemon, it mostly
works, also using gnome solves this but the problem which is  a deal breaker
for me for both options is that you can't bind mod4 (the windows key) with
gnome-settings-manager as far as I can tell (a bug that has been around for
about 3 years now and still hasn't been fixed).

Will be happy to learn that there is an osd option for xfce or that the mod4
bug in gnome has finally been fixed.

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: centralized authentication

2008-12-03 Thread Micha Feigin
On Wed, 3 Dec 2008 13:37:44 -0500
Brian Schrock [EMAIL PROTECTED] wrote:

 A good simple solution is pam mysql. You just stick the users in mysql
 tables and configure pam and a few other files. In my experience ldap
 is not quite as simple as libpam-mysql.
 
 
 Brian,
 
 

Thanks,

I may have not been clear enough, this can be considered a small secure system
(4 computers, and although all are connected to the Internet, they are behind
the university firewall) and all the users can be considered trusted users. The
communication between the machines is going to be private (all connected to each
other, internal cluster communication isn't visible externally), so even if not
encrypted you will have to break into the system in the first place in order to
snoop.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: Hidden service disk

2008-11-30 Thread Micha Feigin
On Sun, 30 Nov 2008 06:28:23 -0500
Paul Cartwright [EMAIL PROTECTED] wrote:

 On Sun November 30 2008, Raj Kiran Grandhi wrote:
  Check the partition type of the hidden partition. `fdisk -l device'
  should tell you that. It is probably set to empty or hidden or something
  similar.
 
Device Boot  Start End  Blocks   Id  System
 /dev/sda1   1   8   64228+  de  Dell Utility
 /dev/sda2   *   9   13661   1096677227  HPFS/NTFS
 /dev/sda3   38308   38913 4867695   db  CP/M / CTOS / ...
 
 it is /dev/sda3 and when I mount it in linux using:
 mount /dev/sda3 /media/sda3  ( created /media/sda3 first)
 
 here is an ls -l:
 total 160
 -rwxr-xr-x 1 root root  1871 2005-07-07 21:34 autoexec.bat
 drwxr-xr-x 2 root root  4096 2004-05-17 03:49 bat
 drwxr-xr-x 2 root root  4096 2006-12-27 21:28 bin
 -r-xr-xr-x 1 root root 56403 2005-12-01 20:53 command.com
 -rwxr-xr-x 1 root root   117 2004-05-17 03:49 config.sys
 -r-xr-xr-x 1 root root 29343 2005-12-01 20:53 dellbio.bin
 -r-xr-xr-x 1 root root 32058 2005-12-01 20:53 dellrmk.bin
 drwxr-xr-x 2 root root  4096 2004-05-17 03:49 img
 drwxr-xr-x 2 root root  4096 2006-12-27 21:28 src1
 drwxr-xr-x 2 root root  4096 2006-12-27 21:28 src2
 drwxr-xr-x 2 root root  4096 2006-12-27 21:28 src3
 drwxr-xr-x 2 root root  4096 2006-12-27 21:28 src4
 drwxr-xr-x 2 root root  4096 2006-12-27 21:28 src5
 
 

Don't know where this thread started, so sorry if I'm off topic, but most
laptop manufacturers today stopped shipping rescue/driver cds and instead they
leave a hidden partition with the windows installation files on it for system
restore.

It's usually at the start of the disk, but it looks like they stuck it on the
end on your computer. I'm guessing that they initial partition is to handle the
rescue button to give you a menu what you want to load.

If you will never want to restore you system to windows you can dump it,
otherwise you can just leave it there.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Does Pirated Windows Install on New Hard Drives?

2008-11-30 Thread Micha Feigin
On Sun, 30 Nov 2008 11:37:04 -0700
TW [EMAIL PROTECTED] wrote:

 Hi,
 
   I was trying to install a copy of Windows XP that I downloaded in 
 '06 onto my friend's mom's laptop computer, but it wouldn't take.  I bought
 her a new hard drive (Seagate, 80GB) so that she could have more space.
 However, when I try to install the OS, I get an error message.  I can't
 remember it exactly, but it was something about an NT dll error within a
 subdirectory of the System folder.
 
   The OS copy that I have installs just fine on this computer, but it's
 on a hard drive from back in '06.  So, have hard drive manufacturers put
 something on their hard drives now that prevent pirated Windows
 installations?  Or, is it that I just have an outdated copy of Windows?  I
 wanted to know 1) so that I don't sound too much like a fool when I have to
 explain this and 2) for increasing my knowledge.  Thank you.
 

Certainly the wrong list, both windows and pirated are a bit off topic here.

As for a partial answer, the problem is not with your hardrive. If its the same
cd from 06 then it may be damaged (the physical cd), otherwise could be a shitty
pirated copy of a shitty os, or an updated that caught your pirated copy
because you didn't have a valid key or didn't activate it ...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Building a cluster with debian?

2008-11-30 Thread Micha Feigin
I'm trying to find out if it's possible to build a debian based cluster from 4
identical quad core machines that would behave as one NUMA machine?

AFAIK we have one such machine based on opetron processors in uni but I haven't
been able to find out how that is setup, i.e whether it's a hardware or
software solution. That machines shows itself as 16 cpus, which is what I would
like to achieve

I looked into kerighead and mosix variants, but it doesn't seem like any of
them can do this properly (thread migration is impossible and process migration
is problematic).

The machines are going to be all connected to every other using gigabit lan.

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Why packages in testing/unstable require the newer shared libraries ?

2008-11-27 Thread Micha Feigin
On Wed, 26 Nov 2008 13:53:01 -0500
Boris Toloknov [EMAIL PROTECTED] wrote:

 Hi All,
 I have debian stable (etch). Sometimes I want to install the newest 
 versions of some packages from testing/unstable. Typically I can only 
 install some package with the newer version of the shared libraries it 
 depends on. For example dash (0.5.3-7) from etch depends on libc6 
 http://packages.debian.org/etch/libc6 (= 2.3.5-1) while dash 
 (0.5.4-12) from lenny depends on libc6 
 http://packages.debian.org/lenny/libc6 (= 2.7-1) and debian stable 
 has libc6 (2.3.6.ds1-13etch7) .
 
 Will my system be broken after upgrading libc6* along with locales, 
 tzdata and binutils from testing(lenny) repository ? If not then it 
 means that other programs ( for example bash ) are able to work with 
 libc6 http://packages.debian.org/lenny/libc6 (2.7-*) instead of libc6 
 http://packages.debian.org/etch/libc6 (2.3.[56]*). On other hand I 
 don't think that dash (0.5.4-12) from lenny requires something that is 
 absent in libc6 http://packages.debian.org/etch/libc6 (2.3.[56]*). Why 
 in that case dash and most/all of the program packages from testing 
 require the newer libraries from testing instead of stable ?
 

If the dependencies are set corretly for the packages, upgrading the library
should also force you to upgrade all packages that won't work with the newer
one.

A program compiled with the newer library (usually) can't work with the older
ones due to interface (possibly on binary) changes. That depends on how much
the library changed. Sometimes they also use newer features of the library.

Programs from newer systems are usually compiled with newer libraries because
you want to the system the system to work as a whole and the new systems want
the newer libraries because other packages or the users use their features.

Some libraries can coexist at different versions, some don't and you don't want
to keep 15 versions on the same library on the system just because some
packages don't want the newer features.

As a bottom line, if you can't cope with backports and you need the newer
versions of the packages then you need to either backport yourself or use a
newer system (either testing or unstable, which unlike the name suggests is
rather stable). Stable is targeted as a server grade distribution, testing and
unstable are more targeted for the desktop (although some with contradict me on
this of course)


 Typically I want to upgrade just some package like gcompris from 
 testing. What options do I have ?
 1) Upgrade the package along with a huge set of libraries it depends on. 
 But I don't want to make all my system testing/unstable.
 2) I can get the source of the newest gcompris, lib*-dev packages, 
 compile it and remove the source and lib*-dev. But it takes a lot of 
 time. Moreover I can do it but my wife can't and she doesn't understand 
 why it takes that much time to just install a newer version of some program.
 3) Wait for a couple of years for the next stable release of debian. 
 It's too long.
 
 I read 
 http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html, 
 http://www.debian.org/doc/debian-policy/ch-sharedlibs.html and some 
 other articles however I don't understand: Why packages in 
 testing/unstable require the newer shared libraries ?
 
 Thanks,
 Boris
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: laptop does not resume after suspend

2008-11-27 Thread Micha Feigin
On Wed, 26 Nov 2008 22:54:05 +
Vladimir Komendantsky [EMAIL PROTECTED] wrote:

 Hi,
 
 Some days ago, following a normal package update, I noticed that my Dell
 Inspiron 1525 laptop doesn't resume after suspend any more. Now the only way
 to quit the suspended state is to switch the laptop off by pressing the
 power button. In fact I have no clear idea what package can cause this bug
 to file a proper bug report. I updated acpid and kernel-image to
 acpid_1.0.6-16_amd64.deb and linux-image-2.6.26-1-amd64_2.6.26-10_amd64.deb
 respectively. Has anyone noticed anything similar to my problem? What causes
 this?
 
 Thanks for help, in advance...

Do you have an nvidia card in there by any chance? If so, are you using the
debian version of the non-free nvidia driver?

The versions look to be ok, but it is a problem with my machine, although
custom 2.6.28-rc6 and nvidia 180.08 driver


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: volume mgmt w/o gnome

2007-12-02 Thread Micha Feigin
On Sat, 1 Dec 2007 18:29:31 -0800
Kelly Clowers [EMAIL PROTECTED] wrote:

 On Dec 1, 2007 6:03 PM, Mark Grieveson [EMAIL PROTECTED] wrote:
   If it is mass-storage, you just mount it with a command like mount
   -t auto /dev/sda1 /media/usb (mount point and device might be
   different). Or you can put a line in /etc/fstab :
 
   /dev/sda1   /media/usb   auto   noauto,users   00
 
   Then you could just say mount /media/usb.
 
  Thanks for the response.  when I try this, it tells me:
 
  mount: you must specify the filesystem type


I think hal also does that. It's working on my xfce with thunar file manager,
no gnome. You probably need a file/desktop manager that can get hal
notifications though (it's either that or dbus, if you know which package does
this you can probably look into it's dependencies)
 
 Auto should work, but the FS should be vfat, so -
 
 stand alone command:
 mount -t vfat /dev/sda1 /media/usb
 (-t means type; again, paths may be different)
 
 or in fstab:
 /dev/sda1/ /media/usb   vfat   noauto,users   0   0
 
 ...and then:
 mount /media/usb
 
 You can get more info with man mount and man fstab
 
 
 Cheers,
 Kelly
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



emacs22 black text on white bg from menu but white text on black bg from console

2007-12-02 Thread Micha Feigin
I have a strange setup issue.

I removed my emacs settings to redo them so now there are no theme commands
(clean .emacs). Now, when I open emacs from the menus or file manager (thunar)
it comes up in a dark text on light background theme (not very readable with
the match of fonts and colors), and when I open it from rxvt (or any other
console) it comes up in light text on dark background (much better for my
taste).

What is the difference, and how do I make one of them my default instead of
getting different behaviour?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



emacs22 black text on white bg from menu but white text on black bg from console

2007-12-01 Thread Micha Feigin
I have a strange setup issue.

I removed my emacs settings to redo them so now there are no theme commands
(clean .emacs). Now, when I open emacs from the menus or file manager (thunar)
it comes up in a dark text on light background theme (not very readable with
the match of fonts and colors), and when I open it from rxvt (or any other
console) it comes up in light text on dark background (much better for my
taste).

What is the difference, and how do I make one of them my default instead of
getting different behaviour?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Installing xfce on existing Etch gnome install

2007-12-01 Thread Micha Feigin
No issues, they have no problem existing in parallel, I've seem machines with
xfce, gnome, kde, fvwm and a few others in parallel. I personally switch window
managers occasionally just for the fun of the change and have several existing
in parallel.

The only thing that may take some work is making the choice of which one to
load easy enough (I setup things in .Xsession but I think gdm can do it from
the startup menu). The only thing is that xfwm4 doesn't have a replace option
so it's a bit more difficult to change window managers without restarting
unless your session manager has a menu option (fusion-icon allows me to change
betwin compiz and xfwm4 but if I start compiz --replace I have a problem going
back without restart)

I believe that xfce can also use the gnome backend for settings and you can mix
and match the panel and window manager. The xfce panel can even use gnome
applets (with a plugin to do it)

 On Sat, 01 Dec 2007 12:49:19 +0100
Andrew Henry [EMAIL PROTECTED] wrote:

 Is this easy to do?  Is it as simple as installing an xfce meta package
 and then selecting xfce as the desktop when logging in?  I've never
 tried using multiple desktop environments before and wonder if there any
 caveats I need to be aware of.
 
 --andrew
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Recommend good notes/calendar plugin/client/suites ?

2007-12-01 Thread Micha Feigin
On Sat, 01 Dec 2007 23:38:34 +0800
Michael Yang [EMAIL PROTECTED] wrote:

 Thanks for info!
 
 After a round of search in the package list, I got gdeskcal and 
 xfce4-notes-plugin to manage my schedules.
 gdeskcal is configurable and the event can be shown when mouse is 
 moved over the specified date.
 orage is good, but seems it has to double click the date entry to view 
 the event.
 
 One more questions, I found one package named 
 opensync-plugin-google-calendar, as the name says, how to take use of 
 this plugin to work with Google Calendar?
 

you need opensync and then you can setup opensync to sync against it. It is a
framework to sync a bunch of calendar/todo/contact programs (mostly useful to
sync against palms/phones)

 Regards.
 Michael.
 
 David wrote:
  David wrote:
  Michael Yang wrote:
  Hi All:
 
  I'm on the lenny/sid, with xfce4 desktop.
  I'd like have some useful plugins for my desktop, to write sticky 
  notes, to schedule calendar events and TODO tasks. It could be 
  always displayed on the screen and better to have option of auto-hide.
 
  What are you recommendations?
 
  If you look through the xfce listings in the aptitude interface, I 
  seem to remember a sticky notes app.
  It's not specifically under xfce, but it's called 'rhinotes'.
  Do a search through the Debian package facility.
 
  For the rest, Sunbird does all that.
  And 'orage' is an xfce specific calender app.
 
  How hard to you try to search for these?
  I almost fell over them.
  Regards,
 
  David.
 
 
 
 
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Wireless network control (applet) for xfce4

2007-11-30 Thread Micha Feigin
On Fri, 30 Nov 2007 09:49:45 -0500
Michael Pobega [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Fri, Nov 30, 2007 at 02:27:55PM +0200, Micha Feigin wrote:
  I am looking for an easy way to control my wireless (and wired) network for
  xfce4.
  
  I am currently using wlassistant, but it doesn't allow automatic connection
  (less important) and it has problems connecting to a wpa network, it
  attempts to connect properly but unless wpa_gui is also running in parallel
  it will usually fail to connect for some reason.
  
  
 
 Do you want to control, or connect?
 
 If you want to control you can always use mapping in
 /etc/network/interfaces; But I assume you're looking for a GUI-type way.
 In that case you may be interested in nm-applet (network-manager-gnome
 is the package).
 

I want to connect, I am more comfortable with the text file doing the setup,
it's just that with several wireless spots it began being a pain, and I don't
have the time to play around with scripts

anyway, I installed network-manager-gnome and found a fix for the error
starting up nm-applet but now I can't connect to the wap2 network at home. It
seems that wpa-assistant starts up and there is an attempt to modprobe wifi0
and then the connection fails. It seems from wpa-gui that the connection is
made but then dropped for some reason

 - -- 
 If programmers deserve to be rewarded for creating innovative
 programs, by the same token they deserve to be punished if they
 restrict the use of these programs. 
  - Richard Stallman
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFHUCMJg6qL2BGnx4QRApgvAKCYLjTgRLV3MYEh61UI0WT4dGMUWgCfUcGZ
 5oLTgdwmV0TAv91JKdZuzpw=
 =VYy+
 -END PGP SIGNATURE-
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Wireless network control (applet) for xfce4

2007-11-30 Thread Micha Feigin
I am looking for an easy way to control my wireless (and wired) network for
xfce4.

I am currently using wlassistant, but it doesn't allow automatic connection
(less important) and it has problems connecting to a wpa network, it attempts
to connect properly but unless wpa_gui is also running in parallel it will
usually fail to connect for some reason.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: windows won't boot anymore after installation of debian

2007-11-28 Thread Micha Feigin
On Wed, 28 Nov 2007 00:22:24 -0800
Amit Uttamchandani [EMAIL PROTECTED] wrote:

 On Tue, 27 Nov 2007 20:24:33 +0200
 Micha Feigin [EMAIL PROTECTED] wrote:
 
  Hello,
  
  A friend of mine tried to resize his windows partition using partition magic
  and then proceeded to install fedora (don't know the version but with kernel
  2.6.5) which complained about some problem and after the installation when
  grub came up it showed an unknown os and would boot it, booted fine into
  fedora.
  
  I later dumped fedora and installed debian (testing from the netinst cd) for
  him, which he is rather happy with, although he still needs his windows
  partition for the moment for some word documents.
  
  I tried booting windows from the debian grub (which correctly recognized it
  as window). For the first time it started booting (I killed it that time),
  and later on it just got stuck when booting widows after showing 
  
  chainloader +1
  
  I tried downloading ntfsprogs and running ntfsfix and also made sure that
  it is marked as bootable. The partition is still there and mountable.
  
  any Idea what went wrong with the installation and how to fix it?
  
  Thanks
  
  
 
 Have you tried reinstalling GRUB? Sounds like the GRUB install when
 installing Fedora was messed up someway or the other. Reinstall GRUB and it
 should be fine.
 

Grub was reinstalled when I installed debian over fedora, it did boot once but
then failed again will try the fixboot from the next message

thanks

 Good Luck,
 Amit
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



windows won't boot anymore after installation of debian

2007-11-27 Thread Micha Feigin
Hello,

A friend of mine tried to resize his windows partition using partition magic
and then proceeded to install fedora (don't know the version but with kernel
2.6.5) which complained about some problem and after the installation when grub
came up it showed an unknown os and would boot it, booted fine into fedora.

I later dumped fedora and installed debian (testing from the netinst cd) for
him, which he is rather happy with, although he still needs his windows
partition for the moment for some word documents.

I tried booting windows from the debian grub (which correctly recognized it as
window). For the first time it started booting (I killed it that time), and
later on it just got stuck when booting widows after showing 

chainloader +1

I tried downloading ntfsprogs and running ntfsfix and also made sure that it is
marked as bootable. The partition is still there and mountable.

any Idea what went wrong with the installation and how to fix it?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Could you recommend file manager that are not based on KDE and GNOME?

2007-11-25 Thread Micha Feigin
On Sun, 25 Nov 2007 03:10:06 -0800 (PST)
Serena Cantor [EMAIL PROTECTED] wrote:

 I have used Linux for 8 years.
 I have not found any suitable file manager(FM).
 I use twm. I don't use KDE or GNOME. so don't recommend any FM based on KDE
 or GNOME I still use command line. I will prefer GUI FM so my life can be a
 little easier. I use sarge and etch.
 

rox-filer or thunar (from xfce4) are not bad, personally I use thunar quite a
bit lately.

 
   
 
 Be a better sports nut!  Let your teams follow you 
 with Yahoo Mobile. Try it now.
 http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] LaTeX

2007-11-25 Thread Micha Feigin
On Sun, 25 Nov 2007 11:12:38 -0500
Michael Pobega [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hello DU
 
 I'd like to begin writing my coursework for college in LaTeX, but I've
 no clue where to start. I began by installing the vim-latexsuite
 package, but that didn't seem to really work too well (The help pages
 are both missing), and I have no clue where to start to learn LaTeX.
 
 Any point in the right direction would really help!
 
 Also, for the Debian related question; What package would people out
 there recommend for compiling and viewing LaTeX?
 

under testing/unstable you want texlive, for stable, possibly tetex if I recall
correctly.

I never worked with the vim extension. I use emacs with auctex and lyx (a
mostly WYSIWYG latex editor). You may also want to have a look at texmaker
which is rather nice.

As for learning latex,
look with google (it's also probably in some debian package) for the not so
short introduction to latex. As for books, the classics are
latex: a document preparation system by leslie lamport
and the latex companion

 - -- 
 If programmers deserve to be rewarded for creating innovative
 programs, by the same token they deserve to be punished if they
 restrict the use of these programs. 
  - Richard Stallman
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFHSZ72g6qL2BGnx4QRAqrxAJsHpHb1RVlqUt/CzqfDKAuHikuNYwCeOwZx
 Dr+xDvNLZ+/GP1PbfRSzD7g=
 =oOST
 -END PGP SIGNATURE-
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Cannot mount root file system with vanilla kernel 2.6.24-rc3

2007-11-24 Thread Micha Feigin
I'm trying to compile vanilla kernel 2.6.24-rc3 due to some patches I need.

When I try to boot the new kernel I get the error:

vfs: Cannot open root device sda3 or unknown-block(0,0)
please append a correct root= boot option. Here are the available devices:
[...]
[...] sda3
[...]

Kernel 2.6.23.1 boots with the same option and nearly the same config file
I did compile it with gcc 4.3 (which didn't work for me for kernel 2.6.23.8)
but it gave no error (when I fixed 2.6.23.8 to compile with gcc 4.3 it did give
me  similar error though)

Any ideas, or could this be gcc 4.3 that is not for the kernel yet?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 3-D graphing software for Linux?

2007-11-23 Thread Micha Feigin
On Thu, 22 Nov 2007 16:12:41 +0200
Dotan Cohen [EMAIL PROTECTED] wrote:

 On 22/11/2007, Hugo Vanwoerkom [EMAIL PROTECTED] wrote:
  Dotan Cohen wrote:
   0In an advanced Calculus course, we are dealing with functions with 2
   (and more) variables. Is there any 3-D graphing software for Linux
   available? Something like Kalgebra, but with a bit more functions such
   as multiple functions graphed at the same time, asymptote min max and
   other significant points, zoom into 3-D graph, graph of derivative and
   integral, etc.
  
   I have been directed to look at some math programming languages such
   as root, octave, and R, but I really need an application, not a
   language. This app will be used by others in my calculus course,
   people with no computer background, so these language solutions simply
   will not work for us. Thanks in advance for any advice.
  
 
  You mean like this:
  http://www.esnips.com/doc/39163b3c-a004-464d-a0a9-9655da7eb0f5/filltest.2
 
  Hugo
 
 Yes, programs such as Kalgebra produce graphs like that.
 
 Dotan Cohen
 
 http://what-is-what.com
 http://gibberish.co.il

Have a look at octave and scilab, there is also maxima for linear algebra but I
don't know if it does graphs

 א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
 
 A: Because it messes up the order in which people normally read text.
 Q: Why is top-posting such a bad thing?



Re: [OT]: free ddns service and port rediction 80--xyz

2007-11-22 Thread Micha Feigin
On Wed, 21 Nov 2007 11:07:41 -0500
H.S. [EMAIL PROTECTED] wrote:

 Owen Townend wrote:
 
  
  Hey,
Easy fix that works for me.
If your web server isn't already using it then just get ssh to listen
  on port 443 which the firewall will more than likely let through for
  https.
  
  cheers,
  Owen.
 
 I have it running, so can't use 443. But I already had this mind. I have
  asked the related admin what other ports are open. I am not running any
 other services, so hopefully I can make ssh listen on one of those ports.

try 20/21 for ftp (although 20 may be opened only in response to 21), or 53 for
domain name server

also have a look at freedns.afraid.org, I seem to recall that they do what you
want, but I'm not sure if its a redirection from them or a message to your
computer to redirect somewhere else

 
 thanks,
 -HS
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Finding the name server owning a domain name

2007-11-13 Thread Micha Feigin
Is there a way to find which domain name server owns a given domain name? I
don't want to lookup the IP address but rather where the name is defined.

I tried dig but it shows the name server defined in resolv.conf and not the
actual owner

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Finding the name server owning a domain name

2007-11-13 Thread Micha Feigin
On Tue, 13 Nov 2007 12:55:28 +
Chris Davies [EMAIL PROTECTED] wrote:

 Micha Feigin [EMAIL PROTECTED] wrote:
  Is there a way to find which domain name server owns a given domain name? I
  don't want to lookup the IP address but rather where the name is defined.
 
 What do you mean by owns? Do you mean the authoritative name server, or
 an email address corresponding to the person responsible for (owning)
 the domain, or do you actually want some contact details about the
 domain?
 

I have a friend that got a domain name as a present and he asked me to help him
point it in to the right address (it's pointing somewhere else at the moment).
The problem is that he doesn't know yet where it is stored, so I am trying to
find out where it is stored so that he can ask for the username/password.

whois and dig soa (as previously suggested) gave me the results, at least for
another site that I know the authoritative name server (apparently what it is
called), which is NS19A.NAMESERVERS.NET, and whois shows the proper owner, now
the next step is to find out what site to go to in order to change the settings.


 1. Authoritative name server(s) -- dig ns some.dom.ain
 
 2. Email address (authority record) -- dig soa some.dom.ain
 
 3. Contact details -- whois some.dom.ain
 
 You'll probably find that #2 also gives you the authoritative name
 servers from #1.
 
 Sometimes you'll find whois fails to work for a domain, in which case you
 can try to guess the whois server (often whois.nic at the top level
 domain, e.g. whois.nic.uk, whois.nic.fr), or try using the appropriate
 NIC website, e.g. www.nic.uk, www.nic.cn).
 
 Chris
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: what is supposed to set $LANG?

2007-11-08 Thread Micha Feigin
On Wed, 07 Nov 2007 20:34:31 -0500
David Clymer [EMAIL PROTECTED] wrote:

 On Tue, 2007-11-06 at 23:59 +0200, Micha Feigin wrote:
  I noticed lately that $LANG is no longer set by default on my system. Seems
  that it is defined correctly in /etc/defaults and when changing to root it
  is also defined, but it is not defined for the default user
  
  seems like some programs get confused by the lack of a default encoding
 
 What is the output of localedef --list-archive  and/or the contents
 of /etc/locale.gen?
 

$ localedef --list-archive
en_US
en_US.iso88591
en_US.utf8
he_IL
he_IL.iso88598
he_IL.utf8
hebrew

$ cat /etc/locale.gen 
en_US.UTF-8 UTF-8
en_US ISO-8859-1
he_IL.UTF-8 UTF-8
he_IL ISO-8859-8

I found out yesterday that this must be a bash setup problem since open a
terminal doesn't set $LANG but su to a user does set it. I think that there is
a problem between the login shell and non-login shell

 -davidc
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: what is supposed to set $LANG?

2007-11-08 Thread Micha Feigin
I have a newly installed system and no /etc/environment, looking at files from
an old system, it's supposed to be created by localeconf which no longer exists.

The settings are now set in /etc/defaults/locale but the are not read for new
terminals, also doesn't seem to help what kind of shell is used.

Opening a terminal, no matter which, $LANG is not defined, if I do su user
the value gets defined which I believe means that /etc/defaults is sourced.
Can't find what is the difference and why it is not sourced for new terminals
in X.

On Thu, 8 Nov 2007 11:14:43 +0200
Andrei Popescu [EMAIL PROTECTED] wrote:

 On Thu, Nov 08, 2007 at 10:34:48AM +0200, Micha Feigin wrote:
  
  I found out yesterday that this must be a bash setup problem since open a
  terminal doesn't set $LANG but su to a user does set it. I think that there
  is a problem between the login shell and non-login shell
 
 On my (sid) machine $LANG is set in /etc/environment
 
 Regards,
 Andrei


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't connect to local machine using ssh

2007-11-07 Thread Micha Feigin
On Tue, 6 Nov 2007 16:22:22 -0800
Andrew Sackville-West [EMAIL PROTECTED] wrote:

 On Wed, Nov 07, 2007 at 05:24:28AM +0530, Raj Kiran Grandhi wrote:
  Micha Feigin wrote:
  Doesn't seem to be that. Also I just tried to create a new user on the 
  machine
  and that user can login with no problem, only the original one (and root 
  which
  seems to be enabled in the setup file)  can't. could this be  a shell 
  setup
  problem?
 

I found the culprit, but not the solution. There is the thinkfinger pam module
that allows login in using a finger print. Everything works fine for other
logins when trying to use the password, but ssh fails for some reason. the
entry in /etc/pam.d/common-auth:

authsufficient  pam_thinkfinger.so
authrequiredpam_unix.so try_first_pass nullok_secure

Any ideas how to make both work?
thanks

  Is there a .ssh/config file in your home directory? You might want to check 
  its contents.
 
  Also grep sshd /var/log/auth.log after a failed login might shed some 
  light as to what is going on.
 
 and compare the permissions on $HOME/.ssh and its files as ssh doesn't
 like incorrect permissions either.
 
 A


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



terminals with tabs very slow to resize in compiz

2007-11-07 Thread Micha Feigin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Programmers Text Editor

2007-11-06 Thread Micha Feigin
On Tue, 6 Nov 2007 01:03:45 -0700
Nate Duehr [EMAIL PROTECTED] wrote:

 
 On Nov 5, 2007, at 4:49 PM, Steve Lamb wrote:
 
  David Brodbeck wrote:
  Using vi requires you to keep track of the
  editor's state in your head -- you have to remember whether it's in
  input mode or command mode.  I've never been able to do that  
  reliably.
 
 Neither have I.  However I did learn early on in my vim life that  
  ESC in
  insert mode puts you in command mode.  ESC in command mode puts you in
  command mode.  So if you're not sure, just slap escape then you are
  sure.  :))
 
 I have an older friend who's been doing Unix since, well... the  
 beginning, and we were talking about this once, and he pointed out  
 that he and his buddies figured out the in all of the possible modes/ 
 windows, three ESC's would always get you back to command mode from  
 anywhere in vi.
 
 I've never really analyzed that statement, but it did start me a new  
 habit... I usually hit it more than once while/if I'm thinking about  
 what to do next and know I need to go to command mode before doing it.
 

My problem is that half the time i hit f1 instead and go into help ending up
saving some change or other to the help file or something else, not sure what
and go into record mode, not to mansion that pasting always gives me crazy
indentations.

Personally I prefer emacs, but it takes longer to load and I am still looking
for a proper project management (find definition/declaration etc.). Tags always
seems to do something else then needed, especially with c++ and fortran (no
proper class support and people seem to think that fortran is not used by
anyone for some unknown reason and don't bother making editors work with it)

 --
 Nate Duehr
 [EMAIL PROTECTED]
 
 
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



what is supposed to set $LANG?

2007-11-06 Thread Micha Feigin
I noticed lately that $LANG is no longer set by default on my system. Seems
that it is defined correctly in /etc/defaults and when changing to root it is
also defined, but it is not defined for the default user

seems like some programs get confused by the lack of a default encoding

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Can't connect to local machine using ssh

2007-11-06 Thread Micha Feigin
I installed openssh server and client but I still can't connect to the local
machine, neither remotely or localy

ssh localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is 86:df:53:2d:84:7e:e9:f4:8e:f8:06:ac:73:1b:05:f3.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
[EMAIL PROTECTED]'s password: 
Connection closed by 127.0.0.1

I think that I enabled password login in /etc/ssh/sshd_config but I may have
missed it. If it makes a difference, its a thinkpad with fingerprint reader
enabled which works for local login but also with a password

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Can't connect to local machine using ssh

2007-11-06 Thread Micha Feigin
Doesn't seem to be that. Also I just tried to create a new user on the machine
and that user can login with no problem, only the original one (and root which
seems to be enabled in the setup file)  can't. could this be  a shell setup
problem?

On Tue, 6 Nov 2007 13:12:45 -0900
Ken Irving [EMAIL PROTECTED] wrote:

 On Tue, Nov 06, 2007 at 11:44:29PM +0200, Micha Feigin wrote:
  I installed openssh server and client but I still can't connect to the local
  machine, neither remotely or localy
  
  ssh localhost
  The authenticity of host 'localhost (127.0.0.1)' can't be established.
  RSA key fingerprint is 86:df:53:2d:84:7e:e9:f4:8e:f8:06:ac:73:1b:05:f3.
  Are you sure you want to continue connecting (yes/no)? yes
  Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
  [EMAIL PROTECTED]'s password: 
  Connection closed by 127.0.0.1
  
  I think that I enabled password login in /etc/ssh/sshd_config but I may have
  missed it. If it makes a difference, its a thinkpad with fingerprint reader
  enabled which works for local login but also with a password
 
 Something I miss just about every time is to add the/your user to a list
 of allowed users in /etc/ssh/sshd.conf or similar.  Just a thought.
 
 Ken
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Debian on Core2Duo 64bit

2007-11-01 Thread Micha Feigin
On Wed, 31 Oct 2007 22:59:29 -0400
Jose Luis Rivas Contreras [EMAIL PROTECTED] wrote:

 Douglas A. Tutty wrote:
  On Wed, Oct 31, 2007 at 10:29:35PM +0100, P?l Cs?nyi wrote:
  2007/10/31, Jose Luis Rivas Contreras [EMAIL PROTECTED]:
  Semih Gokalp wrote:
  Hi.
 
  Which debian dist should I install on core2duo 64 bit pcu? x86 or amd64 ?
  amd64.
  amd64 is not only for the AMD processors?
 
  I have an Intel(R) Core(TM)2 CPU6320  @ 1.86GHz
 
  Should I install too the amd64 Debian distribution on this system?
 
  
  As long as you don't want to run one of the (couple of) third-party apps
  that need i396 in Etch without also putting in an i386 chroot.  Note,
  that many 32-bit apps will actually run in amd64 with the 32-bit libs
  package.  I don't know about acroread since I don't use it.  Iceweasel
  32-bit with flashplayer needed a chroot.  A chroot isn't much to set up
  or maintain.
 
 It's not needed anymore at least in sid with flashplayer, in fact,
 there's a package in debian-multimedia.org that makes all the work for
 you, I mean, the configuration of the wrapper.
 
 Regards,
 Jose Luis.

The only think that didn't work either directly or the 32bit libraries for
amd64 was skype that required downloading the static version and then I also
needed to pull a library from another package, don't remember which one at the
moment


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



configuring an external usb mouse wiith x to dynamically connect

2007-10-27 Thread Micha Feigin
I have a thinkpad laptop with a trackpoint, touchpad and occasionally an
external usb mouse. The laptop goes to sleep between uses so X isn't restarted
much. I want to be able to connect the mouse on occasions, when it was not
connected when starting X, while still being able to give each device it's own
configuration.

Theoretically I would define the touchpad to use /dev/input/mouse0, the
trackppoint /dev/input/mouse1 and the usb mouse /dev/input/mouse2 (as they do),
but since mouse2 doesn't exist when X starts I can't connect it unless it was
connected initially.

I found a workaround of defining the trackpoint to use /dev/input/mice and the
touchpad /dev/input/mouse0 so that it can use the synaptic driver, but that is
not ideal as the trackpoint uses PS/2 or microsoftPS2 and the external mouse
ImPs/2 (I hope I remember all of these correctly) and I also want different
options for the mouse and touchpad.

Is that possible? Windows does it, so I Hope that the answer is yes ...
Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: xkb settings messed up, seems to be two keyboards installed

2007-10-25 Thread Micha Feigin
On Thu, 25 Oct 2007 00:13:13 -0400
Celejar [EMAIL PROTECTED] wrote:

 On Thu, 25 Oct 2007 01:57:20 +0200
 Micha Feigin [EMAIL PROTECTED] wrote:
 
  I have two keymaps that I used to switch between with xkb alt_shift_toggle.
  At some point it stopped working. xfce xkb applet shows that the keyboard is
  switching but it doesn't do anything, sometimes it decides to start
  switching between US and en_US instead of IL. setxkbmap does change the
  keyboard.
 
 [snip]
 
 I've had trouble with the xfce applet with a very similar setup;
 removing the applet solved my problem.  Do you see the same problem
 without the applet?
 

The applet doesn't seem to be the problem. It looks like I had the evdev driver
loaded without configuring a keyboard and it thus decided to configure the
keyboard by itself.

 [One sign I had that the applet is buggy is that it would frequently
 show Null for my alternate layout instead of the image it was
 supposed to display.]
 
 Celejar
 --
 mailmin.sourceforge.net - remote access via secure (OpenPGP) email
 ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



xkb settings messed up, seems to be two keyboards installed

2007-10-24 Thread Micha Feigin
I have two keymaps that I used to switch between with xkb alt_shift_toggle. At
some point it stopped working. xfce xkb applet shows that the keyboard is
switching but it doesn't do anything, sometimes it decides to start switching
between US and en_US instead of IL. setxkbmap does change the keyboard.

I tried fbxkb which gives the error:

xkb group #0 is already defined
kbd group numbering is not continous
run 'xlsatoms | grep pc' to know what hapends

and running that gives:
# xlsatoms | grep pc
173 pc+us
181 pc(pc105)
206 pc+us+il(lyx):2+group(alt_shift_toggle)
208 pc(pc104)
237 pc+us+inet(evdev)+group(alt_shift_toggle)

keyboard setup in xorg.conf

Section InputDevice
Identifier Generic Keyboard
Driver kbd
Option CoreKeyboard
Option XkbRules xorg
Option XkbModel pc104
Option XkbLayout us,il
Option XkbVariant ,lyx
Option XkbOptions grp:alt_shift_toggle
#Option XkbOptions grp:alt_shift_toggle
#Option XkbOptions grp:lwin_toggle
EndSection

I can't find anything in .xsession-errors or /var/log/Xorg.0.log

any ideas what is going on here?

thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: camera for small work

2007-10-22 Thread Micha Feigin
On Wed, 17 Oct 2007 08:59:03 +0100
John Stumbles [EMAIL PROTECTED] wrote:

 Douglas A. Tutty wrote:
 
  Ideas?
 
 Magnifying glass on a stand?
 
 The depth of field with a camera is likely to be so shallow it'd be 
 useless for 3D work.
 

not sure about macro work, but consumer digital cameras have a rediculous depth
of field due to the tiny ccd. Thats one of their big issues in proper portrait
work.

anyway, not sure if there is a linux driver or anything more then an api but I
know that the canon a740 (not very cheep but a very nice camera if you also
want to use it later) has the possibility of working as a webcam.  I don't
think that earlier ones have the interface. I can try to ask what interface
exists (have seen it done on windows)

At least the older nikons don't have that ability either.

As said before though, what about a good magnifying glass, or is this an excuse
to also spring for a digi cam

 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: camera for small work

2007-10-22 Thread Micha Feigin
On Mon, 22 Oct 2007 19:27:12 -0400
Douglas A. Tutty [EMAIL PROTECTED] wrote:

 On Mon, Oct 22, 2007 at 11:52:24PM +0200, Micha Feigin wrote:
  
  not sure about macro work, but consumer digital cameras have a
  rediculous depth of field due to the tiny ccd. Thats one of their big
  issues in proper portrait work.
  
  anyway, not sure if there is a linux driver or anything more then an
  api but I know that the canon a740 (not very cheep but a very nice
  camera if you also want to use it later) has the possibility of
  working as a webcam.  I don't think that earlier ones have the
  interface. I can try to ask what interface exists (have seen it done
  on windows)
  
  At least the older nikons don't have that ability either.
  
  As said before though, what about a good magnifying glass, or is this
  an excuse to also spring for a digi cam
 
 A bit of an excuse.  Also a bit of safety.  I'll be using 1.5 mm chisels
 on buffalo horn in a work field 3 cm x 1 cm x .5 cm deep.  A loupe has a
 focal lenght of under a couple of inches.  Do I really want my eye ball
 within a couple of inches of the tool and the work?  A really good large
 magnifying glass is about the same price as a medium grade digital
 camera.  
 
 I know that my Nikon film SLR and macro lense works.  I would think that
 there is no inherent reason why any digital camera with an LCD real-time
 viewer couldn't be capable of this.  Whether they actually put that
 capability into the camera is a different story best answered at the
 camera shop.  The only question then will be if there is a driver in the
 linux kernel that will work for the camera.  
 
 The Nikon Digital SLR is, I think, an 18 MP camera with good depth of
 field; don't know if it can hook up with a USB as a webcam.  The
 Panasonic 8 MP cameras with a macro funcition built-in have an adequate
 depth-of-field; ditto.
 

unless you can fork the 5500$ at least for the Nikon D3 which IIRC can output
real time video, an slr will not do the job. Digital SLRs have a mechanical
shutter so the lcd is exposed only when you take the picture. No real time
feedback even to the lcd not to mention external feedback. Plus, most digital
SLRs have an aps sized ccd/cmos which means a 1.5+- focal length multiplier and
a depth of field close to that of a film SLR (a bit bigger at the same
f-number/magnification).

Compact digital cameras have a digital shutter (only an electronic circuit, no
physical shutter).  They thus have real time updating of the lcd and
theoretically possible external screen. Like I said, one of the cannons I think
it was the canon a640 can do it with the windows software (my sister is very
happy with the a620), don't know about linux. I think some sonys can do it also,
don't know which ones and there less of a chance for linux support.
 Doug.
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: OT: camera for small work

2007-10-22 Thread Micha Feigin
On Mon, 22 Oct 2007 19:27:12 -0400
Douglas A. Tutty [EMAIL PROTECTED] wrote:

 On Mon, Oct 22, 2007 at 11:52:24PM +0200, Micha Feigin wrote:
  
  not sure about macro work, but consumer digital cameras have a
  rediculous depth of field due to the tiny ccd. Thats one of their big
  issues in proper portrait work.
  
  anyway, not sure if there is a linux driver or anything more then an
  api but I know that the canon a740 (not very cheep but a very nice
  camera if you also want to use it later) has the possibility of
  working as a webcam.  I don't think that earlier ones have the
  interface. I can try to ask what interface exists (have seen it done
  on windows)
  
  At least the older nikons don't have that ability either.
  
  As said before though, what about a good magnifying glass, or is this
  an excuse to also spring for a digi cam
 
 A bit of an excuse.  Also a bit of safety.  I'll be using 1.5 mm chisels
 on buffalo horn in a work field 3 cm x 1 cm x .5 cm deep.  A loupe has a
 focal lenght of under a couple of inches.  Do I really want my eye ball
 within a couple of inches of the tool and the work?  A really good large
 magnifying glass is about the same price as a medium grade digital
 camera.  
 
 I know that my Nikon film SLR and macro lense works.  I would think that
 there is no inherent reason why any digital camera with an LCD real-time
 viewer couldn't be capable of this.  Whether they actually put that
 capability into the camera is a different story best answered at the
 camera shop.  The only question then will be if there is a driver in the
 linux kernel that will work for the camera.  
 
 The Nikon Digital SLR is, I think, an 18 MP camera with good depth of

forgot to say, compact digitals have a very small sensor, i think 1/2.5 or so
which gives you a much bigger depth of field, for better and worse

 field; don't know if it can hook up with a USB as a webcam.  The
 Panasonic 8 MP cameras with a macro funcition built-in have an adequate
 depth-of-field; ditto.
 
 Doug.
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Problem associating Wireless network - intel iwl4965agn

2007-10-15 Thread Micha Feigin
i have  an IBM T61 laptop with the intel iwl4965agn wireless chipset (centrino
related i believe).

I got the drivers and even the new mac80211 installed and the card is up and
running. I can find close access points with no problem with iwlist wlan0 scan
but when I try to associate it keeps showing that the reception is at 0.

Any ideas?

Example output:

iwconfig wlan0:

wlan0 IEEE 802.11g  ESSID:  Nickname:
  Mode:Managed  Frequency:2.437 GHz  Access Point: 00:16:E3:A9:8C:46   
  Tx-Power=27 dBm   
  Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
  Encryption key:
  Power Management:off
  Link Quality:0  Signal level:0  Noise level:0
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:0  Invalid misc:0   Missed beacon:0

iwlist wlan0 scan:

wlan0 Scan completed :
  Cell 01 - Address: 00:16:E3:A9:8C:46
ESSID:
Mode:Master
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=83/100  Signal level=-51 dBm  Noise level=-127 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
  24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
  12 Mb/s; 48 Mb/s
Extra:tsf=072f2bf3a546

Same thing at home with an ad-hoc setup

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



[OT] package for talking to usb device using visa protocol

2007-06-25 Thread Micha Feigin
Hopping that I didn't miss spell this, I am looking for a reference or 
preferably a library that would enable me to talk to a usb device that 
uses the vesa protocol. I found some info from national instruments that 
the device should be available under /dev but no code

Will be grateful for any pointers
thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




windows compatability issues with ftpd (wrong filenames sent)

2007-06-24 Thread Micha Feigin
I set up ftpd on my machine to easily trasfer the occational files to windows
systems (it's usually disabled for the security aware, only enabled inside
secure networks for the duration of the transfers)

The problem: the file names and directories appear under windows with their
time as part of the name (when browsing through windows explorer to my machine)
which makes it impossible to browse using explorer (I get the error that the
file doesn't exist). If I manually enter the correct file name things function
properly.

How do I change ftpd's behaviour to send the data in a windows compatible
method?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: can you recommend any open source presentation tool?

2007-06-07 Thread Micha Feigin
On Mon, 04 Jun 2007 10:04:07 +0200
Johannes Wiedersich [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Micha Feigin wrote:
  The downside with the latex option is videos open in an external window and
  for better or worse you have less support for transitions (usually better
  because they tend to distract the crowd) and exact positioning of text and
  images (usually makes you make better presentations).
 
 Quite the opposite: latex gives you exact positioning of text and
 images, ppt does not.
 

I'd love to hear about a (relatively) easy way to do this, because I had quite
a few wars with this recently (for posters, not presentations)

 Johannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFGY8d3C1NzPRl9qEURArc2AJ9USvYrf7XgCBkU1Tloj/3dQF13rgCZAckq
 IKIA75I3BI4BG4a1nB3KVDs=
 =f/jN
 -END PGP SIGNATURE-
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: reliable wifi manager for gnome

2007-05-30 Thread Micha Feigin
On Mon, 28 May 2007 09:42:32 -0500
Ron Johnson [EMAIL PROTECTED] wrote:

 On 05/28/07 04:12, Jose Rodriguez wrote:
 [snip]
  
  As far as I know--which is not much, in any case--the cosmetic 
  protections like hiding the essid, MAC filtering and changing the 
  default WEP password are utterly useless. Setting up WAP is the way to 
  go, although at least one of its flavours is prone to dictionary attacks.
 
 s/WAP/WPA/
 

Once I solve the connection issue I'll improve on the security, there is also
mac filtering in the firewall although I don't count on that as that can be
fakes easily also.

  Having said this, I didn't bother to properly secure my own home network 
  yet. If somebody wants to check a couple of e-mails using it just be it.
 
 Would you leave your door open so anyone can come in at any hour of 
 the day and pee in your toilet or watch your movies?
 

Actually I do ;-) the perks of country life ...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: deranged mouse behaviour with ibm thinkpad t31

2007-05-27 Thread Micha Feigin
On Sun, 27 May 2007 18:51:53 +0300
[EMAIL PROTECTED] (Andrei Popescu) wrote:

 On Sat, May 26, 2007 at 02:29:46AM +0300, Micha Feigin wrote:
  I am installing linux on a thinkpad t31. Most things work, but I think that
  the mouse is setup wrong since after playing with the mouse (it's the red
  point in the middle of the keyboard, not sure what it's called) for a few
  seconds to
 
 Trackpoint
 
  minutes (not consistent) it suddenly goes crazy opening windows, 
  pressing
  buttons and flying all over the place. To release it I need to let go of the
  mouse for a couple of seconds and then it goes back to normal until the next
  time.
 
 It does happen that the trackpoint moves on its own, especially on older 

It's not a problem of the trackpoint moving on it's own, it seems to start
misinterpreting the input if it comes to fast for too long or some other
unexpected message from the driver.

 hardware. You can minimise the effect by lowering the sensibility. As 
 for opening windows, do you also use it for clicking? I don't think 

Not that I'm aware of. It looks like in it's insanity it flies around the
screen and clicks on things, as if in the middle of the movement the driver
starts misinterpreting the input and starts sending junk to X. If I let go of
the pointer for about two seconds the problem goes away until the next time
(which can be 10 seconds or a few minutes)

 there is a real cure for that, but you might minimize it if you click 
 only using the real buttons. Is the trackpoint replaceable?
 

I don't think it's replacable, how do I disable clicking with the trackpoint?

 Regards,
 Andrei

I read somewhere recently that I may be using the wrong driver and I need to
change ImPS/2 - PS/2 but it's my dad's laptop so I wasn't around it to try it
yet.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: reliable wifi manager for gnome

2007-05-26 Thread Micha Feigin
On Sat, 26 May 2007 10:34:32 +0100
Chris Lale [EMAIL PROTECTED] wrote:

 Micha Feigin wrote:
  I am looking for a reliable wifi manager for gnome for my dad (I'm
  comfortable enough with the command line and fvwm).
  
  I tried using the installed NetworkManger Applet but it doesn't seem to
  setup things properly, in manual mode after I plug in the usb wifi thingy I
  need to do ifdown wlan0 followed by a ifup wlan0 and it will sometimes
  work. In roaming mode it doesn't set the wep key at all.
  
  I am trying to convert my dad to linux and proper wifi is kind of the main
  must.
  
  Thanks
  
  
 
 You could try wlassistant [1], wifiradar, Gnome network tools (Applications -
 System Tools - Network Tools), Gnome Network Administration Tool (Desktop -
 Administration - Networking).
 

Thanks, I'll have a look at them

 Some wifi drivers ave their own admin tools. Eg for the Ralink chipset (eg
 Edimax cards) the driver package is RT2500-source and the tools package is
 RT2500. However, if you install the RT2500 package you will not be able to use
 the standard tools like iwconfig etc.
 

Works fine for me on another usb stick although I am using rt73 at the moment
since rt2x00 doesn't work with this stick. rutilit is nice though

 You might consider using a broadband modem/router/wifi combined appliance. I
 use a Philips SNA6500 which has built-in NAT and firewall. It also has the
 option to enable or reject wireless clients on the basis of their MAC
 address. So, even if WEP is cracked you are still secure.
 

I have one of those, the problem is connecting to it, and at the moment I am
more worried about reliably connecting, I'll worry about encryption once that
is solved.

 [1]
 http://newbiedoc.berlios.de/wiki/How_to_set_up_a_wireless_network_card_using_drivers_from_Debian_packages#Wlassistant
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



reliable wifi manager for gnome

2007-05-25 Thread Micha Feigin
I am looking for a reliable wifi manager for gnome for my dad (I'm comfortable
enough with the command line and fvwm).

I tried using the installed NetworkManger Applet but it doesn't seem to setup
things properly, in manual mode after I plug in the usb wifi thingy I need to
do ifdown wlan0 followed by a ifup wlan0 and it will sometimes work. In roaming
mode it doesn't set the wep key at all.

I am trying to convert my dad to linux and proper wifi is kind of the main must.

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



deranged mouse behaviour with ibm thinkpad t31

2007-05-25 Thread Micha Feigin
I am installing linux on a thinkpad t31. Most things work, but I think that the
mouse is setup wrong since after playing with the mouse (it's the red point in
the middle of the keyboard, not sure what it's called) for a few seconds to
minutes (not consistent) it suddenly goes crazy opening windows, pressing
buttons and flying all over the place. To release it I need to let go of the
mouse for a couple of seconds and then it goes back to normal until the next
time.

I tried setting the protocol to ImPS/2 and auto which behave the same and to
GlidePoint which doesn't function at all. device is /dev/input/mice

Any ideas?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: WEP??? (was Re: reliable wifi manager for gnome)

2007-05-25 Thread Micha Feigin
On Fri, 25 May 2007 18:41:22 -0500
Ron Johnson [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 05/25/07 18:25, Micha Feigin wrote:
 [snip]
  do ifdown wlan0 followed by a ifup wlan0 and it will sometimes work. In
  roaming mode it doesn't set the wep key at all.
  
  I am trying to convert my dad to linux and proper wifi is kind of the main
  must.
 
 Why are you inviting someone to (quickly!!) hack into your network?
 

I need a solution that works with both linux and the access point, can be
configured easily enough, will stop the next door guy from using my network (I
doubt I can stop anyone from actually breaking in if they really wanted to).

Plus everything even inside the network is behind it's own firewall and if the
guy who wants to break in moves another 50m he will find ten more networks with
no protection at all (and another few guarded only be wep).

I'll be happy to hear about a better solution (I don't have the time to catch
up on network security) and unrelated to the security issue, I need a wifi
management software that works (preferably with no more than entering the
network details the first time I want to connect).

 - --
 Ron Johnson, Jr.
 Jefferson LA  USA
 
 Give a man a fish, and he eats for a day.
 Hit him with a fish, and he goes away for good!
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.6 (GNU/Linux)
 
 iD8DBQFGV3QiS9HxQb37XmcRAhdSAJ905puhGKSUF4Bup7+pfHl8+Q5ZrACfaTMc
 hAVOS5xv67KfUuvaA23UJNA=
 =DWoz
 -END PGP SIGNATURE-
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: why linux?

2007-05-21 Thread Micha Feigin
On Mon, 21 May 2007 02:57:09 -0400 (EDT)
S C [EMAIL PROTECTED] wrote:

 For months now I have been trying to make Debian behave like a real OS.
 However, I still cannot print, format/initialize a new cd or use one to back
 up files, get the sound working, watch a movie or read images from my digital
 camera.  With Windows all this was simple.  I downloaded the relevant
 program, set it up and it worked.  Windows is supposed to be devilspawn and
 doomed, and maybe it is.  It does, however, have one saving grace; it works.
 It works without expecting me to become a systems engineer.
 

I tried installing two hp network printer, with linux I just entered the IP and
it worked, under windows I had to setup using the cd twice, uninstall try
again, make another printer and then it worked for a while then I had to
reinstall.

I tried to get my bluetooth to work, under windows I can't get everything
working at the same time, only one feature depending on the install procedure.

I tried installing wx, imagemagick, lyx, git etc under windows, each one took
several hours, under linux it was aptitude install and I was up and running.

 When I go to someplace like freenode/#debian I am ignored.  Maybe I should
 say to Hell with Linux and sell my story to Microsoft.  Obviously I don't
 really want to, but how much longer should I put up with a partial OS?  I
 don't mind telling you I'm damned sick of it. 
 

 -
 Ask a question on any topic and get answers from real people. Go to Yahoo!
 Answers. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: why linux?

2007-05-21 Thread Micha Feigin
On Mon, 21 May 2007 09:36:39 +0200
Raffaele Morelli [EMAIL PROTECTED] wrote:

 2007/5/21, S C [EMAIL PROTECTED]:
 
  For months now I have been trying to make Debian behave like a real OS.
  However, I still cannot print, format/initialize a new cd or use one to back
  up files, get the sound working, watch a movie or read images from my
  digital camera.  With Windows all this was simple.  I downloaded the
  relevant program, set it up and it worked.  Windows is supposed to be
  devilspawn and doomed, and maybe it is.  It does, however, have one saving
  grace; it works.  It works without expecting me to become a systems
  engineer.
 
  When I go to someplace like freenode/#debian I am ignored.  Maybe I should
  say to Hell with Linux and sell my story to Microsoft.  Obviously I don't
  really want to, but how much longer should I put up with a partial OS?  I
  don't mind telling you I'm damned sick of it.
 
  --
 
 
 Hi,
 
 what do you wanna do?
 printing -- from a superuser shell, apt-get install cupsys. Then you are
 ready to print, just configure those necessary thing.
 R/RW cd -- still as a SU, apt-get install k3b. Then just launch it and
 reply to answers
 movies -- apt-get install xine and then configure
  and so on.
 

Or mplayer, plays all those movies out of the box that windows makes you chase
codecs for days to get partially working

 You can't expect debian behaves like windows, it's clearly another flavour
 so you must read some documentation (apt-get install debian-reference) and
 man pages. No systems engineer is needed to be a debian user but not being
 lazy is useful (needed) instead ;)
 
 raffaele


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: can you recommend any open source presentation tool?

2007-05-17 Thread Micha Feigin
On Thu, 17 May 2007 10:26:23 -0400
Kevin Mark [EMAIL PROTECTED] wrote:

 On Tue, May 15, 2007 at 10:32:46PM -0700, Serena Cantor wrote:
  Which software is Linux's equivalence of M$'s PowerPoint?
 Lots of folks create a presention in tex [ or similar markup languages]
 and then turn them into pdf file or to html/javascript.
 

With the advantage that the presentation is in pdf so you know that it will
appear properly on any machine and only requires pdf viewer to display the
presentation.

It does help to use some presentation class though. My favourite is beamer
although there is also prosper and texpower I'm aware of and probably a bunch
of others.

Personally, I use lyx to edit the presentation and it has support for beamer
(including a template).

ooimpress is also nice and can export to pdf.

The downside with the latex option is videos open in an external window and for
better or worse you have less support for transitions (usually better because
they tend to distract the crowd) and exact positioning of text and images
(usually makes you make better presentations).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [workaround] Recent upgrade killed matlab [and everything java related]

2007-05-13 Thread Micha Feigin
On Mon, 7 May 2007 00:01:13 +0300
Micha Feigin [EMAIL PROTECTED] wrote:

 On Sun, 6 May 2007 10:24:09 -0600
 Wesley J. Landaker [EMAIL PROTECTED] wrote:
 
  On Tuesday 01 May 2007 01:58:49 Micha Feigin wrote:
   Recent upgrades of sid killed matlab 7 (sp2) for me. When I try to start
   it with the jvm active (gui) I get the error:
  
   MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c-xlib.lock' failed.
   Aborted
  

Turns out that the new xcb support is not compatible with java's awt. The only
solution I found was to downgrade libx11 to pre xcb support and uninstall all
xcb packages.

Turns out this problem attacks anything java on any xcb enabled libx11

   Any idea what this is, is it solvable and whether it is a common problem
   or only me ?
  
  No idea about your matlab issue (looks like a possible xlib 
  incompatibility--you could always run matlab in a etch chroot or 
  something), but I can't pass up the opportunity to recommend using octave 
  http://www.octave.org/ instead of matlab if at all posible. =)
  
 
 Afraid it's not even remotely possible.
 I tried octave at the time but it was so far behind it was on the verge of
 unusable for the real world. Scilib seemed much better but both fail on the
 colaboration issue when everyone around you uses matlab (or as I just started
 doing, c/c++  and fortran).
 
 I do computer vision and medical imaging, which means huge PDE and (non)linear
 systems. Also one of octave's big drawbacks (besides being about on par with
 matlab 5 without the toolboxes) is that it has terrible graphic support
 (plotting/displaying data, including 3d)
 
 Add to that the availability of existing code ...
 
 Anyway, it turns out that the problem is not matlab, its something between
 Java's awt and x.org (I didn't quite understand who's at fault, seems that awt
 uses something that is in the specks but not properly implemented). I just
 found out that jabref (open source bibref manager), freemind (open source mind
 mapping tool) and maple are also dead.
 
 I saw some pointer towards libxrandr but it seems that it is at it's latest
 version.
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: TeTex to TeXLive

2007-05-08 Thread Micha Feigin
On 07 May 2007 23:35:59 GMT
Tyler Smith [EMAIL PROTECTED] wrote:

 On 2007-05-07, Micha Feigin [EMAIL PROTECTED] wrote:
  Tyler Smith [EMAIL PROTECTED] wrote:
 
  I just jumped in, and the only issue I had was getting my source files
  (ie. non-standard .bst, .bib, .cls files) into the right directories
 
  If you have non-standard files you should put them in ~/texmf and then run
  texhash ~/texmf.
  This way they survive whatever update you've got and the hash is local so I
  didn't have to rerun texhash after the update
 
 
 What I found, thanks to help from others here (Florian I think it
 was...) was that the directory structure under ~/texmf has to mirror
 that of /usr/share/texmf-texlive/. So just putting a .bst file in
 ~/texmf and running mktexlsr (=texhash?) didn't work. It needed to be
 in ~/texmf/bibtex/bst/.
 

I had to do that also for tetex 

 Anyways, the rest works out fine.
 
 Tyler
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: TeTex to TeXLive

2007-05-07 Thread Micha Feigin
On Mon, 07 May 2007 14:53:18 -0400
Amy Templeton [EMAIL PROTECTED] wrote:

 Hey all,
 
 So recently, occasionally when upgrading (I use Lenny) I've
 had to remove some TeX component or other because it now
 won't depend on TeTeX. So I suppose that that means it's
 time to get with the program and upgrade to TeXLive, since
 it actually updates, but I've also heard tell that people
 experience big problems when moving over from TeTeX instead
 of just installing TeXLive onto a system without any former

I didn't have any problems, but you can always first purge the tetex
installation if you want to be sure.

 TeX installation. Is there some safe way of moving over?
 Also, (very importantly) does AUCTeX work with TeXLive?
 

Auctex works just fine with texline (all it is interested in is that there is
latex/pdflatex to run in the background). It doesn't actually need any latex at
all if you don't compile the documents through auctex

 Thanks,
 Amy
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: TeTex to TeXLive

2007-05-07 Thread Micha Feigin
On Mon, 7 May 2007 15:06:50 -0400
Michael Marsh [EMAIL PROTECTED] wrote:

 On 5/7/07, Micha Feigin [EMAIL PROTECTED] wrote:
  On Mon, 07 May 2007 14:53:18 -0400
  Amy Templeton [EMAIL PROTECTED] wrote:
   So recently, occasionally when upgrading (I use Lenny) I've
   had to remove some TeX component or other because it now
   won't depend on TeTeX. So I suppose that that means it's
   time to get with the program and upgrade to TeXLive, since
   it actually updates, but I've also heard tell that people
   experience big problems when moving over from TeTeX instead
   of just installing TeXLive onto a system without any former
 
  I didn't have any problems, but you can always first purge the tetex
  installation if you want to be sure.
 
 Ditto for me.  The only problem I had was the massive list of
 localizations that were included by default, which I later purged.
 

The extra something package pulls that in along with it for some reason, I've
been wondering if it is a bug for some time now


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: TeTex to TeXLive

2007-05-07 Thread Micha Feigin
On 07 May 2007 19:22:40 GMT
Tyler Smith [EMAIL PROTECTED] wrote:

 On 2007-05-07, Amy Templeton [EMAIL PROTECTED] wrote:
  TeX installation. Is there some safe way of moving over?
 
 I just jumped in, and the only issue I had was getting my source files
 (ie. non-standard .bst, .bib, .cls files) into the right directories

If you have non-standard files you should put them in ~/texmf and then run
texhash ~/texmf.
This way they survive whatever update you've got and the hash is local so I
didn't have to rerun texhash after the update

Getting XeTeX to run to some more work, but that is irrelevant to the question
since tetex doesn't have XeTeX (good utf and truetype font support)

 (another thread on this list in the last month or two has the details
 of that). Doing an apt{get,itude} purge of the tetex stuff before
 installing texlive is probably a good idea.
 
  Also, (very importantly) does AUCTeX work with TeXLive?
 
 
 Once I got texlive installed I had no problems with Auctex.
 
 HTH,
 
 Tyler
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: TeTex to TeXLive

2007-05-07 Thread Micha Feigin
On 07 May 2007 19:22:40 GMT
Tyler Smith [EMAIL PROTECTED] wrote:

 On 2007-05-07, Amy Templeton [EMAIL PROTECTED] wrote:
  TeX installation. Is there some safe way of moving over?
 
 I just jumped in, and the only issue I had was getting my source files
 (ie. non-standard .bst, .bib, .cls files) into the right directories

If you have non-standard files you should put them in ~/texmf and then run
texhash ~/texmf.
This way they survive whatever update you've got and the hash is local so I
didn't have to rerun texhash after the update

Getting XeTeX to run to some more work, but that is irrelevant to the question
since tetex doesn't have XeTeX (good utf and truetype font support)

 (another thread on this list in the last month or two has the details
 of that). Doing an apt{get,itude} purge of the tetex stuff before
 installing texlive is probably a good idea.
 
  Also, (very importantly) does AUCTeX work with TeXLive?
 
 
 Once I got texlive installed I had no problems with Auctex.
 
 HTH,
 
 Tyler
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: %20MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c-xlib.lock'failed.

2007-05-06 Thread Micha Feigin
I was hopeful but it didn't solve the problem, thanks anyway (assuming I don't
need to do it before X starts)

It seems to be something with the java awt actually and should be corrected by
either sun or x.org I haven't managed to figure out which from google.

running matlab as matlab -nodesktop -nosplash (no gui but with java) still
gives the problem but running matlab -nojvm doesn't show it so it's certainly
something to do with the jre or something that matlab does with it.

I just tested jabref and it dies with the same error also, so it's definitely a
java issue.

Any other JREs arround I can try?

Thanks


On Sun, 06 May 2007 07:19:34 -0500
Waqar Malik [EMAIL PROTECTED] wrote:

 Most probably this error needs to be updated by Mathworks.
 
 Meanwhile, before starting matlab, set the following variable. It will 
 allow you to work with matlab.
 
 export LIBXCB_SLOPPY_LOCK=1
 
 
 Regards.
 Waqar Malik
 http://people.tamu.edu/~waqar_am
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [Etch] pppoe problem - unable to ping or lookup

2007-05-06 Thread Micha Feigin
On Sun, 6 May 2007 19:11:34 +0530
Deboo ^ [EMAIL PROTECTED] wrote:

 On 5/5/07, Andrew Sackville-West [EMAIL PROTECTED] wrote:
  On Sat, May 05, 2007 at 05:12:25PM +0530, Deboo ^ wrote:
   Also note that I tried pinging remote ip addresses (like google.com's
   and yahoo.com's) and was unable to get any response.
 
  is that by ip address or by name?
 
 
 Well it should be clear from my mail below that  I pinged their ip
 addresses, isn't it?
 
 BTW,  I saw the problem. As soon as I connect, pppoeconf sets the
 nameservers in /etc/resolv.conf ... after a few seconds or in a min
 uet, those ip addresses vanish and get replaced by the ip 192.168.0.1.
 

Try doing ps aux and see if dhclient or similar is running

Also, what is the content of /etc/network/interfaces ?

 I re ran the pppoeconf and gave it the option not to update my
 resolv.conf but still this happened time and again.
 
 Now I changed the mode of the /etc/resolv.conf to not writable by even
 root and made it unmutable and still it's hapenning. Who is changing
 the nameserver to 192.168.0.1 and how?
 
 Regards,
 Deboo
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Recent upgrade killed matlab [and everything java related]

2007-05-06 Thread Micha Feigin
On Sun, 6 May 2007 10:24:09 -0600
Wesley J. Landaker [EMAIL PROTECTED] wrote:

 On Tuesday 01 May 2007 01:58:49 Micha Feigin wrote:
  Recent upgrades of sid killed matlab 7 (sp2) for me. When I try to start
  it with the jvm active (gui) I get the error:
 
  MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c-xlib.lock' failed.
  Aborted
 
  Any idea what this is, is it solvable and whether it is a common problem
  or only me ?
 
 No idea about your matlab issue (looks like a possible xlib 
 incompatibility--you could always run matlab in a etch chroot or 
 something), but I can't pass up the opportunity to recommend using octave 
 http://www.octave.org/ instead of matlab if at all posible. =)
 

Afraid it's not even remotely possible.
I tried octave at the time but it was so far behind it was on the verge of
unusable for the real world. Scilib seemed much better but both fail on the
colaboration issue when everyone around you uses matlab (or as I just started
doing, c/c++  and fortran).

I do computer vision and medical imaging, which means huge PDE and (non)linear
systems. Also one of octave's big drawbacks (besides being about on par with
matlab 5 without the toolboxes) is that it has terrible graphic support
(plotting/displaying data, including 3d)

Add to that the availability of existing code ...

Anyway, it turns out that the problem is not matlab, its something between
Java's awt and x.org (I didn't quite understand who's at fault, seems that awt
uses something that is in the specks but not properly implemented). I just
found out that jabref (open source bibref manager), freemind (open source mind
mapping tool) and maple are also dead.

I saw some pointer towards libxrandr but it seems that it is at it's latest
version.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c-xlib.lock' failed.

2007-05-05 Thread Micha Feigin
Since a recent upgrade to sid I've started getting this error whenever I try to
startup matlab. This seems to come from the java environment since disabling
java removes the error (but also the gui and the ability to open images).

I tried googling around and this comes up with relation to several programs and
seems to be linked to libxrandr or similar. Something with a bug in the lock
code. It's supposedly fixed in the git version of libxrandr but debian seems to
be using the latest version as far as I can tell.

Anyone knows what this is about, or more importantly, how to solve it?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Recent upgrade killed matlab

2007-05-01 Thread Micha Feigin
Recent upgrades of sid killed matlab 7 (sp2) for me. When I try to start it
with the jvm active (gui) I get the error:

MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c-xlib.lock' failed.
Aborted

Any idea what this is, is it solvable and whether it is a common problem or
only me ?

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: wireless - is it possible?

2007-04-28 Thread Micha Feigin
On Sat, 28 Apr 2007 23:24:35 +0200
Andreas Janssen [EMAIL PROTECTED] wrote:

 Default User ([EMAIL PROTECTED]) wrote:
 
  Easy question: has anyone been able to get any currently available
  wifi USB or PCMCIA adapter to work with a 2004 Toshiba Satellite
  M35X-S109 laptop (no built-in wifi), using Debian Etch?
  
  Very hard question: if so, how were you able to do it?
  
  I have tried a Netgear MA111 (v1?) USB adapter. I have only been able
  to get it to work out of the box with OpenBSD (any recent
  distribution), and Freespire 1.0.13 (before the switch to an Ubuntu
  base).
  
  I have also tried a Netgear WG111 (v2) adapter.  To date, it won't
  work out of the box with any of many non-M$ OSes tried.
 
 I think one of them uses a ralink chipset, which means that there is a
 driver available, however you need to compile and install it yourself
 (e.g. using module-assistant). The netgear wg511t pcmcia card also
 works, it uses an atheros chipset and runs with the madwifi driver.
 Packages are available in non-free, so you also need to build them
 using non-free. If you want to buy Netgear adapters, take a close look
 at the product name. An additional letter or number can mean that is
 uses a completely different chipset.
 

if its an ralink chipset than the following package may be the start (gets you
the source)
rt2x00-source
you would still need to compile it

zydass has a module in the kernel,  I don't know if it's compiled by default on
debian kernels though (zd1211 I think). You will need izd1211-firmware
package for the firmware, possibly zd1211-source if the sources are not compiled

It says that it supports:

  3COM 3CRUSB100756891:a727
  AOpen 802.11g WL54  07b8:6001
  iNexQ UR055g1435:0711
  Sitecom WL-113  0df6:9071
  Telegent TG54USB129b:1666
  TwinMOS G240126F:a006
  Yakumo QuickWLAN0b3b:1630
  Airlink+ AWLL3025   0ace:1211
  Zyxel ZyAIR G-220   0586:3401
  X-Micro XWL-11GUZX  0ace:1211
  Edimax EW-7317UG0ace:1211
  Safecom SWLU-5400   07b8:6001
  Longshine LCS-8131G 07b8:6001
  Planet WL-U356  0ace:1211
  Sweex wireless 54MB 5173:1809
  Acer WLAN-G-US1 0ace:1211
  Trendnet TEW-424UB  0ace:1211
  DrayTek Vigor 550   0675:0550
  Asus WL-159g0b05:170c
  Trust NW-3100

I have a ralink rt73 based dongle by level one but this one gives quite a bit
of trouble about which driver it will accept (rt2x00 doesn't work, the legacy
rt73 does, but only the new versions)

 regards
 Andreas Janssen
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GCC compiler

2007-04-28 Thread Micha Feigin
On Sat, 28 Apr 2007 22:20:08 -0300
Iuri Sampaio [EMAIL PROTECTED] wrote:

 Hi,
 
  
 
 I tried to compile a C source code, using make command:
 
  
 
 The Makefile script is: 
 
  
 
 BINDIR = ./
 
 LIBDIR = /foo/im/lib/Linux24
 
 INCLUDE = /foo/im/include
 
  
 
 CC = gcc
 
 CFLAGS = -g -I$(INCLUDE)
 
 LIBS = $(LIBDIR)/libim.a $(LIBDIR)/libim.so \
 -lm -L/usr/X11R6/lib -lX11

You are linking against libim twice, once static and once dynamic, what you may
mean is

LIBS = -L$(LIBDIR) -lim -lm -L/usr/X11R6/lib -lX11

 
  
 
 OBJS = rotation.c
 
 BIN = rotation
 
  
 
 $(BIN): $(OBJS)
 
 $(CC) $(CFLAGS) -o $(BIN) $(OBJS) $(LIBS)
 
  
 
 install: $(BIN)
 
 mv $(BIN) $(BINDIR)
 
  
 
 clean:
 
 rm -f $(BIN) *.o *~
 
  
 
  
 
  
 
 but then I got this error message when I run make
 
  
 
 [EMAIL PROTECTED]:~/mat056/AULA28.03.07$ make
 
 gcc -g -I../im2_6_linux24/im/include/ -o quantizacao quantizacao.c
 ../im2_6_Linux24/im/lib/Linux24/libim.a
 ../im2_6_Linux24/im/lib/Linux24/libim.so -lm -L/u\
 
 sr/X11R6/lib -lX11
 
 quantizacao.c:1:16: error: im.h: No such file or directory
 
 quantizacao.c: In function 'main':
 
 quantizacao.c:12: warning: incompatible implicit declaration of built-in
 function 'malloc'
 

Seems like you are not including stdlib.h so malloc is not defined

 quantizacao.c:22: error: 'IM_TIF' undeclared (first use in this function)
 
 quantizacao.c:22: error: (Each undeclared identifier is reported only once
 
 quantizacao.c:22: error: for each function it appears in.)
 
 make: *** [quantizacao] Error 1
 
 HYPERLINK
 mailto:[EMAIL PROTECTED]:~/mat056/AULA28.03.07$[EMAIL 
 PROTECTED]:~/mat056/AULA28.03.
 07$
 
 I can see it’s missing the im.h of my gcc lib. Does anyone know how to solve
 this problem? Even apt-get any lib that has im.h?
 

what is im.h supposed to be a part of? If you don't know, than where did you
get the code and what's its intent?

There is no debian package that contains im.h or libim.a or libim.so
Only reference I found is national language support for AIX which is a
proprietary UNIX by IBM

  
 
 Regards,
 
 iuri sampaio
 
 
 No virus found in this outgoing message.
 Checked by AVG Free Edition. 
 Version: 7.5.467 / Virus Database: 269.6.1/778 - Release Date: 4/27/2007
 1:39 PM
  



Re: dnsmasq in debian

2007-04-15 Thread Micha Feigin
On Sun, 15 Apr 2007 16:27:48 -0500
Andrew Bassett [EMAIL PROTECTED] wrote:

 On 4/15/07, Jochen Schulz [EMAIL PROTECTED] wrote:
 
  Gunnar Björkdahl:
  
   I'm trying to setup dnsmasq on my LAN. I configured the adresses in
   /etc/hosts and I can ping them fine. But I am unable to ping the outside
   world. What have I done wrong or missed?
 
  There is no way to know. You didn't tell us what you wanted to use
  dnsmasq for (DNS, DHCP?), how you configured it and what error message
  you got.
 
  J.
  --
 
 
 Could you post the ouput of cat /etc/resolv.conf?
 
 Also, how did you configure your LAN? Did you set up a box to act as a
 router with 2 NICs?
 

Also, can you ping the outside world from the server (the one running dnsmasq)?

 



Help compiling source package (autoconf) - AM_SANITY_CHECK not found

2007-04-07 Thread Micha Feigin
I am trying to compile ImageMagick from source (trying to cross compile it
actually with mingw, but I have the same problem with native compilation).
Configure runs file, but that when I try to do make I get the error:

configuring ImageMagick 6.3.3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 2120: AM_SANITY_CHECK: command not found
./configure: line 2122: syntax error near unexpected token 
`$PACKAGE_NAME,${PACKAGE_VERSION}${PACKAGE_VERSION_ADDENDUM},http://www.imagemagick.org'
./configure: line 2122: 
`AM_INIT_AUTOMAKE($PACKAGE_NAME,${PACKAGE_VERSION}${PACKAGE_VERSION_ADDENDUM},http://www.imagemagick.org)'

I found some reference to m4_pattern_allow but nothing on how to use it and
couldn't find anything about this on google.

Any ideas on what I'm missing (tried to look at the aptitude package list but
nothing seemed relevant).

Thanks


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Help compiling source package (autoconf) - AM_SANITY_CHECK not found

2007-04-07 Thread Micha Feigin
On Sat, 07 Apr 2007 08:51:45 -0400
Greg Folkert [EMAIL PROTECTED] wrote:

 On Sat, 2007-04-07 at 15:44 +0300, Micha Feigin wrote:
  I am trying to compile ImageMagick from source (trying to cross compile it
  actually with mingw, but I have the same problem with native compilation).
  Configure runs file, but that when I try to do make I get the error:
  
  configuring ImageMagick 6.3.3
  checking build system type... i686-pc-linux-gnu
  checking host system type... i686-pc-linux-gnu
  checking target system type... i686-pc-linux-gnu
  ./configure: line 2120: AM_SANITY_CHECK: command not found
  ./configure: line 2122: syntax error near unexpected token
  `$PACKAGE_NAME,${PACKAGE_VERSION}${PACKAGE_VERSION_ADDENDUM},http://www.imagemagick.org'
   ./configure:
  line 2122:
  `AM_INIT_AUTOMAKE($PACKAGE_NAME,${PACKAGE_VERSION}${PACKAGE_VERSION_ADDENDUM},http://www.imagemagick.org)'
  
  I found some reference to m4_pattern_allow but nothing on how to use it and
  couldn't find anything about this on google.
  
  Any ideas on what I'm missing (tried to look at the aptitude package list
  but nothing seemed relevant).
 
 You might want to check for a different version of autoconf, automake
 etc...
 
 You might not have automake installed or maybe one that doesn't have:
 usr/share/aclocal-1.10/sanity.m4

I checked, I have both usr/share/aclocal-1.10/sanity.m4 and
usr/share/aclocal-1.9/sanity.m4

I looked in the config file and nothing seems to call that or autoconfig
directly

 
 in it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: [OT] Graphics programming

2007-04-05 Thread Micha Feigin
On Thu, 5 Apr 2007 12:26:32 -0400
Roberto C. Sánchez [EMAIL PROTECTED] wrote:

 On Thu, Apr 05, 2007 at 01:51:03PM +0200, Jan Willem Stumpel wrote:
  I would like to try some simple graphics programming on Linux --
  plotting points, lines, and arcs to a window, filling areas with
  colour, etc. Preferably with a C interface, something like what
  you could do with Turbo C on DOS in the 1980's.
  
  What would be the easiest system to do this? Should I learn Java?
  Or something else?
  
 Personally, I would recommend wxWidgets.  However, it is C++ and not C.
 The reason I say that is because it then makes your programs portable
 and learning wxWidgets is no more difficult than Xlib or any other lower
 level drawing library.
 

I like wxWidgets also. It will also make your programs portable to windows with
little or no modifications (if that is an issue).

For drawing lines and graphs and such look into plplot. It has a plplot driver

It takes some work to get a full program running, so it's more useful if you'll
want to get real programs going and not just play around.

For simple playing around, python may be easier (although personally, for real
projects I feel c/c++ is better). BTW, there are also bindings for using wx
with python

Fortran is nice but mostly for mathematical  work
 Regards,
 
 -Roberto



Re: Mach64 - Etch - Xorg DRI

2007-04-01 Thread Micha Feigin
On Sun, 01 Apr 2007 18:31:48 -0400
cga2000 [EMAIL PROTECTED] wrote:

 On Sun, Apr 01, 2007 at 06:01:56PM EDT, Mark Grieveson wrote:
  On Sun, 2007-04-01 at 13:01 -0400, cga2000 wrote:
   Has anybody gotten direct rendering to work with the legacy mach64
   Rage Pro Mobility card .. with the etch version of Xorg?
   
   The ATI web site does not provide drivers for this antique so I'll
   have to use the one that's provided with Xorg.
   
   $ lspci
   
   [..]  ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 64) 
  
  I did manage to get this working with a former linux kernel image of
  Etch, but I've had no luck with the more recent kernel image of Etch.
 
 Would that be 2.4.27?  
 
 That's what I'm running on sarge.
 
  Anyway, how I did get it working was by installing a driver from
  http://dri.freedesktop.org/snapshots/
  
  Specifically, I installed this:
  
  http://dri.freedesktop.org/snapshots/mach64-20060403-linux.i386.tar.bz2
  
  It has an easy to use install script.
 
 Sounds familiar .. I remember running a script that made everything
 very simple.  
 
 But I need a recent 2.6 kernel in etch for other purposes.
 
 Currently, I'm at 2.6.20.
 

I don't think that the old snapshot still compiles (it's very old). The new
driver available through git access is too new for the X drivers provided with
etch (or sid). They require also build X or at least mesa from source.

When debian finally catches up it will be possible again.

 Thanks much,
 cga
 
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



<    1   2   3   4   5   6   7   8   9   10   >