Kernel reboots on startup

2003-09-19 Thread Steven
I just finished installing the 2.4.18 kernel again, and then rebooted - 
it rebooted again.  I still can't catch any messages post "Loading 
linux."  What else can I try?

--

Microsoft Windows: Proof that P.T. Barnum was correct.

Steven Schlansker
Tech Support & Programming
Flamin' Ghost Software
http://www.fgsoft.net/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



I want to find a Chinese (Big5) text input solution

2002-11-13 Thread steven



Dear all:
 
I am a Taiwanese telecom manufacturer. I am looking for a Big5 Chinese 
text input solution for Chinese SMS phone. Which means that the total size of 
hte solution has to be less than 100 KB beacause it's not for PC but 
for telephone.
 
If anyone who's got some idea, please tell me.
 
All the best,
 
Steven Chen    
 


lilo problem

1998-10-24 Thread steven
Howdy Folks!

I'm having a small problem configuring lilo and I'm hoping someone can
help.  

I have a Pentium 133 running slink with kernel 2.0.35.
I have a SCSI bootdisk and I want to make my IDE drive my root drive.

ie.. boot=/dev/sda3
 root=/dev/hda2

I wish to boot the SCSI drive because it contains a windoze partition I
need to boot (sometimes).  I've recently aquired a 6 gig IDE drive and
I've copied the linux over to it.  I'd like to continue booting the SCSI
drive, but have something pointing to my IDE drive for Linux.  At this
point I can boot either partition using loadlin.  If I boot the SCSI drive
as root, I can use lilo to fix the MBR to boot linux off that drive.  
This is not desirable because the partition is too small. However, if I
boot the IDE drive as root and attempt to use lilo I get the error message
listed below.

here is my lilo.conf file:
boot=/dev/sda3
root=/dev/hda2
install=/boot/boot.b
append="mem=80M"
map=/boot/map
vga=normal
delay=20
image=/bzImage.2.0.35
lable=Linux
read-only
image=/vmlinuz
lable=OldLinux
read-only

when I run lilo, I get the following error:

Warning: /dev/sda3 is not on the first disk
scsi0: Adopting Geometry 128/32 from the Partition Table
Added Linux *
Added OldLinux

Then if I'm silly enough to attempt the boot the system it freezes after
LI.

Does anyone have suggestions as to what I can do to fix this problem? As I
said, right now I'm booting off the debian CD using loadlin and an older
kernel. I would like to automate the process and use my kernel.

Thanks for your help!

Steven

ps.  I'm not sure of what other information you may need. So if You need
something else to solve this problem, let me know.



Re: lilo problem

1998-10-24 Thread steven
I did what you suggest below, and when I ran lilo, I got the following
message:

Warning: /dev/sda is not on the first disk
Added Linux *
Added OldLinux

And on boot, it again froze at 
LI

Thanks again...  Any other suggestions?

Steven


> See marks below.
> 
> [EMAIL PROTECTED] writes:
> 
> > Howdy Folks!
> > 
> > I'm having a small problem configuring lilo and I'm hoping someone can
> > help.  
> > 
> > I have a Pentium 133 running slink with kernel 2.0.35.
> > I have a SCSI bootdisk and I want to make my IDE drive my root drive.
> > 
> > ie.. boot=/dev/sda3
> >  root=/dev/hda2
> > 
> > I wish to boot the SCSI drive because it contains a windoze partition I
> > need to boot (sometimes).  I've recently aquired a 6 gig IDE drive and
> > I've copied the linux over to it.  I'd like to continue booting the SCSI
> > drive, but have something pointing to my IDE drive for Linux.  At this
> > point I can boot either partition using loadlin.  If I boot the SCSI drive
> > as root, I can use lilo to fix the MBR to boot linux off that drive.  
> > This is not desirable because the partition is too small. However, if I
> > boot the IDE drive as root and attempt to use lilo I get the error message
> > listed below.
> > 
> > here is my lilo.conf file:
> > boot=/dev/sda3
>^ /dev/sda 
> > root=/dev/hda2
> > install=/boot/boot.b
> > append="mem=80M"
> > map=/boot/map
> > vga=normal
> > delay=20
> > image=/bzImage.2.0.35
> > lable=Linux
> > read-only
> > image=/vmlinuz
> > lable=OldLinux
> > read-only
> > 
> > when I run lilo, I get the following error:
> > 
> > Warning: /dev/sda3 is not on the first disk
> > scsi0: Adopting Geometry 128/32 from the Partition Table
> > Added Linux *
> > Added OldLinux
> > 
> > Then if I'm silly enough to attempt the boot the system it freezes after
> > LI.
> > 
> > Does anyone have suggestions as to what I can do to fix this problem? As I
> > said, right now I'm booting off the debian CD using loadlin and an older
> > kernel. I would like to automate the process and use my kernel.
> > 
> > Thanks for your help!
> > 
> > Steven
> > 
> > ps.  I'm not sure of what other information you may need. So if You need
> > something else to solve this problem, let me know.
> 
> 
> -- 
> /*** Running Debian Linux ***
> *   For God so loved the world that He gave his only begotten Son,  *
> *   that whoever believes in Him should not perish...John 3:16  *
> * W. Paul Mills  *  Topeka, Kansas, U.S.A.  *
> * EMAIL= [EMAIL PROTECTED]  *  WWW= http://Mills-USA.com/  *
> * Bill, I was there several years ago, why would I want to go back? *
> * pgp public key on keyservers everywhere? */
> 


help

2000-05-18 Thread steven



i dont know if you can help me but i got a 486 that 
i am installing windows into
i have upgraded the cdrom to a creative 40x and i 
can only setup 3.1 from my cd using a win98 bootdisk
it lets me install it and says close down to dos 
and type win to enter but it says invalad dos version


[no subject]

2002-01-02 Thread steven



hello debian my noot book driver d no in said my pc 
how to do.


DECchip 21041 can send/receive packets, but no data in them

2004-01-21 Thread Steven
I recently upgraded from a working 2.4.x kernel to a 2.6.1 (Performa 
6360, arch=pmac)  In that old kernel, my network card was working fine. 
 Now, with the new kernel, it no longer does.  I am able to ping 
google.com, and it replies just fine.  But, when I telnet google.com 
80, it will not return any data.  As soon as it should, it says that 
the connection was closed by the remote host.  This apparently only 
happens with connections that must go through my home router (Netgear 
WGR614), as I was able to do a successful transfer by doing this on one 
of my other machines:
nc -l -p 5616

and then telnet 192.168.0.3 5616 on my Linux machine.  I was then able 
to type on both ends.  But, ssh and other such things do not work at 
all (from either side)  Could someone please try to help me with this 
problem?  Thanks,
Steven

P.S. - I posted a similar problem on the debian-powerpc mailing list 
recently, and nobody responded within a reasonable time frame.  I hope 
that by moving to a higher-volume list I might have better chances.  
But, because of the high volume, I would prefer not to subscribe to 
this list in addition to debian-powerpc.

Therefore, could any replies please be CC'd to me?  Thanks again,

------

Steven Schlansker

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



Adding ipchains to kernel

2003-07-26 Thread Steven
I'm recompiling my kernel - I forgot to add ipchains support last time. 
 The problem is that ipchains isn't listed in the menuconfig stuff.  
Where do I build it in?  I also searched .config for ipchains, but it 
wasn't found.  Thanks for any help.
Steven

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



Re: Adding ipchains to kernel

2003-07-26 Thread Steven
On Saturday, July 26, 2003, at 09:06  AM, Andreas Janssen wrote:

Hello

Steven wrote:

I'm recompiling my kernel - I forgot to add ipchains support last 
time.
  The problem is that ipchains isn't listed in the menuconfig stuff.
Where do I build it in?  I also searched .config for ipchains, but it
wasn't found.  Thanks for any help.
Steven
What kernel do you use? Using menuconfig with 2.4, ipchains is in:
2.4.18

Main Menu =>
Networking options =>
IP: Netfilter Configuration =>
No such option
ipchains (2.2-style) support
Should I enable the Network packet filtering?  Is this the same thing?  
It says that it replaces ipchains...

The option is called CONFIG_IP_NF_COMPAT_IPCHAINS.

best regards
Andreas Janssen
--
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
--
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]



Troubles with my keyboard

2018-11-03 Thread Steven

Hi everyone,

yesterday i had  a strange trouble with my debian. my keyboard suddenly 
stopped working. i tried another keyboard, reboot but nothing helped. i 
did a restart and the mate login manager let me type in my username and 
password, but after the login the keyboard did not respond again.


i created another user and then it worked again, the only message i 
found from .xsession.log was:


-session-manager[8382]: WARNING: Could not launch application 
'notify-osd.desktop': Unable to start application: Kindprozess 
»/usr/lib/notify-osd/notify-osd« konnte nicht ausgeführt werden (Datei 
oder Verzeichnis nicht gefunden)

SSH_AUTH_SOCK=/run/user/1000/keyring/ssh

(mate-settings-daemon:8454): Gtk-WARNING **: gtk_widget_size_allocate(): 
attempt to allocate widget with width -1 and height 1


(mate-panel:8462): Gtk-WARNING **: Allocating size to PanelToplevel 
0x556b5df4be90 without calling gtk_widget_get_preferred_width/height(). 
How does the code know the size to allocate?


(mate-panel:8462): Gtk-WARNING **: Allocating size to PanelToplevel 
0x556b5e120200 without calling gtk_widget_get_preferred_width/height(). 
How does the code know the size to allocate?
Gtk-Message: GtkDialog mapped without a transient parent. This is 
discouraged.
Warnung der Fensterverwaltung:CurrentTime used to choose focus window; 
focus window may not be correct.
Warnung der Fensterverwaltung:Got a request to focus the no_focus_window 
with a timestamp of 0.  This shouldn't happen!
[1541198036,000,xklavier.c:xkl_engine_start_listen/]     The backend 
does not require manual layout management - but it is provided by the 
application
Gdk-Message: mate-volume-control-applet: Fatal IO error 11 (Die 
Ressource ist zur Zeit nicht verfügbar) on X server :0.


Gdk-Message: evolution-alarm-notify: Fatal IO error 11 (Die Ressource 
ist zur Zeit nicht verfügbar) on X server :0.


Gdk-Message: mate-screensaver: Fatal IO error 11 (Die Ressource ist zur 
Zeit nicht verfügbar) on X server :0.


Gdk-Message: nm-applet: Fatal IO error 11 (Die Ressource ist zur Zeit 
nicht verfügbar) on X server :0.



i tried to reinstall mate and notify-osd but the file is still missing. 
the new user has no such problems.



has someone a clue what's going on here ??


best regards,

steven



Re: Computer freezes with linux-image-2.6.21-2

2007-07-15 Thread Steven
On Fri, 13 Jul 2007 16:50:48 +0100, Brad Rogers wrote:
 
> I recall a guy asking if anyone was having trouble with the -686 kernel
> on another list, although nothing seems to have been resolved for him,
> as yet.

The snd_cs46xx module is broken with linux-image-2.6.21-2-686.


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



Re: resolv.conf getting overwritten

2007-07-26 Thread Steven
On Thu, 26 Jul 2007 20:07:05 +0100, Harvey Kelly wrote:

> No matter what, /etc/resolv.conf will get overwritten with

Do you have the package 'resolvconf' installed?  It's required by some 
other common network packages.  I had to read the docs/README a few times 
when it first showed up in Sid because it drove me nuts.


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



Ninja 0.1.2-1

2007-07-30 Thread Steven
Ninja 0.1.2-1 sounded like a useful idea.  I think it has led me to find 
a possible flaw in screen.

Running Debian Sid, linux-image-2.6.23-rc1-070729 (custom make-kpkg build), 
Xorg, enlightenment, Eterm, screen, I plugged a USB wireless network stick into 
the system.  Since I had not fully configured ninja's whitelist ninja killed 
the ifup/dhclient3/dhclient-script/sleep processes triggered by the USB 
wireless stick.  This caused some garbage to appear on the Eterm.

16:37 [EMAIL PROTECTED]:/usr/src/git/linus-2.6$ fakeroot make-kpkg 
kernel_image>÷´
ýrch/sh/drivers/heartbeat.cF§ÊF¥@
 
q¸¤é(1¸ûÆòÈdŸ§/ÃÁxq C¡î8Þrch/sh/drivers/pci/KconfigF§ÊF¥@

   q¹¤é(Ã/e¬rôŠç±î“טaÁMÃs‘
arch/sh/driv

The garbage seems to have been able to invoke some type of completion as it 
spewed into the shell.

If I use the cursor keys I can redraw the current command line.  ^A ? (the 
screen help menu) followed by space will redraw the screen without the garbage. 
 ^A ^L (screen's builtin 'redisplay') redraws the screen with the garbage.

If I detach the screen in the Eterm and reattach at a console tty there are no 
problems with the display.  If I detach from the console tty and reattach in 
the Eterm the garbage returns.

The garbage isn't actually on the command line.  Hitting enter is the same as 
hitting enter.  It's just garbage in some display buffer.


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



Iceweasel 2.0.0.5 and /dev/hda

2007-08-02 Thread Steven
If I try `strings -a /usr/lib/iceweasel/firefox-bin | less` and then 
search the output for "Peter" I find a reference to MACOS WebStar FTP / 
MACOS Peter's Server.  Is this normal?

Also, if I `dd if=/dev/hda of=test bs=512 count=16384 && strings -a test 
| less` I see several explicit module paths, a reference to an old kernel 
which isn't on the system anymore (that I know of), and what looks like 
an irc proxy.

The relevant output from strings firefox:

http://www.mozi lla.org/credits/
chrome://global/content/mozilla. xhtml
chrome://global/content/plugins.html
chrom e://global/content/config.xul
chrome://global/con tent/logo.gif
chrome://global/content/buildconfig .html
chrome://global/content/license.html
chrom e://global/content/aboutAbout.html
chrome://globa l/content/netError.xhtml
f`u!
network.ftp.idleCo nnectionTimeout
nP6B
4B]E0
text/ftp-dir
%llu
UNIX
MACOS Peter's Server
MACOS WebSTAR FTP
OS/390
windows
WIN32
OS/2
PASS
PASS x
EPSV
PASV
REST
servertype
LIST *.*;0
LIST
SIZE
CWD
TYPE I
ACCT noaccount
SYST
advanced.mailftp
[EMAIL PROTECTED] .com
USER
RETR
MDTM
STOR
%ld,%ld,%ld,%ld,%ld, %ld
@mozilla.org/passwordmanager;1
network.ftp.a nonymous_password
Af]_RO
SnsHttpBasicAuth::Gener ateCredentials [challenge=%s]
basic
[EMAIL PROTECTED]/security/hash ;1
realm

The relevant output from dd /dev/hda:

/usr/lib/klibc/bin/sleep
/usr/lib/kli bc/bin/true
/usr/lib/klibc/bin/umount
/usr/lib/k libc/bin/uname
/usr/lib/klibc/bin/zcat
/etc/init ramfs-tools/initramfs.conf
/etc/initramfs-tools/c onf.d/resume
/bin/busybox
/lib/i686/cmov/libcryp t.so.1
/lib/i686/cmov/libm.so.6
/lib/i686/cmov/l ibc.so.6
/lib/ld-linux.so.2
/bin/busybox
/sbin/ modprobe
/sbin/depmod
/sbin/rmmod
F0p|F)
F/p|F )
arch/i386
/lib/linux-sound-base/noOSS.modprobe .conf
/lib/modules/2.6.22-1-686/kernel/drivers/vi deo/vgastate.ko
/lib/modules/2.6.22-1-686/kernel/ drivers/video/vga16fb.ko
/lib/modules/2.6.22-1-68 6/kernel/drivers/acpi/fan.ko
/lib/modules/2.6.22- 1-686/kernel/drivers/acpi/processor.ko
/lib/modul es/2.6.22-1-686/kernel/drivers/acpi/thermal.ko
.. /permissions.rules
../persistent.rules
../persis tent-input.rules
../run.rules
../hotplug.rules
/sbin/udevd
../persistent-net-generator.rules
.. /udev.rules
../alsa-utils.rules
../hdparm.rules
/lib/udev/ata_id
/lib/udev/cdrom_id
/lib/udev/e dd_id
/lib/udev/path_id
/lib/udev/scsi_id
/lib/ udev/usb_id
/lib/udev/vol_id
/lib/libvolume_id.s o.0
boot/vmlinuz-2.6.23-rc1-070724
FL~8F
boot/i nitrd.img-2.6.22-1-686
boot/initrd.img-2.6.23-rc1 -070724

and a little further on:

:are supported by this server
:%s 251 %s :There are 0 users and 0 invisible on 1 servers
:%s 255 %s :I have 0 clients, 0 services and 0 servers
:%s 422 %s :MOTD File is missing
:%s 306 %s :You have been marked as being away
:%s 366 %s %s :End of /NAMES list.
remove_client
proxy_redirect_event
sig_li sten_client
sig_listen
sig_incoming
sig_server_ event
rec != NULL
proxy client disconnected
proxy %p
PASS
NICK
USER
QUIT
PING
:%s PONG %s :%s
PROXY
CTCP ON
CTCP OFF
WHOIS
whois
ISON
ison
USERHOST
userhost
  MODE
%s %s
mode channel
mode b
mode e
mode I
PRIVMSG
PRIVMSG %s
message own_private
message own_public
ACTION
message irc own_action
message irc own_ctcp
AWAY
server disconnected
event nick
setup changed
Proxy: Client disconnected from %s
:%s NOTICE %s :Another client is now receiving CTCPs sent to %s
:%s NOTICE %s :You're now receiving CTCPs sent to %s
:%s NOTICE %s :Proxy is now handling itself CTCPs sent to %s
:%s NOTICE %s :Not connected to server
Proxy: Client connected from %s
:%s NOTICE %s :Connected to server
:%s NOTICE %s :Connection lost to server %s
PART %s :Connection lost to server
Proxy: can not resolve '%s' - aborting
Proxy: Listen in port %d failed: %s
.shstrtab
.hash
 
# libirc_proxy.la - a libtool library file
# Generated by ltmain.sh - GNU libtool 1.5.20 (1.1220.2.287 2005/08/31
18:54:15)# Please DO NOT delete this file!
# It is necessary for linking the library.
# The name that we can dlopen(3).
dlname='libirc_proxy.so.0'
# Names of this library.
library_names='libirc_proxy.so.0.0.0 libirc_proxy.so.0 
libirc_proxy.so'
# The name of the static archive.
old_library='libirc_proxy.a'
# Libraries that this one depends upon.
dependency_libs=''
# Version information for libirc_proxy.
current=0
age=0
revision=0
# Is this an already installed library?
installed=yes
# Should we warn about portability when linking against -modules?
shouldnotlink=yes
# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=

xmms2

2007-08-04 Thread Steven
The system is Debian Sid except for the git kernel.  The first four 
attempts to start the server failed.  The fifth attempt was successful.

shell:

13:54 [EMAIL PROTECTED]:~$ xmms2 play
Log output will be stored in /home/ssg/.cache/xmms2/xmms2d.log
xmms2 started
13:54 [EMAIL PROTECTED]:~$ [  321.530036] xmms2d[12289]: segfault at 
656d6f74 eip b7dfa550 esp b6b90f7c error 4

13:54 [EMAIL PROTECTED]:~$ xmms2 play
Log output will be stored in /home/ssg/.cache/xmms2/xmms2d.log
xmms2 started
13:54 [EMAIL PROTECTED]:~$ [  322.773761] xmms2d[12302]: segfault at 
002d eip b7ee72a2 esp b5bcceb8 error 4

13:54 [EMAIL PROTECTED]:~$ xmms2 play
Log output will be stored in /home/ssg/.cache/xmms2/xmms2d.log
xmms2 started
13:54 [EMAIL PROTECTED]:~$ [  324.221879] xmms2d[12314]: segfault at 
6d63705f eip 08069178 esp b5bc7ea0 error 4


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



Iceweasel file associations

2007-08-11 Thread Steven
As much as I really don't like it Iceweasel has some preconceived notions 
about how to open files based upon their filename extension.  
Specifically I'm thinking with respect to .c and .patch files, though 
others may apply.  The problem is that Iceweasel wants to open these 
files with less which never happens successfully.  Most often, when I'm 
trying to view the files in the web browser, it's because I want quick 
access for copy and paste.  When the requester appears asking how I would 
like to open the file I have tried to manually direct it to /usr/lib/
iceweasel/iceweasel and firefox-bin.  Both result in the creation of a 
new tab on the active window and the reappearance of the requester asking 
me how I'd like to open the file.

How can I change this behavior to "Just show me the $#%*'in file as plain 
text in a browser tab"?


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



Re: can not launch any window manager

2007-08-14 Thread Steven
On Tue, 14 Aug 2007 01:02:02 -0400, B Thomas wrote:

> functioning cursor. No matter what I put in my ~/.xinitrc this is the

Feel free to post your ~/.xinitrc

Have you modified any files in /etc/X11 ?  By default, even if all else 
fails, you should be presented with at least one term window.

What command are you using to start X?


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



Re: Iceweasel file associations

2007-08-14 Thread Steven
On Mon, 13 Aug 2007 23:40:45 -0500, Wu-Kung Sun wrote:

> http://lists.debian.org/debian-user/2007/08/msg00763.html has a link to
> an extension that does this.

http://www.spasche.net/mozilla/

https://bugzilla.mozilla.org/show_bug.cgi?id=57342

https://bugzilla.mozilla.org/show_bug.cgi?id=258012

I'll continue compensating until the bugfix makes it to Sid.


-- 
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: Google checking my system?

2007-08-16 Thread Steven
It's featureware which opens just as many new MiM considerations as it 
solves phishing considerations.  Pick your poison, I guess.  There's 
still no real excuse for unrequested network connections during an idle 
session if its only purpose is to verify site identity during active use.


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



Totem tries to close already closed drive, disables dma

2006-08-04 Thread Steven
Hi, I am not sure where to report this bug, if it's a bug at all, and so I am posting it hereI am using debian 'testing' fully updated.When I try to use Totem to play a dvd, the DMA mode of my dvd player gets disabled:
hda: irq timeout: status=0xd0 { Busy }ide: failed opcode was: unknownhda: DMA disabledhda: ATAPI reset completeAnd as a result the playback is bad, it stops and than starts again a couple of times in
a second. I started Totem in the console and this is the output: ~$ totemclosingclosingclosingclosinglibdvdnav: Using dvdnav version 1.1.1 from http://xine.sf.net
[...]When the messages "closing" start to appear, I hear my drive trying to do somethingwith the door, I assume it's trying to close itself, but it's already closed. Here's the output of hdparm (before I try playing with totem):
hdparm -vi /dev/dvd/dev/dvd: IO_support   =  0 (default 16-bit) unmaskirq    =  0 (off) using_dma    =  1 (on) keepsettings =  1 (on) readonly =  0 (off) readahead    = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device Model=_NEC DVD_RW ND-3540A, FwRev=1.01, SerialNo= Config={ Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=yes, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes:  pio0 pio1 pio2 pio3 pio4 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2 AdvancedPM=no * signifies the current active modeWhen playing with "codeine" player, there are no problems whatsoever, it does not disable the dma mode of my drive. 
Please, advise me what to do. Thank you!Steve


Re: Things I Don't Understand About Debian

2011-03-03 Thread Steven
On Wed, 2011-03-02 at 19:33 +, Steven Ayre wrote: 
> Normal users will clear screen on logout, root will not.
> 
That was the case in Etch, I'm not sure about Lenny, but both squeeze
and testing/wheezy don't behave like that on my machine.

> 
> 
> On 23 February 2011 22:26, Sven Joachim  wrote:
> > On 2011-02-23 23:14 +0100, Ron Johnson wrote:
> >
> >> On 02/23/2011 03:11 PM, Carlos Mennens wrote:
> >>> 1. Screen from console is not cleared as root or regular user once you 
> >>> log out.
> >>>
> >>
> >> You're allowed to create /etc/bash.bash_logout which does:
> >> if [ "$SHLVL" = 1 ]; then
> >> [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
> >> fi
> >
> > I would like to add that this snippet has been in /etc/skel/.bash_logout
> > for almost five years, so any user account created on Debian 4.0 or
> > newer should have this already in his home directory.
I'm running testing, that snippet does exist in /etc/skel but like I
said above, I'm not seeing the console being cleared.

Kind regards,
Steven



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


Re: Things I Don't Understand About Debian

2011-03-04 Thread Steven
On Fri, 2011-03-04 at 10:25 +0200, Andrei Popescu wrote: 
> On Jo, 03 mar 11, 21:12:48, Steven wrote:
> > I'm running testing, that snippet does exist in /etc/skel but like I
> > said above, I'm not seeing the console being cleared.
> 
> Files in /etc/skel are copied to the $HOME of a new user, not sourced. 
> If you removed the copies from your $HOME it won't work.
> 
How stupid of me, if that's the case then I think I know what went wrong
with my installation. I verified that a testing installation on virtual
box does clear the console. On my desktop I installed Squeeze (back then
it was testing), and I think I cleared my home directory en copied over
several directories from my old Lenny installation, might have missed
that file.

Thanks for clearing that up for me.

Regards,
Steven


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


Re: Addressing a machine behind the router without port forwarding or DMZ

2011-04-03 Thread Steven
On Sun, 2011-04-03 at 15:25 +0300, Dotan Cohen wrote: 
> Not a Debian-specific question, but I turn to the best brains that I know.
> 
> Assuming a LAN with a router and three machines:
> 10.0.0.1 Router
> 10.0.0.2 Computer1
> 10.0.0.3 Computer2
> 10.0.0.4 Computer3
> 
> The router sits on an outside IP address of 123.45.67.89. There is no
> DMZ or port forwarding assigned on the router to any of the other
> machines.
> 
> Is there any way an individual from outside the LAN could access a
> resource (Apache for instance, or SSH) on Computer1 assuming that he
> knows Computer1's LAN IP address? Would this this be possible if he
> had access to Computer1 and could configure it somehow (without
> configuring the router)?
> 
> Thanks.
> 

To my knowledge, no, there is not. Only if the traffic is part of an
existing connection created by one of the machines inside your LAN.

If he wants access to computer 1, your router would need to be
compromised (or computer 1 using some kind of malware, then computer 1
could initiate the traffic itself. The malware could be hosted on an
external website you need to visit).

Kind regards,
Steven


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


Re: New to Linux

2011-04-13 Thread Steven
On 2011-04-12 18:41, rishabh animesh wrote:
> Hello People,
> 
> I am new to Linux and Debian. Whats the best way to start on things?
> Currently I'm a Computer Science student and have experience only with
> algorithms! Comfortable with C/C++
> but willing to learn more to help me get started with the OS mentioned
> above!
> 
> I need suggestions on projects I can participate in considering I am
> just a noob in this.
> 
> I have experiences with the Search Technology. I have also created a
> forum to promote programming among my peers where we organize monthly
> contests on this portal. www.code.vrglinug.org
> 
> 
> Regards
> Rishabh


The following books with get you started:

Debian GNU/Linux Bible. Debian release version 6.x only a short time ago
so the book will most like be for the older version.

The Debian System concepts and techniques.

Moving to Linux, Second Edition: Kiss the Blue Screen of Death Goodbye!
(2nd Edition)

Also look at the Debian doc web site.
http://www.debian.org/doc/books


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4da54a1b.1050...@fiwwi.com



Re: How I can remove my folder icons in desktop screen?

2011-04-25 Thread Steven
On Mon, 2011-04-25 at 22:35 +0900, J.Hwan.Kim wrote: 
> Hi, everyone
> >From onetime ago,  In my desktop screen,
> the icons of direcotry and files in my home folder appears.
> When I remove the icon in my desktop screen,
> the folder of that icons is removed really.
> I do not like the icons of my folder appears in default desktop screen.
> How can I remove the icons not erasing real directories and files in my
> folder?
> My system is squeeze.
> 
> Thanks in advance.
> Best Regards,
> J.Hwan Kim
> 
> 

Assuming gnome:
start gconf-editor (start with terminal or the menu: Applications -
System tools - Configuration editor)
go to apps - nautilus - desktop
There you can find check boxes to enable/disable some icons (network,
computer, home directory and trash)

Kind regards,
Steven


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


mdraid auto-read-only, mdmon segfaults

2011-05-02 Thread Steven
Hi list,

A while back I added a third raid array to my machine (mdraid) and
migrated that array, along with the 2 existing ones to a single LVM
volume(ext3, mounted on /media/data, not required at boot time). Now I
noticed that the 2 older arrays are active, but have a read-only status.

# cat /proc/mdstat
Personalities : [raid1] 
md1 : active (auto-read-only) raid1 sdg1[0] sdh1[1]
  976759936 blocks [2/2] [UU]
  
md2 : active raid1 sda1[0] sdb1[2]
  976758841 blocks super 1.2 [2/2] [UU]
  
md0 : active (auto-read-only) raid1 sdd1[0] sde1[1]
  976759936 blocks [2/2] [UU]

Looking around I read that mdmon should be running, however this doesn't
appear to be the case. Trying to start it results in a segmentation
fault.

# mdmon --all-active-containers --takeover
Segmentation fault

From messages:
[ 1103.041202] mdmon[4618]: segfault at 0 ip 0804afbe sp bfe72220 error
4 in mdmon[8048000+2f000]

That message doesn't come up earlier, so I don't know if mdmon is being
started and segfaults, or just isn't started at all on boot. The
filesystem appears to be working normally.

Any ideas or suggestions on how to proceed?

Kind regards,
Steven


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


Re: Poll - What Smartphone do you use?

2011-05-03 Thread Steven
On Mon, 2011-05-02 at 20:35 -0700, giovanni_re wrote: 
> So, today's poll is:
> 
> What Smartphone do you use?
> 
> Please reply to this message with:
> 
> Manufacturer name   Model name, OS name, Cell Carrier name, Country you
> live in.
> 
> 
> =
> For example, I'll start first:
> Samsung   Intercept, Android (Debian I Wish - DIW), Virgin Mobil
> (=Sprint), USA.
> 
> 
> =
> So, what Smartphone do _you_ use?

I use a Nokia N900 running Maemo 5, my carrier is Proximus (Belgacom
mobile), Belgium.
Only major downside I experience is that it's not fully compatible with
my car kit. The car is recognized as a bluethooth headset, so I can take
calls, but need to use the phone to make any outgoing calls.
Unfortunately i doubt this will get fixed in the near future.

Regards,
Steven


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


Re: Poll - What Smartphone do you use?

2011-05-04 Thread Steven
On Tue, 2011-05-03 at 21:45 -0500, green wrote: 
> Steven wrote at 2011-05-03 16:34 -0500:
> > Only major downside I experience is that it's not fully compatible with
> > my car kit. The car is recognized as a bluethooth headset, so I can take
> > calls, but need to use the phone to make any outgoing calls.
> > Unfortunately i doubt this will get fixed in the near future.
> 
> Somehow the n900 seems as obsolete already as the n770.  So has Nokia dropped 
> support for it yet?

It would seem that way yes. There are community updates to make up for
Nokia's failing, but I haven't tried them out yet. Perhaps only serious
issues will get fixed by Nokia, if anything at all. Sad really, I always
liked Nokia phones.


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


Re: Jag är bekymrad av att ha träffat dig här Hilda

2017-08-05 Thread steven
Jag är också bekymrad därför din kontakt är inte personlig, utan det är att 
skapa mer medlemmar.

Verkar inget ha med känslor att göra utan ren affärsbissniss



-Ursprungligt meddelande- 
From: Hilda Karpinskas

Sent: Saturday, August 5, 2017 4:42 PM
To: debian-user@lists.debian.org
Subject: Jag är bekymrad av att ha träffat dig här Hilda



Nu är jag förfärad av att inte veta om du vill chatta med mig
http://bitly.com/2vzj9jI 



Re: Why is exim installed by default?

2011-10-17 Thread Steven
On 16/10/11 05:47 PM, Andrew Wood wrote:
> Why is an MTA (exim) installed by deafult on Squeeze even if the 'Mail
> Server' option is not selected during installation? Does it actually
> serve any purpose on an out of the box basic installation?
>
> Andrew
>
>
Exim4 is installed by default in Debian distributions because it is the
default MTA (Mail Transport Agent) for Debian distributions. There are
two versions of exim4: exim4-daemon-light and exim4-daemon-heavy. The
exim4-daemon-light version is installed by default.

Like Unix systems, Linux systems defaults to sending system
notifications via email. Since emails can be sent, copied, cc'ed, bcc'ed
and redirected to any email address both locally and remotely it makes
automatic system email notification easy and flexible.

exim4-daemon-light
"Lightweight Exim MTA (v4) daemon

Exim (v4) is a mail transport agent. This package contains the exim4
daemon with only basic features enabled. It works well with the
standard setups that are provided by Debian and includes support for
TLS encryption and the dlopen patch to allow dynamic loading of a
local_scan function."

exim4-daemon-heavy
"Exim MTA (v4) deamon with extended features, including exiscan-acl
Exim (v4) is a mail transport agent. This package contains the exim4
daemon with extended features. In addition to the features already
supported by exim4-daemon-light, exim4-daemon-heavy includes LDAP,
sqlite, PostgreSQL and MySQL data lookups, SASL and SPA SMTP authentication,
embedded Perl interpreter, and the content scanning extension
(formerly known as "exiscan-acl") for integration of virus scanners
and spamassassin."

Yes exim4 does server a purpose and from a system administrator’s and
security point view it is very important.
Exim4 is used by several processes to send notifications via email to
the local root user. These notifications include but are not limited to:
failed login attempts, failed login of sudo users/non-users, cron jobs
such as log rotation, kernel errors, date backup status, etc. Other
processes can also be configured to send their notifications to the root
user by email via exim4.

Note:
By default the root user is not permitted to receive emails for security
reasons so emails are redirected to a non-root user. This is configured
in the /etc/aliases file in the format "root: mike". Where all emails
sent to the root user will be re-directed to the local system user
"mike". By default "mike" would be the first non-root user added to the
system during installation. This can be changed by editing the
/etc/aliases file and changing "mike" to any other user on the system or
any valid email address. If a valid email address is used then exim4 has
to be configured to send emails to MTAs on the Internet or a smarthost.

Local emails can be read after logging in as the redirected user "mike"
using email clients such as the default mail client by typing "mail"
[enter] in a consul or at the desktop using "kmail" or "Evolution".

Exim4 can also be configured to use "maildir" which stores each email
message in a separate file as opposed to the default which stores all
email messages in one file. It can also be configured to send the emails
to any other MTA on the local network or Internet if these networks are
contactable. Exim4 can be replaced by any other MTA that is compatible
with the distribution.

I recommend at the very least to leave the default exim4-daemon-light
package installed. System emails can be checked periodically at stated
above. On an average computer the resources it uses is negligible and
the system email notifications are invaluable. Unless system maintenance
or security is not an issue.

One very important notification is low or zero disk space on the root
"/" partition. Low or zero space on the root "'/" partition can cause
the OS to behave in an unpredictable manor and some processes will
behave strangely or not execute at all. This condition can easily occur
on a "desktop" or "laptop" system where "/tmp" is normally located on
the root "/" partition.


STeven.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e9c6d95.5070...@fiwwi.com



Re: Debian 4.0

2011-10-26 Thread Steven
On Wed, 2011-10-26 at 11:55 +0530, she...@rri.res.in wrote: 
> Hi,

Hello,

> 
> 
> This is Sheela.I want to install Debian 4.0 on i686 machine as this is
> the only supported platform for installing driver for my pci board.
>Is it  available for downloading,if so please send me the link.
> 

Yes, old images should still be available, see [1] for more information
and a link as to where to get them.
However I find it difficult to believe that a more recent release
wouldn't work for you. What kind of pci board are you talking about?

> 
[...] 
> 
> 

Kind regards,
Steven


[1] http://www.debian.org/CD/faq/#old


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


Default applications in Gnome 3 not respected

2011-11-15 Thread Steven
Hi list,

I'm running wheezy here.
Despite seeing all the negative messages about Gnome 3, I decided to
upgrade anyway, now that the nvidia drivers have been updated for x
1.11. I have a few problem I'm still trying to solve (dual monitor and
keyboard layout in gdm3 being the other on top of my list), but for
those I don't find an answer I'll post a message to the list.

So...
I have a 'launch media player' key on my keyboard, which should launch
my default music player. When pressed I was kind of surprised it
launched totem instead of rhythmbox.
I went into the system settings, found the 'default applications' tucked
away under 'system info' (weird place btw), then changed them.
However when pressing that key, it is still totem that gets launched,
even after logging out and back in again.

Does anyone have a similar problem? Preferably with a solution of
course.

Kind regards,
Steven


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


Re: Default applications in Gnome 3 not respected

2011-11-16 Thread Steven
Thanks for your reply Camaleón.

On Wed, 2011-11-16 at 18:31 +, Camaleón wrote: 
> On Tue, 15 Nov 2011 23:29:03 +0100, Steven wrote:
> 
> (...)
> 
> > I have a 'launch media player' key on my keyboard, which should launch
> > my default music player. 
> 
> Run "xev" and press that key to see what triggers.

If I'm reading the output of xev correctly that would be keycode 36, no
name mentioned. When I configure keyboard shortcuts (system settings -
keyboard, tab shortcuts - 'sound and Media') it says that key is named
"Tools".

> 
> Maybe what your keyboard understands for "media player" is not an "audio 
> player" but a more generic mulmedia player (totem is capable of running 
> video and audio tracks while rhythmbox only audio).
> 
[*snip*] 
> 
> I don't have such special key in my keyboard but I would try this:
> 
> >From "System info", set "rhythmbox" as default application for both, 
> music and video, and see if that works.

I actually have my video player set to VLC in the defaults, so if it
would launch the default video player instead of music player, I
(sh)would have been VLC, not totem.

> 
> 
> If it works, that could mean that your "launch media player" key is 
> associated to the default video player application from your system, so 
> I'm afraid you will have to manually edit the keycode to instruct your 
> key to launch the audio player instead.

As far as I can see Gnome doesn't make that distinction when configuring
the keyboard shortcuts.

> 
> If it neither works, we'll have to start looking into another place :-)

I'm ready to try some stuff, now that I (partially) fixed my other 2
problems. :)

> 
> Greetings,
> 
> -- 
> Camaleón
> 
> 

Kind regards,
Steven



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


[Solved] Re: Default applications in Gnome 3 not respected

2011-11-17 Thread Steven
On Thu, 2011-11-17 at 15:10 +, Camaleón wrote: 
> On Wed, 16 Nov 2011 21:02:35 +0100, Steven wrote:
[...] 
> 
> Hum... I would try this: Go to System info → keyboard → keybindings tab 
> and from there add a new combo to launch your audio player ("rhythmbox") 
> from the bottom option, "custom keybindings" or something like that.
> 
> If the current key is already being used for the default "Sounds and 
> media → open media player" action, just disable it so you can use it for 
> your customized command.
> 

Ah, yes, thank you, that works like a charm.

> Greetings,
> 
> -- 
> Camaleón
> 
> 

Kind regards,
Steven


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


Boot failure between grub and kernel?

2012-01-01 Thread Steven
Hi list,

First of all Happy New Year.

I'm running Debian Wheezy and the past month I have this strange problem
when doing a cold boot. The system hangs right after the GRUB2 selection
menu, before any md raid arrays have been started.
After the GRUB2 selection menu the screen only displays "Loading, please
wait..." and hangs indefinitely. Hitting the reset button works most of
the time, but occasionally additional attempts are needed.
In a normal situation the screen would display the same "Loading, please
wait..." message, but immediately followed by the messages that the md
raid arrays have been started (Still "loading please wait" message on
top, which disappears as the screen starts scrolling) and after that all
other messages from a normal boot.

First I thought it might be my new keyboard (bluethooth with a USB
dongle) as that is when it started happening. The problem still persists
when booting without that keyboard. Both motherboard, CPU and RAM have
been replaced (due to other issues) in the meantime, no change. I did a
short SMART self-test on every drive, no problems detected.

There is no entry whatsoever in the system logs about a failed attempt.

Does anyone have any suggestions on how to proceed? Or what might be the
cause of the problem?

Kind regards,
Steven


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


Re: Boot failure between grub and kernel?

2012-01-01 Thread Steven
On Sun, 2012-01-01 at 08:04 -0600, hvw59601 wrote:
[*snip*] 
> This is a desktop with an Asus 
> M4N98TD EVO mobo, 4GB mem, 4 HDD's. No messages anywhere about the hang.

I have an Asus as well, P8H67, but this also happened with the previous
board, a MSI P45 Diamond, but not until over a year after running
without that issue.

> It's not kbd related because I have switched kbds, it may be mobo 
> related, I don't remember if this happened with my previous mobo.
> 

I'm currently thinking kernel regression? But it's definitely not a
specific chipset or CPU issue as both my chipsets and CPU's were Intel,
whereas yours features an AMD CPU with NVidia chipset.

Excellent tip about the quiet option, I've had it enabled, as per
default, after disabling it the first reboot went fine, so no extra info
for now.

Also thank you for your suggestion Camaléon, I'll try that next if
omitting the 'quiet' option doesn't reveal anything.

Kind regards,
Steven


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


Re: Boot failure between grub and kernel?

2012-01-02 Thread Steven
On Sun, 2012-01-01 at 19:02 -0600, hvw59601 wrote:
[...] 
> 
> But shouldn't it fail all the time then?

Not if it's a race condition of some sorts, which is quote possible, see
below.

> Since I turned off 'quiet' it 
> hasn't failed yet...

Mine has, just now, I had to reset, second time I turned the machine off
(holding power switch for 4 seconds), then I disconnected the older IDE
cable (still used here for 2 DVD drives, 1 read-only, 1 writer). Booting
without the IDE devices attached went just fine, although I have yet to
boot a second time, so it might be a coincidence.

It was the messages that lead me to disconnecting the drives, as the
lockup occurs when initializing those drives, or at least after the hard
disks (all SATA). I'm not sure if these are the cause, but my burner has
been acting weird... not immediately opening when told, etc..

I took pictures of both lockups.
http://imageshack.us/photo/my-images/641/20120102001.jpg/
http://imageshack.us/photo/my-images/833/20120102002.jpg/


Kind regards,
Steven


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


Re: Boot failure between grub and kernel?

2012-01-03 Thread Steven
On Tue, 2012-01-03 at 08:53 -0600, hvw59601 wrote:
[...] 
> 
> I had a hang: blank screen w/o the "Loading..." message. Waited a few 
> secs. and hit the reset button.
> 
> Hugo
> 
> 

No messages at all?

My machine has now booted 3 times without issue since I disconnected the
IDE drives, the last boot was after the Wheezy kernel update to 3.1.6.

Kind regards,
Steven


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


skip fsck when booting on battery?

2011-02-06 Thread Steven
Hi,

Earlier today at fosdem, I was booting my laptop and it started a
routine file system check ("booted 28 times without being checked, check
forced"). Obviously I don't want the laptop doing that check when it's
on battery power, especially since it has an aging battery.

How do I turn I fix this, or is this a bug?
The laptop is an Acer Aspire 7720G running Debian Squeeze.

I do notice that the laptop seems to 'think' it was still on AC power
until later in the boot sequence, due to the brightness setting. I think
it keeps the previous AC/battery state from last boot, and only checks
again quite late in the boot process.

Any ideas are welcome.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297021703.3842.7.ca...@pc-steven.lan



Re: skip fsck when booting on battery?

2011-02-06 Thread Steven
On Sun, 2011-02-06 at 13:49 -0800, Freeman wrote: 
> On Sun, Feb 06, 2011 at 08:48:23PM +0100, Steven wrote:
> > Hi,
> > 
> > Earlier today at fosdem, I was booting my laptop and it started a
> > routine file system check ("booted 28 times without being checked, check
> > forced"). Obviously I don't want the laptop doing that check when it's
> > on battery power, especially since it has an aging battery.
> > 
> > How do I turn I fix this, or is this a bug?
> 
> There is a power status section near the top of checkfs.sh that is commented
> out citing bug #526398.  The script runs from init.d in runlevel S,
> /etc/rcS.d .

Thanks for pointing out that bug, I'm not sure what to do with it,
re-enabling it is fairly safe as long as I remember not to boot from
battery after a failure. Then again, should I trust my memory not to
forget that?...

> 
> > The laptop is an Acer Aspire 7720G running Debian Squeeze.
> > 
> 
> You should be able to get out of checks with CTRL-C .

Hmm.. good point, haven't tried that yet, Esc didn't work, but that was
a couple of years ago on another distribution. 

> 
> > I do notice that the laptop seems to 'think' it was still on AC power
> > until later in the boot sequence, due to the brightness setting. I think
> > it keeps the previous AC/battery state from last boot, and only checks
> > again quite late in the boot process.
> 
> Maybe that is acpi starting in runlevel 2 or whatever runlevel you end up in.

Perhaps it's only the brightness, in that case I can live with it, I'll
look into it a bit further when I have the time.

@ elbbit: The file system is ext3, however I wouldn't turn of the
automatic routine checks entirely.
I think I'll just leave it as it is and see if Ctrl+C does the trick,
when I'm at home I'll just let it finish, it doesn't take that long, and
use my desktop instead (now _that_ takes long, checking multiple 1TB
disks).

Thank you both for replying.
Kind regards,
Steven



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297036072.6025.13.ca...@pc-steven.lan



Re: skip fsck when booting on battery?

2011-02-07 Thread Steven
On Sun, 2011-02-06 at 17:40 -0800, Freeman wrote: 
> On Mon, Feb 07, 2011 at 12:47:52AM +0100, Steven wrote:
> . . . 
> > 
> > @ elbbit: The file system is ext3, however I wouldn't turn of the
> > automatic routine checks entirely.
> > I think I'll just leave it as it is and see if Ctrl+C does the trick,
> > when I'm at home I'll just let it finish, it doesn't take that long, and
> > use my desktop instead (now _that_ takes long, checking multiple 1TB
> > disks).
> > 
> 
> In the name of sucking some more marrow out of that little bone, there is a
> way to edit file system parameters to near insignificance at boot checks
> without severely reducing effectiveness.
> 
> With a strategy of multiple partitions facilitating staggered backups,
> security, disk checks and whatever, varying check intervals can be assigned
> to each partition according to priority.
> 
> So given /boot, /srv, /, /home, /usr, /usr/share, and /var, all assigned to
> different partitions in a rambling /etc/fstab,
> 
> Where checking /srv is the highest priority and /boot, the least priority,
> 
> Figure the desired boot interval for checking /srv and assign the closest
> prime number, say 29,
> 
>   tune2fs -c 29 /dev/designation_for_/srv_partition
> 
> Work up the list of prime numbers respectively.
> 
> Now, checking /boot (250M ?), will take a second or so every 53 boots. Even
> /srv or /home (7-10G ?) would be way less trouble than the entire drive.
> 
An interesting view, I'll keep it in mind when/if reinstalling the
laptop, it has 2 physical drives, each 160 GB. Only the first one is
slightly less due to a swap partition. Currently the whole disk is used
for /, and the second one is mounted somewhere on /media.

Now considering a desktop system like mine, how would that play out?
The system has a 2GB /boot partition on an SSD, and / is the remaining
of that SSD (let's say 57GB). A partition of another regular drive is
used as /home (476GB).
Then there are 2 md raid arrays, each consisting of 2 drives 1TB in
size, raid 1 (mirror), both mounted as data arrays under /media. All
file systems are ext3.

Obviously the SSD is quite fast when checking so not an issue, /home
however takes about 15 minutes, and each raid array approximately 45
minutes.

Or would in this case another file system be a better option for the
large partitions? Ext4 comes to mind. The system is not backed by a UPS
so power failures do happen (although not often).

Such large arrays hold all kinds of data, from large images (both cd,
dvd and hard drives of over 120 GB) to small text files.

Thank you for your time.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297108755.3903.21.ca...@pc-steven.lan



Re: The PREROUTING or the INPUT (iptables)

2011-02-12 Thread Steven
Hi

On Sat, 2011-02-12 at 22:39 +, Bhasker C V wrote: 
> Hi all,
> 
>   I am asking 2 questions in this and apologies if this is a bit too much 
> in a single mail.
> 
> Q1)
>   I came to understand that the first rule to take the hit is the 
> PREROUTING nat table (after the mangle). So in case I want to do a DNAT of 
> input packets to one of the interfaces in another machine on the same 
> network as the router, then, I can apply a DNAT rule in the PREROUTING. 
> But if I want to also select that the packet must be DNAT'ed only if
> the input is from a specific ip address, then applying the DROP rule for 
> 'anything other-than' type of packets is not effective in the INPUT chain 
> since the packet traverses the routing decision and goes into the FORWARD 
> chain and goes outgress...
> 
> So out of many experts here, I just wanted to take an advice on where to 
> keep the DROP/REJECT firewall rules ? Is it in the PREROUGING or the 
> INPUT? If I keep it at INPUT then the packets which needs to be DNAT'ed 
> will traverse bypassing the INPUT rule.

What I do is use the PREROUTING table to set up the general forwarding,
and use the FORWARDING and INPUT tables to actually allow or block
traffic. A rule for PREROUTING could be this:
iptables -t nat -A PREROUTING -i $EXTIF -p tcp -d $EXTIP -m multiport
--destination-port 20,21,22,80 -j DNAT --to-destination $WEBSERVER

In this case forwarding ftp, ssh and http ports.
The forwarding and input tables should be used to block unwanted traffic
(or allow wanted traffic).

iptables -A FORWARD -i $EXTIF -o $INTIF -j ACCEPT
allows everything from outside to be forwarded to the internal lan in
this case.

An advice is to limit the rules to the smallest possible match, not
allowing anything to slip by that was unintended.

> 
> also,
> 
> Q2)
>   I was guessing from the man pages of iptables that I can give multiple 
> source ip addresses in a single stretch by seperating them with a ',' . I 
> couldnt apparently do it, and  below is the command line I used. Could 
> someone point me on what is the mistake I am doing please ?
> 
> iptables -A INPUT ! -s 1.1.1.1,1.1.1.2 -j ACCEPT
> 
> This command is trying to resolve 1.1.1.1,1.1.1.2 ignoring the ',' in the 
> ip addresses taking this as a complete name.

Perhaps you are looking for the iprange module?
iptables -m iprange --src-range 192.168.1.1-192.168.1.254 -j ACCEPT
That allows you to specify a range of ip's.

Using the -s argument for source ip's, you can only give a single
address, however, it is possible to define a complete subnet like this:
iptables -s 192.168.1.0/24 -j ACCEPT
In other cases you'd need 2 separate rules.

> 
> ---
> root@mac1:/# iptables -A INPUT ! -s 1.1.1.1,1.1.1.2 -j ACCEPT
> iptables v1.4.2: host/network `1.1.1.1,1.1.1.2' not found
> Try `iptables -h' or 'iptables --help' for more information.
> ---
> 
> 

Kind regards,
Steven



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297554772.6502.21.ca...@pc-steven.lan



Re: The PREROUTING or the INPUT (iptables)

2011-02-13 Thread Steven
On Sun, 2011-02-13 at 00:08 +, Bhasker C V wrote: 
> Thanks Steven for the reply.
> 
> On Sun, 13 Feb 2011, Steven wrote:
> 
> > Hi
> >
[...] 
> >
> > What I do is use the PREROUTING table to set up the general forwarding,
> > and use the FORWARDING and INPUT tables to actually allow or block
> > traffic. A rule for PREROUTING could be this:
> > iptables -t nat -A PREROUTING -i $EXTIF -p tcp -d $EXTIP -m multiport
> > --destination-port 20,21,22,80 -j DNAT --to-destination $WEBSERVER
> 
> So if I am blocking an IP from entering, I have to do it both in the input 
> chain and also in the FORWARDING chain so that wherever it gets hit, it 
> will be dropped. Thanks I will do the same

It is not always necessary to block on 2 levels, as the chains are
complementary and the first matching rule is used.
For instance when using DNAT in the PREROUTING, the packet will still
flow through the FORWARDING chain (or the INPUT, depending on the
destination in the DNAT rule)

In case you only want to specify the DNAT when the packet it coming from
a specific machine, and direct other traffic the firewall/gateway
machine (INPUT chain), you do need to specify the DNAT rule more
specifically with a -s parameter (source), but a DROP or ACCEPT rule
shouldn't be placed in the PREROUTING chain IMHO.

> >
> > In this case forwarding ftp, ssh and http ports.
> > The forwarding and input tables should be used to block unwanted traffic
> > (or allow wanted traffic).
> >
> > iptables -A FORWARD -i $EXTIF -o $INTIF -j ACCEPT
> > allows everything from outside to be forwarded to the internal lan in
> > this case.
> >
> > An advice is to limit the rules to the smallest possible match, not
> > allowing anything to slip by that was unintended.
> Yes I usually allow the needed IPs and block all others in a plain DROP 
> rule. Thanks again.

It is possible to set defaults for chains, personally I don't use a
plain DROP rule at the end of the chain, but set the default to DROP
(first line in my configuration scripts), any packet that doesn't match
an earlier rule will hit that default.
iptables -P INPUT DROP
And the same for OUTPUT and FORWARD chains, but I don't think it is
generally wrong to do it your way.
However it might be easier is complex setups when defining your own
chains and using the RETURN target (at this point I'm just speculating).

> >
[...] 
> 

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297602157.6805.16.ca...@pc-steven.lan



Re: I am not receiving my discussion mail.

2011-05-11 Thread Steven
On Tue, 2011-05-10 at 22:25 +0100, Wolodja Wentland wrote: 
> On Tue, May 10, 2011 at 15:43 +, Camaleón wrote:
[...snip...] 
> 
> Undocumented: Set up a filter for "to:mailing_list_address", and apply the
>   "Never send to spam" action.

I personally tried this, but it doesn't seem to work here, the part that
does work is what it actually says: not putting any messages in the spam
folder.

> ---
> 
> [0] http://www.google.com/support/forum/p/gmail/thread?tid=737a9de8dc7f8cb7



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


Re: Installing K3b installs HAL. Should I do it?

2011-05-11 Thread Steven
On Wed, 2011-05-11 at 20:45 +, Juan R. de Silva wrote: 
> Hi,
> 
> I've recently switched from Lucid to Squeeze on my workstation. So, far 
> I'm quite happy with the move but I'm still on a learning curve.
> 
> Back in Ubuntu I used to use K3b in GNOME since I definitely prefer it to 
> Brasero. Yesterday I tried to installed K3b in Squeeze and I noticed that 
> HAL would be installed with it as a dependency.  Since I was not sure on 
> HAL I cancelled the installation until clarification.
> 
> I'm not familiar in depth neither with udev nor HAL. But AFAIK HAL was 
> deprecated and part of its functionality now is build into udev.
> 
> What would be the consequences of HAL being installed on my fresh squeeze 
> system, if any?  Would HAL conflict with udev in any way? Wouldn't 
> installation of HAL degrade my fresh squeeze install?
> 
> Thanks.
> 
> 
As far as I can see, K3B (still) requires HAL, it's not a direct
dependency in Wheezy (like it is in squeeze), but I had removed HAL,
that caused K3B not to see my optical drives (I just burned an image not
15 minutes ago), I had to install HAL again to get it to work.

It doesn't appear to conflict with udev in any way so your pretty safe
there.

So, yes, hal is required (certainly in sqeeze) for k3b to function
properly.

Kind regards,
Steven


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


Re: Poll Summary & Poll 1b - What Smartphone do you use?

2011-05-17 Thread Steven
On Mon, 2011-05-16 at 21:48 -0700, giovanni_re wrote: 
> Nokia N900 running Maemo 5, my carrier is Proximus (Belgacom mobile),
> Belgium.
> 
APD: 24, 12, 3 (maybe 4)

Mind that back then, the 'programming' was only simple html and annoying
javascript alert boxes. It got more serious in 2002 - 2003 when I
started more computer oriented studies.

Regards,
Steven



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


Re: Subscription

2011-06-11 Thread Steven
On Sat, 2011-06-11 at 10:27 +0100, Lisi wrote: 
> On Saturday 11 June 2011 10:05:04 Ralf Mardorf wrote:
> > I've good luck, because I can skip a lot when watching at the monitor, I
> > guess using braille, people have to read much more irrelevant stuff.
> 
> I'm fascinated.  How do you read braille from a monitor??!
> 
> My blind friends (even one who can read Braille at a phenomenal rate) all use 
> text to speech software.  Though the point about difficulty scanning still 
> holds good.
> 
> That is not sarcasm incidentally.  I would genuinely like to know how you can 
> use braille to read things on the Internet.

They can use special hardware for that, it 'translates' the written text
to a line of braille on a physical device. Googling "braille hardware
gave me this link on top:
http://www.indiana.edu/~iuadapts/technology/hardware/braille/index.html

I have no experience whatsoever with any kind of these devices and
Linux, wearing a pair of glasses is enough for me to clearly read the
screen. I am no expert by any means.

> 
> Lisi
> 
> 

Kind regards,
Steven


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


Re: Question about the new kernel with PAE (Wheezy) - Report

2011-06-22 Thread Steven
On Wed, 2011-06-22 at 05:44 +0100, Dom wrote:
> On 21/06/11 18:52, Camaleón wrote:
[...]
> 
> Now here's the thing. I did the install, got the warning from the 
> meta-package (linux-image-2.6-686), and the kernel installed - as you said.
> 
> I then rebooted and... it works fine.
> 
Not quite... in my case the kernel itself works fine, but I have some
packages with dkms which need the kernel headers installed (think
virtualbox and nvidia drivers). I have the meta package installed
linux-headers-2.6-686, but these weren't upgraded to the .39 pae
headers, I had to install these myself. Agreed, it's not a serious
issue, but a annoying none the less.

[...]
> -- 
> Dom
> 
> 

Kind Regards,
Steven


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


Re: OpenOffice vs LibreOffice Questions

2011-06-29 Thread Steven
On Wed, 2011-06-29 at 13:26 -0500, John W Foster wrote: 
> 1. Why is Debian switching to LibreOffice, per the posting I saw a few
> days ago?

From what I read and heard, most distributions switched, or are in the
process of switching. It also appears most of the developers are behind
LibreOffice, which has gained quite a number of new developers, cleaning
up the code. You should read up on why LibreOffice has forked from
OpenOffice. A short history can be found on wikipedia:
http://en.wikipedia.org/wiki/LibreOffice#History
But I'm sure others can give a much more detailed explanation.

> 2. Is OpenOffice still going to be supported?

It is my understanding that OpenOffice will still be supported (security
updates) for Debian stable (Lenny) until it is EOL. No new versions will
be introduced as these are replaced in Debian with LibreOffice

> 3. What makes LibreOffice better than OpenOffice?

It is supposed to be faster, has more bugs fixed, and so on. It also
appears to me much more active in development than OpenOffice.

> 
> These questions are not intended to start a flame war! I have never even
> looked at LibreOffice, as I did not need to. Now I'm concerned that a
> large body of work covering several years will have to be 'ported' to a
> new format & that I will have to learn a lot of new stuff.

I wouldn't worry to much about that, LibreOffice is effectively a fork
of OpenOffice.org, both go their separate ways from that point on, but
much will remain the same at first, such as the format in which
documents are saved. The user interface has changed a bit, but not
dramatically, I doubt it you'll see the difference at first, some
dialogs have changed a bit, but most people seem to agree that is for
the better. In my experience (I run Debian testing with LibreOffice) you
can see LibreOffice as a major upgrade of OpenOffice itself.

You don't need to worry about any existing documents, or learning a new
user interface.

As a user, you won't notice the difference at first (apart from the name
change), it appears as just a new version of your existing office suite,
getting faster, new features and it keeps improving.

> Any rational comments are appreciated.
> Thanks!
> Frosty
> 

Kind regards,
Steven



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


Re: Ugly appearence after upgrade

2011-09-05 Thread Steven
On Sun, 2011-09-04 at 19:07 +0200, Sven Joachim wrote:
> On 2011-09-04 18:32 +0200, Chir0n wrote:
> 
> > Hi all,
> >
> > after an "aptitude dist-upgrade" to testing (and to unstable too) some GTK2
> > applications look ugly, like GTK1 appplications.
> >
> > Gnome-terminal and Epiphany are two of them.

So is evolution

> 
> They are not, because they are not GTK2 applications anymore.  This may
> be related to your problem, although gnome-terminal does not look ugly
> here (I don't use Epiphany).

It depends on your theme, I had clearlooks enabled and gnome-terminal
looks un-themed, grey, and ugly, so does evolution after the update to
3.0. To 'fix' this, you only need to enable a theme that is fit for
gnome 3.
For example adwaita, however you can mix it up a bit.
Go to system - preferences - Appearance, on the theme tab I had
clearlooks selected. So I click customize, then on the controls tab I
selected adwaita controls, left the other settings as they were
(clearlooks) and then close the windows. Now all my gtk2 apps looks
clearlooks themed, and gtk3 apps (like evolution and gnome-terminal) get
the adwaita controls, it's not the same, but definitely looks better
than nothing.

Kind regards,
Steven


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


how to change mac address back after decnet changed it?

2011-09-05 Thread Steven
Dear Debian users,

Some time ago, an update on my wheezy system brought in dnet-common and
some related packages. I noticed that decnet changes the hardware
address of my interfaces, but didn't pay much attention to it, figuring
they would at least be unique, so I could fix up dhcp later. Having a
different IP for some time isn't all that bad in my setup.
However now I noticed that these hardware addresses are certainly NOT
unique. I have a machine with 2 NICs and both have aa:00:04:00:0a:04 as
hardware address (second one isn't plugged in physically), so is the
eth0 interface on my laptop. This obviously can't be right.
I already uninstalled the dnet-common package from 1 machine, but to no
effect after rebooting. It's neither an option when reconfiguring the
dnet-common package.

So how do I get rid of that aa:00:04:00:0a:04 address? And getting the
old ones back, note that I do not remember the old ones, nor do I have
them all written out somewhere.

This is getting pretty troublesome, as my DHCP server uses mac addresses
to always give the same IP to some machines on the network, (keeping
config centralized, but static IP to allow port forwarding).

Any help appreciated.

Kind regards,
Steven


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


Re: how to change mac address back after decnet changed it?

2011-09-05 Thread Steven
On Mon, 2011-09-05 at 13:29 +0100, Darac Marjal wrote:
[...snip...] 
> 
> According to wikipedia[1], this is a feature, not a bug:
> | The Ethernet implementation was unusual in that the software changed
> | the physical address of the Ethernet interface on the network to
> | AA-00-04-00-xx-yy where xx-yy reflected the DECnet network address of
> | the host. This allowed ARP-less LAN operation because the LAN address
> | could be deduced from the DECnet address. This precluded connecting two
> | NICs from the same DECnet node onto the same LAN segment, however.
> 
> So your DECnet address would be 0x0A04.

I imagine this confuses many network switches when unsuspecting users
pulled in these updates?

> 
> 
> > 
> > So how do I get rid of that aa:00:04:00:0a:04 address? And getting the
> > old ones back, note that I do not remember the old ones, nor do I have
> > them all written out somewhere.
> 
> You should be able to set the address with:
> $ ifconfig ethN hw ether aa:bb:cc:dd:ee:ff
> 
> The value of the address doesn't really matter so long as it's unique on
> your ethernet segment (i.e. your network). Then again, if you're doing
> some sort of bonding or balancing, it doesn't even have to be unique.

Thanks, I was able to find the old hw addresses
in /etc/udev/rules.d/70-persistent-net.rule (thanks Tom H for the tip),
unfortunately the ifconfig method does not persist after reboot.
And I doubt the method Tom H suggested would work since the old address
is still in the udev file, not the new decnet address.

Why would one want to have this actually? Personally I don't see the
advantage it gives me over my existing network configuration using
mostly tcp/ip over ethernet. Just curious. Also according to the
wikipedia link you gave, decnet code in the kernel was orphaned with
2.6.33, I don't know if that is still the case.

Kind regards,
Steven


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


[SOLVED] Re: how to change mac address back after decnet changed it?

2011-09-05 Thread Steven
On Mon, 2011-09-05 at 16:22 +0100, Brian wrote: 
> On Mon 05 Sep 2011 at 16:58:02 +0200, Steven wrote:
> 
> > Thanks, I was able to find the old hw addresses
> > in /etc/udev/rules.d/70-persistent-net.rule (thanks Tom H for the tip),
> > unfortunately the ifconfig method does not persist after reboot.
> > And I doubt the method Tom H suggested would work since the old address
> > is still in the udev file, not the new decnet address.
> 
> hwaddress is in interfaces(5). It might help.
> 

Of course, I almost forgot about /etc/network/interfaces :)
Thanks a lot.

Kind regards,
Steven



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


crontab mails to external smtp host

2011-09-18 Thread Steven
Hi list,

I manage several Debian servers (etch and squeeze), not related to one
another, and they all have some crontab jobs scheduled such as backup
scripts. When these cronjobs are run, the output is e-mailed to the
local admin account on the system. Is it possible to configure these
e-mails to be delivered to an external address over an external SMTP
server instead of locally?

All systems where I would want to do this run Squeeze and use exim4 in a
default configuration as none of them are e-mail servers.

Any help is appreciated.

Kind regards,
Steven


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


Re: crontab mails to external smtp host

2011-09-18 Thread Steven
On Sun, 2011-09-18 at 22:43 +0200, Juan Sierra Pons wrote:
> Hi,
> 
> Yes, it can be done configuring Exim to send emails to external
> domains using a smarthost.

Excellent.

> 
> 1.- Configure properly /etc/aliases and add a default user to receive
> emails. For example
> 
[...]
> 2.- Configure exim4 to send emails using a external smarthost. As I
> can see you have a gmail account. I have the same configuration in my
> servers.
> 
> Modify your update-exim4.conf.conf and update the dc_smarthost variable:
> dc_smarthost='smtp.gmail.com::587'
> 
> Create the /etc/exim4/passwd.client with the right permission
> -rw-r- 1 root Debian-exim   401 abr 21 21:20 passwd.client
> 
> And add the following:
> # password file used when the local exim is authenticating to a remote
> # host as a client.
> #
> # see exim4_passwd_client(5) for more documentation
> #
> # Example:
> ### target.mail.server.example:login:password
> *.google.com:redalert.comman...@gmail.com:password
> gmail-smtp.l.google.com:redalert.comman...@gmail.com:password
> *.google.com:redalert.comman...@gmail.com:password
> smtp.gmail.com:redalert.comman...@gmail.com:password
> 
> 3.- Restart the exim4 daemon
[...]
It seems you forgot to mention I need to run update-exim4.conf?
But I figured that out.

> 
> Have fun!

Thanks, works like a charm when using gmail :)
Unfortunately I was trying to get it working with a different e-mail
address, one I have with my ISP, yet this didn't work out. When using
that one I got frozen message in the exim queues and a message in the
exim log saying my ISP's smtp rejected the message as unroutable.

But I settled for the gmail solution instead, so I'm satisfied.

Thank you very much.

Kind regards,
Steven




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


[SOLVED] Re: crontab mails to external smtp host

2011-09-18 Thread Steven
On Sun, 2011-09-18 at 15:17 -0600, Bob Proulx wrote: 
> Steven wrote:
> > I manage several Debian servers (etch and squeeze), not related to one
> > another, and they all have some crontab jobs scheduled such as backup
> > scripts. When these cronjobs are run, the output is e-mailed to the
> > local admin account on the system. Is it possible to configure these
> > e-mails to be delivered to an external address over an external SMTP
> > server instead of locally?
> 
> You can set up an alias for root in /etc/aliases to point to another
> host.  Then all email to root will forward to the other address.
> 
>   root: r...@other.example.com
> 
> Normally after changing the aliases file you need to run 'newaliases'
> to rebuild the cache file.  But I think exim does not need this.
> 
> Alternatively if you only want to change the crontab output and
> nothing else then Vixie Cron (the default for most GNU/Linux distros)
> enables you to set the MAILTO variable.  If your system has a default
> install of exim then very likely you can simply set the address.  Put
> this in your crontab file and it will only affect that particular
> crontab.
> 
>   MAILTO = "r...@other.example.com"

Unfortunately both of these solutions don't work with my default exim
config, as that won't allow you to send to external addresses. The exim
config would need to be changed anyway.

> 
> > All systems where I would want to do this run Squeeze and use exim4 in a
> > default configuration as none of them are e-mail servers.
> 
> But of course exim4 in a default configuration is an email server even
> if you are not thinking of it that way.
> 
> The other suggestion to use nullmailer to simplify the MTA seems
> reasonable to me.  I always use nullmailer for chroots.

I have no experience with nullmailer whatsoever (but none with exim
either), but as it's a separate package I needed to install, and would
need to lookup the config, I figured Juan's exim solution would be the
easiest for me.

> 
> The other suggestion to reconfigure exim to use a smarthost is
> reasonable too.  But I think probably more complicated than you need
> to do for what you are asking.

It does the job for me, and isn't terribly complicated, Juan explained
it exactly as needed.

> 
> Bob

Thanks everyone for helping me out on this one.
Kind regards,
Steven



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


Re: CUPS & network printing

2011-09-22 Thread Steven
On Thu, 2011-09-22 at 13:25 -0700, PETER EASTHOPE wrote: 
> Folk,
> 
> A printer is connected to a Squeeze system here with a parallel cable.  
> CUPS is installed and there is no problem printing directly from the 
> host.
> 
> I'm interested to have this printer work for other machines on the LAN.  
> http://www.cups.org/documentation.php/doc-1.5/network.html contains,
> "Verifying the Printer Connection
>   ...
> ping myprinter
> PING myprinter (192.0.2.2): 56 data bytes
> 64 bytes from 192.0.2.2: icmp_seq=0 ttl=15 time=5 ms".
> 
> Whereas here, this is the result.
> root@dalton:/# ping HPLaserJet1100
> ping: unknown host HPLaserJet1100
> 
> Seems that for network access, the printer must be assigned an 
> IP address.  Can anyone find documentation?  Can the address be
> assigned in /etc/network/interfaces ?  Otherwise, where?

No, the printer does not need an IP address, as the request will be
forwarded/handled by your Linux machine and CUPS.

If you have a browser on that machine got to http://localhost:631
otherwise use a browser on a different machine to connect, however in
that case the /etc/cups/cupsd.conf file need to be edited (or simply use
an ssh tunnel).
On the cups webinterface click administration, and make sure to check
the box "Share printers connected to this system", save these settings.
Then go to printers, select your printer and use the dropdownbox to
select "edit printer", click continue, then in the next screen check
"Share this printer" and click continue.
Now your printer is accessible using the IPP protocol with the url
ipp://hostname:631/printers/printername
replace hostname with the hostname or IP of your linux server and
replace 'printername' with the actual printername.
Of course you can do this without the web interface, I just find it
easier this way.


That should do the trick.
You can also use Samba to share your printers, a printer configured this
way in CUPS will automatically show up in the "windows network" the
option "load printers" is set to "yes" in your /etc/samba/smb.conf file.
Also set the options "printing" and "printcap name" to "cups" (without
the quotes)

Both methods can be used when printing from either MS Windows or Linux.

Good luck

> 
> Thanks,  ... Peter E.
> 
> -- 
> http://members.shaw.ca/peasthope/
> http://carnot.yi.org/ = http://carnot.pathology.ubc.ca/
> 
> 
> 
> 

Kind regards,
Steven



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


Re: Re(2): CUPS & network printing

2011-09-28 Thread Steven
On Wed, 2011-09-28 at 12:01 -0800, peasth...@shaw.ca wrote:
[...] 
> > Now your printer is accessible using the IPP protocol ...
> 
> lpr is needed here.
> cups-bsd is installed and should provide a functional lpr.

To be honest I never used lpr, although it is known to work with cups.
Personally I use IPP and Samba, as most clients are either Windows or
Linux, I'm satisfied with those.

> 
> > ipp://hostname:631/printers/printername
> > replace hostname with the hostname or IP of your linux server and
> > replace 'printername' with the actual printername.
> 
> The client requested printing of Test by lpr and made this report.
> Desktops.PrintDoc HPLaserJet1100@172.24.1.1 MY:Test Ok
> LPR: HPLaserJet1100@172.24.1.1 connecting failed, res = 1
> 
> This appeared in cupsserver:/var/log/cups/error_log.
[...] 
> 
> This is the tcpdump from another request.
[...] 
> 
> Any further thoughts?

Check your /etc/cupsd.conf file, there should be a line somewhere near
the top that reads "BrowseRemoteProtocols CUPS" or similar, this is a
list of 'protocols' cups offers to its clients, perhaps you need to add
the option lpd and/or lpr (documentation I briefly looked at doesn't
mention lpr, only lpd).
There is also a

...

directive, inside are an "Order" option and an "Allow" and/or "deny"
option, make sure to allow your clients here, I have this set to "Allow
all". Unwanted hosts are blocked on the firewall level in my case.

Bear in mind that I'm not a cups expert by any means, nor have I tried
to get cups working with lpr.

> 
> Thanks,  ... Peter E.
> 
> -- 
> Telephone 1 360 450 2132.  bcc: peasthope at shaw.ca
> Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
> Personal pages http://members.shaw.ca/peasthope/ .
> 
> 

Kind regards,
Steven



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


Re: freeing up iceweasel .sqlite file size (was: Re: regards the /)

2011-09-30 Thread Steven
On Sat, 2011-10-01 at 06:03 +1300, Chris Bannister wrote: 
> [Sorry for the late post, but thought this might be useful.]
> 
[...] 
> 
> Have a look in your .mozilla/firefox/*default/ directory and you will
> notice some big *.sqlite files. They need to be "vacuumed" to free up
> space.
> 
> Install sqlite (I think it needs to be sqlite3), for lenny:
> root@fischer:~# apt-cache policy sqlite3
> sqlite3:
>   Installed: 3.7.3-1~bpo50+1
>   Candidate: 3.7.3-1~bpo50+1
>   Version table:
>  *** 3.7.3-1~bpo50+1 0
> 200 http://backports.debian.org lenny-backports/main Packages
> 100 /var/lib/dpkg/status
>  3.5.9-6 0
> 500 http://ftp.nz.debian.org oldstable/main Packages
> 
> Not sure for squeeze, hopefully someone will check it out and correct
> me.

Yes, that is correct, also for Wheezy.

> 
> Then cd into your ".mozilla/firefox/*default/" directory and issue:
> 
>for i in *.sqlite; do echo "VACUUM;" | sqlite3 $i ; done
> 

I have written a small script (3 lines) to keep track of that:
for f in ~/.mozilla/firefox/*/*.sqlite; do ls -lh $f ; done
time for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;';
done
for f in ~/.mozilla/firefox/*/*.sqlite; do ls -lh $f ; done

First and last lines show me the size of the files, while the middle one
will do the vacuuming, and time it. It takes about 14 to 16 seconds on
my system. I used to run this at startup, but now I just run it every
couple of weeks to keep Iceweasel running smoothly.
That one line might be a bit easier if you have multiple profiles in
Iceweasel than to cd into each one ;)

> I need to do this, because of:
> 
[...] 
> -- 
> "Religion is excellent stuff for keeping common people quiet."
>-- Napoleon Bonaparte
> 
> 



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


Re: backing up LVM volumes

2010-04-27 Thread Steven

On Tue, April 27, 2010 00:33, Bernard wrote:
> Hi to Everyone !
>
> On my previous systems, I used to create overall backups of partitions,
> using 'SystemRescueCD'. This is no longer possible ever since 2007 that
> I have a RAID1 mirroring system on my Debian. SystemRescueCD does not
> backup LVM volumes, or, if it does, that must be a very new feature, and
> I have not found any doc on this.
>
> So, what should I do so as to backup my system ?  I once tried 'dd', but
> I think I remember it took forever, and I don't really know whether I
> would have been able to use the resulting file to successfully restore
> the partitions if needed.
>
> Could someone suggest something that has been successfully tried ?  Even
> 'dd' could do, if it is OK with LVM and if I get some details. I
> understand that I would have to unmount the partitions, but this is not
> a problem. I have two IDE mirrored disks of 200 GB each.
>
> Thanks in advance for your insights.
>

How about clonezilla (http://www.clonezilla.org/)? It supports LVM2 (not
1) and is based on Debian (I think you should be able to get what you need
from the Debian repositories anyway). But I'm not an expert :)


-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/14970.81.246.17.226.1272353817.squir...@stevenleeuw.kwik.to



gnome panel tray icons transparancy

2010-05-02 Thread Steven
Dear list,

I have Squeeze installed on both a laptop and a desktop, this only
occurs on the desktop.
In gnome, the tray icons on the panel (network manager, rhythmbox
playing, empathy status etc..) are not transparent, the date/time, menu
and application shortcuts are.

Any ideas?
Both installations are up to date.

Best regards,
Steven 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1272807628.2908.7.ca...@pc-steven.lan



Re: gnome panel tray icons transparancy

2010-05-02 Thread Steven
On Sun, 2010-05-02 at 14:17 +, Camaleón wrote:
> On Sun, 02 May 2010 15:40:28 +0200, Steven wrote:
> 
> > I have Squeeze installed on both a laptop and a desktop, this only
> > occurs on the desktop.
> 
> Are both computers using the same GNOME GTK theme?
It would seem so, both look the same apart from this issue, and both are
using 'Clearlooks'.
I noticed however that the option for Clearlooks in 'System -
Preferences - Appearance' are slightly different (tab 'Theme'), on the
laptop I see the debian icon on some themes, whereas on the desktop I
see a folder icon instead.
Changing the theme doesn't help.

> 
> Are both computers running the same version of the applications involved 
> in this issue?
Yes, as I said, both are running Squeeze, and using the same download
mirror for apt, both are up to date. I take Rhythmbox for example, both
are at 0.12.8, but the icon that appears when playing is only
transparent on the laptop.

> 
> > In gnome, the tray icons on the panel (network manager, rhythmbox
> > playing, empathy status etc..) are not transparent, the date/time, menu
> > and application shortcuts are.
> > 
> > Any ideas?
> > Both installations are up to date.
> 
> Two easy tests:
> 
> 1/ Create a new panel and drop there the "faulty" icons. Are they still 
> showed with a solid background?
Creating a new panel with notification area keeps showing the issue on
this new panel.

> 
> 2/ Create a new user, login and check if the same behaviour continues.
A new user has the same issue.

> 
> That would give us a tip about the origin of the problem (borked 
> settings).
> 
> Greetings,
> 
> -- 
> Camaleón
> 
> 

Regards,
Steven



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1272814439.3554.11.ca...@pc-steven.lan



Re: gnome panel tray icons transparancy

2010-05-03 Thread Steven
On Sun, 2010-05-02 at 15:46 +, Camaleón wrote:
> On Sun, 02 May 2010 17:33:59 +0200, Steven wrote:
(...)
> 
> There is an open bug, but the weird thing is that in your case it works 
> in one computer and fails in the other :-?
> 
> ***
> gnome-panel: some application icons lost transparency in notification area
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551751
> ***
> 
> Anyway, check if the affected applications make use of "EggTrayIcon".
> 
I found a patch for Rhytmbox dating February 10 2010, which replaces
EggTrayIcon with GtkStatusIcon, looking at the source I'd say this
change is already present in Squeeze.
So I'd say the bug you mention doesn't affect Rhythmbox, or the bug is
assigned to the wrong package.

Sources checked:
http://ftp.de.debian.org/debian/pool/main/r/rhythmbox/rhythmbox_0.12.8.orig.tar.gz
http://ftp.de.debian.org/debian/pool/main/r/rhythmbox/rhythmbox_0.12.8-1.diff.gz

Regards,
Steven

PS. Second attempt for this mail, I might have selected the wrong sender
in my previous attempt.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1272911357.2971.2.ca...@pc-steven.lan



Re: gnome panel tray icons transparancy

2010-05-03 Thread Steven
On Mon, 2010-05-03 at 19:07 +, Camaleón wrote:
> On Mon, 03 May 2010 20:29:17 +0200, Steven wrote:
> 
> > On Sun, 2010-05-02 at 15:46 +, Camaleón wrote:
> 
> >> ***
> >> gnome-panel: some application icons lost transparency in notification
> >> area http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551751 ***
> >> 
> >> Anyway, check if the affected applications make use of "EggTrayIcon".
> >> 
> > I found a patch for Rhytmbox dating February 10 2010, which replaces
> > EggTrayIcon with GtkStatusIcon, looking at the source I'd say this
> > change is already present in Squeeze. So I'd say the bug you mention
> > doesn't affect Rhythmbox, or the bug is assigned to the wrong package.
> 
> AKAIK, Rhythmbox plugins got splitted from main package and now fall into 
> "rhythmbox-plugins". So if the upstream version with the patch on 
> "GtkStatusIcon" was included into Debian packages, the "diff" should be 
> visible and available there.
> 
Correct, the folder structure clearly shows the plugins folder, it is my
understanding that both packages come from the sources I mentioned in my
previous e-mail.
In that plugins folder, for the notification icon, GtkStatusIcon is
used, the diff doesn't mention either EggTrayIcon or GtkStatusIcon, so I
would assume that patch is included.

Still leaves me with this issue, unfortunatly.

Regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1272915053.8924.6.ca...@portable-steven.lan



Re: gnome panel tray icons transparancy

2010-05-04 Thread Steven
On Tue, 2010-05-04 at 13:13 +, Camaleón wrote:
> On Mon, 03 May 2010 21:30:53 +0200, Steven wrote:
> 
> O.k. then let's assume the patch is already applied :-(
>  
> > Still leaves me with this issue, unfortunatly.
> 
> Yep. But that should not discourage you :-)
Your right, it shouldn't :) I'll keep an eye out for any solution,
perhaps I can look into it a bit more in-depth on Thursday.

> 
> What we have is that:
> 
> 1/ The issue only happens in one computer (and not other), with the same 
> version of the packages installed.
> 
> 2/ Neither creating a new user nor a new panel works.
> 
> So... maybe the icon cache is corrupted?
I rebuild the cache for both gnome (the icon theme I'm using) and
gnome-alternative (found in /usr/share/icons), yet no effect (also
restarted X). Also there's no rhythmbox icon in that folder, but these
are in /usr/share/rhytmbox/icons, no cache present there.

> 
> That would fit with the above two cases as the icon cache could have been 
> corrupted in just one of the computers and still, creating a new user or 
> a new panel wouldn't prevent the problem from happening because icons 
> location is a system wide setting.
Perhaps, but rebuilding didn't do the trick, also, the desktop (with
issue) was installed from a netinstall cd just a few (maybe 2 or 3)
weeks after the (good) laptop install. No idea how that cache would have
got corrupted

> 
> You can check if the icon being used is the correct one (the one with 
> alpha channel to get transparency).
I don't think there's one without it in current installations.
> 

I'll have another look on Thursday, will post if I found a solution.

Regards,
Steven



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273010160.4991.10.ca...@pc-steven.lan



Re: gnome panel tray icons transparancy

2010-05-06 Thread Steven
On Wed, 2010-05-05 at 07:24 +, Camaleón wrote:
> 
(...) 
> 
> A quick test: drop/move the non-transparent icons anywhere in the panel 
> but "notification-tray" to check if they keep transparency or still show 
> with a solid background.
> 
> > I'll have another look on Thursday, will post if I found a solution.
> 
> O.k. :-)
> 
I can say with 100% certainty that the icon's itself are transparent.
I replaced the rhythmbox icon with the empathy icon, to make sure I was
looking at the correct one, and added a new application launcher to the
panel with that icon, that shows up perfectly transparent, but the ones
in the notification area don't.
I'll stand by my assumption that this is an issue with GtkStatusIcon.
Reinstalling several packages didn't help.

Perhaps I should file a bug report for gnome-panel.

Regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273181712.2753.35.ca...@pc-steven.lan



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Steven

On Thu, June 3, 2010 10:40, Merciadri Luca wrote:
> Hi,
>
> I have noticed that my Iceweasel takes more and more time to close. When
> closing it, I hear the HDD spinning, and some operations seem to be
> done. It always close, but, even with ONE (normal webpage associated
> with the) tab, it might take ~10 secs. to close (GNOME keeps then asking
> me if I want to wait or end the process).
>
> What can I do? I do not have memory-greedy plug-ins running.
>
> Thanks.
>
This might be what you are looking for:
http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
Cleaning up firefox/iceweasel's internal databses helps a lot.

Kind regards,
Steven

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/45410.91.183.48.98.127111.squir...@stevenleeuw.kwik.to



Re: Iceweasel/FF takes too much time to close (because it frees memory)

2010-06-03 Thread Steven
On Thu, June 3, 2010 11:15, Merciadri Luca wrote:
> Steven wrote:
>> This might be what you are looking for:
>> http://mozillalinks.org/wp/2009/07/vacuum-your-firefox-databases-for-better-performance/
>> Cleaning up firefox/iceweasel's internal databses helps a lot
> It had some non-negligible influence. Thanks!
>
>

No problem :)
It's quite easy to do, just install sqlite3 using apt-get/aptitude/synaptic.
Next, execute the sqlite vacuum command on each database (after closing
you browser)
The following command will do this for all sqlite databases you might have
in there (different profiles).

for f in ~/.mozilla/firefox/*/*.sqlite; do sqlite3 $f 'VACUUM;'; done

You might need to change the path for iceweasel, I'm not on my Debian box
right now.
If I remember correctly, this is done automatically once in a while
starting with 3.5 or 3.6.
Yes, I experienced this problem as well, a lot of people did I guess,
perhaps you can put this in a small script and run it as a cronjob or when
you log on.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/45546.91.183.48.98.1275557060.squir...@stevenleeuw.kwik.to



Re: Debian asking for DVD... (FYI)

2010-06-10 Thread Steven

On Thu, June 10, 2010 08:25, Andrew M.A. Cater wrote:
>
[snip...]
> 3. You boot from the DVD _and_ a network cable is found. At this point,
> you're asked whether you want to use
> the network. In Testing at the moment, I think the message is even
> something along the lines of "You're currently
> installing from a CD/DVD - do you want to use netwrok repositories?"

I installed squeeze (this is still testing, right? :) ) a couple of times
recently, but haven't seen this message, is it only in the full CD/DVD? Or
has it to do with the GUI install, I used the debian installer (text mode)
on a netinstall.

[snip...]
>
>
> Hope this helps,
>
> AndyC
>

Kind regards,
Steven

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/28322.91.183.48.98.1276156657.squir...@stevenleeuw.kwik.to



Re: Upgrade Kernel, Lose External Display

2010-06-12 Thread Steven
On Fri, 2010-06-11 at 22:30 +0200, Andreas Rönnquist wrote:
> On Fri, 11 Jun 2010 13:06:04 -0400
> Gilbert Sullivan  wrote:
> 
> > Running Squeeze with Xfce desktop environment (only) on Dell Latitude 
> > D810. Nvidia video card running the VESA driver (though there's a bunch 
> > of verbiage in dmesg about nouveau). System is normally connected to a 
> > port replicator and DVI display (1680x1050).
> > 
> > Upgraded from 2.6.32-3 to 2.6.32-6 this morning, saying yes to 
> > reconfiguration.
> > 
> > Upon reboot I see the normal scrolling of messages in the middle of the 
> > screen, but (after populating devices message) the screen goes black.
> > 
> ->8-- 
> > 
> > Many thanks for clues.
> > 
> > 
> Hi!
> 
> I've ran into this too, and got this solved by blacklisting the nouveau
> module in
> 
> /etc/modprobe.d/blacklist.conf
> 
> (adding a line containing just "blacklist nouveau"),
> and adding modeset=0 to my kernel line in /boot/grub/menu.lst (I am
> still on grub-legacy, don't know how it is done on grub-2 unfortunately)
> 
> This made the system boot fine, but X didn't start before reinstalling
> the nvidia drivers. Doing so and rebooted I was in a functional X, just
> like before the upgrade of the kernel.
> 
> best regards
> -- 
> Andreas Rönnquist 
> 
> 

Thank you Andres :)

I experienced a similar problem after upgrading to a new kernel today in
squeeze, I noticed the resolution of the screen in text-mode had
changed, and X wouldn't load.
Since it was a kernel update, I'd figure I would recompile my nvidia
driver modules (proprietary nvidia driver). The nvidia installer failed
however and looking on this list I saw your message, blacklisting
nouveau allows me to load the nvidia driver again (I need some of it's
features, nouveau doesn't handle my setup very well yet, mostly 3D
acceleration).

It looks to me like the nouveau module is conflicting with (any?) other
drivers.

Regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1276360896.2710.8.ca...@portable-steven.lan



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Steven

On Wed, June 16, 2010 13:13, Siju George wrote:
> Hope some one finds this helpful :-)
>
> --Siju
>
> Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault.
> =
>

Thanks, this might prove useful.
However I do have a question... which might be just as important.

How to identify which drive has failed in an array?

I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
and /home.
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
Each have 1 partition.
/dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
/dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1

If a drive fails, how do I know which drive? This is a desktop system, not
a server.

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/23452.91.183.48.98.1276695172.squir...@stevenleeuw.kwik.to



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Steven

On Wed, June 16, 2010 13:13, Siju George wrote:
> Hope some one finds this helpful :-)
>
> --Siju
>
> Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault.
> =
>

Thanks, this might prove useful.
However I do have a question... which might be just as important.

How to identify which drive has failed in an array?

I have 6 disks, 4 are used in raid (mdadm), the other 2 contain /boot, /
and /home.
/dev/sdc
/dev/sdd
/dev/sde
/dev/sdf
Each have 1 partition.
/dev/md0 (raid 1) consists of /dev/sdc1 and /dev/sdd1
/dev/md1 (raid 1) consists of /dev/sde1 and /dev/sdf1

If a drive fails, how do I know which drive? This is a desktop system, not
a server.

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/23451.91.183.48.98.1276695152.squir...@stevenleeuw.kwik.to



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-16 Thread Steven

On Wed, June 16, 2010 15:47, Michal wrote:
>
> One way is to label the disks themselves so you simply do;
>
> cat /proc/mdstat which might say /dev/sd3 is down. Open the case, look
> for the disk labled /dev/sde and replace it. If you have LED's like
> servers have (probably not) they can be a fiddle to get working but it's
> possible
>
No LED's for drives, it already has them for every pci slot,
looks like a Christmas tree :)

I think you meant /dev/sde instead of sd3, right? If not, please correct me.
If I'm not mistaken, mdadm will report the broken drive,
then I have to look for the drive that corresponds to the 4th sata slot on
the motherboard.
That's part of my issue, can I be sure that the drive connected to port 4
is /dev/sde?
It's not a problem for the other 2 drives, as they differ in capacity,
but these 4 are exactly the same size.

Also how accurate is mdadm in identifying the failed drive?
As there are only 2 in an array, there is only 1 copy of the data to
compare to.

It also seems my last message was sent twice, sorry about that.

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/23813.91.183.48.98.1276699820.squir...@stevenleeuw.kwik.to



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-17 Thread Steven

On Wed, June 16, 2010 17:30, Michal wrote:
>
> Sorry I really didnt explain my self propely;
>
> Yes I mean /dev/sde and by lable I mean get a lable machine (or
> somehting similar) to put a physical lable on the drive, like a sticker
> with text saying /dev/sde
>
> I did this in one machine and simply built my RAID1 array across two
> drives, disconnected a drive, booted back up check mdstat to see which
> one was now disconnected and labled that one, then labled the second
> one. It's not a brilliant way I will admit but it works perfectly well.
> I tested it 3 times (connecting the drive back, rebuild array,
> disconnecting the other drive etc) to really make sure I had labled them
> correctly.
>
Ah, now I get it, I had no idea how to know which drive to put the right
label on.

Thanks.


-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/10288.91.183.48.98.1276758593.squir...@stevenleeuw.kwik.to



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-17 Thread Steven

On Wed, June 16, 2010 17:30, Michal wrote:
>
> Sorry I really didnt explain my self propely;
>
> Yes I mean /dev/sde and by lable I mean get a lable machine (or
> somehting similar) to put a physical lable on the drive, like a sticker
> with text saying /dev/sde
>
> I did this in one machine and simply built my RAID1 array across two
> drives, disconnected a drive, booted back up check mdstat to see which
> one was now disconnected and labled that one, then labled the second
> one. It's not a brilliant way I will admit but it works perfectly well.
> I tested it 3 times (connecting the drive back, rebuild array,
> disconnecting the other drive etc) to really make sure I had labled them
> correctly.
>
Ah, now I get it, I had no idea how to know which drive to put the right
label on.

Thanks.


-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/10287.91.183.48.98.1276758573.squir...@stevenleeuw.kwik.to



Re: Rebuilding RAID 1 Array in Linux with a new hard disk after a disk fault - Howto with screen shots

2010-06-17 Thread Steven

On Thu, June 17, 2010 10:17, Michal wrote:
> On 16/06/2010 19:00, Håkon Alstadheim wrote:
>> Just do "ls -l /dev/disk/by-id/". The disks will have factory labels
>> with serial-numbers to match.
>>
>
> This is a better way then disconnecting the drive and checking which
> drive was disconnected like I did, but I would still put a very easy to
> read label on the drive to say /dev/sdX. It would be far easier then
> checking a long serial number, especially if it's hard to read and you'd
> need to take each HDD out to check :)
>
Excellent, thank you both, this seems like the fastest/best way.
Backups and RAID is one thing, but they're both useless if you can't
recover :)

Kind regards,
Steven

PS. I hope I fixed the duplicate mail issue now.


-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1366.194.7.9.50.1276768902.squir...@stevenleeuw.kwik.to



Re: How to get rid of this firewall error.

2010-07-30 Thread Steven

On Fri, July 30, 2010 07:35, R. Ramesh wrote:
> My bad, I googled icmp_type 8. It seems harmless and required to be
> implemented. So I am going to accept.
> After filtering out this one, I notice another one coming from my own
> firewall and need to figure out who is sending it.
>
> [2731831.967429] IN=eth1 OUT= MAC= SRC=192.168.1.47 DST=192.168.1.255
> LEN=233 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138
> LEN=213
>
> I think this from my nmbd on the outgoing port. I am going to
> investigate interfaces option in smb.conf. Please tell me if I am on the
> wrong path.
>
Seems more like an incoming packet (the OUT interface is blank), probably
a smb server or windows machine sending its broadcast message (notice the
.255 in the destination IP)

Regards,
Steven

-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/42335.91.183.48.98.1280473329.squir...@stevenleeuw.kwik.to



Re: apache2 php5 error

2010-08-17 Thread Steven
On Tue, 2010-08-17 at 16:00 -0400, Paul Cartwright wrote:
> I know I've had this error before, but I can't remember what fixed it. I've 
> tried purging apache2 & php5, and reinstalling, same error..
> there is only 1 httpd.conf file under /etc and it is /etc/apache2/httpd.conf 
> and it only has 1 line with libphp in it..
> 
>  
> paulandcilla:/etc/apache2# /etc/init.d/apache2 restart
> Restarting web server: apache2[Tue Aug 17 15:55:42 2010] [warn] module 
> php5_module is already loaded, skipping
> [Tue Aug 17 15:55:42 2010] [warn] module php5_module is already loaded, 
> skipping
>  failed!
> 
In Debian, Apache will load the modules which are listed in the
directory /etc/apache2/mods-enabled (symlinks to mods-available)
If I recall correctly, it will be enabled by default when you install
the libapache2-mod-php5 package (along with php5 and apache, also is the
case with php4 if you're using Lenny).

It seems like you have both the default symlink and a line in your
httpd.conf file.

regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1282077190.5805.5.ca...@portable-steven.lan



Re: apache2 php5 error

2010-08-18 Thread Steven

On Wed, August 18, 2010 09:06, Steve Kemp wrote:
> On Tue Aug 17, 2010 at 18:52:32 -0400, Paul Cartwright wrote:
>
>> # tail /var/log/apac*/error.log
>
>   (This is good.  Looking at error logs is the way you solve
>  problems yourself.)
>
>> [Tue Aug 17 18:49:40 2010] [error] (2)No such file or directory: could
>> not
>> open transfer log
>> file /disk2/pictures/www/${APACHE_LOG_DIR}/other_vhosts_access.log.
>> Unable to open logs
>
>   Seems like you need to either:
>
>a) Make the directory you've told it to save its logs in.
>
>b) Change it to log to a directory which exists.  Perhaps
> /var/log/apache2?
>
Seems like the variable 'APACHE_LOG_DIR' isn't properly set in the config
(/etc/apache2/apache2.conf)
you might want to check that. The path
"/disk2/pictures/www/${APACHE_LOG_DIR}/other_vhosts_access.log" seems a
bit odd to me with that variable name...

Regards,
Steven


-- 
Rarely do people communicate; they just take turns talking.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/44531.91.183.48.98.1282115057.squir...@stevenleeuw.kwik.to



Re: Straw poll: What browser do you use?

2010-09-07 Thread Steven
On Tue, 2010-09-07 at 09:16 -0400, B. Alexander wrote:
> I'm just wondering, since firefox/iceweasel seems to be getting
> unusable. I have a 2.2GHz C2D box with an nvidia card at home, and a
> 3.0GHz C2D with a (lame) ATI card at work. I find that firefox (or
> xulrunner-stub) have memory leaks, and after a couple of days, it eats
> up a significant amount (10-30%) of memory. The work box has 3GB and
> the home box has 4GB. It also eats up a significant amount of CPU.
> 
> This morning, after idling all weekend, iceweasel on my work system
> was chewing up between 70 and 100% of my cpus, and scrolling pages
> were hesitating for several seconds.
Is this Lenny, Squeeze or Sid you are talking about?
> 
> So what do others use? 
> --b
I use swiftfox, it's the latest firefox code recompiled to be more CPU
specific in terms of compile time optimization.
I find it to be pretty stable, also note that swiftfox is more
up-to-date than the Iceweasel package.
It certainly seems snappier than the vanilla firefox from firefox.com.
Website: http://getswiftfox.com

Debian packages and repositories are available.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1283900299.6383.6.ca...@pc-steven.lan



see what files are touched by a program

2010-10-17 Thread Steven
Hi list,

Can anyone point me to a program that will let me know what files a
certain application touches? More importantly, writes to.
Something like "filestouched vi filename" which would then report
'filename' as being used.

I'm using Squeeze.
Thanks for any answers.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287345456.2275.3.ca...@pc-steven.lan



Re: see what files are touched by a program

2010-10-17 Thread Steven
On Sun, 2010-10-17 at 21:54 +0200, Davide Mancusi wrote: 
> On Sun, 17 Oct 2010 21:57:36 +0200
> Steven  wrote:
> 
> > Hi list,
> > 
> > Can anyone point me to a program that will let me know what files a
> > certain application touches? More importantly, writes to.
> > Something like "filestouched vi filename" which would then report
> > 'filename' as being used.
> 
>   Try
> lsof -p process_id
> You should be able to access the same info from the /proc interface,
> too. I don't know where (if?) it is in /sys.
> 

Thanks, this looks like it might work, unfortunately it's not as easy.
My problem is that the program is being launched by another program,
which I start manually, so I don't know it's PID yet, when I do, the
program might already be terminated, or it might still be running (who
knows?).
Any other way I can get this information?

Thanks to your tip, I looked up the man page for lsof, and I'll try it
with the -c option, and hope I get it at the right moment.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287347625.2275.16.ca...@pc-steven.lan



Re: see what files are touched by a program

2010-10-18 Thread Steven
On Mon, 2010-10-18 at 02:33 +, T o n g wrote: 
> On Sun, 17 Oct 2010 22:33:45 +0200, Steven wrote:
> 
> >> > Can anyone point me to a program that will let me know what files a
> >> > certain application touches? 
> 
> What exactly do you mean by "touch" here?

Read or write from/to that file, in this specific case, write.

> 
> > . . . 
> > My problem is that the program is being launched by another program,
> > which I start manually
> 
> So you manually start program-A and program-A starts program-B right?

Yes, exactly, I was not clear on that in my first message, but that is
the case. Program-B will then read and write from/to a file, and I would
like to know which file.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287399949.3154.5.ca...@pc-steven.lan



Re: see what files are touched by a program

2010-10-20 Thread Steven
On Tue, 2010-10-19 at 21:48 -0400, Karl Vogel wrote: 
> 
>"strace" will do what you want, but it's awkward to use if this app is
>being called by something else.  The easiest way might be to use a
>small script as a placeholder for the application:
> 
>  you% mv /path/to/app /path/to/app.bin
> 
>  you% cat /path/to/app
>  #!/bin/sh
>  strace -e trace=open -o /tmp/x$$ /path/to/app.bin ${1+"$@"}
>  grep -v RDONLY /tmp/x$$ > /tmp/app$$
>  exec rm /tmp/x$$
>  exit 1
> 
>Running this using "vim" for the command and "stuff" for the filename
>gave me this trace in /tmp/app21656:
> 
>  open("/tmp/stuff.swp", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4
>  open("4913", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0100644) = 3
>  open("stuff", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 3
>  open("/me/.viminfo.tmp", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 5
> 

Seems excellent , thanks.

Kind regards,
Steven



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1287602180.25680.1.ca...@pc-steven.lan



Burning CD stuck on sending CUE sheet

2010-10-23 Thread Steven
Hi list,

I'm using Debian Squeeze (currently up-to-date) and tried to burn an
audio cd using k3b. The burning process freezes at 0% with the message
'Sending CUE sheet', I can tell k3b to abort the process, but that just
causes k3b to lock up completely. I attached part of my kern.log file,
which shows 4 call traces from the cd burning.

Can anyone help me fix this? I remember the same drive working on
windows, so I doubt it's faulty hardware, brasero fails as well.
My motherboard is an MSI P45 Diamond, and the drive is connected with an
ata/ide cable.

All works fine on my laptop. The following line describes the cd drive
(taken from kern.log)
scsi 2:0:1:0: CD-ROMAOPENDUW1616/ARR  1030 PQ: 0
ANSI: 5

Kind regards,
Steven
Oct 23 19:14:01 pc-steven kernel: [   17.805005] eth0: no IPv6 routers present
Oct 23 19:14:51 pc-steven kernel: [   67.466980] sr1: Hmm, seems the drive doesn't support multisession CD's
Oct 23 19:14:51 pc-steven kernel: [   67.738578] cdrom: This disc doesn't have any tracks I recognize!
Oct 23 19:23:44 pc-steven kernel: [  600.597526] INFO: task hald-addon-stor:1742 blocked for more than 120 seconds.
Oct 23 19:23:44 pc-steven kernel: [  600.597530] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 23 19:23:44 pc-steven kernel: [  600.597532] hald-addon-st D 0020     0  1742   1691 0x
Oct 23 19:23:44 pc-steven kernel: [  600.597537]  f61bd0c0 0082 f7d0fc7d 0020 0000 c1415100 c1415100 c14106ac
Oct 23 19:23:44 pc-steven kernel: [  600.597543]  f61bd27c c3308100 0003 f649bc1c f7d0fd82 f64de190  
Oct 23 19:23:44 pc-steven kernel: [  600.597548]  c33036ac f61bd27c 872a 0400 0078   0400
Oct 23 19:23:44 pc-steven kernel: [  600.597553] Call Trace:
Oct 23 19:23:44 pc-steven kernel: [  600.597574]  [] ? scsi_host_alloc_command+0xf/0x46 [scsi_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597582]  [] ? scsi_get_command+0x5a/0x72 [scsi_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597588]  [] ? schedule_timeout+0x20/0xb0
Oct 23 19:23:44 pc-steven kernel: [  600.597592]  [] ? mod_timer+0x18/0x1e
Oct 23 19:23:44 pc-steven kernel: [  600.597596]  [] ? blk_plug_device+0x4b/0x6d
Oct 23 19:23:44 pc-steven kernel: [  600.597607]  [] ? scsi_request_fn+0x3c1/0x47a [scsi_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597611]  [] ? wait_for_common+0xa4/0x100
Oct 23 19:23:44 pc-steven kernel: [  600.597615]  [] ? default_wake_function+0x0/0x8
Oct 23 19:23:44 pc-steven kernel: [  600.597619]  [] ? blk_execute_rq+0x8b/0xb2
Oct 23 19:23:44 pc-steven kernel: [  600.597623]  [] ? blk_end_sync_rq+0x0/0x23
Oct 23 19:23:44 pc-steven kernel: [  600.597626]  [] ? elv_set_request+0x14/0x22
Oct 23 19:23:44 pc-steven kernel: [  600.597629]  [] ? get_request+0x1b0/0x25b
Oct 23 19:23:44 pc-steven kernel: [  600.597632]  [] ? get_request_wait+0x1a/0x146
Oct 23 19:23:44 pc-steven kernel: [  600.597636]  [] ? remove_wait_queue+0xb/0x2f
Oct 23 19:23:44 pc-steven kernel: [  600.597648]  [] ? scsi_execute+0xce/0x126 [scsi_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597657]  [] ? scsi_execute_req+0x5a/0x81 [scsi_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597662]  [] ? sr_test_unit_ready+0x43/0x9b [sr_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597667]  [] ? sr_media_change+0x46/0x22a [sr_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597672]  [] ? media_changed+0x40/0x6e [cdrom]
Oct 23 19:23:44 pc-steven kernel: [  600.597677]  [] ? check_disk_change+0x16/0x3e
Oct 23 19:23:44 pc-steven kernel: [  600.597682]  [] ? cdrom_open+0x811/0x88e [cdrom]
Oct 23 19:23:44 pc-steven kernel: [  600.597685]  [] ? cpumask_next_and+0x23/0x33
Oct 23 19:23:44 pc-steven kernel: [  600.597689]  [] ? find_busiest_group+0x2e9/0x6e6
Oct 23 19:23:44 pc-steven kernel: [  600.597693]  [] ? __switch_to+0xcf/0x141
Oct 23 19:23:44 pc-steven kernel: [  600.597697]  [] ? finish_task_switch+0x34/0x95
Oct 23 19:23:44 pc-steven kernel: [  600.597701]  [] ? schedule+0x7a0/0x7dc
Oct 23 19:23:44 pc-steven kernel: [  600.597705]  [] ? __mutex_lock_common+0xef/0x13b
Oct 23 19:23:44 pc-steven kernel: [  600.597708]  [] ? kobject_get+0xf/0x13
Oct 23 19:23:44 pc-steven kernel: [  600.597714]  [] ? sr_block_open+0x66/0x7a [sr_mod]
Oct 23 19:23:44 pc-steven kernel: [  600.597717]  [] ? __blkdev_get+0xb0/0x2c7
Oct 23 19:23:44 pc-steven kernel: [  600.597721]  [] ? blkdev_open+0x60/0x8b
Oct 23 19:23:44 pc-steven kernel: [  600.597724]  [] ? __dentry_open+0x156/0x246
Oct 23 19:23:44 pc-steven kernel: [  600.597728]  [] ? nameidata_to_filp+0x29/0x3c
Oct 23 19:23:44 pc-steven kernel: [  600.597730]  [] ? blkdev_open+0x0/0x8b
Oct 23 19:23:44 pc-steven kernel: [  600.597734]  [] ? do_filp_open+0x43f/0x802
Oct 23 19:23:44 pc-steven kernel: [  600.597740]  [] ? cdrom_release+0x17e/0x1c3 [cdrom]
Oct 23 19:23:44 pc-steven kernel: [  600.597748]  [] ? scsi_device_put+0x21/0x2e [scsi_mod]
Oct 23 19:23:44 pc-s

Re: Burning CD stuck on sending CUE sheet

2010-10-27 Thread Steven
On Sun, 2010-10-24 at 18:16 +, Camaleón wrote: 
> On Sat, 23 Oct 2010 22:56:17 +0200, Steven wrote:
> 
> > I'm using Debian Squeeze (currently up-to-date) and tried to burn an
> > audio cd using k3b. The burning process freezes at 0% with the message
> > 'Sending CUE sheet', I can tell k3b to abort the process, but that just
> > causes k3b to lock up completely. I attached part of my kern.log file,
> > which shows 4 call traces from the cd burning.
> 
> (...)
> 
> You're getting a quite similar error message to this guy:
> 
> Finalizing of burnt CD-Rs takes a very long time or gets stuck
> https://bugzilla.redhat.com/show_bug.cgi?id=606237
> 
> I would try to use another burning software, re-sit/replace the ATA cable 
> or try with another dvd writer to see if you get any difference.
> 

Thanks for your advice, I managed to find another drive, it's not a
DVD-rw, but an old CD-rw drive. I also re-seated the ata cable.
The problem has slightly changed, it still freezes before actually
writing to the disc, but on this old drive the last message on the
screen is 'Starting DAO at 4x speed', this is before sending the CUE
sheet. Also it doesn't completely freeze, instead I can still cancel the
write, and retrieve the disc from the drive (it locked up before), k3b
is still responsive, yet doesn't close when using file - quit. I have to
kill it (signal 15 suffices).

Brasero shows similar behavior.

I also tried to use the other connection on the cable (switching master
and slave), but no luck either.

I'll see if another cable does the job, but I don't see anything wrong
with the current one, no sharp bends or anything.

Also, this just doesn't seem right to me atm (from kern.log):
[1.956571] sr0: scsi3-mmc drive: 4x/48x cd/rw xa/form2 cdda tray
[1.956574] Uniform CD-ROM driver Revision: 3.20
[1.956760] sr 2:0:0:0: Attached scsi CD-ROM sr0
[1.966828] sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
[1.966889] sr 2:0:1:0: Attached scsi CD-ROM sr1
At that moment, 2 optical drives are attached to the same cable, a
DVD-rom (read-only) and the old CD-rw drive.

This however does seem correct (a couple of lines down)
[1.324498] ata3.00: ATAPI: _NEC DV-5800E, G9S1, max UDMA/33
[1.324521] ata3.01: ATAPI: R/RW 4x4x32, 1.3B, max MWDMA2

Any ideas should the other cable not work? And can someone explain the
first part of that log to me, about the sr0 and sr1 device?

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1288213323.3511.24.ca...@pc-steven.lan



[Solved]Re: Burning CD stuck on sending CUE sheet

2010-10-27 Thread Steven
Answering a bit for myself..
I was able to fix it and I have already burnt 1 audio disc again.

On Wed, 2010-10-27 at 23:02 +0200, Steven wrote: 
> On Sun, 2010-10-24 at 18:16 +, Camaleón wrote: 
> > [...]
> > I would try to use another burning software, re-sit/replace the ATA cable 
> > or try with another dvd writer to see if you get any difference.
> > 
> 
[...] 
> 
> I also tried to use the other connection on the cable (switching master
> and slave), but no luck either.
> 
> I'll see if another cable does the job, but I don't see anything wrong
> with the current one, no sharp bends or anything.

Another cable and a small change in jumper settings did the trick.
It appears by DVD-rw drive has a firmware bug (or bad wiring/labeling),
normally when setting the jumper to CS (cable select) on both drives
results in 1 master and 1 slave, dependant on the position on the cable
(the one on the longer part is master). However in my case that results
in utter failure to detect both drives properly in BIOS. In the previous
situation, where k3b would lock up, I had the dvd-rom drive on cable
select and on the far end, while the dvd-rw drive was set to slave on
the middle connector. Both drives were able to read media just fine.

Now I have used another IDE cable and set the dvd-rom to master (far end
of the cable), and the dvd-rw to slave(connected to the middle one).
This setup appears to be working fine, the DVD-rw was able to burn an
audio cd, which is now playing fine in the other drive. I haven't tested
reading from that drive yet, but I assume it will work as well.

> 
> Also, this just doesn't seem right to me atm (from kern.log):
> [1.956571] sr0: scsi3-mmc drive: 4x/48x cd/rw xa/form2 cdda tray
> [1.956574] Uniform CD-ROM driver Revision: 3.20
> [1.956760] sr 2:0:0:0: Attached scsi CD-ROM sr0
> [1.966828] sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
> [1.966889] sr 2:0:1:0: Attached scsi CD-ROM sr1
> At that moment, 2 optical drives are attached to the same cable, a
> DVD-rom (read-only) and the old CD-rw drive.
> 
> This however does seem correct (a couple of lines down)
> [1.324498] ata3.00: ATAPI: _NEC DV-5800E, G9S1, max UDMA/33
> [1.324521] ata3.01: ATAPI: R/RW 4x4x32, 1.3B, max MWDMA2
> 
> Any ideas should the other cable not work? And can someone explain the
> first part of that log to me, about the sr0 and sr1 device?

I still don't know what that was all about in the kern.log, so if anyone
could shed some light on it, that would be great. Although my problem is
solved, a similar message appears in the logs.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1288218898.3361.15.ca...@pc-steven.lan



Re: improve screen resolution

2010-11-03 Thread Steven
On Wed, 2010-11-03 at 12:25 +, Camaleón wrote: 
> On Wed, 03 Nov 2010 14:00:55 +0200, Johan Scheepers wrote:
> 
> > On 03/11/2010 00:58, Camaleón wrote:
> 
[...] 
> > 
> > Question..:  Once in tty, how to return to gnome grafical.
> 
> Ctrl+Alt+F7
> 
> :-)
> 

Might need Ctrl + Alt + F8 instead, if you only see a white blinking
cursor.
Due to some weirdness with Xorg.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1288788323.3162.4.ca...@pc-steven.lan



partially broken internet connection

2010-12-13 Thread Steven
Hi list,

(Might be unrelated) Yesterday I configured some extra rules on my
gateway box (Debian Etch) to slow down traffic from a particular part of
the network. It started at that time.

The new rules work and speedtest.net showed correct results from both
network segments. However from that moment on (more than 24 hours ago)
some internet pages had trouble loading. The website from my ISP still
works fine, as do most other.
Some sites however don't seem to load anything more than the title and
the favicon, this is happening for all machines on the 'fast' segment
(haven't tested others) and in about every flavor of browser.
Sites that don't load include slashdot.org, linuxtoday.com and
speedtest.net.

Running wireshark on the client machine shows that the page content
(html) is received, but in the browser, the page stays completely empty.

Any suggestions? Ideas?
The limiting is done using tc and iptables, but as I said, seems to work
correctly.

Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292270765.10411.10.ca...@pc-steven.lan



Re: partially broken internet connection

2010-12-13 Thread Steven
I'll answer myself a bit, but this leaves me puzzled even more.

On Mon, 2010-12-13 at 21:06 +0100, Steven wrote: 
> Hi list,
> 
> (Might be unrelated) Yesterday I configured some extra rules on my
> gateway box (Debian Etch) to slow down traffic from a particular part of
> the network. It started at that time.

It seems that this is in fact related to the issues I'm having.

After a reboot of the gateway box, the sites work again (haven't tested
them all, just 2), as soon as I enable a particular tc filter, things go
wrong, until I reboot the gateway again.

After reboot(also runs the firewall script):
debian:/home/steven# tc qdisc show
qdisc cbq 11: dev eth2 rate 10Kbit (bounded,isolated) prio
no-transmit
qdisc pfifo_fast 0: dev eth3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev ppp0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev tun0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1

After running the firewall script without rebooting:
debian:/home/steven# tc qdisc show
qdisc cbq 11: dev eth2 rate 10Kbit (bounded,isolated) prio
no-transmit
qdisc pfifo_fast 0: dev eth3 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc pfifo_fast 0: dev tun0 bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1
1 1 1
qdisc cbq 10: dev ppp0 rate 10Kbit (bounded,isolated) prio
no-transmit


The applied rules in question are the following:
# Download marking
tc qdisc add dev eth2:0 root handle 11: cbq bandwidth 100Mbit avpkt 1000
mpu 64
tc class add dev eth2:0 parent 11: classid 11:1 cbq rate 200Kbit weight
50Kbit allot 1514 prio 1 avpkt 1000 bounded
tc filter add dev eth2:0 parent 11: protocol ip handle 4 fw flowid 11:1

# Upload marking
tc qdisc add dev ppp0 root handle 10: cbq bandwidth 100Mbit avpkt 1000
mpu 64
tc class add dev ppp0 parent 10: classid 10:1 cbq rate 25KBit weight
4Kbit allot 1514 prio 1 avpkt 1000 bounded
tc filter add dev ppp0 parent 10: protocol ip handle 3 fw flowid 10:1

# Upload rules
iptables -t mangle -A FORWARD -s 192.168.5.0/24 -j MARK --set-mark 3

# Download rules
iptables -t mangle -A POSTROUTING -d 192.168.5.0/24 -j MARK --set-mark 4

The affected network however is on subnet 10.0.0./24 so these filters
wouldn't apply to it.


Kind regards,
Steven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292276120.6571.7.ca...@pc-steven.lan



Re: File systems -- reiser vs. ext3

2003-02-18 Thread Steven Yap
On Tue, 2003-02-18 at 18:23, Daniel B. wrote:
> Paul Johnson wrote:
> > ...
> > My pick of ext3 was the fact that all the tools that work with ext2
> > work just as readily with ext3.  I was also able to convert within a
> > few minutes from ext2 on the command line.
> 
> What do you use to convert?

tune2fs  -j. ext3 is ext2 with a journal, unlike reiserfs and XFS. 
Those two are quite different from ext2.

-- 
Steven Yap <[EMAIL PROTECTED]>


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




Re: glx-no-gears

2003-03-02 Thread Steven Yap
On Sun, 2003-03-02 at 09:27, [EMAIL PROTECTED] wrote:
> This is just a sumptom. When I run glxgears all I get is a black
> window. No animation of three rotating gears. Other
> opengl-enabled programs and plug-ins I tried launch and run as
> usual. I'm able to shut them down without resorting to anything

I take it that you mean that other OpenGL programs run but show the
same symptoms as with glxgears.

> stronger than Ctrl-C. But all I see is an image of unrelenting
> nothing.

The symptom you've describe sounds like a mismatch between DRI and 
the kernel.

-- 
Steven Yap <[EMAIL PROTECTED]>


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



Re: glx-no-gears

2003-03-03 Thread Steven Yap
On Sun, 2003-03-02 at 09:27, [EMAIL PROTECTED] wrote:
> This is just a sumptom. When I run glxgears all I get is a black
> window. No animation of three rotating gears. Other
> opengl-enabled programs and plug-ins I tried launch and run as
> usual. I'm able to shut them down without resorting to anything
> stronger than Ctrl-C. But all I see is an image of unrelenting
> nothing.

Hah! Further reading on debian-x and browsing the bugs filed against
xlibmesa3, it appears that the radeon_dri.so module did not build
correctly with GCC 3.2.  Downgrading to xlibmesa3-4.2.3 (in testing) 
should fix the problem.

-- 
Steven Yap <[EMAIL PROTECTED]>


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



Re: opengl on radeon

2003-03-20 Thread Steven Yap
On Tue, 2003-03-18 at 02:44, Herve Lombaert wrote:
> Hello,
> 
> OpenGL always worked here on computers with ati radeon. But since last
> month, where I had the OpenGL display, I now have a black display. For
> example glxgears still starts correctly with no error messages, but
> displays nothing. It's a black window.
> 

I bet that you have xlibmesa3-gl installed right? If so, downgrade to
xlibmesa3 OR simply replace the file radeon_dri.so in
/usr/X11R6/lib/modules/dri/ with the one from xlibmesa3.

Apparently, it's the result of a GCC bug.

-- 
Steven Yap <[EMAIL PROTECTED]>


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



Re: GTK, GTK2 Fonts

2003-02-08 Thread Steven Yap
On Fri, 2003-02-07 at 23:16, Cameron Matheson wrote:
> On Fri, Feb 07, 2003 at 07:02:48PM -0500, Richard Beri wrote:
> > For some reason gdm wants to always use the ugly default font and
> > I cannot change it, gnome-control-center run 

Run gdmconfig as root and it should set you right. Under the "Login
Behaviour" tab (in the Basic options), there's a default font selector.
Alternatively, create a gtkrc file containing the font you want and
point gdm to it in the "Login Appearance" tab.

I believe gdm2 is not yet available in unstable.

> > 
> > Thats problem one, problem 2 is that now GTK2 apps like rox now default 
> > to some tiny unreadable anti-aliased font, and again I use 
> > gnome-control-center to try and set the font, but again gtk2 apps 
> > ignore the settings.
> 
> Yeah i have been getting this too... i think there is a config server
> type thing in gnome2

GTK2 uses Xft2 which is configured through /etc/fonts/fonts.conf. Add
the following to /etc/fonts/fonts.conf to turn off anti-aliasing for
point sizes less than 13 points:



13


false



I like the look of anti-aliased oblique fonts though, so I want 
anti-aliasing to happen for all oblique fonts regardless of size.
So I added another  element like so:


roman


This way, antialiasing will be turned off for all upright fonts
less than 13 points.

> > I know that ~/.gtkrc controls the fonts in gtk1 apps (except for root 
> > user for some reason), what config file is controlling the gtk2 apps?
> 
> ~/.gtkrc-2.0
> 

I'm running Gnome2 as my main desktop, but to configure the fonts and
themes for Gnome1 applications, I'm using gtk-theme-switch.  If you're
using Gnome1 as your desktop with some Gnome2 applications, I guess you
will have to manually edit ~/.gtkrc-2.0.


-- 
Steven Yap <[EMAIL PROTECTED]>


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




Kernel reboots on startup

2003-09-17 Thread Steven Schlansker
I just installed kernel 2.4.18 from source, and whenever I try to boot 
the new kernel, it reboots.  LILO shows up fine, and it says Loading 
linux
As soon as it finishes that, the machine reboots.  I can't see any 
error messages printed, the screen clears too fast.  I, however, can 
boot LinuxOLD to get the old kernel back.  How can I debug this kind of 
problem?

(Please CC any replies to me, as I'm not subscribed to the list)

Thanks!

--

Microsoft Windows: Proof that P.T. Barnum was correct.

Steven Schlansker
Tech Support & Programming
Flamin' Ghost Software
http://www.fgsoft.net/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Kernel reboots on startup

2003-09-18 Thread Steven Schlansker
There's nothing in the boot messages which indicates anything from the 
failed boots, not even a klogd started message.  Ctrl-S does nothing.
I'll try rebuilding the kernel, but it'll take all night so I'll report 
tomorrow on that.  The kernel install runs lilo by itself, right? I 
don't have the old source tree, it came from the debian boot floppy and 
the four driver disks.  I'll reconfigure now, and build.

On Thursday, September 18, 2003, at 03:47  PM, Terry Carney wrote:

On Wed, 17 Sep 2003, Steven Schlansker wrote:

error messages printed, the screen clears too fast.  I, however, can
boot LinuxOLD to get the old kernel back.  How can I debug this kind 
of
problem?
Boot LinuxOLD and scan the kernel boot messages /var/log/messages
for the two kernels and see if you can find differences. The boot
process very probably doesn't get this far so you can try CTRL-s CTRL-q
to try and stop/start the boot messages before they go by.
Possibilities I can think of:

* In 'make menuconfig':

   - the processor type may have inadvertently been set wrong.
   - hardware you need getting missed
* Failure to rerun Lilo after compilation.

If you have the old source tree you can copy the .config file to the 
new
tree and run 'make oldconfig' which will transfer your old settings to
the new kernel while getting prompted for the differences.

Hoping this helps,

Terry.

[EMAIL PROTECTED]
http://haven.selterra.com/
-
Public GPG Key: http://www.selterra.com/pubkeys/tcarney.asc


--

Microsoft Windows: Proof that P.T. Barnum was correct.

Steven Schlansker
Tech Support & Programming
Flamin' Ghost Software
http://www.fgsoft.net/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Id "S" respawning too fast: disabled for 5 minutes

2003-09-21 Thread Steven Schlansker
Every five minutes, the entire screen fills with a usage line for 
getty, repeated some 10 times, and then INIT: Id "S" respawning too 
fast: disabled for 5 minutes.  Five minutes later, the process repeats. 
 It doesn't seem to break anything, but it's annoying.  What could 
cause this?

(Please CC me in responses; I don't want to sift through the hundreds 
of messages which I don't care about.  Thanks!)

--

Microsoft Windows: Proof that P.T. Barnum was correct.

Steven Schlansker
Tech Support & Programming
Flamin' Ghost Software
http://www.fgsoft.net/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--

Microsoft Windows: Proof that P.T. Barnum was correct.

Steven Schlansker
Tech Support & Programming
Flamin' Ghost Software
http://www.fgsoft.net/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Id "S" respawning too fast: disabled for 5 minutes

2003-09-21 Thread Steven Schlansker
On Sunday, September 21, 2003, at 09:25  AM, Thomas Krennwallner wrote:
Would you post the content of file /etc/inittab to the list? Seems like
there's a misconfigured line in it.
I see a line which is suspect - it's commented as "Example how to put a 
getty on a modem line."

S:12345:respawn:/sbin/getty ttyS3

I've tried commenting it out, but it keeps uncommenting itself somehow 
on reboot.  My changes won't stick...
--

Microsoft Windows: Proof that P.T. Barnum was correct.

Steven Schlansker
Tech Support & Programming
Flamin' Ghost Software
http://www.fgsoft.net/
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   3   4   5   6   7   8   9   10   >