question about a linux embedded router i have

2008-12-05 Thread CJ Kelley
Hi all,

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

Additional Information:
Serial Number: PA32000688
Model: MAAT

Everything powers up and it runs just fine (infact you can hear the little
hard drive in there going)

TIA

--CJ


Uso de debconf al empaquetar en formato .deb

2007-07-12 Thread cj . oak

Nuevamente solicitando su ayuda. Como comenté en otro correo estoy
trabajando en una aplicación basada en php la cual ya logre empaquetar en
formato .deb con los consejos de ustedes pero ese paquete requiere de
algunos parametros a configurar que nos gustaria que sean solicitados en las
tipicas ventanas que debconf genera cuando un paquete es instalado.

Encontré un pequeño tutorial (
http://www.fifi.org/doc/debconf-doc/tutorial.html )  que es muy claro en lo
que presenta, generar un archivo template con la información y las opciones
a seleccionar en cada ventana y un script config que es el que llamará a
esas ventanas 'programadas' en el archivo templates

mi templates de prueba es:

 1 Template: robles/like_debian
 2 Type: boolean
 3 Description: Do you like Debian?
 4  Nos gustar�a saber si te gusta Debian?
 5
 6 Template: robles/why_debian_is_great
 7 Type: note
 8 Description: Estas perdido si no usan Debian

y mi script config de prueba es

 1 #!/bin/bash
 2 . /usr/share/debconf/confmodule
 3
 4 db_input medium robles/like_debian || true
 5 db_go || true
 6
 7 db_get robles/like_debian
 8 if [ $RET = false ]; then
 9 echo Se respondio falso...
10 echo 
11 exit 1
12 fi
13
14 exit 0

Mi idea era hacer una pequeña prueba de como funcionaba debconf para más
adelante preparar toda la configuración del paquete. Empaquete un porgramita
de prueba y nada, nunca funciono el debconf, después de acuerdo al man del
debconf hice una prueba ejecutando el script unicamente, antes de empaquetar
lo en deb

sudo debconf sh -x config

y el resultado es el siguiente ...

[EMAIL PROTECTED]:~/proyectos/tmp/debconf$ sudo debconf bash -x config
+ . /usr/share/debconf/confmodule
++ '[' '!' 1 ']'
++ '[' -z '' ']'
++ exec
++ '[' '' ']'
++ exec
++ DEBCONF_REDIR=1
++ export DEBCONF_REDIR
+ db_input medium robles/like_debian
+ _db_cmd 'INPUT medium' robles/like_debian
+ printf '%s\n' 'INPUT medium robles/like_debian'
+ IFS='
'
+ read -r _db_internal_line
+ RET='10 robles/like_debian doesn'\''t exist'
+ case ${_db_internal_line%%[   ]*} in
+ return 10
+ true
+ db_go
+ _db_cmd 'GO '
+ printf '%s\n' 'GO '
+ IFS='
'
+ read -r _db_internal_line
+ RET=ok
+ case ${_db_internal_line%%[   ]*} in
+ return 0
+ db_get robles/like_debian
+ _db_cmd 'GET robles/like_debian'
+ printf '%s\n' 'GET robles/like_debian'
+ IFS='
'
+ read -r _db_internal_line
+ RET='10 robles/like_debian doesn'\''t exist'
+ case ${_db_internal_line%%[   ]*} in
+ return 10
+ '[' '10 robles/like_debian doesn'\''t exist' = false ']'

no genera la pantalla... baje moodle que es un paquete tambien basado en php
y recordaba que hacia preguntas sobre el tipo de servidor a utilizar y la
base de datos etc, entonces baje sus fuentes y ejecute la misma instruccion
con debconf y si salio la ventana tipo ncurses solicitando datos... di
algunos datos  termine la falsa configuración y al intentar nuevamente
ejecutar el debconf me salio un codigo similar al de mi config y nunca la
ventana.

¿Qué estoy haciendo mal? en el caso de moodle suponia que ya no me ponia las
ventanas porque las preguntas ya habian sido respondidas... entonces fui a
/var/cache/debconf y supuestamente borre las lineas que genero la respuestas
del paquete moodle pero al intentar correr nuevamente el script nunca se
genera la ventana, solo aparece la serie de instrucciones que antes coloque.

Tiene alguien algún ejemplo de como integrar debconf en un paquete? He
buscado un mejor manual o documento que explique con más detalle lo que
quiero hacer pero nada, si alguien pudiera orientarme lo agradeceria, porque
incluso ejecutando el ejemplo del man debconf-devel(7) no se genera nada.

Saludos

Juan Carlos


Crear paquetes .deb de lenguajes interpretados (PHP)

2007-06-18 Thread cj . oak

Tengo un programa que he ha desarrollado completamente en PHP, tanto para
uso WEB como en consola (ncurses) y nos gustaría generar el apquete .deb
para facilitar su instalación, borrado, actualización , etc. de ese
programa; pero hasta el momento los howto y documentación que he encontrado
hacen referencia a crear paquetes binarios y no en espcial de una serie de
scripts. Estos archivos de php tienen una estructura ya establecida por
nosotros que queremos conserver en el arbol de directorios, además se tienen
que hacer una serie de pasos con bases de datos y otras configuraciones que
nos gustaría automatizar para evitar olvidos.

¿ALguien sabe de algún documento que haga referencia a crear ese paquetes
.deb de script y no únicamente de binarios?


Cualqueir comentario u orientación me ayudaria mucho, gracias y continuo en
mi busqueda...


Saludos

Juan Carlos


Re: Graphical bittorrent clients in etch

2007-03-09 Thread CJ van den Berg
On Fri, Mar 09, 2007 at 12:10:46PM +, Liam O'Toole wrote:
 Hi,
 
 I am looking for a graphical bittorrent client for etch. My
 requirements are that it supports encryption and integrates nicely with
 the GNOME desktop. Here are the ones I have evaluated so far.

...

 Does anyone have any other suggestions?

There is also deluge-torrent which is GTk+ and seems to work quite well.
Unfortunately it didn't make it into etch before the freeze so it's stuck in
unstable.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Aiglx and xorg 7.1

2006-11-09 Thread CJ van den Berg
On Thu, Nov 09, 2006 at 02:58:21AM +0200, Margiolas Christos wrote:
 Hello I informed on web that aiglx merged to xorg,  how I can enable aiglx
 on xorg 7.1?

You don't have to do anything. AIGLX is enabled by default in xorg 7.1.

Just install and run compiz and enjoy!

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Sound via ssh

2006-10-18 Thread CJ van den Berg
On Tue, Oct 17, 2006 at 02:57:56PM +0200, Christian Christmann wrote:
 Hi,
 
 I've a Debian machine with a sound card. I can play 
 mp3 with libOSS.so. When I connect to this machine with
 ssh from another machine (it's a Sun terminal) with X
 forwarding, I can start xmms and it also starts playing
 the mp3. However, the sound is not forwarded to my
 headphones connected to my Sun terminal. What is wrong?
 Do I need to install any more modules/programs?

You need a sound server that supports networked audio. I'd recommend
the PulseAudio sound server. It supports exactly what you want (redirection
of sound for X apps running over ssh -X) right out of the box. It has
support for redirecting apps that use ALSA, OSS, ESD, libao and gstreamer.
So in other words pretty much everything out there. There is even a native
PulseAudio plugin for xmms. :-)

Check it out at http://www.pulseaudio.org

There are packages in unstable and testing too.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: hibernate desktop?

2006-10-17 Thread CJ van den Berg
On Mon, Oct 16, 2006 at 08:15:34PM +0200, Lorenzo Bettini wrote:
 CJ van den Berg wrote:
 If you are using a 2.6.17 kernel you should rather try uswsusp. It doesn't
 require patching the kernel at all and has worked very, very well for me.
 AFAIK its supposed to replace all the other hibernation solutions.
 
 do you happen to know whether this works also with the nvidia driver?

I haven't used it on an nvidia box yet. I would assume it works with the nv
OSS driver, but that's just a guess. I've no idea whether the binary nvidia
driver will work. I'll try it out when I'm next at an nvidia machine.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Locales broken after Xorg upgrade

2006-10-13 Thread CJ van den Berg
On Thu, Oct 12, 2006 at 12:01:34PM -0700, H. S. Teoh wrote:
 [Please Cc: replies to me, I'm not subscribed to this list.]
 
 After the latest Xorg upgrade (unstable), my locale settings don't work
 anymore.

[snip]

 Any clues as to what might be wrong?

I'm seeing this too and it's a real pain. It looks like it's already fixed
[1] though, thank goodness. Hopefully they will do a new upload with the fix
soon...

1. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392567

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Install Linux without CD-ROM

2006-10-13 Thread CJ van den Berg
On Fri, Oct 13, 2006 at 11:30:24AM +0200, Christian Christmann wrote:
 Hi,
 
 I've an older laptop that does not allow to boot from
 CD-ROM but from FDD, HDD and LAN. 
 
 What is the easiest way to install Debian on that device?

You could install SBM (Smart Boot Manager) on the HDD and use that to boot
from CD-ROM. That's what I do on a couple of my older laptops.

http://btmgr.sourceforge.net/download.html

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: wired or not wired, that's the question

2006-10-05 Thread CJ van den Berg
On Wed, Oct 04, 2006 at 03:16:42PM -0700, wimpunk wrote:
 I'm running debian testing on my laptop and I have a question about
 choosing a configuration.
 I use my laptop on wired and wireless environments.  At this moment I
 switch manually but I want to get it done automaticly: if there's a
 wire plugged in (with signal) try to use it and if no signal, try to
 get wireless up.  Has anyone a suggestion on how to do it?

aptitude install network-manager-gnome
or 
aptitude install network-manager-kde

NetworkManager does exactly what you want out of the box. With a cool GUI
and everything.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: keyjnote crashes computer

2006-10-02 Thread CJ van den Berg
On Mon, Oct 02, 2006 at 10:53:01AM +0100, Anthony Campbell wrote:
 I installed the Debian version of a new pdf presentation programme
 called keyjnote. It refused to run. I got the original version from
 sourceforge and that also failed to run. This is version 0.8.2.
 
 I emailed the author, who said it was something to do with sound
 recognition, which was not required anyway. He posted a new version
 (0.8.3) on sourceforge a couple of days ago. This produces a total crash
 on my machine (blank screen) and I have to reboot. 
 
 It looks as if this programme is best avoided, at least for the present.
 Has anyone else tried it?

The 0.8.2 version in unstable works just fine here. I would suspect that
there is a problem with your display driver and opengl (which keyjnote
uses). Do any other 3D apps run ok on your machine?

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: NTP Daemon

2006-09-29 Thread CJ van den Berg
On Fri, Sep 29, 2006 at 12:21:20PM +0200, Michele Della Marina wrote:
 I'm looking for a simple NTP client daemon to synchronize the time on
 my debian server. I'm testing openntpd but I've this error message:
 adjtime failed: Invalid argument
 
 Could someone help me or suggest something?
 Thanks

aptitude install ntp-server and off you go.

I know it's called a server and you want a client but there's not really
much difference with NTP and the default configuration should be exactly
what you want.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: hibernate desktop?

2006-09-26 Thread CJ van den Berg
On Tue, Sep 26, 2006 at 11:30:04PM +0800, Jeff Zhang wrote:
 CJ van den Berg wrote:
  If you are using a 2.6.17 kernel you should rather try uswsusp. It doesn't
  require patching the kernel at all and has worked very, very well for me.
  AFAIK its supposed to replace all the other hibernation solutions.
 
 It works well, but about two times late, grub will complain that
 `Inconsistent filesystem structure' and take long time to check disk,
 even need key parameters to grub in command method by hand. Is it can be
 resolved?

I would like to help, but I'm afraid I don't understand your question at
all. :-( Could you try rephrasing it perhaps?

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: hibernate desktop?

2006-09-25 Thread CJ van den Berg
On Sat, Sep 16, 2006 at 02:08:51PM -0500, Hugo Vanwoerkom wrote:
 Hugo Vanwoerkom wrote:
 Hi,
 
 Anybody done this successfully?
 Details?
 
 
 On a desktop running a two-seater Sid and kernel 2.6.17-ck1 and 
 suspend2-2.2.7.5-for-2.6.17 applied to that kernel with Hibernate Script 
 1.93 I can hibernate and resume, provided:

If you are using a 2.6.17 kernel you should rather try uswsusp. It doesn't
require patching the kernel at all and has worked very, very well for me.
AFAIK its supposed to replace all the other hibernation solutions.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Email programs that work.

2006-08-29 Thread CJ van den Berg
On Mon, Aug 28, 2006 at 05:36:48PM -0700, Steve Lamb wrote:
 Marc Wilson wrote:
  Whenever *I* go back to my folder list, new is clearly marked.
 
 Just wait, it won't.

Yes, it will. If it doesn't, then your filesystem is probably mounted
noatime. Mutt uses the filesystem's atime to determine whether mbox files
contain new mail. 

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Email programs that work.

2006-08-29 Thread CJ van den Berg
On Tue, Aug 29, 2006 at 06:51:39AM -0500, Ron Johnson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Steve Lamb wrote:
  CJ van den Berg wrote:
  Yes, it will. If it doesn't, then your filesystem is probably mounted
  noatime. Mutt uses the filesystem's atime to determine whether mbox files
  contain new mail. 
  
  Uh, since mutt's main display never updated when I was on that screen 
  the
  display never updated when new mail came in.  I mean, real simple test and I
  just performed it to confirm.  Start mutt, pressed y, sent myself mail.
  Waited 5 minutes, /var/mail/grey still does not show new mail.  Meanwhile
  Thunderbird, in less than 1m, increased my new mail count in my Inbox 
  from 4
  to 5.  In fact exiting that screen and entering it still didn't show new 
  mail
  in /var/mail/grey.
 
 There's a .muttrc option to specify refresh rate.  Was mentioned
 somewhere in this big old thread.  Maybe that's what you need.

set timeout=n

The default is 600 (10 minutes), which is pretty long.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Debain as gigabit router?

2006-08-28 Thread CJ van den Berg
On Sun, Aug 27, 2006 at 11:59:59PM +0200, Erik Persson wrote:
 Erik Persson wrote:
 I have heard some people saying it is possible to run linux as a 
 gb-router on pc-hardware and some have actually tested it, but it would 
 be very nice to hear from some more people who have tried it!
 Nothing beats the real world.
 
 Is there anyone on the debian-user list who has tried debian as a 
 gigabit router and have some input?

Yes, I've done it. I've saturated two 1Gbit links with a debian/netfilter
based router (3Ghz P4). Whether or not it's possible in your situation
though depends largely on the type of network traffic and the complexity of
your filtering rules. If your packet rates are low and your filters fairly
simple it should be pretty easy to saturate a 1Gbit ethernet link. 

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Debain as gigabit router?

2006-08-28 Thread CJ van den Berg
On Mon, Aug 28, 2006 at 06:00:21AM -0500, Ron Johnson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 CJ van den Berg wrote:
  On Sun, Aug 27, 2006 at 11:59:59PM +0200, Erik Persson wrote:
  Erik Persson wrote:
  I have heard some people saying it is possible to run linux as a 
  gb-router on pc-hardware and some have actually tested it, but it would 
  be very nice to hear from some more people who have tried it!
  Nothing beats the real world.
  Is there anyone on the debian-user list who has tried debian as a 
  gigabit router and have some input?
  
  Yes, I've done it. I've saturated two 1Gbit links with a debian/netfilter
  based router (3Ghz P4). Whether or not it's possible in your situation
  though depends largely on the type of network traffic and the complexity of
  your filtering rules. If your packet rates are low and your filters fairly
  simple it should be pretty easy to saturate a 1Gbit ethernet link. 
 
 How many and how complicated were your filtering rules?

I can't give any numbers that would be very meaningful to you I'm afraid
because my rules were using custom built netfilter modules. I guess you
could roughly compare it to NAT plus 4-5 filtering rules.

 How many nodes sat behind your router?

~4.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Debain as gigabit router?

2006-08-28 Thread CJ van den Berg
On Mon, Aug 28, 2006 at 08:17:00AM -0500, Ron Johnson wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 CJ van den Berg wrote:
  On Mon, Aug 28, 2006 at 06:00:21AM -0500, Ron Johnson wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  CJ van den Berg wrote:
  On Sun, Aug 27, 2006 at 11:59:59PM +0200, Erik Persson wrote:
  Erik Persson wrote:
 [snip]
  How many nodes sat behind your router?
  
  ~4.
 
 Thanks.  *Roughly* how many concurrent?

~3000 concurrent datastreams (UDP) if that's what you mean.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: In House Incremental Backup System - bash script

2006-08-25 Thread CJ van den Berg
On Fri, Aug 25, 2006 at 09:50:53AM +0100, Hagakure wrote:
 Hi,
 
 I've got to upgrade our backup system (bash script) that currently uses
 rsync to backup two sites to a storage server.
 
 Currently rsync is used to do an incremental copy of the data and then
 we archive it using tar. Unfortunately, the archives are now taking up a
 huge amount of hdd space.
 
 What I am looking for is a pointer so that we still use rsync to copy
 the data, but rather than archive the entire backup, we have a tar file
 for each days differences.

I suggest you look at the --link-dest option of rsync. That tells rsync to
reuse identical files from previous backups by hardlinking to them. It
really works well, and is a very efficient way of doing on disk backups.
Especially if you want to do daily, or even hourly backups.

 Ideally, we would be able to insert the differences (file names only!)
 into a mysql db so we can recover files quickly.

If you use the rsync --link-dest method then it's not really necessary. Each
incremental backup is a complete tree that represents a point in time of the
backup source. So finding files is dead easy. Just use find or locate. :-)

 I looked into various options, but wondered if anyone might have a
 pointer to enable us to do this.

I've attached one of our backup scripts that uses rsync --link-dest to do
incremental local backups. The same concept can be used over the network to.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]
#!/bin/bash
SOURCE=/home/
BACKUPDIR=/backups

echo backing up to ${BACKUPDIR}

if [ ! -d ${BACKUPDIR} ]
then
echo ERROR: Backup dir does not exist!
exit 1
fi

if [ -e ${BACKUPDIR}/0 ]
then
echo shifting backup dirs...
pushd ${BACKUPDIR}  /dev/null
for i in *; do mv ${i} $(( ${i} + 10 + 1 )); done
for i in *; do mv ${i} $(( ${i} - 10 )); done
popd  /dev/null
fi

TARGET=${BACKUPDIR}/0
LINKDEST=--link-dest=../1

echo backing up ${SOURCE}...
rsync -a ${LINKDEST} ${SOURCE} ${TARGET} || exit 1
echo syncing...
sync
echo done.



signature.asc
Description: Digital signature


Re: LVM2 for root -- initramfs-tools -- etch HOWTO?

2006-08-18 Thread CJ van den Berg
On Fri, Aug 18, 2006 at 04:23:57PM -0400, Matej Cepl wrote:
 can anybody tell me some HOWTO for %subj%? It seems to me that Debian
 kernels per default initialize LVM only after INIT is run. Does the fact
 that I have some LVM2 volumes persuade update-initramfs to insert
 appropriate modules into initramfs?

initramfs-tools in etch has support for lvm built in. It should just work
you don't have to do anything at all.  You have to use the
/dev/mapper/volgrp--logicalvolume path to the volume though. (as opposed to
the /dev/volgrp/logicalvolume version) Then the initramfs script
automatically kicks in and initializes lvm before mounting root.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Characters: â â Plagueing system

2006-08-15 Thread CJ van den Berg
On Tue, Aug 15, 2006 at 08:50:25PM +0800, Anthony Hawkes wrote:
 Anyone have any idea why manuals and for example pstree show the follow 
 weird characters: ââ
 
 Heres a copy of the output of pstree:
 initââ¬âacpid
 ââapache2âââ10*[apache2]
 ââarchived.pl
 ââatd
 ââclamd
 ââcourierloggerâââauthdaemondâââ5*[authdaemond]
 
 Its hard to figure out where issues like this come from because a google 
 search returns results for aa and not ââ
 
 Any help would be appreciated, cheers guys.

It sounds like your terminal emulator is running with LANG=C and your shell
is running with LANG=xx_XX.utf-8 or some other similar locale mixup.

i.e. The ââ characters are utf-8 codes for the line drawing symbols
interpreted as plain ASCII.

Try this to see it happening:

LANG=C xterm -e LANG=en_US.utf-8 pstree; read

To fix this, make sure that LANG is set the same for both shell and
terminal.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Characters: â â Plagueing system

2006-08-15 Thread CJ van den Berg
On Tue, Aug 15, 2006 at 09:14:41PM +0800, Anthony Hawkes wrote:
 This is through the main shell and via SSH not through a Term Emu

What is the main shell? Do you mean the linux console? If so, that is a
terminal emulator of sorts too. To use a unicode locale at the console you
need to run unicode_start. This should be started automatically by the
console-tools package though so check if the /etc/init.d/console-screen.sh
script is getting run on your machine. Maybe dpkg-reconfigure
console-tools might help?

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Characters: â â Plagueing system

2006-08-15 Thread CJ van den Berg
On Tue, Aug 15, 2006 at 09:35:50PM +0800, Anthony Hawkes wrote:
 Hmmm after setting the ISO in the locale i get the output:
 perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = en_AU.UTF-8
are supported and installed on your system.
 
 Everything looks as it should but these error outputs are a bit iffy, 
 any pointers?

Run dpkg-reconfigure locales and make sure all the locales you are using
are selected. If you're working over an ssh connection make sure you do it
on the target machine too.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Characters: â â Plagueing system

2006-08-15 Thread CJ van den Berg
On Tue, Aug 15, 2006 at 10:09:30PM +0800, Anthony Hawkes wrote:
 CJ van den Berg wrote:
 Run dpkg-reconfigure locales and make sure all the locales you are using
 are selected. If you're working over an ssh connection make sure you do it
 on the target machine too.
 
 Not quite sure what you mean by on the target machine do you mean on 
 the machine physically?

You don't have to phyically sit at the machine, no. I just meant for you to
also run it on whatever machine the perl program was running on.

 Anyways thanks for the help guys seems to be okay for now, ran export
 LANG=en_AU.UTF-8 after selecting the language now no errors seem to be
 occurring and the output seem fine.

Great. Sounds like your problem's solved.

 Let me know also if that was a bad idea, I've added it to /etc/profile,
 I'm kinda noob at general stuff like this but Its what made sense at the
 time :)

Putting it in /etc/profile is fine. The standard debian method is to put
it in /etc/default/locale though, but it shouldn't make much difference if
you are only working from the console (or ssh). The only difference is that
/etc/default/locale is read by other stuff besides shells. Like GDM for
example.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: chown

2006-08-15 Thread CJ van den Berg
On Tue, Aug 15, 2006 at 09:29:25AM -0500, Kent West wrote:
 [EMAIL PROTECTED]:/home/westk: man 2 chown
 No manual entry for chown in section 2
 See 'man 7 undocumented' for help when manual pages are not available.

$ dpkg -S /usr/share/man/man2/chown.2.gz 
manpages-dev: /usr/share/man/man2/chown.2.gz

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Highlighting and annotating PDFs?

2006-08-14 Thread CJ van den Berg
On Sun, Aug 13, 2006 at 02:19:56PM +0100, martin f krafft wrote:
 I tried wine, and since Acrobat requires IE 5.5, it failed. I don't
 have XOver Office and I won't shell out money for it without knowing
 it'll work 100%.

IE6 should work fine under wine. You might want to try out WineTools [1] if
you need help getting a basic wine setup running. Of course, as always with
wine, YMMV.

1. http://www.von-thadden.de/Joachim/WineTools/

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Any recommendations on open source MUAs that can allow to read Microsoft Exchange Server e-mails?

2006-08-11 Thread CJ van den Berg
On Fri, Aug 11, 2006 at 09:28:21AM -0400, Yu,Glen [Ontario] wrote:
 I know that Evolution Connector will work, but it's proprietary, and I'm
 looking for something free/opensource.

The evolution exchange connector was open sourced shortly after Novell
bought Ximian. IIRC it's been in GNOME since 2.12.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Naming multiple alsa sound cards (was Re: synthetic sound generator with api)

2006-08-10 Thread CJ van den Berg
On Thu, Aug 10, 2006 at 01:41:00AM -0400, Chuckk Hubbard wrote:
 If no one knows, does anyone know where I can find documentation of
 how to control this for Debian?
 I'd like my ALSA to be in order so I can recompile my kernel, and I
 can't find any clear explanation of it.  Everyone says the order the
 modules are loaded is random, but you can control it; how do I do
 this, if only one module is a soundcard, the other two are MIDI
 controllers?
 Thanks.
 -Chuckk

Why bother trying to control it at all? Have you tried simply referring to
the device my name instead of by number as I described in my original post?

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Temperature Problems

2006-08-07 Thread CJ van den Berg
On Fri, Aug 04, 2006 at 01:31:43PM +0300, gustavo halperin wrote:
 I have all the time a temperature around the 50 C or more. I'm sure 
 there are any problem because before many months ago , the temperature 
 was around the 40C or less. My question is, if there are any way to know 
 if the problem is in the kernel (version 2.6.15.1), or for some 
 application/daemon, or the worse, for some Hardware Problem ?

Do you know what version of the kernel you were running when the system was
cooler? It could possibly be the kernel's fault, but it's just a guess. IIRC
the kernel's default clock rate was stepped up from 100Hz to 1000Hz sometime
in the last year or so. AFAIK though the latest kernels (IIRC 2.6.17+) have
been dropped back down to 250Hz for these sorts of reasons.

Try 2.6.17 if you want. It might help. YMMV

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
 5276 root   5 -10 75548  65m 7696 S 35.1  8.7   7:19.03 Xorg 

This might also be something worth investigating. Is your Xorg using 35% CPU
when idle?

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: erro with Sound (deb unstable)

2006-08-07 Thread CJ van den Berg
On Fri, Aug 04, 2006 at 06:26:20PM +, rafael ferraz wrote:
 Every time the system boot up the sound just works for gnome error sounds and 
 for  the xmms per exemple dont works and show that error:
  ** WARNING **: alsa_setup(): Failed to open pcm device (hw:0,0): Dispositivo 
 ou recurso está ocupado.
 (Translation: Device or resorce is busy)

This means that another application already is using the sound device and
that your sound card doesn't support hardware mixing of multiple sound
sources.

What you can do is enable the ALSA dmix plugin which will give you software
mixing and allow multiple programs to use the sound device at the same time.

To enable dmix, just drop the attached asound.conf file in your /etc
directory and restart any programs that use the sound device. That should be
all that's needed.

 In the syslog i find this warning message:
 Jul 28 23:37:59 localhost modprobe: WARNING: Error inserting snd_timer 
 (/lib/modules/2.6.16-2-k7/kernel/sound/core/snd-timer.ko): Unknown symbol in 
 module, or unknown parameter (see dmesg)
 (i dont find about nothing in dmesg with the words snd, timer, modprobe or 
 snd-timer.ko)

I don't know what the cause of this is, but I'm certain it's not the cause
of your problem.

 And when the system is shuting down shows some warning message talking about 
 a mismacht betwen kernel compilation and OSS compilation. (but i cant find 
 the message in folder /var/log

Same as above...

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]
pcm.!default {
type plug
slave.pcm duplexer
}

pcm.duplexer {
type asym
playback.pcm dmixer
capture.pcm hw:0,0
}

pcm.dmixer  {
type dmix
ipc_key 1024
ipc_perm 0666
slave {
pcm hw:0,0
period_time 0
period_size 4096
buffer_size 65536
rate 44100
}
bindings {
0 0
1 1
}
}


signature.asc
Description: Digital signature


Naming multiple alsa sound cards (was Re: synthetic sound generator with api)

2006-08-04 Thread CJ van den Berg
On Thu, Aug 03, 2006 at 05:20:38PM -0500, Hugo Vanwoerkom wrote:
 For the alsa behaved apps (like libao) you set alsa_card=1 or 0 and 
 ao_example.c plays on either one soundcard or the other.

Just a small tip. On machines with multiple sound devices the alsa card
numbers may not be predictable because the device number depends on which
card was detected first. On my machine it seems to be pretty random. Alsa
allows you to refer to sound devices by *name* though too, which works much
more predictably. So for example in libao you would use the driver option
dev=hw:NAME instead of dev=hw:NUMBER. The names of the devices on your
machine are listed (in square brackets) in /proc/asound/cards.

 Thanks guys!

No problem!

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: synthetic sound generator with api

2006-08-03 Thread CJ van den Berg
On Thu, Aug 03, 2006 at 08:31:26AM -0500, Hugo Vanwoerkom wrote:
 I want to generate beeping sounds in a program.
 
 I now use Nas, but it is a PITA because it either hangs with 2 
 soundcards installed or it fails w/o saying why.
 
 Has anybody got another program that does this?

I'm not sure I understand what you want to do, but it sounds like you want
to playback digital audio samples.

If so, what you probably want is something like libao2 and libao-dev.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: synthetic sound generator with api

2006-08-03 Thread CJ van den Berg
On Thu, Aug 03, 2006 at 10:36:35AM -0500, Hugo Vanwoerkom wrote:
 No, I don't want to play back anything: I want to *generate* a beeping 
 sound. The type depends upon the occasion.

So you actually want to synthesize the beep? Is that right?

If you really do want just a beep you could synthesize the sine wave
yourself pretty easily. The one and only source code example in the libao 
coincidentally does exactly that.

http://www.xiph.org/ao/doc/ao_example.c

 Right now I use Nas, which has good support from Jon Trulson. But that 
 is meant really as a network sound server and not made for playing back 
 to a particular sound card.

The libao alsa driver (alsa09), which I assume you would be using, allows
you to specify which device (ie. sound card) you want to use. The oss driver
will too.

 E.g. if it is 11:30 I want to produce 5 beeps for maritime chimes.
 If the dialup line goes down I want to produce 9 beeps.
 
 I would prefer to produce the beeps for a particular soundcard, for the 
 user that is logged on to a monotor that uses that card.

A few lines of tweaking to that example I linked above should do exactly
what you want.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Is the latest kernel image in Unstable 2.6.17.7 or greater?

2006-08-02 Thread CJ van den Berg
On Wed, Aug 02, 2006 at 02:43:02AM -0400, David R. Litwin wrote:
 Hello list.
 
 I'm wondering two things. One: Is the latest kernel in Sid the
 2.6.17.7? Two: Why doesn't it say that some where so that I wouldn't
 need to ask the list?

It's usually mentioned in the changelog. I agree that it's pretty
non-obvious. It would be much nicer if it was plainly visible in the package
version number.

 I ask because I use XFS with has the flaw on kernels before the one
 mentioned. And, in stead of compiling and what not a new one, I'm just
 waiting (and degrading) for the afore-mentioned, when I will run the
 repair thing as perscribed in various FAQs.

The changelog for linux-image-2.6.17-5 says that it's 2.6.17.7

http://packages.debian.org/changelogs/pool/main/l/linux-2.6/linux-2.6_2.6.17-5/changelog

It was built on Saturday but *still* hasn't reached the repository. I don't
know how long it usually takes, but it seems to be hanging around in limbo
somehow.  I couldn't wait any longer, so I downloaded the
linux-image-2.6.17-5 source code yesterday and built it locally.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Help in understanding XDMCP required

2006-07-31 Thread CJ van den Berg
On Sat, Jul 29, 2006 at 08:34:09PM +0100, Alan Chandler wrote:
 I have been able, with a second ssh hop onto my workstation from the server 
 (also forwarding X) to run individual X based applications so that the 
 display is on the laptop, but I can't figure out how to get it to operate so 
 the whole desktop gets displayed there.  Is it possible? and if so How

If you've ssh'd in with X forwarding (-X) and you can run individual X
client apps you're already 99% of the way there. All you need to do to run a
full kde session is run startkde. (or gnome-session for a gnome session)

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: xorg 7, radeon mobility m6 and dri

2006-07-28 Thread CJ van den Berg
On Fri, Jul 28, 2006 at 03:44:42AM -0700, Land Haj wrote:
 If one is to believe top's over-all cpu report, sid and sarge are equal
 when I run at 16 bit, but if one is to believe the info on single
 processes, sarge is still very much lower.

It sounds like the process accounting in the new sid kernel is a bit more
accurate. I would tend to believe sid more than sarge in this respect.

 All this is without dri though. Changing to 16 bit in sid doesn't make dri
 work, and I don't have it working in sarge either. I am attaching log and
 config from sarge. (The config is a sax generated one that I grapped from
 the net and that I never bothered to alter as it seemed to work well
 enough except for dri.)

Your sarge X log file says that DRI is working. It may be lying though.
Again, I would believe sid more than sarge in this respect too. What I need
to help fix the DRI problem in sid though is your X log of a 16 bit X
session in sid. Although I expect the problem to be the same as in 24 bit
mode (ie. not enough video memory). 

 How much cpu load is normal when playing a movie using xine? My processor
 is a 1GHz p3.

That depends on (at least) three things, the X server, the media player and
the movie file format and resolutions. So any kind of blanket statement
is impossible to make.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: xorg 7, radeon mobility m6 and dri

2006-07-28 Thread CJ van den Berg
On Fri, Jul 28, 2006 at 04:51:25AM -0700, Land Haj wrote:
 When I do 'glxinfo | grep rendering' in sarge and sid, it says direct
 rendering is not enabled.

That's odd, because the X log definately says everything is fine.

 In sid, doing glxgears results in very slowy and choppily turning wheels
 and no fps gets reported. This is not the case with sarge -- I get some
 150 fps there and the wheels spin like crazy. On both sid and sarge, the
 cpu spikes when glxgears is run.
 
 Here is the conf and log from the sid 16 bit session.

The DRI initialization in your X log looks good. It looks like everything is
fine in the X server at 16 bit. I guess Florian might be right. It could be
a problem with the mesa libraries. I'm using the 6.5 version of the mesa
libraries from experimental, so I can't tell you if there is a problem with
the 6.4 version in sid or not. 

 Again -- thanks so much for taking time with this!

No problem. I wish I could help more.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: If you are running XFS and a 2.6.17(.x) kernel...

2006-07-25 Thread CJ van den Berg
On Mon, Jul 24, 2006 at 12:35:17PM -0400, Justin Piszcz wrote:
 http://oss.sgi.com/projects/xfs/faq.html
 
 Check the FAQ, there is a 1 line bugfix patch available here:
 http://marc.theaimsgroup.com/?l=linux-kernelm=115315508506996w=2
 
 Discussion here:
 http://marc.theaimsgroup.com/?l=linux-raidm=115342610512955w=2

and here is the Debian bug report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379660

and the kernel.org bug report:
http://bugzilla.kernel.org/show_bug.cgi?id=6757

This bug has caused serious data loss on my systems and no end of headaches
in the last two weeks. I really hope the fix goes into a debian kernel soon
to save others the pain.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Audio Player for FLAC

2006-07-24 Thread CJ van den Berg
On Sun, Jul 23, 2006 at 10:14:41PM +0100, Tony Terlecki wrote:
 Any other suggestions for decent payers that can handle seeking in
 FLAC tracks without any interruptions between tracks?

mpd (Music Player Daemon) supports gapless flac playback, and seeking works
just fine too. It's also very fast and supports large music libraries
without a problem.

I use mpd and gmpc from sid.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: utf problem with mutt

2006-05-26 Thread CJ van den Berg
On Tue, May 23, 2006 at 10:40:11AM +0200, Bruno Boettcher wrote:
 Hello!
 
 since i passed onto a amd64 machine i noticed that the basic charset
 used is utf8
 
 but mutt displays that in hex codes, with a \ prepended...
 
 reading french and german mails in the great majority, this isn't very
 practical...
 
 is there a solution to this?

They're probably emails from broken MUAs that don't set the charset e-mail
headers properly. Now that you are using utf-8 mutt's default I don't know
what charset this email is actually written in charset is also utf-8. If
you are mostly reading French and German emails then these broken MUAs are
probably actually sending in iso-8859-1.

Try adding these two lines to your ~/.muttrc file to tell mutt to assume
iso-8859-1 for broken emails:

set strict_mime=no
set assumed_charset=iso-8859-1:utf-8:us-ascii

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: best way to secure communication?

2006-05-19 Thread CJ van den Berg
On Thu, May 18, 2006 at 08:46:15PM +0200, lee wrote:
 Hm, I'll start with installing gabber and see what I can find out from
 there.

I recommend you try out gajim instead of gabber.

Gajim also supports end to end gpg encryption and is a lot nicer than
gabber. Gajim is also actively maintained, which gabber is not AFIAK.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


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



Re: anjuta not working

2006-05-19 Thread CJ van den Berg
On Thu, May 18, 2006 at 11:34:39PM -0400, Roberto C. Sanchez wrote:
 If you want to do C/C++ development, let me recommend Eclipse with the
 CDT plugin.  The only real downside is that you need the Sun JDK.

Not true. Eclipse runs fine on Debian with no SUN JDK in sight. (it can run
under gcj)

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


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



Re: aptitude replacing debfoster [limiting the view]

2006-05-16 Thread CJ van den Berg
On Mon, May 15, 2006 at 04:50:24PM +0100, Magnus Therning wrote:
 On Mon, May 15, 2006 at 04:01:46PM +0200, CJ van den Berg wrote:
 On Mon, May 15, 2006 at 02:37:33PM +0100, Magnus Therning wrote:
  Limiting the package list to that in aptitude and then pressing 'M' does
  result in the package being scheduled for deletion. With the proper filter
  it should remain installed and be marked as automatically installed.
 
 Ah, I think I understand what you want now.
 
 This should be what you want...
 
 ~i~R~i!~M
 
 I hope! ;)
 
 Nope :(
 
 As a test I did this:
 
  1. Find package that's marked auto and kept installed by some other
 package (I picked vim-gnome, it's kept installed by another vim
 package).
  2. Switch to flat view.
  3. Limit the view using your expression above.
 
 If it all works then the package I marked should show up, after all it's
 not marked auto and another installed package keeps it installed
 (through a recommends). No luck though, vim-gnome doesn't show up :(

Nothing depends on vim-gnome, that's why it doesn't show up. The other vim
packages only recommend it. To look for packages that don't have any reverse
dependencies *and* aren't recommended by any installed packages try this:

~i(~R~i|~Rrecommends:~i)!~M

You might want to add ~Rsuggests:~i too, like this:

~i(~R~i|~Rrecommends:~i|~Rsuggests:~i)!~M

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


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



Re: aptitude replacing debfoster [limiting the view]

2006-05-16 Thread CJ van den Berg
On Tue, May 16, 2006 at 04:15:56PM +0100, Magnus Therning wrote:
 I'm not really sure why not _all_ packages in that list can be marked
 auto. One interesting package is 'ntp'. I have 'ntp-server' installed
 and marked auto. It depends on 'ntp', but still I can't mark 'ntp' auto,
 doing so will trigger removal of 'ntp-server'... Maybe I should draw up
 the dependencies for the ntp-related packages to see if I can make sense
 out of this :-)

ntp depends on ntp-server which recommends ntp.

It's a circular dependency so at least one of the packages in the circle
must be marked as a manual install or else aptitude will remove the whole
lot.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


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



Re: aptitude replacing debfoster [limiting the view]

2006-05-15 Thread CJ van den Berg
On Mon, May 15, 2006 at 09:03:16AM +0100, Magnus Therning wrote:
 Can I somehow limit(l) the package list in aptitude to only show me
 packages that
 
  1. are installed, and
  2. aren't installed as a dependency of any other package, and
  3. are dependencies of another installed package?
 
 AFAICS this would result in a list of packages that can be safely marked
 automatically installed without being removed from the system.

AFAICT this is what you want:

# aptitude search ~i\!~Rdepends:.\!~M

/usr/share/doc/aptitude/html/en/ch02s03.html (in aptitude-doc-en) has the
full details.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


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



Re: aptitude replacing debfoster [limiting the view]

2006-05-15 Thread CJ van den Berg
On Mon, May 15, 2006 at 02:37:33PM +0100, Magnus Therning wrote:
 On Mon, May 15, 2006 at 02:09:16PM +0200, CJ van den Berg wrote:
 On Mon, May 15, 2006 at 09:03:16AM +0100, Magnus Therning wrote:
  Can I somehow limit(l) the package list in aptitude to only show me
  packages that
  
   1. are installed, and
   2. aren't installed as a dependency of any other package, and
   3. are dependencies of another installed package?
  
  AFAICS this would result in a list of packages that can be safely marked
  automatically installed without being removed from the system.
 
 AFAICT this is what you want:
 
 # aptitude search ~i\!~Rdepends:.\!~M
 
 /usr/share/doc/aptitude/html/en/ch02s03.html (in aptitude-doc-en) has the
 full details.
 
 Not quite. :(
 
 Limiting the package list to that in aptitude and then pressing 'M' does
 result in the package being scheduled for deletion. With the proper filter
 it should remain installed and be marked as automatically installed.

Ah, I think I understand what you want now.

This should be what you want...

~i~R~i!~M

I hope! ;)

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


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



MAJOR Problems in dselect.

1999-01-18 Thread CJ
hi, (Thanks pann)

OK, something went really wrong during dselect process and I need help.

After I install the base system and went ahead to dselect(after reading 
the dselect for beginner manual of course). I am new at dselect so I 
accidently selected and installed alot of packages that I don't want. 
I also removed something that I don't know what. To make the story short 
I think I really screwed it up. 
Now here is the question. 
-How do remove all of the packages that I installed and go back 
 to the situation when only the base system is installed(to 
 basically start fresh on dselect again)?



There is also another problem. before I use dselect, I can mount and 
un-mount my cdrom. 
The cdrom line in the /etc/fstab looks like this:
/dev/sbpcd  /cdrom  iso9660  noauto,ro,user  

And when I use dselect for the first time, at ACCESS it works when I put 
in /dev/sbpcd for device block. But after I installed the packages(alot 
of packages including the kernel-2.0.33) accidently, I CAN'T access my 
/cdrom anymore. I put in /dev/sbpcd for device block at ACCESS again it 
said can't find device block or driver is not install or something
in that nature. I try INSTALL and it said the same.

I exited dselect and went to /etc/fstab and saw that everything is like 
before but now I can't mount my cdrom like before. My mounting point is 
/cdrom and did create a directory called /cdrom.
-Anyone knows the problem here? Do I need to reinstall the whole 
base system again to get the cdrom driver (sbpcd) for my system to 
recognize my cdrom? Or there is another way to get this fix?

Thanks,
--
Tam
[EMAIL PROTECTED]



LILO's now working(thanks!), BUT...

1999-01-12 Thread CJ
hi,

My LILO program is working, thanks to all the poeple that have 
helped me.

But although my LILO is working, I now encounter another problem(MINOR). 

As you know, i have dos/win95 as a master on the first IDE chain and Linux 
as a master on the second IDE chain.

-After I ran lilo, I reboot the system it gives me a boot prompt, I 
 enter in Linux and it loads Linux(it works fine). But when I enter MS 
 for dos/win95, it doesn't load.

-I went into the /etc/fstab file and try to mount /dos like this:

 /dev/hda1  /dos  vfat  rw,unauto,user,unhide 

 but Linux says it can't find the filesystem, I tried fat and fat16 in 
 place of vfat but that doesn't work either

-I then use the window95 startup disk to boot the system. At the prompt 
A:\ I tried to change to drive C:\(which is /dev/hda), but it says 
can't drive C. So I check the dos/win95 partition using dos's fdisk 
and I notice that the partition type for the dos/win95 partition (which is 
hda1) is now changed to type NON-DOS. I remmeber it was type vfat or 
fat before.
   -I don't what I did to changed it(Could it be that I when mount 
/dev/hda1 as /dos, I change the partition type?)
 
   -Can Anyone show me how to change the dos/win95 partition type 
back to normal?  Or how to fix this problem so I can boot dos/win95 
again without using the win95 startup disk?

Thanks Alot, 

-- 
Tam
[EMAIL PROTECTED]
Linux Rules!



System won't boot, lilo.conf problem

1999-01-04 Thread CJ
Hi,

I really need some (PLEASE). After I successfully installed the base 
system, I configured the /etc/lilo.conf file and when I reboot, my sytem 
displays this : 
 LI   
and then freezes. Hopefully someone can help me. 

Now I will give you a description of what I am trying to do so you can 
understand my problem better.

I have two hard drives and I'll call them /dev/hda and /dev/hdc. 
/dev/hda is a master on the first IDE chain and /dev/hdc is also a master 
but on the second IDE chain. I have DOS/win95 on /dev/hda and just 
installed the base of Linux on /dev/hdc (dedicate only to Linux). 
***When I make the /root partition on /dev/hdc, I make it bootable***

This is what I want to do:
I want to have a choice to of DOS/win95 or Linux when I boot my system

This is what I did, I not sure if it is right or not:
-run liloconfig
-said YES to the first question to install a partition boot 
record on /dev/hdc. 
-said NO to making a master boot record on my second drive /dev/hdc
cuz to want to boot from /dev/hda and I assume that it is 
right not making a mbr on /dev/hdc.
-said NO to the third question, not making my /dev/hdc active.

Now I go in /etc/lilo.conf and fix it by hand and this is what 
it looks like: (I delete the original data that lilo provided such as 
compact, install=/boot/boot.b, etc)

boot=/dev/hda
delay=40
  
other=/dev/hda1
  label=windows
  table=/dev/hda

image=/vmlinuz
  root=/dev/hdc2   #hdc2 is my root partition
  label-Linux
  read-only

This is the exact data in this file.
I save this file and type the command lilo and I get this :
Added windows *
Added Linux
Then I reboot
and I system freezes atLI 


Now I can't even boot DOS/win95 because I can't get my /etc/lilo.conf to 
work. I tried to remove the file boot.0300 in the /boot dir on 
/dev/hdc2 but that doesn't work . I also  have the file boot.0613 or 
something like that in my /boot dir but I didn't delete(I am not sure 
what it is).

If you have the time, please help, THANKS! 
 --
Tam
[EMAIL PROTECTED]
Linux Rules!




Can't get full capacity of my disk!

1998-12-30 Thread CJ
Hi,

I just buy a new hard drive (Maxtor 6.4G). I want to dedicate this 
new Maxtor drive to linux. So I leave my old hard drive as a master on the 
first IDE bus (the old drive has DOS/win95), and set my new Maxtor drive 
as a master also on the second IDE bus. 

OK, here is the problem.
On my first attempt to install hamm (CD), I partition my new Maxtor 
drive using the Maxtor software included. The Maxtor software split the 
new drive into 4 partitions labeled as D, E, F, G, each partition 
with a MAXIMUN OF ONLY 2.0 G. Someone told me that the reason for this is 
the limitation of DOS/win95 FAT16, so I am OK with and start to install hamm. 
   -First, I ran boot.bat from DOS and it loads the kernel and all that 
   stuff...
   -Second, I switch to the color screen.
   -Third, I configurate the keyboard to English.
   -Then, the next is partitioning my hard drive, I pick hdc because
my new Maxtor drive is a master on the second IDE bus. I then 
press RETURN and I get this error message: 
 FATAL ERROR, bad first primary partition
 
How come?

Ok, so I reset my computer and start a second attempt to install.
I now delete all 4 partition on my new Maxtor hard drive using fdisk
from DOS. (So now I assume that I have one big free space of 6.4 G, I think)
Install hamm again.
-Get to the partitioning the hard drive part and pick hdc like 
 before. But this time I didn't get the error, YESSS! So now I am 
 in the cfdisk program and I notice another problem: 
   I can't use full capacity of my disk. 
   It only give a MAXIMUN of only 2014 MB(2G) to split my 
   linux partitions(I intend to have 4 linux partitions: swap, 
   /root, /usr, and /home).

   I thoungt I have 6.4 G on my new Maxtor drive, how come I 
   can't see the full capacity? 
   
   sigh! a man! SUCKS!
   If anyone knows the problem, PLEASE HELP.

Well, if you can't tell, I am a newbie
Thanks,

--
Tam
[EMAIL PROTECTED]
Linux Rules!



Some newbie questions

1998-12-28 Thread CJ
Hi,

I just bought an official Debian CD. But my computer does not 
boot from CDs. 
   -What do I do?
I read the installation guide and it says: In the case that your 
computer does not support bootable CDs, you should boot into DOS, and 
execute boot.bat file which is located in the \boot directory on your CD.
   -But there isn't any boot.bat file under the \boot directory on my CD,
 can anyone tell me what to do to get it. (This is the binary CD that 
 i am talking about, so am i using the right CD? the other two CD are  
 source and contribution)

If anyone knows, please help me, I appreciate it.
Also I am a newbie just beginning to learn linux, so dumb it down when 
you explain it to me.

Thanks,

--
Tam
[EMAIL PROTECTED]
Linux Rules!


re:re:How to Config XF98_MGA

1998-11-30 Thread cj
At 98-11-30 13:21:00, you wrote:
On Sun, 29 Nov 1998, Cesare Tagliaferri wrote:

 On dom, 29 nov 1998, cj wrote:
 Hi!
   
My computer's card is Matrox AGP G100,Now I downloaded a 
server XF98_MGA.It's only one 
file 
 after uncompress and i put it to /usr/bin/X11,change the 
config in /etc/XF86Config and 
Xserver.
 But it doesn't work.After startx,it report can't find the 
server.
 
 Did you update the symbolic links /usr/bin/X11/X and 
/etc/X11/X ? They must
 point to your server.
 

NO! X is a wrapper script in Debian, which calls the Server 
itself. As
mentioned, check that the absolute path to your Server is on the 
first
line of /etc/X11/Xserver.  All that the wrapper script does, is 
setup some
security bits and pieces.

   Michael Beattie ([EMAIL PROTECTED])


I have set the first line of /etc/X11/Xserver to my 
/usr/bin/X11/XF98_MGA before i mail 
the letter.After startx,it report the server type is SVGA,and 
support Matrox G100.But below 
the message of font,it report fatal error of not find the 
configured device or what i assigned 
in the Screen section of XF86Config is not what it's recognized 
server.Now I can only use 
640x480,16 colors in VGA16.I don't like it.
Is there the way the make it run?
cj



How to config XF98_MGA

1998-11-29 Thread cj
Hi!
  
   My computer's card is Matrox AGP G100,Now I downloaded a server 
XF98_MGA.It's only one file 
after uncompress and i put it to /usr/bin/X11,change the config in 
/etc/XF86Config and Xserver.
But it doesn't work.After startx,it report can't find the server.I have add 
some line of G100
in /usr/X11R6/lib/X11/Cards,but in XF86Setup,there's only the card ,no the new 
server.How can i
do?
  Thank you.
   cj



Why the system freezing ?

1998-10-29 Thread cj
I'm newbie in Debian.When the install process go to the step build the 
XF86Config file,it will
return can't build the file and show the build XF86Config file again.But it 
freezing in this
tty.The process is to run the svag postinst script.Why?
Another question,how to change the builtin 320x200?
Thank you.