Re: Suggestions for diagramming software

2007-08-15 Thread Amit Uttamchandani
Thanks!

Dia seems like a good choice. Quite simple and lightweight.

Amit


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



Re: Controlling Syslog Rollovers

2007-08-15 Thread Liam O'Toole
On Tue, 14 Aug 2007 21:15:04 -0500
Martin McCormick <[EMAIL PROTECTED]> wrote:

>   Is it possible to tell syslogd under what conditions to
> roll over each syslog file? Under FreeBSD, for example, there is
> a file called newsyslog.conf which lets one tellsyslogd to start
> a new syslog file at Midnight or some other designated hour
> instead of just waiting until the log file has X bytes in it and
> then rolling it over.
> 
>   I would like to do that same thing on all the Debian
> systems I run. Am I just missing the right documentation or is
> there no way to do that through the stock syslogd?

See the files in the /etc/logrotate.d directory, and the logrotate man
page, for details of how to adjust the rotation policy.

-- 

Liam


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



Re: Confused about kernel source location

2007-08-15 Thread Liam O'Toole
On Wed, 15 Aug 2007 10:36:52 +0900
Takehiko Abe <[EMAIL PROTECTED]> wrote:

> Frank McCormick wrote:
> 
>  >>> Well, I always store there all the sources related with my
>  >>> kernel, modules, etc... I haven't get any problem... BTW,
>  >>> remember doing the symlink to /usr/src/linux from your
>  >>> kernel-source.
>  >>
>  >> Well then why the warning from the Kernel developers? And what's
>  >> this about symlinking? Symlinking what to what ?
> 
> I don't know why. but the kernel package readme
> (/usr/share/doc/kernel-package/README.gz) also suggests not to build
> the kernel there. Also the Filesystem Hierarchy Standard (FHS) says
> that source code may be placed under /usr/src "only for reference
> purposes" and "should not be build within". Again I don't understand
> why exactly.

[...]

The idea is that /usr should be kept read-only. Some administrators
even mount /usr read-only on its own partition.

-- 

Liam


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



Re: Font Smoothing in Xterm

2007-08-15 Thread Jochen Schulz
Amit Uttamchandani:
>> Xft.antialias: 1
>> Xft.dpi: 93
>> Xft.hinting: 1
>> Xft.hintstyle: hintfull
>> Xft.rgba: rgb
>> 
> Thank you for your suggestions. I will try this out. I am by the way using DWM
> for my window manager and I have an .Xdefaults file with some xterm font
> settings. Should I put your config there or in a separate .Xresources file?

No, Xdefaults should be fine if you are already using it.

J.
-- 
All participation is a myth.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Suggestions for diagramming software

2007-08-15 Thread Kamaraju S Kusumanchi
Amit Uttamchandani wrote:

> Hey Guys,
> 
> I am Engineering student and I currently use latex and such to create my
> reports. I just recently switched to Debian from Mac OS X. However, I was
> looking for a good diagramming software for Linux. I heard of Xcircuit but
> I was looking for something with a little less learning curve.
> 
> Other than xcircuit, any other diagramming software that you guys
> use/suggest. It doesn't have to specifically be related to engineering and
> could simply be a software that draws block diagrams and etc. Just like
> Visio or OmniGraffle on the Mac.

You might want to check out texmacs, xfig. xfig produces nice .fig which
which can be exported to .ps and then be included in your latex files. With
texmacs, you can typeset the documents (just like latex) and it comes with
its own diagram drawing tools. If you have some greek symbols,
superscripts, subscripts in your diagram, then I am pretty sure you will be
much more better off with texmacs than dia, xfig.

hth
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


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



view the exit status from command line

2007-08-15 Thread Kamaraju Kusumanchi
Let's say I run a command in bash which is  run via konsole. How can I view its 
exit status.

For example, if I do

$test -x debian/rules

I want to know if the command exited with status zero or non-zero. Can this be 
done in a simple way?

thank for any suggestions
raju

--
Finally - A spam blocker that actually works.
http://www.bluebottle.com/tag/4


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



live Debian on USB stick

2007-08-15 Thread Gerard Robin

Hello,
I installed knoppix on my USB stick and it runs fine but it's too big
~ 600 Mb. There are too many packages.
Is there a Debian dist, not as big as knoppix, that I can put on my USB stick ?

tia
--
Gérard



Re: view the exit status from command line

2007-08-15 Thread Glennie Vignarajah
Le Wednesday 15 August 2007, Kamaraju Kusumanchi(Kamaraju Kusumanchi 
<[EMAIL PROTECTED]>) a écrit:

Hi,

> Let's say I run a command in bash which is  run via konsole. How
> can I view its exit status.
>
> For example, if I do
>
> $test -x debian/rules

try:
test -x debian/rules ; echo $?
HTH,

-- 
Glennie Vignarajah
http://www.glennie.fr
An undefined problem has an infinite number of solutions.


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



Re: Command touch and irregular file names

2007-08-15 Thread Brian Dessent
- Tong - wrote:

> In my script I have
> 
>  touch -r "$file1" "$file2"
> 
> the file1/2 can be anything file, ../path/file, /root/file, etc.
> 
> The problem is when file1/2 are irregular file names. E.g., -test.file1/2.
> 
> I.e., anyway to make the following touch command works?
> 
>  $ touch -r "-test.file1" "-test.file2"
>  touch: invalid date format `est.file2'

You can do:

$ touch -r ./-test.file1 -- -test.file2

If you want to automate this from the script I suppose you could try
something like:

touch -r "$(readlink -f -- "$file1")" -- "$file2"

That is, express file1 with a full pathname, and -- should work for
$file2 since it is a non-option argument.

> I think if the touch command uses the standard gnu getopt lib, then
> the above code should work, shouldn't it?

I don't think it should.  It would require much more context for a
generic options parser to speculatively treat certain groupings of
options as filenames, test for existance of those files, and change
behavior dynamically.  That kind of thing would be rife with corner
cases, unexpected outcomes (e.g. -file names a filename that's not
supposed to exist), maintenance nightmares, etc.

Brian


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



Re: a crazy connectivity issue. unable to ping anything

2007-08-15 Thread Jude DaShiell
apache needs setting up and that's beyond just installing it.  It's also 
not trivial.  That 0 carrier line in each of your interface read outs 
means you're not getting out on that interface.  If you intend to run a 
web server on your local box and are allowed to run a web server on your 
local box by your internet service provider then apache is appropriate. 
If you're not permitted to run a web server by your internet service 
provider, your provider could have terminated your connection and will 
continue to block it until the offending apache software has been removed 
from your system and it gets rebooted.





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




Re: human engine ?

2007-08-15 Thread Krzysztof Lubański
Hi.

On Tue, 2007-08-14 at 21:39 -0500, lostson wrote:
>  Is it possible to get the human style and engine on Debian ? I have
> been googling trying to find an answer with no luck.

The quick and dirty way is to install the packages from Ubuntu Feisty:

https://launchpad.net/ubuntu/feisty

Look for these:
  * human-theme
  * human-icon-theme
  * human-cursors-theme

Works smoothly for me on Lenny.

> Or maybe the glossy
> theme but I think that is included in gnome 2.18. I really like both of
> those styles and am curious if this is possible, thanks.

Right, Glossy is included in gnome-themes package in testing and
unstable. I tried to put it into an Etch installation recently, just for
eye-candy, though without luck. Probably because it requires newer GTK2
engines (>= 2.9). Anyone managed to use it?

-- 
Regards,
Krzysztof Lubanski



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



Re: Suggestions for diagramming software

2007-08-15 Thread Jude DaShiell
hierarchy input output charts and no extra software for diagramming not 
necessary.  To support that, interface specifications at the top of each 
module containing corresponding tags used in hierarchy input output 
charts.  I find data flow diagrams too visual and their symbols don't come 
out well on typewriters.




On Tue, 14 Aug 2007, Jeff D wrote:


On Wed, 15 Aug 2007, Amit Uttamchandani wrote:


 Hey Guys,

 I am Engineering student and I currently use latex and such to create my
 reports. I just recently switched to Debian from Mac OS X. However, I was
 looking for a good diagramming software for Linux. I heard of Xcircuit but
 I was
 looking for something with a little less learning curve.

 Other than xcircuit, any other diagramming software that you guys
 use/suggest.
 It doesn't have to specifically be related to engineering and could simply
 be a
 software that draws block diagrams and etc. Just like Visio or OmniGraffle
 on
 the Mac.

 Thanks,
 Amit



you might want to check out dia.  It does diagrams and is pretty easy to use.


-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred 
Techno.



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





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




Re: New hard drive problem

2007-08-15 Thread Florian Kulzer
On Wed, Aug 15, 2007 at 00:04:43 -0400, William Walter wrote:
> >On Sun, Aug 12, 2007 at 13:56:21 -0400, William Walter wrote:
> > The problem resurfaced again today. The same error message came up and
> > Debian Etch refuse to boot up.
> > I used UUID of all the hard drives. Still no luck in fixing this problem.
> Is
> > there anything else I should
> > do?
> >
> >>Florian Kulzer wrote:
> >> Where did you put the UUIDs? Both into /etc/fstab and into
> >> /boot/grub/menu.lst?
> 
> Okay. Now i've changed the entry in menu.lst to use UUID.
> There's no sign of booting problem for now. Thanks for
> pointing that out.
> 
> >> Did you update your initrd after making the
> >> changes?
> 
> How can I do that?

If you are using a stock Debian kernel or a self-compiled kernel built
with make_kpkg then you can simply run "dpkg-reconfigure" on your kernel
image, i.e.

dpkg-reconfigure linux-image-$(uname -r)

This will take care of the initrd automatically. (The "$(uname -r)" part
expands into the version string of your currently running kernel.)

You can also call the initrd generator directly, "mkinitrd" or "yaird";
see the manpages for details. (The default for Debian is to use
mkinitrd, I think.)

Right now it looks like you don't have to do anything to the initrd. I
just mentioned it for the sake of completeness: If boot problems persist
even after fixing /etc/fstab and /boot/grub/menu.lst then the initrd is
the next thing to check since it also contains information about the
location of the root partition.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



NAS drive will not mount

2007-08-15 Thread Chris Boyd
Debian-4.0r0 Etch. I'm attempted to mount a NAS drive with cifs file system.
I'm getting the following error:
 
mount -t cifs //10.133.1.19/hdd_2/IT /nas
mount: wrong fs type, bad option, bad superblock on //10.133.1.19/hdd_2/IT,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so
I then try dmesg and get the following:
 
CIFS VFS: cifs_mount failed w/return code = -22
 
I've also tried mounting with smbfs and get the same message, dmesg:
 
smb_fill_super: missing data argument

 
 
 

-
This email message is intended only for the addressee(s) 
and contains information that may be confidential and/or 
copyrighted.  If you are not the intended recipient please 
notify the sender by reply email and immediately delete 
this email. Use, disclosure or reproduction of this email 
by anyone other than the intended recipient(s) is strictly 
prohibited. USIT has scanned this email for viruses and 
dangerous content and believes it to be clean. However, 
virus scanning is ultimately the responsibility of the recipient.
-
USIT Ireland Ltd. Company No. 377526. Registered Office 19/21 Aston Quay Dublin 
2.

Re: Font Smoothing in Xterm

2007-08-15 Thread Amit
Ok I tried putting it in .Xdefaults. This is my current .Xdefaults:

xterm*background: black
xterm*foreground: white 
xterm*cursorColor: SkyBlue
xterm*font: -bitstream-bitstream vera sans mono-medium-r-normal-
*-14-*-*-*-*-*-*-*
xterm*ScrollBar: off
xterm*SaveLines: 2500 
Xft.antialias: 1
Xft.dpi: 93
Xft.hinting: 1
Xft.hintstyle: hintfull
Xft.rgba: rgb


No change in xterm but GTK apps have changes. The menubar fonts in firefox, for
example, are smaller.

Amit


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



Re: Font Smoothing in Xterm

2007-08-15 Thread Liam O'Toole
On Wed, 15 Aug 2007 10:04:09 + (UTC)
Amit <[EMAIL PROTECTED]> wrote:

> Ok I tried putting it in .Xdefaults. This is my current .Xdefaults:
> 
> xterm*background: black
> xterm*foreground: white 
> xterm*cursorColor: SkyBlue
> xterm*font: -bitstream-bitstream vera sans mono-medium-r-normal-
> *-14-*-*-*-*-*-*-*
> xterm*ScrollBar: off
> xterm*SaveLines: 2500 
> Xft.antialias: 1
> Xft.dpi: 93
> Xft.hinting: 1
> Xft.hintstyle: hintfull
> Xft.rgba: rgb
> 
> 
> No change in xterm but GTK apps have changes. The menubar fonts in
> firefox, for example, are smaller.
> 
> Amit

The change in font size is due to the value of 'Xft.dpi'. Try 96
instead of 93.

You need to specify a truetype font using the 'faceName' resource, not
'font'. So the relevant lines would be:

XTerm*faceName: BitStream Vera Sans Mono
XTerm*faceSize: 10

You can test the values beforehand by supply them on the command line,
e.g.,

xterm -fa 'Bitstream Vera Sans Mono' -fs 10 &

See the xterm man page for further details.

-- 

Liam


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



Re: source code installation

2007-08-15 Thread YH
Thanks Florian. I followed your instruction, but got following result. 
I've tried both with CD and without CD in the driver, but the same result.


# apt-get install openoffice.org
Reading package lists... Done
Building dependency tree... Done
Package openoffice.org is not available, but is referred to by another 
package.

This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  ttf-opensymbol openoffice.org-common openoffice.org-core
E: Package openoffice.org has no installation candidate

I do have a CD with all deb packages in 
/media/cdrom0/pool/main/o/openoffice.org/

openoffice.org-base_2.0.4.dfsg.2-5etch1_i386.deb
openoffice.org-common_2.0.4.dfsg.2-5etch1_all.deb
openoffice.org-core_2.0.4.dfsg.2-5etch1_i386.deb
openoffice.org-evolution_2.0.4.dfsg.2-5etch1_i386.deb
openoffice.org-java-common_2.0.4.dfsg.2-5etch1_all.deb
ttf-opensymbol_2.0.4.dfsg.2-5etch1_all.deb

How should I install them and which one I should install?

Thank you.

Jim

Florian Kulzer wrote:

On Sun, Aug 12, 2007 at 16:18:43 +1000, jupiter DOT hce AT gmail DOT com wrote:


Hi,

I've installed Debian 4.0 from a CD, just found that the installation does 
not let me to select applications. Mow I have to install an application 
from the CD (I don't have a network connection, a win modem has not worked 
yet ...)


1. Which openoffice in the CD I should install? Is the command like:

apt-get install openoffice

from /mnt/cdrom/debian/pool/main/o/openoffice.org?



Just run

apt-get install openoffice.org

Apt will tell you which CD you have to insert. This requires that apt
scanned all your CDs earlier. If you did not do this during installation
then you can use the "apt-cdrom" command to do it at any time.



2. I need to install some lib source code to build win modem code
Now I have to remove all games (as I've got limited space), how can I do 
it?


3. Due to limited space, I need to remove some packages I don't need such 
as games, how do I know which package I installed are for games?



With aptitude you can do searches like this:

aptitude search '~i(~sgames|~Ggame)'

This will list all installed (~i) packages which belong to the "games"
section (~sgames) or (|) which have the string "game" in one of their
debtags (~Ggame).

You can uninstall all these packages with one fell blow by replacing
"search" with "remove" in the command above. If you want to have a bit
more control over what is going on then you can use aptitude in
interactive mode, look at "Installed Packages > games" and decide
yourself which ones you want to remove.




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




Re: can not launch any window manager

2007-08-15 Thread Joachim Fahnenmüller
Hi Thomas

On Tue, Aug 14, 2007 at 01:02:02AM -0400, B Thomas wrote:
> Hi,
> 
> I am using Debian/Etch. My system crashed while using gnome and
> imagemagick. After a hard reboot I find I am unable to launch
> any window manager (be it kde gnome or fvwm).

How do you (or did you) launch your X session? Using a display manager (xdm,
gdm, ...) or from the command line with startx?

> All I see
> is a grey background with a functioning cursor. No matter
> what I put in my ~/.xinitrc this is the result. This doesn't
> seem to be a hardware problem as I replaced the video card
> and it made no difference. Besides if I boot from a live
> linux cd (INSERT security/rescue toolkit) the window manager
> works just fine. 
> 
> I even tried putting in older video cards lying
> around (first ATI Rage pro  and now Matorx G200).
> Also I  reinstalled the x-window-system*
> and x11proto* packages (of Debian/Etch). I have
> made no cutomisations to the Xwindows system or
> the Window Managers. This is a standard Debian/Etch
> official distribution.
> 
> Would be grateful for any suggestions you can make. 
> 
> regards
> thomas

regards
-- 
Joachim Fahnenmüller


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



Re: a crazy connectivity issue. unable to ping anything

2007-08-15 Thread Joachim Fahnenmüller
Hi Michael

On Tue, Aug 14, 2007 at 07:17:46PM -0400, Michael Habashy wrote:
> Hi -i got a crazy connectivity issue on my hands.
> THis machine was running fine for about a month or so --then i lost
> connectivity.
> I have no errors to tell me what is going on.
> i have switched the built-in nic on the motherboard and the hub ports
> --there are other devices that working fine.
> I have disabled a lot of services..and trying to get bear vinalla as
> possible.
> I can not ping to any other host..then just my local interface.
> THe last things done were to install courier-imap and courier-ssl.
> i was sending an email  to the box..and bam..there is notthing there..
> 
> the interfaces initialize just fine..but do not talk to anythhign...i have
> apache and other apps running..and their ports are open..just not talking to
> anyone outside the box...and yes..there is no iptables or ipchains..
> I am running out of options..and do not want to rebuild box...so help!!
> here are the ifconfig and netstat:
> 
> 
> eth0  Link encap:Ethernet  HWaddr 00:E0:81:74:60:6A
>   inet addr:192.168.2.22  Bcast:192.168.2.255  Mask:255.255.255.0
>   inet6 addr: fe80::2e0:81ff:fe74:606a/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:86 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:6985 (6.8 KiB)  TX bytes:9962 (9.7 KiB)
>   Interrupt:50
> 
> eth1  Link encap:Ethernet  HWaddr 00:E0:81:74:60:6B
>   inet addr:192.168.2.12  Bcast:192.168.2.255  Mask:255.255.255.0
>   UP BROADCAST MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>   Interrupt:58 Base address:0x2000
> 
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   inet6 addr: ::1/128 Scope:Host
>   UP LOOPBACK RUNNING  MTU:16436  Metric:1
>   RX packets:139 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:10919 (10.6 KiB)  TX bytes:10919 (10.6 KiB)
> 
> sit0  Link encap:IPv6-in-IPv4
>   NOARP  MTU:1480  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
>  Kernel IP routing table
> Destination Gateway Genmask Flags   MSS Window  irtt
> Iface
> 192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
> eth0
> 192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
> eth1
> 0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
> eth1
> 0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
> eth0

192.168.2.1 _is_ your gateway, right?
You have routes to the same destinations using different interfaces. To which
interface (eth0 or eth1) is the gateway connected? What is connected to the
other one?

If the gw is connected to eth0, try 
route del 0.0.0.0 eth1
(or vice versa).

Post your /etc/network/interfaces file.

HTH
-- 
Joachim Fahnenmüller


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



Re: photo album or photo viewer in xfce

2007-08-15 Thread Joachim Fahnenmüller
Hi Peter,

On Tue, Aug 14, 2007 at 07:46:21PM -0700, PETER EASTHOPE wrote:
> 
> Folk,
> 
> Can anyone recommend a package or application for 
> efficient viewing of photos in xfce?  I installed showfoto 
> in one system; it invokes many dependencies.
> 
> Thanks,  ... Peter E.

I use gqview and am happy with it.

regards
-- 
Joachim Fahnenmüller


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



Re: view the exit status from command line

2007-08-15 Thread Joachim Fahnenmüller
Hi Kamaraju

On Wed, Aug 15, 2007 at 12:51:06AM -0700, Kamaraju Kusumanchi wrote:
> Let's say I run a command in bash which is  run via konsole. How can I view 
> its exit status.
> 
> For example, if I do
> 
> $test -x debian/rules
> 
> I want to know if the command exited with status zero or non-zero. Can this 
> be done in a simple way?

$test -x debian/rules; echo $?

man bash:
 Special Parameters
 (...)
  ?  Expands to the status of the most recently executed foreground
  pipeline.

> 
> thank for any suggestions
> raju
> 

HTH
-- 
Joachim Fahnenmüller


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



Re: Suggestions for diagramming software

2007-08-15 Thread J.A. de Vries
On 2007-08-15 @ 01:39:48 (week 33) Amit Uttamchandani wrote:

> Hey Guys,
> 
> I am Engineering student and I currently use latex and such to create my
> reports. I just recently switched to Debian from Mac OS X. However, I was
> looking for a good diagramming software for Linux. I heard of Xcircuit but I 
> was
> looking for something with a little less learning curve.
> 
> Other than xcircuit, any other diagramming software that you guys use/suggest.
> It doesn't have to specifically be related to engineering and could simply be 
> a
> software that draws block diagrams and etc. Just like Visio or OmniGraffle on
> the Mac.

You might want to take a look at kivio or dia.

HTH

Grx HdV


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



display file name on xterm title

2007-08-15 Thread YH

Hi,

Does anyone know the script to display a filename on xterm title while 
editing by vim? How to assign the filename to PS1?


Thank you.

Jim


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




Re: less, exit but left content on screen

2007-08-15 Thread Ralph Katz
On 08/14/2007 06:08 PM, Thomas Dickey wrote:
> Ralph Katz <[EMAIL PROTECTED]> wrote:
> 
>> aterm is also a very nice replacement to xterm because it uses so little
>> memory.  (The 3 aterm windows I have up right now show RSS of 2404,
>> 2448, and 2464 in output from ps aux.)
> 
> There are several variables.  For instance, the scrollback size affects
> the RSS.  To see the effect, I started "aterm -sl 24", "xterm -sl 24".
> 
> This is what I saw (for just those two processes, of course):
> 
> F   UID   PID  PPID PRI  NIVSZ   RSS WCHAN  STAT TTYTIME COMMAND
> 0  1001  6494  6493  15   0   9744  3040 -  S+   pts/1  0:00 aterm 
> -sl 24
> 0  1001  6516  6515  15   0   5788  2852 -  S+   pts/1  0:00 xterm 
> -sl 24
> 

Curious!  I haven't had xterm installed now for some time, so I'm going
from memory.  Main reason I chose aterm was for the smaller footprint.
At the moment I have 2 aterms running that would suggest more than
scrollback buffer size are factors in RSS:

$ ps aux |grep aterm
ralph 2899  0.0  0.9   5956  2360 ?S08:05   0:00 aterm
-tn xterm -sl 5000 -geometry +0-25
ralph 2900  0.0  0.9   5956  2412 ?S08:05   0:00 aterm
-tr -trsb -rv -sl 100 -sh 95 -geometry +700-350 -e tail -f /var/log/auth.log
ralph 3064  0.0  0.2   1956   640 pts/1R+   08:10   0:00 grep aterm
$

Anyway, this is OT (my fault), so did aterm solve your original question
about leaving output from 'less' onscreen after exiting?

Regards,
Ralph


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



Re: source code installation

2007-08-15 Thread Florian Kulzer
[ Your "top-posting" style of replying makes it harder for other people
  to join the discussion since they have to do quite some scrolling up
  and down to understand the context, especially if a certain topic has
  already received many messages. The recommended approach on this
  list is to put answers into the old text at the appropriate place
  while trimming the old text where possible. Ideally, every message
  should be a short "story" with all the relevant context in
  chronological order. ]

On Wed, Aug 15, 2007 at 20:39:57 +1000, YH wrote:
> Thanks Florian. I followed your instruction, but got following result. I've 
> tried both with CD and without CD in the driver, but the same result.
>
> # apt-get install openoffice.org
> Reading package lists... Done
> Building dependency tree... Done
> Package openoffice.org is not available, but is referred to by another 
> package.
> This may mean that the package is missing, has been obsoleted, or
> is only available from another source
> However the following packages replace it:
>   ttf-opensymbol openoffice.org-common openoffice.org-core
> E: Package openoffice.org has no installation candidate
>
> I do have a CD with all deb packages in 
> /media/cdrom0/pool/main/o/openoffice.org/
> openoffice.org-base_2.0.4.dfsg.2-5etch1_i386.deb
> openoffice.org-common_2.0.4.dfsg.2-5etch1_all.deb
> openoffice.org-core_2.0.4.dfsg.2-5etch1_i386.deb
> openoffice.org-evolution_2.0.4.dfsg.2-5etch1_i386.deb
> openoffice.org-java-common_2.0.4.dfsg.2-5etch1_all.deb
> ttf-opensymbol_2.0.4.dfsg.2-5etch1_all.deb

More openoffice.org-* packages should be available. Which CD is this,
the first CD of the standard Etch 21 CD set?

> How should I install them and which one I should install?

"apt-get install openoffice.org" should have worked. I think we need to
have a quick look at your apt configuration. Please post the contents
of the file /etc/apt/sources.list from your system.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



Re: Samba + external drives

2007-08-15 Thread koffiejunkie

Ron Johnson wrote:

What if you FTP the file from the OSX box to the firewire drive on
the external drive?

That might narrow down the problem.


I'll give it a try tonight.  I suspect it will work :-)


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




Re: vim & kde questions SOLVED

2007-08-15 Thread Mark Neidorff
On Tuesday 14 August 2007 04:18 pm, Michael Shuler wrote:
> On 08/14/2007 03:06 PM, Magnus Pedersen wrote:
> > Mark Neidorff wrote:
> >> First...vim.  (Yeah, I'm old school)  OK.  I'm in text entry mode and
> >> I want to navagate up/down/left or right.  If I press an arrow key, a
> >> new line is opened and a character ("B" or "D" or ...) is put in the
> >> first position of that line.  If I switch to navagation mode, then the
> >> arrow keys work properly.  Am I dealing with a vim problem, a terminal
> >> problem or a keyboard mapping/character set problem?  Whichever it is,
> >> how do I solve it?
> >
> > Dunno, I don't see that kind of behavior from my Vim...
>
> When calling the default install of vim-tiny as 'vim ', I believe
> arrow-key navigation works, however, when calling as 'vi ', vim
> behaves as the old-school vi (h,j,k,l) and the use of arrow-keys will
> output control characters.
>
> dpkg -l vim* |grep ^ii
>
> Will likely only show vim-tiny installed.
>
> aptitude install vim
>
> Will get you the full-featured vim software and 'vi ' should work
> by default with arrow navigation.
>
> Kind Regards,
> Michael

Thanks.  That solved 2 annoyances.  Its too bad about the vim install.  
Another of those things about Etch that doesn't make sense to me.

Mark


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



Re: a crazy connectivity issue. unable to ping anything

2007-08-15 Thread Michael Habashy
On 8/15/07, Joachim Fahnenmüller <[EMAIL PROTECTED]> wrote:
>
> Hi Michael
>
> On Tue, Aug 14, 2007 at 07:17:46PM -0400, Michael Habashy wrote:
> > Hi -i got a crazy connectivity issue on my hands.
> > THis machine was running fine for about a month or so --then i lost
> > connectivity.
> > I have no errors to tell me what is going on.
> > i have switched the built-in nic on the motherboard and the hub ports
> > --there are other devices that working fine.
> > I have disabled a lot of services..and trying to get bear vinalla as
> > possible.
> > I can not ping to any other host..then just my local interface.
> > THe last things done were to install courier-imap and courier-ssl.
> > i was sending an email  to the box..and bam..there is notthing there..
> >
> > the interfaces initialize just fine..but do not talk to anythhign...i
> have
> > apache and other apps running..and their ports are open..just not
> talking to
> > anyone outside the box...and yes..there is no iptables or ipchains..
> > I am running out of options..and do not want to rebuild box...so
> help!!
> > here are the ifconfig and netstat:
> >
> >
> > eth0  Link encap:Ethernet  HWaddr 00:E0:81:74:60:6A
> >   inet addr:192.168.2.22  Bcast:192.168.2.255  Mask:
> 255.255.255.0
> >   inet6 addr: fe80::2e0:81ff:fe74:606a/64 Scope:Link
> >   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >   RX packets:86 errors:0 dropped:0 overruns:0 frame:0
> >   TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
> >   collisions:0 txqueuelen:1000
> >   RX bytes:6985 (6.8 KiB)  TX bytes:9962 (9.7 KiB)
> >   Interrupt:50
> >
> > eth1  Link encap:Ethernet  HWaddr 00:E0:81:74:60:6B
> >   inet addr:192.168.2.12  Bcast:192.168.2.255  Mask:
> 255.255.255.0
> >   UP BROADCAST MULTICAST  MTU:1500  Metric:1
> >   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >   collisions:0 txqueuelen:1000
> >   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >   Interrupt:58 Base address:0x2000
> >
> > loLink encap:Local Loopback
> >   inet addr:127.0.0.1  Mask:255.0.0.0
> >   inet6 addr: ::1/128 Scope:Host
> >   UP LOOPBACK RUNNING  MTU:16436  Metric:1
> >   RX packets:139 errors:0 dropped:0 overruns:0 frame:0
> >   TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
> >   collisions:0 txqueuelen:0
> >   RX bytes:10919 (10.6 KiB)  TX bytes:10919 (10.6 KiB)
> >
> > sit0  Link encap:IPv6-in-IPv4
> >   NOARP  MTU:1480  Metric:1
> >   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> >   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> >   collisions:0 txqueuelen:0
> >   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> >
> >  Kernel IP routing table
> > Destination Gateway Genmask Flags   MSS Window  irtt
> > Iface
> > 192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
> > eth0
> > 192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  0
> > eth1
> > 0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
> > eth1
> > 0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  0
> > eth0
>
> 192.168.2.1 _is_ your gateway, right?
> You have routes to the same destinations using different interfaces. To
> which
> interface (eth0 or eth1) is the gateway connected? What is connected to
> the
> other one?
>
> If the gw is connected to eth0, try
> route del 0.0.0.0 eth1
> (or vice versa).
>
> Post your /etc/network/interfaces file.
>
> HTH
> --
> Joachim Fahnenmüller
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


Thanks for getting back to me.
I have 2 nics on the motherboard.
I only have one connected to the network.
eth0 is the only active nic -nothing is connected to eth1 and it is disabled
in network-admin
What i found strange last night is that i have to manually add these 2 lines
to interfaces to make it work:
broadcast 192.168.2.255
network 192.168.2.0

this is very bizarre.
I furhter found lines added to my hosts file like 127.0.0.1 .(that i did not
add -and rem-ed out when i initiatley installed the box.
I will delete the route...but nothing is connected to the adapter.

my interfaces file is:

rider:~# more  /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
# auto eth0

iface eth0 inet static
address 192.168.2.22
netmask 255.255.255.0
gateway 192.168.2.1
broadcast 192.168.2.255
network 192.168.2.0

auto eth0

thanks again

mjh


Re: can't receive mail

2007-08-15 Thread Steve Kleene
On Tue, 14 Aug 2007 16:06:05 -0400, I wrote:
> At the moment, the Etch machine can send mail but not receive it.

On Tue, 14 Aug 2007 14:00:47 -0700 (PDT), Richard A Nelson replied:

> The default installation of sendmail only listens on localhost.

Yes, I had found a post that said just that but didn't say how to change it.

> Check /etc/mail/sendmail.mc for DAEMON_OPTIONS(.. lines, it likely contains
>   ', Addr=127.0.0.1'
> if it does, remove that string - leaving the rest of the line intact.
> then, `make -C /etc/mail`  to rebuild sendmail.cf
> lastly, /etc/init.d/sendmail restart

That worked.  I'm all set.  Thank you!


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



Re: shutdown

2007-08-15 Thread Nigel Henry
On Tuesday 14 August 2007 16:02, Mark Grieveson wrote:
> On Mon, 13 Aug 2007 01:00:13 + (UTC)
>
> [EMAIL PROTECTED] wrote:
> > I think it's more a kernel thingy, along with some hardware.
> >
> > Anyway. when you get Grubs menu, select the kernel you want to boot,
> > then press "a". Do one space, and add acpi=force to the kernel line,
> > then press "b" , and the appended kernel will boot. If when you
> > shutdown it all works ok, you can add acpi=force to your kernel lines
> > in /boot/grub/grub.conf, doing this of course as root on the CLI with
> > a text editor.
>
> Alas, it did not work.  The computer at my workplace, which also has
> Etch, does shutdown properly, though.  One difference between these
> computers was in the setup of them -- I installed the default desktop
> for the computer at work (which is also an older Pentium III), whereas I
> was more selective at home (not wishing to have all sorts of extraneous
> programs that I never use). I'm thinking there may be a package or two
> that did not get installed on my home computer that have made a
> difference. It's not that important, though, but, I appreciate all
> suggestions.
>
> Mark

Hi Mark. Sorry it didn't work. Did you try lacpi, and also lapic appended to 
the kernel line as well? Also the suggestions in that bug report link I 
provided.

The fact that your machine running Etch at work shuts down ok, but the one at 
home doesn't, is similar to my experience with Fedora core 5 which is on both 
of my machines. On the old Gateway P111 (katmai), FC5 shutsdown ok whichever 
kernel I boot with, but on the other machine, an Aiiifriend with 1.3Ghz 
celeron, FC5 shutsdown ok if I boot with the 2.6.15 kernel that was the one 
on the install disks, but if I boot with one of the later kernels, I have to 
append the kernel with acpi=force to get it to shutdown completely.

As I said also, someone else running FC6 on different hardware to me, found 
that appending the kernel line with lacpi worked for him.

All my Debian installs on the I-Friend machine that has the problem with FC5 
shutdown ok, although they all started off as Woody 3.0r2, and I have a bunch 
of older kernels on them. 2.4.27, 2.6.8, 2.6.11, and the latest on Etch, and 
Lenny is a 2.6.17 one. I'll have to try and get a later one for Etch, and 
Lenny, and see if I get shutdown problems. I say this because the point at 
which shutdown problems seem to start is somewhere between the 2.6.17, and 
the 2.6.18 kernel, and again, only on some hardware.

Do you have earlier kernels you could try (2.6.17, or earlier)? I don't think 
they are available anymore from the Etch repo, but it's worth a look. I only 
suggest this to perhaps verify that it is a kernel related problem, along 
with the hardware you have at home.

What does your dmesg output show regarding acpi? You should find the acpi 
stuff pretty near to the start of dmesg.

There are a big bunch of acpi related incantations you can append the kernel 
line with, but I can't remember them all off the top of my head.

That's all for now.

All the best.

Nigel.



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



Re: live Debian on USB stick

2007-08-15 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/15/07 03:30, Gerard Robin wrote:
> Hello,
> I installed knoppix on my USB stick and it runs fine but it's too big
> ~ 600 Mb. There are too many packages.

Buy a bigger USB stick?  They're not that expensive.

> Is there a Debian dist, not as big as knoppix, that I can put on my USB
> stick ?

How big is your USB stick?

- --
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)

iD8DBQFGwvsVS9HxQb37XmcRArHQAJ9qYsxLNIR9ky/IAdzI73IIAo2nEACgzizw
eRT4UzaUkQTMbV8cJ8p3sWQ=
=qtDd
-END PGP SIGNATURE-


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



Re: Suggestions for diagramming software

2007-08-15 Thread Gregory Seidman
On Wed, Aug 15, 2007 at 04:18:14AM -0400, Kamaraju S Kusumanchi wrote:
> Amit Uttamchandani wrote:
> > Hey Guys,
> > 
> > I am Engineering student and I currently use latex and such to create my
> > reports. I just recently switched to Debian from Mac OS X. However, I was
> > looking for a good diagramming software for Linux. I heard of Xcircuit but
> > I was looking for something with a little less learning curve.
> > 
> > Other than xcircuit, any other diagramming software that you guys
> > use/suggest. It doesn't have to specifically be related to engineering and
> > could simply be a software that draws block diagrams and etc. Just like
> > Visio or OmniGraffle on the Mac.
> 
> You might want to check out texmacs, xfig. xfig produces nice .fig which
> which can be exported to .ps and then be included in your latex files. With
> texmacs, you can typeset the documents (just like latex) and it comes with
> its own diagram drawing tools. If you have some greek symbols,
> superscripts, subscripts in your diagram, then I am pretty sure you will be
> much more better off with texmacs than dia, xfig.

I'll second the suggestion of xfig. I used it extensively when I was
writing papers and slides in LaTeX. The commandline tools that go along
with it (particularly fig2dev and pstoedit) make it very easy to import
existing diagrams (in any format you can print to postscript, though you
won't get much advantage out of doing that with raster files) into it and
export diagrams from it into any format. Add the PStricks LaTeX package and
you can really do some impressive stuff with it. I still use xfig for my
diagramming needs whenever possible.

> hth
> raju
--Greg


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



Re: Kicker eats memory in unstable

2007-08-15 Thread Henk Koster
On Tue, 14 Aug 2007 20:44:37 +0200, nicals wahlgren wrote:

> Unstable, amd64.
> Kicker, 3.5.7-2+b1, eats memory, after about 1h VmSize =1.5G, VmRss =
> 750M.
> 
> Anyone else got this problem?
> Ideas what to do?
> 
> System:
> Amd64x2 5600, 2G memory
> 
> /N

No, I don't have this problem -- running an AMD64 Sid system much like 
you do (Opteron 165, 2G mem, same Kicker version): up > 1 day, VmSize 
117.216, VmRss 6.832. 
No idea what's wrong, may be 'dpkg-reconfigure kicker' will help.


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



Re: view the exit status from command line

2007-08-15 Thread Kamaraju S Kusumanchi
Joachim Fahnenmüller wrote:

>> For example, if I do
>> 
>> $test -x debian/rules
>> 
>> I want to know if the command exited with status zero or non-zero. Can
>> this be done in a simple way?
> 
> $test -x debian/rules; echo $?
> 

Thanks. Exactly what I am after!

raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


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



Re: Controlling Syslog Rollovers

2007-08-15 Thread Martin McCormick
"Liam O'Toole" writes:
> See the files in the /etc/logrotate.d directory, and the logrotate man
> page, for details of how to adjust the rotation policy.

Thank you. I knew I must be using the wrong words for searching.


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



Re: display file name on xterm title

2007-08-15 Thread Mathias Brodala
Hi.

YH, 15.08.2007 13:48:
> Does anyone know the script to display a filename on xterm title while
> editing by vim?

Vim normally does this on its own so something’s broken if it doesn’t.

> How to assign the filename to PS1?

Huh? Why would you want this? There is no prompt while editing a file.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: bash vs. python scripts - which one is better?

2007-08-15 Thread Dan H
On Sat, 11 Aug 2007 00:52:18 -
BartlebyScrivener <[EMAIL PROTECTED]> wrote:

> from http://docs.python.org/tut/node3.html
>
> If you're a professional software developer, you may have to work
> with several C/C++/Java libraries but find the usual
> write/compile/test/re- compile cycle is too slow.

This I don't understand. My cycle goes like this: Muck around in source code, 
flick to xterm, press   and see the result. The  of course just 
invokes the last command which is always either "./script" or "make && 
./program". For not-too-big C programs (say, a couple k lines) the make step 
doesn't take up appreciable time, so the write/test cycle is pretty much 
equally fast for script and C programs (C++ is a lot slower because the system 
includes are huge, and maybe the compiling process itself is more complex.)

So, no, for small to medium programs the development cycle of a compiled 
language (at least of C) isn't necessarily slower than that of a scripted 
(interpreted) language.

--D.


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



Re: a crazy connectivity issue. unable to ping anything

2007-08-15 Thread Joe

Michael Habashy wrote:

On 8/15/07, Joachim Fahnenmüller <[EMAIL PROTECTED]> wrote:

Hi Michael

On Tue, Aug 14, 2007 at 07:17:46PM -0400, Michael Habashy wrote:

Hi -i got a crazy connectivity issue on my hands.
THis machine was running fine for about a month or so --then i lost
connectivity.
I have no errors to tell me what is going on.
i have switched the built-in nic on the motherboard and the hub ports
--there are other devices that working fine.
I have disabled a lot of services..and trying to get bear vinalla as
possible.
I can not ping to any other host..then just my local interface.
THe last things done were to install courier-imap and courier-ssl.
i was sending an email  to the box..and bam..there is notthing there..

the interfaces initialize just fine..but do not talk to anythhign...i

have

apache and other apps running..and their ports are open..just not

talking to

anyone outside the box...and yes..there is no iptables or ipchains..
I am running out of options..and do not want to rebuild box...so

help!!

here are the ifconfig and netstat:


eth0  Link encap:Ethernet  HWaddr 00:E0:81:74:60:6A
  inet addr:192.168.2.22  Bcast:192.168.2.255  Mask:

255.255.255.0

  inet6 addr: fe80::2e0:81ff:fe74:606a/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:86 errors:0 dropped:0 overruns:0 frame:0
  TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:6985 (6.8 KiB)  TX bytes:9962 (9.7 KiB)
  Interrupt:50

eth1  Link encap:Ethernet  HWaddr 00:E0:81:74:60:6B
  inet addr:192.168.2.12  Bcast:192.168.2.255  Mask:

255.255.255.0

  UP BROADCAST MULTICAST  MTU:1500  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
  Interrupt:58 Base address:0x2000

loLink encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:139 errors:0 dropped:0 overruns:0 frame:0
  TX packets:139 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:10919 (10.6 KiB)  TX bytes:10919 (10.6 KiB)

sit0  Link encap:IPv6-in-IPv4
  NOARP  MTU:1480  Metric:1
  RX packets:0 errors:0 dropped:0 overruns:0 frame:0
  TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

 Kernel IP routing table
Destination Gateway Genmask Flags   MSS Window  irtt
Iface
192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  

0

eth0
192.168.2.0 0.0.0.0 255.255.255.0   U 0 0  

0

eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  

0

eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG0 0  

0

eth0

192.168.2.1 _is_ your gateway, right?
You have routes to the same destinations using different interfaces. To
which
interface (eth0 or eth1) is the gateway connected? What is connected to
the
other one?

If the gw is connected to eth0, try
route del 0.0.0.0 eth1
(or vice versa).

Post your /etc/network/interfaces file.

HTH
--
Joachim Fahnenmüller


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





Thanks for getting back to me.
I have 2 nics on the motherboard.
I only have one connected to the network.
eth0 is the only active nic -nothing is connected to eth1 and it is disabled
in network-admin
What i found strange last night is that i have to manually add these 2 lines
to interfaces to make it work:
broadcast 192.168.2.255
network 192.168.2.0

this is very bizarre.
I furhter found lines added to my hosts file like 127.0.0.1 .(that i did not
add -and rem-ed out when i initiatley installed the box.
I will delete the route...but nothing is connected to the adapter.

my interfaces file is:

rider:~# more  /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
# auto eth0

iface eth0 inet static
address 192.168.2.22
netmask 255.255.255.0
gateway 192.168.2.1
broadcast 192.168.2.255
network 192.168.2.0

auto eth0



I would recommend that you add a stanza for eth1 and assign a different
network address to it. I know you say it is disabled, but I like to be
sure about these things. You definitely should not have it appear in
the routing list with the same parameters as eth0. That seems likely
to cause confusion to something.


--
To UNSUBSCRIBE, ema

Re: view the exit status from command line

2007-08-15 Thread Sven Joachim
Kamaraju S Kusumanchi <[EMAIL PROTECTED]> writes:

>>> I want to know if the command exited with status zero or non-zero. Can
>>> this be done in a simple way?
>> 
>> $test -x debian/rules; echo $?
>> 
>
> Thanks. Exactly what I am after!

Here's a $0.02 recipe from my ~/.bashrc:

if [ "$PS1" ]; then
   PROMPT_COMMAND='echo -n "$? "'
fi

This way, an interactive bash will print the exit status of the last
command before its prompt, so you can _always_ see it.  Very handy,
IMO. :-)

Cheers,
   Sven


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



Advice needed to upgrade a xen domU from sarge to etch

2007-08-15 Thread Peter Colton

Hello all,

I need a bit of advise on upgrading a xen domU from sarge to etch. I emailed 
gplhost where the domU is hosted. To see if they could give me some pointers 
on howto upgrade a domU but unfortunely I have not yet got any replie.

If I where upgrading a standard debain install I would be OK. I would follow 
the steps in the release notes for that version of debian.

On the domU I run there seems to be no grub installed and the kernel is a 
costum built. All so libc6 seems to be a costum build. 

ls /boot
System.map  System.map-2.6.16.29-xenU  vmlinuz  vmlinuz-2.6.16.29-xenU

dpkg -l | grep xen
ii  libc6  2.3.2.xen-22   GNU C Library: Shared libraries and Timezone


cat /etc/apt/sources.list
deb http://ftp.it.debian.org/debian/ sarge main non-free contrib

deb-src http://ftp.it.debian.org/debian/ sarge main non-free contrib

deb http://security.debian.org/ sarge/updates main contrib non-free

#deb ftp://ftp.gplhost.com/debian stable xen
deb ftp://ftp.gplhost.com/debian sarge xen


The bittorent tracker that I run on this domU I may move to another server 
before I do the dist-upgrade. I would all so backup all the data I needed 
before the dist-upgrade just in case things go wrong.

I do have one package from debian backport :

aptitude search '~i!~Odebian'
iB  fail2ban

I would remove this package before I started the dist-upgrade. Then after the 
dist-upgrade I install fail2ban agian.

When it comes to dist-upgrade this domU. Would the step below be OK.

aptitude purge fail2ban
Then :
Edit /etc/apt/sources.list and change sarge to etch.
aptitude update
aptitude upgrade
aptitude install libc6-xen
aptitude dist-upgrade

Regards

 peter colton






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



Re: live Debian on USB stick

2007-08-15 Thread Gerard Robin

On Wed, Aug 15, 2007 at 08:09:42AM -0500, Ron Johnson wrote:

From: Ron Johnson <[EMAIL PROTECTED]>
To: debian 
Subject: Re: live Debian on USB stick



On 08/15/07 03:30, Gerard Robin wrote:

Hello,
I installed knoppix on my USB stick and it runs fine but it's too big
~ 600 Mb. There are too many packages.


Buy a bigger USB stick?  They're not that expensive.


Is there a Debian dist, not as big as knoppix, that I can put on my USB
stick ?


How big is your USB stick?

it's a 2 Gb, I have got enough space, but it's absurd to put on an USB
stick a lot of packages that I never use or which need a lot of ram like
openoffice.
I installed slax (~ 200 Mb) but the boot failed when it detect the PCMCIA card ?
knoppix is a very good job. (but too big :-))

--
Gérard



Re: live Debian on USB stick

2007-08-15 Thread Jonathan Kaye
Gerard Robin wrote:

> On Wed, Aug 15, 2007 at 08:09:42AM -0500, Ron Johnson wrote:
>>From: Ron Johnson <[EMAIL PROTECTED]>
>>To: debian 
>>Subject: Re: live Debian on USB stick
> 
>>On 08/15/07 03:30, Gerard Robin wrote:
>>> Hello,
>>> I installed knoppix on my USB stick and it runs fine but it's too big
>>> ~ 600 Mb. There are too many packages.
>>
>>Buy a bigger USB stick?  They're not that expensive.
>>
>>> Is there a Debian dist, not as big as knoppix, that I can put on my USB
>>> stick ?
>>
>>How big is your USB stick?
> it's a 2 Gb, I have got enough space, but it's absurd to put on an USB
> stick a lot of packages that I never use or which need a lot of ram like
> openoffice.
> I installed slax (~ 200 Mb) but the boot failed when it detect the PCMCIA
> card ? knoppix is a very good job. (but too big :-))
> 
Hi Gerard,
Maybe I'm not understanding you correctly. If not, sorry. Why don't you
install your knoppix on the usb drive and when all is working smoothly
remove the packages you're not using?
I must be missing something, right?
Cheers,
Jonathan
-- 
Registerd Linux user #445917 at http://counter.li.org/


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



Re: Suggestions for diagramming software

2007-08-15 Thread Michael Shuler
On 08/14/2007 08:51 PM, Anthony M Simonelli wrote:
> On Wed, 2007-08-15 at 01:39 +, Amit Uttamchandani wrote:
>> Other than xcircuit, any other diagramming software that you guys 
>> use/suggest.
>>
> I use OpenOffice.org Draw.  It isn't as nice as Visio and doesn't have
> as many shapes and such to choose from, but for basic flow charts and
> things, it certainly does the job.  I've used it for a variety of
> projects.  Plus you can export the finished work as a PDF.

The openclipart-openoffice.org package has some additional graphics to
use in Draw, plus you can just point Draw to include any directory/file
- this is what I switched to from dia a while back for diagramming
complex server/network configurations.  Simple integration to Impress
and export to html or pdf for public viewing clinched it for me.

Kind Regards,
Michael Shuler


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



Re: live Debian on USB stick

2007-08-15 Thread Gerard Robin

On Wed, Aug 15, 2007 at 05:39:43PM +0200, Jonathan Kaye wrote:

From: Jonathan Kaye <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject:  Re: live Debian on USB stick
X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.8 required=4.0 tests=AWL,LDOSUBSCRIBER,

SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.1.4

Gerard Robin wrote:


On Wed, Aug 15, 2007 at 08:09:42AM -0500, Ron Johnson wrote:

From: Ron Johnson <[EMAIL PROTECTED]>
To: debian 
Subject: Re: live Debian on USB stick



On 08/15/07 03:30, Gerard Robin wrote:

Hello,
I installed knoppix on my USB stick and it runs fine but it's too big
~ 600 Mb. There are too many packages.


Buy a bigger USB stick?  They're not that expensive.


Is there a Debian dist, not as big as knoppix, that I can put on my USB
stick ?


How big is your USB stick?

it's a 2 Gb, I have got enough space, but it's absurd to put on an USB
stick a lot of packages that I never use or which need a lot of ram like
openoffice.
I installed slax (~ 200 Mb) but the boot failed when it detect the PCMCIA
card ? knoppix is a very good job. (but too big :-))


Hi Gerard,
Maybe I'm not understanding you correctly. If not, sorry. Why don't you
install your knoppix on the usb drive and when all is working smoothly
remove the packages you're not using?
I must be missing something, right?
I can do apt-get remove useless.package (for my usage) all works fine, the 
system says to me that the package is removed. 
But I notice 2 things:

- after that the useless.package has been removed the memory free is
  smaller than before.
- I stop the computer and when I reboot the box the useless.package is
  always there. I think it has been removed of the ramdisk not of the USB
  stick. 
 I used "Knoppix Persistent feature" ... but nothing persist ... 
 I think that I also miss something as well.


--
Gérard



Re: Controlling Syslog Rollovers

2007-08-15 Thread Allan Wind
On 2007-08-14T21:15:04-0500, Martin McCormick wrote:
>   Is it possible to tell syslogd under what conditions to
> roll over each syslog file?

Another (good) option is to use syslog-ng and its template object 
to generate dated log files.


/Allan


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



Re: photo album or photo viewer in xfce

2007-08-15 Thread andy

Joachim Fahnenmüller wrote:

Hi Peter,

On Tue, Aug 14, 2007 at 07:46:21PM -0700, PETER EASTHOPE wrote:
  

Folk,

Can anyone recommend a package or application for 
efficient viewing of photos in xfce?  I installed showfoto 
in one system; it invokes many dependencies.


Thanks,  ... Peter E.



I use gqview and am happy with it.

regards
  

I'd second the vote for gqview - does exactly what it says on the tin!!

HtH

A

--

"If they can get you asking the wrong questions, they don't have to worry about the 
answers." - Thomas Pynchon, "Gravity's Rainbow"


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




Re: less, exit but left content on screen

2007-08-15 Thread Thomas Dickey
Ralph Katz <[EMAIL PROTECTED]> wrote:
> Curious!  I haven't had xterm installed now for some time, so I'm going
> from memory.  Main reason I chose aterm was for the smaller footprint.
> At the moment I have 2 aterms running that would suggest more than
> scrollback buffer size are factors in RSS:

right - there are several factors (some are easy to reproduce, others may
for instance depend on the history of the process).  fwiw, I was also running
xterm compiled for the toolbar, so that would increase xterm's runtime by
some amount.

> $ ps aux |grep aterm
> ralph 2899  0.0  0.9   5956  2360 ?S08:05   0:00 aterm
> -tn xterm -sl 5000 -geometry +0-25
> ralph 2900  0.0  0.9   5956  2412 ?S08:05   0:00 aterm
> -tr -trsb -rv -sl 100 -sh 95 -geometry +700-350 -e tail -f /var/log/auth.log
> ralph 3064  0.0  0.2   1956   640 pts/1R+   08:10   0:00 grep aterm
> $

> Anyway, this is OT (my fault), so did aterm solve your original question
> about leaving output from 'less' onscreen after exiting?

...not _my_ original question (the OP's question was answered in effect by
noting that it's a detail of the terminal description rather than the
terminal emulator).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


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



Re: live Debian on USB stick

2007-08-15 Thread Aenn Seidhe Priest
Feather Linux is a slim version of Knoppix.

It can boot off a USB drive with a little preparation.

http://featherlinux.berlios.de/download.htm



 Not far from here, by a white sun, behind a green star, lived the 
Steelypips, illustrious, industrious, and they hadn't a care: no spats 
in their vats, no rules, no schools, no gloom, no evil influence of the 
moon, no trouble from matter or antimatter -- for they had a 
machine, a dream of a machine, with springs and gears and perfect 
in every respect. And they lived with it, and on it, and under it, and 
inside it, for it was all they had -- first they saved up all their atoms, 
then they put them all together, and if one didn't fit, why they 
chipped at it a bit, and everything was just fine... 

-- Stanislaw Lem, "Cyberiad"


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



How to fix Language error

2007-08-15 Thread abdelkader belahcene
Hi all,
each time I install a package I get the error ( or warning) about the
Lang envir  variables:

After unpacking 14.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  python2.5-minimal python2.5
Install these packages without verification [y/N]? y

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "fr_FR.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").


the file is :  cat /etc/environment
LANG="fr_FR.UTF-8"

Do I need to add something there or elsewhere

thanks a lot
best regards
bela


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



Re: Advice needed to upgrade a xen domU from sarge to etch

2007-08-15 Thread Peter Colton

Hello all,

I said that gplhost had not replied to my email about help with a domU 
dist-upgrade. They did reply but the reply was in my gplhost account.

So all OK now, 

regards

   peter colton


On Wednesday 15 August 2007 16:18, Peter Colton wrote:
>   Hello all,
>
> I need a bit of advise on upgrading a xen domU from sarge to etch. I
> emailed gplhost where the domU is hosted. To see if they could give me some
> pointers on howto upgrade a domU but unfortunely I have not yet got any
> replie.
>
> If I where upgrading a standard debain install I would be OK. I would
> follow the steps in the release notes for that version of debian.
>
> On the domU I run there seems to be no grub installed and the kernel is a
> costum built. All so libc6 seems to be a costum build.
>
> ls /boot
> System.map  System.map-2.6.16.29-xenU  vmlinuz  vmlinuz-2.6.16.29-xenU
>
> dpkg -l | grep xen
> ii  libc6  2.3.2.xen-22   GNU C Library: Shared libraries and
> Timezone
>
>
> cat /etc/apt/sources.list
> deb http://ftp.it.debian.org/debian/ sarge main non-free contrib
>
> deb-src http://ftp.it.debian.org/debian/ sarge main non-free contrib
>
> deb http://security.debian.org/ sarge/updates main contrib non-free
>
> #deb ftp://ftp.gplhost.com/debian stable xen
> deb ftp://ftp.gplhost.com/debian sarge xen
>
>
> The bittorent tracker that I run on this domU I may move to another server
> before I do the dist-upgrade. I would all so backup all the data I needed
> before the dist-upgrade just in case things go wrong.
>
> I do have one package from debian backport :
>
> aptitude search '~i!~Odebian'
> iB  fail2ban
>
> I would remove this package before I started the dist-upgrade. Then after
> the dist-upgrade I install fail2ban agian.
>
> When it comes to dist-upgrade this domU. Would the step below be OK.
>
> aptitude purge fail2ban
> Then :
> Edit /etc/apt/sources.list and change sarge to etch.
> aptitude update
> aptitude upgrade
> aptitude install libc6-xen
> aptitude dist-upgrade
>
>   Regards
>
>  peter colton


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



Google checking my system?

2007-08-15 Thread Wayne Topa
I have noticed recently, while watching iptraf, that I am getting
connections from various google addresses. ie bu-in-f93.google.com
currently.  Tha amount of traffic varies but sometimes really slows
down any Debian upgrades that are running on other boxes.  If I was on
broadband I wouldn't have noticed these connections.

This happen on 4 different network boxen, while they have
iceweasel running, and sitting on our networks local homepage.

As the connections were not initiated by any of the boxen, iptables 
_should_ be blocking them, so I am wondering if Google has, somehow, 
got around the firewall (firehol) rules.

Has anyone else (broadband/dialup) noticed any connection from
addresses like the above?

Wayne

-- 
Computers make very fast, very accurate mistakes.
___


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



FYI: Severe Vulnerability in Opera 9.22

2007-08-15 Thread Manon Metten
Hi,

I just read in the papers that there's a severe vulnerability discovered in
Opera 9.22, although the article did not say what. It is fixed in 9.23.

Manon.


Re: How to fix Language error

2007-08-15 Thread Jan Willem Stumpel
It seems that nowadays in Debian, you must set the locale by
running as root

update-locale LANG=fr_FR.UTF-8

This stores the locale value in /etc/defaults/locale (instead of
/etc/environment).

Regards, Jan


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



Re: Google checking my system?

2007-08-15 Thread Michael Shuler
On 08/15/2007 01:39 PM, Wayne Topa wrote:
> I have noticed recently, while watching iptraf, that I am getting
> connections from various google addresses. ie bu-in-f93.google.com
> currently.

This would be your browser checking in with google.  If you have a
browser open, it will connect for updated information periodically.
ie., netstat shows these connections on my system:

tcp  0  0 10.6.104.165:34120  kc-in-f104.google.c:www ESTABLISHED
tcp  0  0 10.6.104.165:34121  kc-in-f104.google.c:www ESTABLISHED

The above is from me -> google on port 80 when sitting on my igoogle page.

> This happen on 4 different network boxen, while they have
> iceweasel running, and sitting on our networks local homepage.
> 
> As the connections were not initiated by any of the boxen, iptables 
> _should_ be blocking them, so I am wondering if Google has, somehow, 
> got around the firewall (firehol) rules.

I pointed by browser away from google.com to some other site, and the
connections persisted as ESTABLISHED for a short time, then dropped.
After a little time, another connection fired up, same as above, so this
appears to be cookie-based(?).  Interesting..

Your firewall probably has an

iptables -A INPUT -m state --state "ESTABLISHED,RELATED" -j ACCEPT

rule, meaning accept anything coming in if it is initiated from the inside.

Kind Regards,
Michael Shuler


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



[sid] what package for iwl4965 and mac80211 kernel modules

2007-08-15 Thread Mihamina Rakotomandimby
Hi, 
I just switched to Sid, in order to have the iwl4965 kernel module and
its deps.
I just updated it to the latest on the 'fr' Debian repos (I am in
France), but when I "modprobe iwl4965" or "modprobe mac80211", the
module is unknown.
I am running the Sid 2.6.22 kernel, on amd64 arch.

What tips can you give me?
I dont want to "make; make install", just use debian packaged software.

Thank you.


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



Re: FYI: Severe Vulnerability in Opera 9.22

2007-08-15 Thread Mathias Brodala
Hi Manon.

Manon Metten, 15.08.2007 20:42:
> I just read in the papers that there's a severe vulnerability discovered in
> Opera 9.22, although the article did not say what. It is fixed in 9.23.

See the changelog[0].


Regards, Mathias

[0] http://www.opera.com/docs/changelogs/linux/923/

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: view the exit status from command line

2007-08-15 Thread Ken Irving
On Wed, Aug 15, 2007 at 04:21:17PM +0200, Sven Joachim wrote:
> Kamaraju S Kusumanchi <[EMAIL PROTECTED]> writes:
> 
> >>> I want to know if the command exited with status zero or non-zero. Can
> >>> this be done in a simple way?
> >> 
> >> $test -x debian/rules; echo $?
> >> 
> >
> > Thanks. Exactly what I am after!
> 
> Here's a $0.02 recipe from my ~/.bashrc:
> 
> if [ "$PS1" ]; then
>PROMPT_COMMAND='echo -n "$? "'
> fi
> 
> This way, an interactive bash will print the exit status of the last
> command before its prompt, so you can _always_ see it.  Very handy,
> IMO. :-)

Thanks for this great idea!

-- 
Ken Irving, [EMAIL PROTECTED]


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



Re: view the exit status from command line

2007-08-15 Thread Håkon Alstadheim

Ken Irving wrote:

On Wed, Aug 15, 2007 at 04:21:17PM +0200, Sven Joachim wrote:
  

Kamaraju S Kusumanchi <[EMAIL PROTECTED]> writes:



I want to know if the command exited with status zero or non-zero. Can
this be done in a simple way?
  

$test -x debian/rules; echo $?



Thanks. Exactly what I am after!
  

Here's a $0.02 recipe from my ~/.bashrc:

if [ "$PS1" ]; then
   PROMPT_COMMAND='echo -n "$? "'
fi

This way, an interactive bash will print the exit status of the last
command before its prompt, so you can _always_ see it.  Very handy,
IMO. :-)



Thanks for this great idea!

  


You don't need a command (at least with the versions of bash I've used 
the last 10 years), just make sure the variable does not get expanded 
before it is assigned to PS1. Like so: PS1='$?\$ '. now try executing 
/bin/true and /bin/false.



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




Re: view the exit status from command line

2007-08-15 Thread Ken Irving
On Wed, Aug 15, 2007 at 09:42:16PM +0200, Håkon Alstadheim wrote:
> Ken Irving wrote:
>> On Wed, Aug 15, 2007 at 04:21:17PM +0200, Sven Joachim wrote:
>>   
>>> Kamaraju S Kusumanchi <[EMAIL PROTECTED]> writes:
>>>
>>> 
>> I want to know if the command exited with status zero or non-zero. Can
>> this be done in a simple way?
>>   
> $test -x debian/rules; echo $?
>
> 
 Thanks. Exactly what I am after!
   
>>> Here's a $0.02 recipe from my ~/.bashrc:
>>>
>>> if [ "$PS1" ]; then
>>>PROMPT_COMMAND='echo -n "$? "'
>>> fi
>>>
>>> This way, an interactive bash will print the exit status of the last
>>> command before its prompt, so you can _always_ see it.  Very handy,
>>> IMO. :-)
>>> 
>>
>> Thanks for this great idea!
>>
>>   
>
> You don't need a command (at least with the versions of bash I've used the 
> last 10 years), just make sure the variable does not get expanded before it 
> is assigned to PS1. Like so: PS1='$?\$ '. now try executing /bin/true and 
> /bin/false.

Right, I was referring to including the exit value in the prompt.
I usually prefer to have a two-line prompt so I can see my current path,
which sometimes gets unwieldy; e.g.,

PS1='[EMAIL PROTECTED]:\w/\n$?\$ '

results in

[EMAIL PROTECTED]:~/proj/source/perl/thinobject/tob-lib/BaseClass/
0$ 

Ken

-- 
Ken Irving, [EMAIL PROTECTED]


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



Re: Google checking my system?

2007-08-15 Thread Wayne Topa
Michael Shuler([EMAIL PROTECTED]) is reported to have said:
> On 08/15/2007 01:39 PM, Wayne Topa wrote:
> > I have noticed recently, while watching iptraf, that I am getting
> > connections from various google addresses. ie bu-in-f93.google.com
> > currently.
> 
> This would be your browser checking in with google.  If you have a
> browser open, it will connect for updated information periodically.
> ie., netstat shows these connections on my system:

Well it has a long memory then.  This box was shut down last night for
some maintenance.  I fired it up this morning but didn't connect to
the net, just our local server homepage.  The box was running ktorrent
to seed some files all morning though.

> 
> tcp  0  0 10.6.104.165:34120  kc-in-f104.google.c:www ESTABLISHED
> tcp  0  0 10.6.104.165:34121  kc-in-f104.google.c:www ESTABLISHED
> 
> The above is from me -> google on port 80 when sitting on my igoogle page.

Dumb me forgot to run netstat when I saw the slowdown.  :-(

> > This happen on 4 different network boxen, while they have
> > iceweasel running, and sitting on our networks local homepage.
> > 
> > As the connections were not initiated by any of the boxen, iptables 
> > _should_ be blocking them, so I am wondering if Google has, somehow, 
> > got around the firewall (firehol) rules.
> 
> I pointed by browser away from google.com to some other site, and the
> connections persisted as ESTABLISHED for a short time, then dropped.
> After a little time, another connection fired up, same as above, so this
> appears to be cookie-based(?).  Interesting..
> 
> Your firewall probably has an
> 
> iptables -A INPUT -m state --state "ESTABLISHED,RELATED" -j ACCEPT
> 
> rule, meaning accept anything coming in if it is initiated from the inside.

Yes, it does, but having not used iceweasel for anything today, I
thought it was odd that google, or iceweasel, needed to know anything.
Of course the entry was dropped when I terminated iceweasel.

Thanks Michael.  I'm sure you are correct.  I'll check more if/when it
happens again, and I'm sure it will.

Best Regards

Wayne

-- 
Every bug you find is the last one.
___


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



Re: FYI: Severe Vulnerability in Opera 9.22

2007-08-15 Thread andy

Mathias Brodala wrote:

Hi Manon.

Manon Metten, 15.08.2007 20:42:
  

I just read in the papers that there's a severe vulnerability discovered in
Opera 9.22, although the article did not say what. It is fixed in 9.23.



See the changelog[0].


Regards, Mathias

[0] http://www.opera.com/docs/changelogs/linux/923/

  

Thanks for the note.

The update isn't yet in Lenny, but is available at the Opera site & a 
quick dpkg -i and in it goes.


A

--

"If they can get you asking the wrong questions, they don't have to worry about the 
answers." - Thomas Pynchon, "Gravity's Rainbow"


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




Re: [sid] what package for iwl4965 and mac80211 kernel modules

2007-08-15 Thread Kelly Clowers
On 8/15/07, Mihamina Rakotomandimby
<[EMAIL PROTECTED]> wrote:
> Hi,
> I just switched to Sid, in order to have the iwl4965 kernel module and
> its deps.
> I just updated it to the latest on the 'fr' Debian repos (I am in
> France), but when I "modprobe iwl4965" or "modprobe mac80211", the
> module is unknown.
> I am running the Sid 2.6.22 kernel, on amd64 arch.
>
> What tips can you give me?
> I dont want to "make; make install", just use debian packaged software.


The one relevant package for 4965 seems to be "firmware-iwlwifi"
(from non-free). With linux-image-2.6.22-1-k7, I can "modprobe mac80211".
It looks like maybe the iwl4965 driver is not in the mainline kernel and does
not have a debian package at this time.

http://intellinuxwireless.org/index.php?n=Downloads does not list a
package for debian. You may have to compile it or wait a while.


Cheers,
Kelly


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



Re: live Debian on USB stick

2007-08-15 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/15/07 11:52, Gerard Robin wrote:
> On Wed, Aug 15, 2007 at 05:39:43PM +0200, Jonathan Kaye wrote:
>> From: Jonathan Kaye <[EMAIL PROTECTED]>
>> To: debian-user@lists.debian.org
>> Subject:  Re: live Debian on USB stick
>> X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on
>> murphy.debian.org
>> X-Spam-Level: X-Spam-Status: No, score=-4.8 required=4.0
>> tests=AWL,LDOSUBSCRIBER,
>> SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.1.4
>>
>> Gerard Robin wrote:
>>
>>> On Wed, Aug 15, 2007 at 08:09:42AM -0500, Ron Johnson wrote:
 From: Ron Johnson <[EMAIL PROTECTED]>
 To: debian 
 Subject: Re: live Debian on USB stick
>>>
 On 08/15/07 03:30, Gerard Robin wrote:
> Hello,
> I installed knoppix on my USB stick and it runs fine but it's too big
> ~ 600 Mb. There are too many packages.

 Buy a bigger USB stick?  They're not that expensive.

> Is there a Debian dist, not as big as knoppix, that I can put on my
> USB
> stick ?

 How big is your USB stick?
>>> it's a 2 Gb, I have got enough space, but it's absurd to put on an USB
>>> stick a lot of packages that I never use or which need a lot of ram like
>>> openoffice.

Ah, so this isn't a life-or-death issue.

>>> I installed slax (~ 200 Mb) but the boot failed when it detect the
>>> PCMCIA
>>> card ? knoppix is a very good job. (but too big :-))
>>>
>> Hi Gerard,
>> Maybe I'm not understanding you correctly. If not, sorry. Why don't you
>> install your knoppix on the usb drive and when all is working smoothly
>> remove the packages you're not using?
>> I must be missing something, right?
> I can do apt-get remove useless.package (for my usage) all works fine,
> the system says to me that the package is removed. But I notice 2 things:
> - after that the useless.package has been removed the memory free is
>   smaller than before.
> - I stop the computer and when I reboot the box the useless.package is
>   always there. I think it has been removed of the ramdisk not of the USB

Interesting.

>   stick.  I used "Knoppix Persistent feature" ... but nothing persist
> ...  I think that I also miss something as well.

What do the Knoppix mailing lists or forums say?

(They might tell you that you have to build your own "ISO", which is
probably pretty automated by now.)

- --
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)

iD8DBQFGw2Y4S9HxQb37XmcRAutsAKCnKRfhOP4BEIXe3oK84km7zKHGugCghBHQ
qVOfp29KqQ/HQyfO4uSU4Kk=
=Z+jY
-END PGP SIGNATURE-


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



Re: view the exit status from command line

2007-08-15 Thread Sven Joachim
Håkon Alstadheim <[EMAIL PROTECTED]> writes:

> You don't need a command (at least with the versions of bash I've used
> the last 10 years), just make sure the variable does not get expanded
> before it is assigned to PS1. Like so: PS1='$?\$ '. now try executing
> /bin/true and /bin/false.

Indeed, thanks for enlightening me.  I've had this PROMPT_COMMAND for
a few years, never noticed that it is not necessary.

Cheers,
   Sven


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



Working with Kworldclock

2007-08-15 Thread andy

Hi

I have a query about how I can best synchronise Kworldclock with my system.

Living in the UK, I have my system configured to BST (British Summer 
Time). However, I am suspecting that this is not accurate with the time 
that the BIOS (or system) time is at, because the west coast of Canada 
is currently showing as -7 hours rather than the -8 that I am convinced 
it should be.


How can I configure the system time, so that the time zones are 
consistently 8 hours apart no matter what season the two countries are in?


TIA

Andy

--

"If they can get you asking the wrong questions, they don't have to worry about the 
answers." - Thomas Pynchon, "Gravity's Rainbow"


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




HP Ultrium 960 LTO-3 on Debian Etch?

2007-08-15 Thread andremachado
Hello,
Could you point some url telling how to get scsi HP storageworks Ultrium 960 
external tape drive running with Debian 4.0 Etch?
Regards.
Andre Felipe



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



Re: [sid] what package for iwl4965 and mac80211 kernel modules

2007-08-15 Thread Mihamina Rakotomandimby
On Wed, 2007-08-15 at 13:08 -0700, Kelly Clowers wrote:
> > I just switched to Sid, in order to have the iwl4965 kernel module and
> > its deps.
> > I just updated it to the latest on the 'fr' Debian repos (I am in
> > France), but when I "modprobe iwl4965" or "modprobe mac80211", the
> > module is unknown.
> > I am running the Sid 2.6.22 kernel, on amd64 arch.

> The one relevant package for 4965 seems to be "firmware-iwlwifi"
> (from non-free).

I got it, found with "apt-cache search".

> With linux-image-2.6.22-1-k7, I can "modprobe mac80211".
> It looks like maybe the iwl4965 driver is not in the mainline kernel and does
> not have a debian package at this time.

Let's hope some devs will port it soon from here:
http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=iwl4965.ko&searchmode=searchfiles&case=insensitive&version=gutsy&arch=amd64


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



Re: Working with Kworldclock

2007-08-15 Thread Bob McGowan

andy wrote:

Hi

I have a query about how I can best synchronise Kworldclock with my system.

Living in the UK, I have my system configured to BST (British Summer 
Time). However, I am suspecting that this is not accurate with the time 
that the BIOS (or system) time is at, because the west coast of Canada 
is currently showing as -7 hours rather than the -8 that I am convinced 
it should be.


How can I configure the system time, so that the time zones are 
consistently 8 hours apart no matter what season the two countries are in?


TIA

Andy



Hi, Andy,

I don't think that's how it works;(

Time zones are counted from the Prime Meridian, the 0 longitude line 
which runs through Greenwich (England).


The zero point is always the same, and is roughly equivalent to saying 
UTC (see UTC at Wikipedia for details).  But the time zones (both yours, 
BST, and Canada's west coast) may (or may not) observe daylight savings 
time adjustments.  If daylight savings is in effect, the differential is 
-7, otherwise it's -8.


I believe the "always 8 difference" you want would happen when you 
compare Canada's west coast to your BST time (with the caveat that they 
may not start/stop on the same date, but in general when both are, or 
are not, in effect, this would be true).


With respect to BIOS time, you may set it to match local time (when 
working with MSWin OS's) or you can set it to UTC (if you only use Linux 
or some other UNIX derivative).  You must tell the Linux system, during 
installation, which way you went, so it knows how to use the BIOS date. 
 You can probably change this selection, but I'm not aware of how.


You should consider installing and using the ntp package (Network Time 
Protocol, NTP) to get accurate time set on your system by querying a 
time server.


--
Bob McGowan


smime.p7s
Description: S/MIME Cryptographic Signature


Re: HP Ultrium 960 LTO-3 on Debian Etch?

2007-08-15 Thread Gilles Mocellin
Le Wednesday 15 August 2007 22:33:59 andremachado, vous avez écrit :
> Hello,
> Could you point some url telling how to get scsi HP storageworks Ultrium
> 960 external tape drive running with Debian 4.0 Etch? Regards.
> Andre Felipe

It depends on the controller.
At what type of controller is the LTO attached ?

If it's a SmartArray using the cciss driver, you need the following commands 
(to adapt to your devices numbers) :

# echo "engage scsi" > /proc/driver/cciss/cciss0 
# echo "rescan" > /proc/scsi/cciss0/2

I'm not sure that the last one is necessary.

Infos here too :
http://kbase.redhat.com/faq/FAQ_46_4233.shtm


signature.asc
Description: This is a digitally signed message part.


Re: Suggestions for diagramming software

2007-08-15 Thread Wei Wang
Try Dia Diagram Editor

If you're using GNOME
aptitude install dia-gnome

On Wed, 2007-08-15 at 01:39 +, Amit Uttamchandani wrote:
> Hey Guys,
> 
> I am Engineering student and I currently use latex and such to create my
> reports. I just recently switched to Debian from Mac OS X. However, I was
> looking for a good diagramming software for Linux. I heard of Xcircuit but I 
> was
> looking for something with a little less learning curve.
> 
> Other than xcircuit, any other diagramming software that you guys use/suggest.
> It doesn't have to specifically be related to engineering and could simply be 
> a
> software that draws block diagrams and etc. Just like Visio or OmniGraffle on
> the Mac.
> 
> Thanks,
> Amit


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



Re: Samba + external drives

2007-08-15 Thread koffiejunkie

Ron Johnson wrote:

What if you FTP the file from the OSX box to the firewire drive on
the external drive?

That might narrow down the problem.


Right, I just finished doing some tests.  Via NFS and FTP, to the 
external disc, the same thing happens.  The copy runs fine (I was 
copying a 3.9GB ISO) for a random amount of time - shortest now was 
300MB, longest was just under 3GB - and then the disc seem to get unplugged.


Then, I repeated the tests, with samba, NFS and ftp, copying the same 
ISO to my home directory on the notebook, and this worked without a problem.


I copied the file from the notebook's drive to the external drive - no 
problem.


Then I tried the following.  I ftp-ed to localhost, and did a "put 
file.iso" to the external drive.  This worked 100%  I did similar tests 
with nfs and smb, connecting to localhost and copying the file via the 
smb/nfs clients - al worked fine.


I also did at least one failed and one successful each using the 
notebook's wireless instead of wired network, to rule out network 
hardware, and repeated all the tests from my second notebook (which runs 
Debian too).


So it's just a mix of network and network copy that seems to cause problems.

I hope that's better :-) Any ideas?


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




Re: photo album or photo viewer in xfce

2007-08-15 Thread Brad Sawatzky
On Tue, Aug 14, 2007 at 07:46:21PM -0700, PETER EASTHOPE wrote:
>
>Can anyone recommend a package or application for 
>efficient viewing of photos in xfce?  I installed showfoto 
>in one system; it invokes many dependencies.

For quick viewing I've been using 'feh'.  The big win in my book is that it
can be completely keyboard driven (reminds me of xv) -- very nice.

'qiv' is also pretty good, but I think feh comes out ahead at the moment.

-- Brad


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



Re: Google checking my system?

2007-08-15 Thread Steven
On Wed, 15 Aug 2007 15:56:16 -0400, Wayne Topa wrote:

> thought it was odd that google, or iceweasel, needed to know anything.
> Of course the entry was dropped when I terminated iceweasel.

I've noticed similar behavior for a few years.  While I've never really 
been pleased with it there isn't much choice unless you feel like 
devoting a good chuck of your time to searching and patching the source.

What concerns me most is that it's never publicized (either to the user 
specifically or in common PR discussions about the internet) about which 
unrequested/automatic connections are being made.  If there's any sort of 
data being exchanged then who writes the protocol for the data exchange?  
Who ensures that the protocol is secure?  In all reality it's probably 
exchanging a completely innocuous bit of data but who ensures that data 
is exchanged in a fashion which isn't as wide open as the recent 
discussions involving URI functionality exploits. ( http://
security.itworld.com/5043/070815URIbrowserflaw/page_1.html )


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



Re: Working with Kworldclock

2007-08-15 Thread Stephen Cormier
On August 15, 2007 06:35:15 pm Bob McGowan wrote:
> You must tell the Linux system, during
> installation, which way you went, so it knows how to use the BIOS date.
>   You can probably change this selection, but I'm not aware of how.

The Etch installer no longer asks or at least did not on the install that I 
did and to change it so it uses local time you edit the /etc/default/rcS file 
and change to UTC=no.

Stephen

-- 
GPG Public Key: http://users.eastlink.ca/~stephencormier/publickey.asc


signature.asc
Description: This is a digitally signed message part.


Re: Google checking my system?

2007-08-15 Thread Krzysztof Lubański
On Wed, 2007-08-15 at 14:39 -0400, Wayne Topa wrote:
> I have noticed recently, while watching iptraf, that I am getting
> connections from various google addresses. [...]
> 
> This happen on 4 different network boxen, while they have
> iceweasel running, and sitting on our networks local homepage.

It may have something to do with Firefox's new anti-phishing
functionality which fetches lists of phishing sites from Google:

http://www.mozilla.com/en-US/firefox/phishing-protection/

One guy actually gets pissed about it here:

http://discuss.extremetech.com/forums/1004384653/ShowThread.aspx

He says the connections are still being made even after disabling the
forgery protection. Nasty if it's true.

-- 
Krzysztof Lubanski



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



Re: Suggestions for diagramming software

2007-08-15 Thread Amit Uttamchandani
You're right.

I just installed Xfig and played around it for a bit. Quite a powerful app.
Thanks for the tip!


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



Re: Font Smoothing in Xterm

2007-08-15 Thread Amit Uttamchandani
Wow!

That's it! Worked like a charm! Thank you so much!


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



Re: Confused about kernel source location

2007-08-15 Thread Ed Jabbour
On Tuesday 14 August 2007 21:27, Wayne Topa wrote:
> >Anybody? Where do people dump their kernel source anyway???
>
> I have always put my kernels in /usr/src.  First time I've _ever_
> heard of " DO NOT USE THE /usr/src area".  Just what readme did you
> see _that_ in?

From linux-source-2.6.18/README:

INSTALLING the kernel:

 - If you install the full sources, put the kernel tarball in a
   directory where you have permissions (eg. your home directory) and
   unpack it:

*   *   *   *
Do NOT use the /usr/src/linux area! This area has a (usually
   incomplete) set of kernel headers that are used by the library header
   files.  They should match the library, and not get messed up by
   whatever the kernel-du-jour happens to be.
===





ocfs2 (oracle cluster filesystem) error: Unable to load module "configfs"

2007-08-15 Thread Benedict Verheyen

Hi,


i want to run ocfs2 to load a shared filesystem for 3 uml's.
ocfs2 allows 2 or more uml's to load the same filesystem so it should solve 
the limitations of hostfs.


Anyway, i compiled ocfs2 support into the kernel and made a 
/etc/ocfs2/cluster.conf file.


However, when i want to start the clustering service, it fails:

/etc/init.d/o2cb load
Loading module "configfs": Unable to load module "configfs"

Uhm:
grep "CONFIGFS" /boot/config-2.6.20.7.15aug2007
CONFIG_CONFIGFS_FS=y

As it seems now, in order to get i working i shouldn't compile support into 
the kernel?

Is there a workaround?

Regards,
Benedict


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




exim worked; had to upgrade to exim4, which, for me, doesn't work

2007-08-15 Thread p
on january 2, 2007,  i replaced an aging hard drive, running debian 
potato.  for the 3+ years  of running potato, i used mutt (exim and
fetchmail) to handle email.

ever since (jan. 2, '07), when i upgraded to sarge, i have not been
able to  configure exim4  (correctly), as when  i "fetchmail," open 
mutt, and look at the messages  in /var/mail/"me", i  get the error 
message, "mail delivery failed," for each email.


when open an email, i see this refernce to localhost:


"the following address(es) failed:  

[EMAIL PROTECTED]

   unroutable address"


(if i  could get it to recognize my email address as:

"pplaw [at] pcisys.net",
 
instead of as, 

"[EMAIL PROTECTED]", 

then i think it would work.  that's where i'm stuck.)

my googling "unroutable  address" for   exim4 entries  and  reading 
the "exim4-doc-html" file(s) lead me to believe  that i may have to 
learn how to write code in order to have a realistic chance of fig-
uring out how exim4 (version 4.63-17) needs to be setup.   

on the other  hand, since  it's been  8 months,  and  counting,  it 
doesn't look like i'm going to be able to figure out exim4:

 1.  is there  a way  to use  mutt and fetchmail without setting up
 exim4?  (i pop3 my email from my isp.);

 2.  is  there another  text-based  email client  that can  be used 
 without trying to configure exim4? or 

 3.  is my  only hope to wait  and see if exim4 is someday upgraded
 to an easier configuration, one like the old "exim"?

 4.  as an aside,  why do the  exim4-configure windows have jibber-
 ish-looking borders?

thx.



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



Re: Confused about kernel source location

2007-08-15 Thread Wayne Topa
Ed Jabbour([EMAIL PROTECTED]) is reported to have said:
> On Tuesday 14 August 2007 21:27, Wayne Topa wrote:
> > >Anybody? Where do people dump their kernel source anyway???
> >
> > I have always put my kernels in /usr/src.  First time I've _ever_
> > heard of " DO NOT USE THE /usr/src area".  Just what readme did you
> > see _that_ in?
> 
> From linux-source-2.6.18/README:
> 
> INSTALLING the kernel:
> 
>  - If you install the full sources, put the kernel tarball in a
>directory where you have permissions (eg. your home directory) and
>unpack it:
> 
>   *   *   *   *
> Do NOT use the /usr/src/linux area! This area has a (usually
>incomplete) set of kernel headers that are used by the library header
>files.  They should match the library, and not get messed up by
>whatever the kernel-du-jour happens to be.
> ===

Thanks Ed

I'm running 2.6.21-1-amd64 so had to go to another box to check.  Yes
I see that in the 2.6.18 source.  For what it's worth, there is no
such README in the 2.6.21-1-amd64 source dir, which is installed in
/usr/src, by aptitude.  Interesting.

Wayne

-- 
Why do we want intelligent terminals when there are so many stupid
users?
___


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



Re: photo album or photo viewer in xfce

2007-08-15 Thread Bhasker C V
Hi,

  I use kphotoalbum. It is really good and can sort according to
timeframes, can have metadata etc.,
 The good thing about kphotoalbum is when sorting the pictures, it sorts
according to timeframe and this time is not the file creation time on
the filesystem but the image time recorded on the image metadata. 


On Wed, 2007-08-15 at 13:03 +0200, Joachim Fahnenmüller wrote:
> Hi Peter,
> 
> On Tue, Aug 14, 2007 at 07:46:21PM -0700, PETER EASTHOPE wrote:
> > 
> > Folk,
> > 
> > Can anyone recommend a package or application for 
> > efficient viewing of photos in xfce?  I installed showfoto 
> > in one system; it invokes many dependencies.
> > 
> > Thanks,  ... Peter E.
> 
> I use gqview and am happy with it.
> 
> regards
> -- 
> Joachim Fahnenmüller
> 
> 
-- 
Bhasker C V
Registered Linux user: #306349 (counter.li.org)
The box said "Requires Windows 95, NT, or better", so I installed Linux.


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



Dansguardian Antivirus Patch & clamdscan

2007-08-15 Thread Anthony M Simonelli
Looking to upgrade my Sarge server to Etch.  We use Squid & Dansguardian
for managing Internet access at my company.  Etch's version of
Dansguardian has new anti-virus scanning of downloads.  When I install
Dansguardian on my test box, it installs clamav as well.  I installed
the clamav daemon and freshclam and want to use it with Dansguardian.  

The virusengine = clamav works fine, but when I specify the virusengine
as clamdscan, starting Dansguardian gives me an error message: "Unknown
AV Engine; check your configuration" even though it is stated in the
configuration file as an option.  Is this because it was not compiled
using the --with-av-engine=clamdscan option?

I created a deb from source using apt-get source, adding clamdscan in
the configure file (--with-av-engine='clamav,clamdscan') with no other
changes and built it using dpkg-buildpackage -rfakeroot -uc -b within
the directory.  Everything went fine and after I installed the .deb, I
tried using Dansguardian again and this time, I get an error message in
the browser: "DansGuardian Antivirus Patch - Error during scanning
Error message: 'lstat() failed.'"  Is this a permission problem?  I
already added clamav to the dansguardian group and
AllowSupplementaryGroups true is in clamd.conf

Any success using clamdscan with Dansguardian in Etch?



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



how to do upgrade with the Network Install disc...

2007-08-15 Thread Chuck Payne

Hi,

Is there a way to upgrade a box with the network install disc, seem to 
be only able to do an install.


Payne


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




Re: photo album or photo viewer in xfce

2007-08-15 Thread Guillermo Garron
On 8/14/07, PETER EASTHOPE <[EMAIL PROTECTED]> wrote:
>
> Folk,
>
> Can anyone recommend a package or application for
> efficient viewing of photos in xfce?  I installed showfoto
> in one system; it invokes many dependencies.
>
> Thanks,  ... Peter E.
>
>
>  http://carnot.pathology.ubc.ca/
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

I do not know if F-Spot works with XFCE, but with Gnome it works
great, take a look at it here:

http://www.go2linux.org/f-spot_linux_picture_manager_and_viewer


-- 
Guillermo Garron
"Linux IS user friendly... It's just selective about who its friends are."
(Using FC6, CentOS4.4 and Ubuntu 6.06)
http://feeds.feedburner.com/go2linux
http://www.go2linux.org


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



Re: debian-user-digest Digest V2007 #2180

2007-08-15 Thread Mark Grieveson
On Wed, 15 Aug 2007 06:48:54 + (UTC)
[EMAIL PROTECTED] wrote:

> Folk,
> 
> Can anyone recommend a package or application for 
> efficient viewing of photos in xfce?  I installed showfoto 
> in one system; it invokes many dependencies.
> 
> Thanks,  ... Peter E.

Perhaps gqview, or feh.

Mark


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



Re: live Debian on USB stick

2007-08-15 Thread Mark Grieveson
On Wed, 15 Aug 2007 11:33:04 + (UTC)
[EMAIL PROTECTED] wrote:

> Hello,
> I installed knoppix on my USB stick and it runs fine but it's too big
> ~ 600 Mb. There are too many packages.
> Is there a Debian dist, not as big as knoppix, that I can put on my
> USB sti= ck ?

Damn Small Linux (DSL) is Debian based, and much smaller.

Mark


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



Re: photo album or photo viewer in xfce

2007-08-15 Thread Mark Grieveson
On Wed, 15 Aug 2007 06:48:54 + (UTC)
[EMAIL PROTECTED] wrote:

> Folk,
> 
> Can anyone recommend a package or application for 
> efficient viewing of photos in xfce?  I installed showfoto 
> in one system; it invokes many dependencies.
> 
> Thanks,  ... Peter E.  

Perhaps gqview, or feh.

Mark


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



Re: photo album or photo viewer in xfce

2007-08-15 Thread Bhasker C V
Hi,

 If you want very less dependencies then you might probably want to try
gqview. But if you want to compile and you have kdelibs devel with you
then i suggest you to go for kphotoalbum. This is really good tool i am
using. 

On Wed, 2007-08-15 at 23:00 -0400, Guillermo Garron wrote:
> On 8/14/07, PETER EASTHOPE <[EMAIL PROTECTED]> wrote:
> >
> > Folk,
> >
> > Can anyone recommend a package or application for
> > efficient viewing of photos in xfce?  I installed showfoto
> > in one system; it invokes many dependencies.
> >
> > Thanks,  ... Peter E.
> >
> >
> >  http://carnot.pathology.ubc.ca/
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
> >
> 
> I do not know if F-Spot works with XFCE, but with Gnome it works
> great, take a look at it here:
> 
> http://www.go2linux.org/f-spot_linux_picture_manager_and_viewer
> 
> 
> -- 
> Guillermo Garron
> "Linux IS user friendly... It's just selective about who its friends are."
> (Using FC6, CentOS4.4 and Ubuntu 6.06)
> http://feeds.feedburner.com/go2linux
> http://www.go2linux.org
> 
> 
-- 
Bhasker C V
Registered Linux user: #306349 (counter.li.org)
The box said "Requires Windows 95, NT, or better", so I installed Linux.


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



Re: Suggestions for diagramming software

2007-08-15 Thread Daniel Burrows
On Wed, Aug 15, 2007 at 09:14:54AM -0400, Gregory Seidman <[EMAIL PROTECTED]> 
was heard to say:
> I'll second the suggestion of xfig. I used it extensively when I was
> writing papers and slides in LaTeX. The commandline tools that go along
> with it (particularly fig2dev and pstoedit) make it very easy to import
> existing diagrams (in any format you can print to postscript, though you
> won't get much advantage out of doing that with raster files) into it and
> export diagrams from it into any format. Add the PStricks LaTeX package and
> you can really do some impressive stuff with it. I still use xfig for my
> diagramming needs whenever possible.

  If you're going the direction of pstricks, I'd suggest considering pgf
instead.  It's not quite as mature or featureful, but it works when you
need to output to PDF (good for doing presentations with latex-beamer,
for instance).

  Daniel


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



Re: Samba + external drives

2007-08-15 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/15/07 17:38, koffiejunkie wrote:
> Ron Johnson wrote:
>> What if you FTP the file from the OSX box to the firewire drive on
>> the external drive?
>>
>> That might narrow down the problem.
> 
> Right, I just finished doing some tests.  Via NFS and FTP, to the
> external disc, the same thing happens.  The copy runs fine (I was
> copying a 3.9GB ISO) for a random amount of time - shortest now was
> 300MB, longest was just under 3GB - and then the disc seem to get
> unplugged.
> 
> Then, I repeated the tests, with samba, NFS and ftp, copying the same
> ISO to my home directory on the notebook, and this worked without a
> problem.
> 
> I copied the file from the notebook's drive to the external drive - no
> problem.
> 
> Then I tried the following.  I ftp-ed to localhost, and did a "put
> file.iso" to the external drive.  This worked 100%  I did similar tests
> with nfs and smb, connecting to localhost and copying the file via the
> smb/nfs clients - al worked fine.
> 
> I also did at least one failed and one successful each using the
> notebook's wireless instead of wired network, to rule out network
> hardware, and repeated all the tests from my second notebook (which runs
> Debian too).
> 
> So it's just a mix of network and network copy that seems to cause
> problems.
> 
> I hope that's better :-) Any ideas?

Yeah.  Beg for help on lkml.  :(

You've asked a relatively smart question.  I hope lkml can help even
more.
http://catb.org/~esr/faqs/smart-questions.html

- --
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)

iD8DBQFGw9meS9HxQb37XmcRAvveAJ0RamotKb9uEeYNVgL2mqtlhlxnGwCghgXU
hage0DHask9sYlxD8CUkWe0=
=VxK2
-END PGP SIGNATURE-


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



Re: Samba + external drives

2007-08-15 Thread Stefan Monnier
> So it's just a mix of network and network copy that seems to cause problems.

> I hope that's better :-) Any ideas?

I'd try linux-kernel.


Stefan


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



Re: Google checking my system?

2007-08-15 Thread Mumia W..

On 08/15/2007 06:39 PM, Steven wrote:

On Wed, 15 Aug 2007 15:56:16 -0400, Wayne Topa wrote:


thought it was odd that google, or iceweasel, needed to know anything.
Of course the entry was dropped when I terminated iceweasel.


I've noticed similar behavior for a few years.  While I've never really 
been pleased with it there isn't much choice unless you feel like 
devoting a good chuck of your time to searching and patching the source.

[...]


Huh?

This feature is called "safebrowsing," and turning it off is as easy as 
changing this option:


Edit-> Preferences-> Security-> Tell me if the site I'm visiting is a 
suspected forgery.



What concerns me most is that it's never publicized (either to the user 
specifically or in common PR discussions about the internet) about which 
unrequested/automatic connections are being made.


These discussions take place here: http://forums.mozillazine.org/

and here: http://lists.mozilla.org/

and here: alt.fan.mozilla

and here: irc.mozilla.org

and here (in your browser): Help Contents-> Preferences-> Security

If there's any sort of 
data being exchanged then who writes the protocol for the data exchange?  


Most likely it is Google. I think I remember someone mentioning Opera 
using the safebrowsing information, so I don't think that Mozilla 
invented it. Search here: http://www.google.com/search?q=safebrowsing


Who ensures that the protocol is secure?  In all reality it's probably 
exchanging a completely innocuous bit of data but who ensures that data 
is exchanged in a fashion which isn't as wide open as the recent 
discussions involving URI functionality exploits. ( http://

security.itworld.com/5043/070815URIbrowserflaw/page_1.html )




Like I said, you can disable it if you don't want it. If you do so, make 
sure the people using that profile know how to discern between the real 
Paypal web site and a fake one.




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




Re: less, exit but left content on screen

2007-08-15 Thread Bob Proulx
Hi Thomas!

Thomas Dickey wrote:
> Bob Proulx wrote:
> > Using the standard xterm the control-middle mouse button will display
> > many options of which one is "Show Alternate Screen".  It is possible
> > to flip back and forth (inconveniently) to see this manually switch to
> > the alternate screen buffer.
> 
> ...what would you regard as a convenient way to flip back/forth?

I was not trying to imply an xterm deficiency, sorry if it came off
that way, but rather acknowledging that this is not the type of action
that one would do often as a matter of normal high use.  If I did not
say it that way I was worried my explanation would be construed as a
suggestion that they should use the control-mouse all of the time as
an SOP instead of something like configuring titeInhibit to simply
disable it if they did not like the behavior.

I wanted to describe the control-mouse alternate screen switching
capability because it is useful to know about and can help people
understand what is happening at a better level of detail.  People who
have never heard of the alternate screen buffer often believe the
screen data is simply gone.  Being able to flip back and forth to it
shows where it is and that it is still available.  It provides a
better understanding of what is happening under the hood.

In my experience there are three types of people with regards to this
issue.  1) People who like the alternate screen buffer.  2) People who
don't like the alternate screen buffer.  3) People who sometimes like
it and sometimes don't like it.  :-) Therefore I think that for the
people who don't like the behavior that they should simply disable
it.  They are probably never going to like it.  But it is configurable
in the personal environment so just configure it.

I have seen this be a Major Transition Point for many people who have
moved from one environment to another over the years.  This may seem
like a very small point because literally it is a terminfo field or an
X resource or a command line option but I have seen engineers who did
not know that (and thought that the screen data was lost) list this
feature as a complete showstopper bug, something that *must* be fixed,
before moving from one system to another.  I agree such extremism over
trival points such as this sounds silly but so it has been at times.
In fact I will predict that it will again be so in the future.  People
don't change and this makes predictions such as this pretty safe bets.

Bob


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



Re: view the exit status from command line

2007-08-15 Thread Jude DaShiell

It only takes one line appended to a shell script:
echo $_ >status.log





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




Re: Weird cron behavior

2007-08-15 Thread Bob Proulx
Frank McCormick wrote:
> Damn! 10 seconds after I wrote the mail below I did sudo crontab -l
> and got:

As I was sure that you would.  :-) :-)

> 0-59 5 * * * sudo aptitude update

Yeah!  The problem has been found!  I was confident that it was in
there somewhere.  Glad that things worked out.

> How the he** did that get into there?? Would it be part of a cron or
> anacron update??

I am sure it was the work of either poltergeists or gremlins.  It
should not be part of any system package and if so would be a
violation of policy.  Packages would use one of the whole files in
/etc/cron.* and not the personal SysV style crontab.  Those are for
the humans and not for the programs.

  http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.5

Bob


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



Using deborphan

2007-08-15 Thread Csányi Pál
Hello!

I purge the orphaned packages on a Debian system:
sudo deborphan | less

and then copy / paste to the aptitude search, and then purge in aptitude.

Is there an automated way to do this task out there?

man deborphan and man aptitude dont shows any suggestion about that.

I try:
sudo deborphan | aptitude purge

but this does nothing.

On this system I purged the X Window system, so there are only the consoles out 
there.


Any advice will be appreciated!

-- 
Regards, Paul Cs?nyi
http://www.freewebs.com/csanyi-pal/index.htm


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



Re: Any suggestions on good CLI newsreaders?

2007-08-15 Thread Bob Proulx
Amit Uttamchandani wrote:
> You are right. I actually meant RSS newsreaders. Thank you for
> clearing it up.

I can't believe that no one has mentioned 'raggle' yet.

  Raggle is a console RSS (RDF Site Summary) aggregator.  Features
  include: customizable keybindings, basic HTML rendering, HTTP proxy
  support, OPML import/export, themes, support for various versions of
  RSS, browser auto-detection, bookmarks and more.

Bob


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



Re: Looking for debian source package as single tarball

2007-08-15 Thread Bob Proulx
Mathieu Malaterre wrote:
> http://www.debian.org/doc/debian-policy/ap-pkg-sourcepkg.html#s-pkg-sourcearchives
> 
> If there is no original source code - for example, if the package is
> specially prepared for Debian or the Debian maintainer is the same as
> the upstream maintainer - the format is slightly different: then there
> is no diff, and the tarfile is named package_version.tar.gz, and
> preferably contains a directory named package-version

Note that it is not required to build a "native" package and that many
people who are building a package specifically for Debian and are also
the Debian maintainer still will produce a non-native package.

>   I would appreciate if someone could point me to such a package, I
> haven't seen one so far (always comes in three files: *.dsc, tarball
> and diff).

These can be located by the version number.  Non-native packages have
an upstream version plus a package release version.  Native packages
have only a single version without a dash.

  dpkg -l | awk '$3 !~ /-/'

All of those listed by that command would represent packages installed
on your system that do not have a dash in the version number.  No dash
means no package release number means this is a native package.

Here is another way to look for packages that do not have a dash in
the version field.

  sudo apt-get install dctrl-tools

  grep-available ! -F Version - -s Package

Bob


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