Re: new to debian but having installation problems

2006-12-30 Thread Roberto C. Sanchez
On Sat, Dec 30, 2006 at 11:36:57PM -0600, Mike Myers wrote:
> I got the i386 stable.. which I think is sarge? (i'm not caught up on the
> lingo yet :P)  Here's the url I used:
> http://cdimage.debian.org/debian-cd/3.1_r4/i386/iso-cd/debian-31r4-i386-netinst.iso
> 
Etch will be release Any Day Now(TM), so you probably want to use that
instead.  The kernel in Sarge is quite old.  Etch has a much more
current kernel with more up to date drivers.

> Anyways, I still have Gentoo on that machine, and lspci just tells me that
> it's an Intel 1000Gigabit Ethernet Pro.  I'm not at the machine now to copy
> it verbatim, but it uses the e1000 driver in the kernel.  The install cd has
> that module in the list of modules for network cards, but the installer says
> it can't find the card.  I can try to tinker with it when I get home in
> about 20 minutes.  With my kind of luck, I prolly just need to modprobe it
> instead of rely on the installer to find it >.>

I am guessing that trying Etch will solve the problem.  If not, you will
likely need to provide the verbatim output of lspci.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: insurance software

2006-12-30 Thread Douglas Tutty
On Thu, Dec 28, 2006 at 02:59:49PM +0100, Manuel Souto Pico wrote:
> Hello,
> 
> I'm looking for some free software for insurance business. A friend of
> mine is going to migrate all his client's data to a new (commercial)
> application, but before he does I'd like to make him consider other
> (free) options, if there are any (which might be unlikely, give that
> this is a rather specific business area).
> 
> I'd be very grateful for any information you could provide.

If you can't find a ready-made free solution, you can piece it together:
a database (e.g. postgresql), with a custom front-end in python.

Doug.

 


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



Re: new to debian but having installation problems

2006-12-30 Thread Mike Myers

On 12/30/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:


On Sat, Dec 30, 2006 at 11:20:41PM -0600, Mike Myers wrote:
>
> Thanks for the prompt response!
>
> I'm using the i386 netinst.  The ethernet card is an intel 1000gigabit
> ethernet pro.  When I boot to the cd and go into a second terminal,
lspci
> doesn't run.  I guess it doesn't come with the netinst livecd.

Did you get the Sarge, Etch or Sid netinst?  Do you have Gentoo
installed on the system?  If so, use that to run lspci.  If not, do you
have a LiveCD (Knoppix or something like that) that you can use?

Regards,

-Roberto

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFl0pJ1snWssAFC08RAuc/AJ9p11FEgG1MGsaTiLQveUZc3gAnvgCfZBjo
PNWmwt8NkVPzHRA/Rc+NCLg=
=rwBP
-END PGP SIGNATURE-




I got the i386 stable.. which I think is sarge? (i'm not caught up on the
lingo yet :P)  Here's the url I used:
http://cdimage.debian.org/debian-cd/3.1_r4/i386/iso-cd/debian-31r4-i386-netinst.iso

Anyways, I still have Gentoo on that machine, and lspci just tells me that
it's an Intel 1000Gigabit Ethernet Pro.  I'm not at the machine now to copy
it verbatim, but it uses the e1000 driver in the kernel.  The install cd has
that module in the list of modules for network cards, but the installer says
it can't find the card.  I can try to tinker with it when I get home in
about 20 minutes.  With my kind of luck, I prolly just need to modprobe it
instead of rely on the installer to find it >.>


Re: new to debian but having installation problems

2006-12-30 Thread Roberto C. Sanchez
On Sat, Dec 30, 2006 at 11:20:41PM -0600, Mike Myers wrote:
> 
> Thanks for the prompt response!
> 
> I'm using the i386 netinst.  The ethernet card is an intel 1000gigabit
> ethernet pro.  When I boot to the cd and go into a second terminal, lspci
> doesn't run.  I guess it doesn't come with the netinst livecd.

Did you get the Sarge, Etch or Sid netinst?  Do you have Gentoo
installed on the system?  If so, use that to run lspci.  If not, do you
have a LiveCD (Knoppix or something like that) that you can use?

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: new to debian but having installation problems

2006-12-30 Thread Mike Myers

On 12/30/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:


On Sat, Dec 30, 2006 at 11:05:09PM -0600, Mike Myers wrote:
> Hello,
>
> I'm new to debian, but not to linux.  I've been using Gentoo for the
past 6
> years or so, but I'm getting tired of having to make sure any new
updates
> aren't going to destroy my systems.  I'm just wanting a system I can use
> instead of babysit.  So I was going to try debian out because of
apt-get,
> and the fact that it has releases instead of having major updates
released
> on live systems.
>

Welcom to the wonderful world of Debian!



Thanks!


So anyways, I grabbed the netinst install cd and boot to it, only to find
> out that it can't find my e1000 ethernet card...?  Is there some kind of
> known problem with this card and the netinst cd or something?  I can use
it
> without any problems in Gentoo and windows.
>
Which netinst CD did you download?  Which e1000 card do you have?  Maybe
the output of `lspci -vvv` showing the section for that card?

> Any help would be appreciated!

Regards,

-Roberto
--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFl0Zr1snWssAFC08RAiFrAKCAk51ukELBotY7f7tCSXzlbE/2YQCeKCg7
tRTOeN12hL99KhkODn07yio=
=+mOq
-END PGP SIGNATURE-





Thanks for the prompt response!

I'm using the i386 netinst.  The ethernet card is an intel 1000gigabit
ethernet pro.  When I boot to the cd and go into a second terminal, lspci
doesn't run.  I guess it doesn't come with the netinst livecd.


Re: Looking for music player software

2006-12-30 Thread John Hasler
Sebastian writes:
> I hold Debian developers in high regard - and, was a bit incredulous that
> he wasn't aware of Debian's own offerings...

Debian has tens of thousands of packages.  

> ...especially such a common application group as music players.

Some of us are not interested in music players.
-- 
John Hasler


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



Re: new to debian but having installation problems

2006-12-30 Thread Roberto C. Sanchez
On Sat, Dec 30, 2006 at 11:05:09PM -0600, Mike Myers wrote:
> Hello,
> 
> I'm new to debian, but not to linux.  I've been using Gentoo for the past 6
> years or so, but I'm getting tired of having to make sure any new updates
> aren't going to destroy my systems.  I'm just wanting a system I can use
> instead of babysit.  So I was going to try debian out because of apt-get,
> and the fact that it has releases instead of having major updates released
> on live systems.
> 

Welcom to the wonderful world of Debian!

> So anyways, I grabbed the netinst install cd and boot to it, only to find
> out that it can't find my e1000 ethernet card...?  Is there some kind of
> known problem with this card and the netinst cd or something?  I can use it
> without any problems in Gentoo and windows.
> 
Which netinst CD did you download?  Which e1000 card do you have?  Maybe
the output of `lspci -vvv` showing the section for that card?

> Any help would be appreciated!

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


new to debian but having installation problems

2006-12-30 Thread Mike Myers

Hello,

I'm new to debian, but not to linux.  I've been using Gentoo for the past 6
years or so, but I'm getting tired of having to make sure any new updates
aren't going to destroy my systems.  I'm just wanting a system I can use
instead of babysit.  So I was going to try debian out because of apt-get,
and the fact that it has releases instead of having major updates released
on live systems.

So anyways, I grabbed the netinst install cd and boot to it, only to find
out that it can't find my e1000 ethernet card...?  Is there some kind of
known problem with this card and the netinst cd or something?  I can use it
without any problems in Gentoo and windows.

Any help would be appreciated!


Re: Upgrading postgresql-8.0 to 8.1

2006-12-30 Thread Tom Allison

David Gaudine wrote:

I use postgresql 8.0, but since this is "local/obsolete" in Etch I want to
upgrade to 8.1.  I've already done this on a backup system, but I got a
few warnings so I want to make sure I'm doing it right before I do it on
my main system.

Here's what I did that seemed to work but gave some of warnings;
- Install postgresql-8.1 and packages that it depends on
- Stop the 8.1 server (I don't remember if I stopped the 8.0 server)
- pg_dropcluster 8.1 main
- pg_upgradecluster 8.1 main
- start the 8.1 server

Is there a better way?

David





I'm far from guru but one method that might be 'safe' would be to use pgdump to 
just dump the database, stop 8.0 and load everything into 8.1.


If anything goes wrong, you have all the data in a file so you can at least fix 
it.  I would expect this to be issues with creation of tables/databases at most 
and not something you have to fix on every line.




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




Re: Making hotplugging my camera work

2006-12-30 Thread Wayne Topa
Alan Chandler([EMAIL PROTECTED]) is reported to have said:
> On Saturday 30 December 2006 19:32, Paul E Condon wrote:
> > On Sat, Dec 30, 2006 at 10:04:01AM +, Alan Chandler wrote:
> > > Can someone explain the processes that occur when I hot plug my
> > > camera in and kde pops up a dialog asking whether I want to
> > > download to digiKam, or open in a new window.
> ...
> > I'm not an expert, but this may help:
> > Cameras handle off-loading pictures in two different ways. The more
> > fancy cameras have special proprietary protocols for data transfer,
> > and give the user/owner special control options, but they require
> > specialized software. Less expensive cameras simply fake a $soft FAT
> > file system and let you use the file copy functions of your computer
> > to grab the pictures. Part of digikam is a collection of cloned
> > drivers for the expensive cameras.
> 
> You misunderstand my question.
> 
> I understand all that.  However, when I plug my camera in, KDE pops up a 
> dialog box saying new hardware found what you you like to do.  One 
> choice is to use digikam.
> 
> In the past when this has happened (with cameras which emulate usb mass 
> storage and therefore do not need special drivers) digikam has put up a 
> dialog box with thumbnails of all pictures in the camera, and an offer 
> to select and download these into an album.
> 
> With my new camera (which has this same support) it fails whilst trying 
> what show pictures it has in the camera.  The udev-hal-dbus chain is 
> not working correctly because the mount point /media/sdg1 does not seem 
> to have been created.
> 
> Furthermore - when I try and use udev to make the camera device 
> have /dev/camera as its device, kde's dialog box pops up the first time 
> after a reboot when I plug the device in, but not again when I unplug 
> it and plug it in again.  If I do not have a udev rule to alter things 
> it does pop up a dialog box every time.
> 
> In order to debug and track down what is not working, I am asking how 
> the udev-hal-dbus chain interacts with kde and digikam, and where to 
> look for configuration parameters so I can figure out what is not 
> working due to configuration problems and what might be a bug in kde 
> (or hal ...).

Alan

You might try gphoto2 to see if _it_ can connect to your camera.

Although the testing version of digikam doesn't see my Kodak, gphoto2
works just fine.

Wayne

-- 
Computers can never replace human stupidity.
___


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



Re: netatalk puzzle

2006-12-30 Thread Paul E Condon
On Sun, Dec 31, 2006 at 01:27:58AM +0100, Gilles Mocellin wrote:
> Le samedi 30 décembre 2006 21:00, Paul E Condon a écrit :
> > I've been using netatalk to connect several Macs to my Debian boxes for
> > several years. For the last few month, one box has been running Etch.
> > All worked fine until two days ago. There was a power failure which forced
> > a reboot of all computers. After the reboot, one of the netatalk shares
> > on one of the linux boxes could not be mounted on any of the Macs.
> > Nothing had changed in AppleVolumes.default as a result of the power
> > crash, and so far as I can determine, the most recent update to netatalk
> > was well before I installed Etch. The shares that continue to work are
> > the default Debian netatalk, '~/'. The one that stopped working is a
> > directory that I have created, '/bg4', (at the top level in the heirarchy).
> > I don't see anything peculiar about the permissions on this directory, and,
> > it was working before two days ago.
> >
> > I've fixed access to /bg4 by putting a soft link to it in my home
> > directory, but I wonder what might be the reason for this change. Any
> > ideas?
> 
> Certainly the CNID database which is corrupted...
> remove all .AppleDB directories :
> # find /bg4 -type d -name .AppleDB -exec rm -rf {} \;
> And restart netatalk.
> 
> We must do it too often here :-(
> 

That fixed the problem. Thanks! But what does 'CNID' stand for? I noticed
when I restarted netatalk there was mention of cnid_metad in the list of
appletalk deamons that I had not noticed before. Has it always been there?
What does it do? Would it be appropriate to include your magic line of code
in the restart script for netatalk?

-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Re: /dev/dsp missing

2006-12-30 Thread Benjamí Villoslada
El Diumenge 31 Desembre 2006 01:26, Matus UHLAR - fantomas va escriure:
> configure xmms to use ALSA, you won't need /dev/dsp

Right, but maybe some another programs need /dev/dsp ... such as mpg123?

-- 
Benjamí
http://blog.bitassa.cat



.



Re: Trouble with apt-get

2006-12-30 Thread Jose Luis Rivas Contreras
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Darryl Smith escribió:
>  
> 
> - Original Message -
> *From:* Darryl Smith 
> *To:* debian-apache@lists.debian.org
> 
> *Sent:* Friday, December 29, 2006 11:22 PM
> *Subject:* Trouble with apt-get
> 
> Hi, apologies if this is a common question...
>  
> I'm trying to setup an apache tomcat server for educational use and
> I need to install the jdk but when I run:
>  
> apt-get install java-package
>  
> I get the following output:
>  
> Reading Package Lists... Done
> Building Dependency Tree... Done
> E: Couldn't find package java-package
>  
> I've check my sources.list file and it contains the following three
> lines, which I think should be sufficient:
>  
> #deb file:///cdrom/ sarge main
>  
> deb cdrom:[Debian GNU/Linux 3.1 r4 _Sarge_ - Official i386 Binary-2
> (20061116)]/ unstable contrib main
> deb cdrom:[Debian GNU/Linux 3.1 r4 _Sarge_ - Official i386 Binary-1
> (20061116)]/ unstable contrib main
> deb http://security.debian.org/ stable/updates main contrib
> I've also run apt-get update
>  
> But the same error ocurrs.  Wondering if anyone out there can
> enlighten me.  Appreciate any assistance.

Of course, add this line in your `/etc/apt/sources.list':

deb http://ftp.us.debian.org/debian unstable main contrib non-free

P.S: debian-apache is a development list, so I'm CC'ing this e-mail to
debian-user (proper place).

Jose
>  
> Thanks
> Darryl


- --

ghostbar @ linux/debian 'unstable' on i686 - Linux Counter# 382503
http://ghostbar.ath.cx/ - irc.freenode.net #talug #velug #debian-es
http://debianvenezuela.org.ve - irc.debian.org #debian-es #debian-ve
CHASLUG -- http://chaslug.org.ve - irc.unplug.org.ve #chaslug
San Cristobal - Venezuela. TALUG -- http://linuxtachira.org
Fingerprint = 3E7D 4267 AFD5 2407 2A37  20AC 38A0 AD5B CACA B118
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFlzFPOKCtW8rKsRgRAu1PAJ9QtEKJnA5dv98HZjWvF6satHY1egCgwzK5
k/mSCXHPjIr9RH5c6+/1wwo=
=/INs
-END PGP SIGNATURE-


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



Re: Looking for music player software

2006-12-30 Thread Baz

On 12/30/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:


On Sat, Dec 30, 2006 at 06:52:41PM -0800, Baz wrote:
>
> You're a Debian developer - and, don't know music
players?  Nevertheless, I
> like VLC...
>
Wow.  That's a bit harsh.  Yes, he is a Debian developer.  Apparently,
his interests [0] include communication protocols, documentation and
Emacs.  There are enough Debian packages out there so that no one
developer is familiar with them all, or even knows about them all.

Regards,

-Roberto

[0]
http://qa.debian.org/developer.php?login=debacle%40debian.org&comaint=yes

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFlyef5SXWIKfIlGQRAlYHAJ9FexgJ/gaefF5D9ieRYDCS9QEw7ACaAs4z
SDfhhSfU8ev5H7SzW4zrEf4=
=nuA4
-END PGP SIGNATURE-


I apologize if that sounded harsh.


I hold Debian
developers in high regard - and, was a bit incredulous that he wasn't
aware of Debian's own
offerings, especially such a common application group as music players.

In my defense, there are many, many poseurs in cyber-space - it was testing of
sort.  I did answer his query though with what I believe is a very able
player.

Again, no offense was intended.

Happy holidays,
Sebastian


--
"...heart and soulone will burn."
- Joy Division


Re: default firewall/IDS that comes with DEBIAN

2006-12-30 Thread Douglas Tutty
On Thu, Dec 21, 2006 at 06:23:55PM +0100, Albert Dengg wrote:
> On Thu, Dec 21, 2006 at 06:52:24PM +0200, Andrei Popescu wrote:
> > On Thu, Dec 21, 2006 at 09:25:44AM -0500, mutsuura wrote:
> > > All
> > > 
> > > Another newbiew question...
> > > 
> > > While browsing my auth.log file, I notice 'many' denial attacks.
> > > 
> > > Eg:...
> > > 
> > > Dec 17 12:25:37 h-66-166-247-242 sshd[21409]: Illegal user sara from 
> > > 61.82.25.83
 > 
> > AFAIK there is no default firewall.
> > 
> > I always recommend shorewall because it is very powerful, but pretty
> > easy to setup. If you prefer a graphical one than firestarter is also a
> > good choice.
> well, for the typical home user, there is more then enouth in the
> default debian install...
> 
> iptables -P INPUT DROP
> iptables -P FORWARD DROP
> -A INPUT -i lo -j ACCEPT 
> -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
> 
> that is normally enouth, just put in into a script that gets executed on
> interface activation...
 

Or just install ipmasq (does ipmasqurade and a generic firewall).  Note
however, that a firewall is just a last step.  You should set ssh to NOT
listen to a public interface unless you need that.

Doug.


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



Re: Re:

2006-12-30 Thread Rick Thomas


On Dec 30, 2006, at 8:11 PM, Paul Mackerras wrote:


Rick Thomas writes:


However, after rebooting following the install, and logging in to
gnome, it seems to be repeatedly trying to start/re-start something
having to do with the appearance of the desktop.  Things are very
slow (as if a process in continually crashing and restarting) and the
appearance of the desktop cycles thru a series of subtle but
disturbing changes that I'll call "wiggling" for want of a better  
word.


I have seen behaviour more or less like this when the clock was set
wrongly, i.e. to 1904 or something, so check that the clock setting is
reasonable.  (I have no idea why a bogus clock setting upsets gnome so
much.)

Paul.


A good thought.  Unfortunately, the date & time are correct on this  
machine.


I just did "aptitude update && aptitude upgrade" and it installed  
newer versions of lots of gnome related stuff.  But no joy.  The  
wiggles haven't gone away.


Still hoping that somebody can help me debug this thing!

Rick


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




Re: moving /var

2006-12-30 Thread Douglas Tutty
On Wed, Dec 20, 2006 at 10:01:35PM -, [EMAIL PROTECTED] wrote:
 
> Really, I asked two questions mixed up together.  The other is how to
> run makeinitrd, or anything else such as lilo or grub-install (or
> whatever the command is) in a chroot, when chrooting cuts you off from
> the /dev and /proc filesystems so that none of these commands will run.

I've done this several times over the years as needs change and I've
never had a problem.  Here's how I do it:

from single-user mode
format the new partition
mount it on e.g. /newvar
use mc and copy /var to /newvar (keeping same attributes)
shutdown -Fr now
boot the install disk and: 
rename /newvar to /oldvar
edit /etc/fstab to point /var to the new partition, 
and mount the old var partition on /oldvar
for my friend Justin Case.
reboot to single user mode, and ensure all is well,
reboot to standard mode.
if all looks good, unmount /oldvar and delete the partition or
otherwise reclaim that space.

As far as running a command from within the partition (e.g. chroot) from
a rescue, I note that the Etch installer has this on the rescue-mode
menu (including installing grub or lilo), I would just do that if need
be.

YMMV, good luck.

Doug.


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



Re: Looking for music player software

2006-12-30 Thread Roberto C. Sanchez
On Sat, Dec 30, 2006 at 06:52:41PM -0800, Baz wrote:
> 
> You're a Debian developer - and, don't know music players?  Nevertheless, I
> like VLC...
> 
Wow.  That's a bit harsh.  Yes, he is a Debian developer.  Apparently,
his interests [0] include communication protocols, documentation and
Emacs.  There are enough Debian packages out there so that no one
developer is familiar with them all, or even knows about them all.

Regards,

-Roberto

[0] http://qa.debian.org/developer.php?login=debacle%40debian.org&comaint=yes

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: Looking for music player software

2006-12-30 Thread Baz

On 12/30/06, Philistine <[EMAIL PROTECTED]> wrote:


Hi,

I'm looking for a music player in Debian with some features, I
did not yet find in the ones I tried (alsaplayer, beep,
mp3blaster, quodlibet, rhythmbox, zinf). I did not try banshee
("55.2 MB of additional disk space will be used") nor amarok
("124MB..."). What I would like to see:

- most important: changing the speed without changing the pitch

- using a second output or sound card for "pre-listening"

- cross-fading

- search by artist/title/genre and by ranking

- nice to have: keeping track of intro/extro sequences

- UI: GTK+ or plain terminal preferred

Things I do not care about:

- any other media than locally stored OGG/MP3 files

- mobile music player devices

Is there such a program in Debian or at least in the free
software universe? Many thanks in advance!

Cheers, a philistine Debianist


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



Hello -

You're a Debian developer - and, don't know music players?  Nevertheless, I
like VLC...

Sebastian

--
"...heart and soulone will burn."
- Joy Division


Re: Migration from Debian/powerpc to Debian/i386

2006-12-30 Thread s. keeling
Eduardo Trápani <[EMAIL PROTECTED]>:
> 
>  I'm currently using Debian on an iMac G5. Everything is alright but I 
>  have to hand the computer over to another user and I will get a PC in 
>  return.
> 
>  I'm not sure what would be the best path to follow to recreate my debian 
>  environment in the new machine.  I cannot repackage packages because the 
>  architecture is different,but maybe there is an automatic tool to save 
>  the configuration and the list of packages.
> 
>  On top of that, I don't know if things like MySQL databases can be 
>  simply copied or if I should export/import them.  Is there a way to know 
>  if a package data is platform independent?  (little/big endian issues 
>  and things like that).

Congratulations on having asked the most intelligent and clueful
question I've seen in years.  I'm serious!  The responses to this
thread are most helpful and accurate answers to a long standing
problem of mine.  Thanks for asking it!  Good job.

To answer your question, follow the others' instructions.  If you also
want a personal home dir backup, you can do that with many tools.  I
like afio.  Tar+[bg]zip would do too.

   cd
   tar cjf /somewhere/big/blah.tbz .# not tested.  man tar.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


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



Re: Perl Programming within Debian

2006-12-30 Thread Nate Bargmann
* s. keeling <[EMAIL PROTECTED]> [2006 Dec 30 20:14 -0600]:

> >  PERL style has changed radically over the years as has its usage 
> >  (PERL==PErsonal Report Language and who uses it for this nowadays?). 
> > Object 
> 
> Practical Extraction and Reporting Language

Or, Practical Extraction and Report Language (per the man page)
 
> Positively Eclectic Rubbish Lister

Or, Pathologically Eclectic Rubbish Lister (per the Camel Book)

Pedantically yours,

- Nate >>

:-)

-- 
 Wireless | Amateur Radio Station N0NB  |  Successfully Microsoft
  Amateur radio exams; ham radio; Linux info @  | free since January 1998.
 http://www.qsl.net/n0nb/   |  "Debian, the choice of
 My Kawasaki KZ-650 SR @| a GNU generation!"
http://www.networksplus.net/n0nb/   |   http://www.debian.org


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



Re: Perl Programming within Debian

2006-12-30 Thread s. keeling
David Baron <[EMAIL PROTECTED]>:
>  On Saturday 30 December 2006 20:48, Samuel Bächler wrote:
> > Hi Rocky
> >
> > >  I'm thinking of learning Perl Programming. Can any of you help me get
> > >  started on how to programming Perl in Debian?
> >
> > In my opinion you should go through *Leaning Perl* by O'Reilly. I quite
> > liked it. I am sure you will find it somewhere in the web.
> 
>  Second that--this is the place to start.
> [snip]
>  PERL style has changed radically over the years as has its usage 
>  (PERL==PErsonal Report Language and who uses it for this nowadays?). Object 

Practical Extraction and Reporting Language

Positively Eclectic Rubbish Lister

>  oriented programming (with silly syntax) can be as good as newer languages. 
>  PERL can be readable as c (but that is not saying so much).

Anyone can write write-only code, in any language.  Perl's no exception.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


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



Re: Migration from Debian/powerpc to Debian/i386

2006-12-30 Thread Eduardo Trápani

Install a base-only system on the new machine.

[...]

Thanks!  But, I know I'm missing other things.  The more I investigate, 
the harder it seems.



For the DBs, you'll need to export and import them, being the safest
way. The only packages that are platform independent are the "all"
packages, which are mainly some text scripts and documentation.


Mysql, ok.  But openldap has "(Btree, version 9, native byte-order)". 
So I should dump that as well, to ldif, and import it again.


And there are platform specific files even under home/.kde[1]

My Mozilla profile has some files(key3.db, for example, and I don't know 
what it is) in the same "native byte order" format.  And who knows which 
other programs have similar files and how they will react when having to 
deal with those files in another platform.


Maybe packages should report if the data they use is platform 
independent or not.  Separate the platform-dependency data and programs. 
 Berkely DB files are easy to spot, but there might be other files I 
will never know of until a program stops working (easier) or behaves 
oddly (harder).


I guess iMac users moving from iMac/powerpc to iMac/intel will have the 
more or less the same problems.  I will ask the people at debian-powerpc.



To bad about losing the G5, its a nice platform to work on.


Yes, I know.  Just when everything was working in the kernel.  I'm 
looking forward to the new iMacs though.


Eduardo.

[1] ./share/apps/kdevcppsupport/pcs/stl.kind.idx: Berkeley DB (Btree, 
version 8, native byte-order)



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




Re: Perl Programming within Debian

2006-12-30 Thread s. keeling
Gregory Seidman <[EMAIL PROTECTED]>:
> [much thoughtful commentry snipped]
>  Now, my personal views:
> 
>  Perl is the Visual Basic of the open source world. It's possible to write

Ha, hahahahahahahahahahahahaa ...   Ahh.  Thanks.  I'll go back and
read the rest of your post now.  VB.  Ha.  Good one.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


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



Re:

2006-12-30 Thread Paul Mackerras
Rick Thomas writes:

> However, after rebooting following the install, and logging in to  
> gnome, it seems to be repeatedly trying to start/re-start something  
> having to do with the appearance of the desktop.  Things are very  
> slow (as if a process in continually crashing and restarting) and the  
> appearance of the desktop cycles thru a series of subtle but  
> disturbing changes that I'll call "wiggling" for want of a better word.

I have seen behaviour more or less like this when the clock was set
wrongly, i.e. to 1904 or something, so check that the clock setting is
reasonable.  (I have no idea why a bogus clock setting upsets gnome so
much.)

Paul.


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



Re: missing free space

2006-12-30 Thread Roberto C. Sanchez
On Sun, Dec 31, 2006 at 03:09:34AM +0200, ccostin wrote:
> 
> For this moment I don't run any qemu instace. But is somenthing similar.
> When I test an example from php5-imagick  package
> (/usr/share/doc/php5-imagick/examples/resize.php)
> apache2 "eat" a lot of disk space (a bug ?) from tmp
> Output from lsof
> 
> COMMAND PID   USER   FD  TYPE DEVICE   SIZE   NODE 
> NAME
> apache2   10673   apache   11u  REG3,2 28008
> 0   6161 /tmp/magick-XXuayBEU (deleted)
> 
> ls /tmp/magick-XXuayBEU
> ls: /tmp/magick-XXuayBEU: No such file or directory
> 
> 
> After restarting apache2 all things get back to normal, occupied
> space is released.
> 
No.  This is not a bug.  This is exactly the behavior I was talking
about.  The temporary file is created and then immediately deleted.  So,
it still takes up blocks on the file system, but du has no way of
counting those blocks since the file is "gone", but it is in fact still
there since an open file descriptor exists to it.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: missing free space

2006-12-30 Thread ccostin

On 12/31/06, Roberto C. Sanchez <[EMAIL PROTECTED]> wrote:

On Sun, Dec 31, 2006 at 01:13:30AM +0200, ccostin wrote:
> On a partition mounted as /tmp on /dev/hda2 df report
>
> df -h | grep -E "Size|hda2"
> FilesystemSize  Used Avail Use% Mounted on
> /dev/hda2 479M  454M 0 100% /tmp
>
> and total space used by /tmp directory is
>
> du -sh /tmp/
> 1.4M/tmp/
>
> Why this differences between used space reported df and du appear ?
>
The way that du measure disk utilization is to check for all existing
files and directories and see how many disk blocks they use and add them
all up.  OTOH, df checks with the filesystem to see how many blocks are
not used.  You are asking why the sum of blocks used by existing files
and directories and the unused blocks is not the whole of the blocks in
the filesystem.  The reason is that there are nonexistent files.

What that means is that a program needs a temporary file and so it calls
a function like tmpfile, which creates a temporary file.  In order to
minimize the vulnerability of information leaking from a temporary file,
some programs call unlink() right after the file is created.  As long as
the program retains the open file descriptor, the file can be read from
and written to, but no one else can access it, since it is not
addressable via the filesystem.  Once the program closes, the file
descriptor is reclaimed by the OS and all the blocks are again marked as
free.

I believe that qemu does this as I often see the exact same thing you
are talking about after laeving qemu running for long periods of time.



For this moment I don't run any qemu instace. But is somenthing similar.
When I test an example from php5-imagick  package
(/usr/share/doc/php5-imagick/examples/resize.php)
apache2 "eat" a lot of disk space (a bug ?) from tmp
Output from lsof

COMMAND PID   USER   FD  TYPE DEVICE   SIZE   NODE NAME
apache2   10673   apache   11u  REG3,2 28008
0   6161 /tmp/magick-XXuayBEU (deleted)

ls /tmp/magick-XXuayBEU
ls: /tmp/magick-XXuayBEU: No such file or directory


After restarting apache2 all things get back to normal, occupied
space is released.

df -h | grep -E "Size|tmp"
FilesystemSize  Used Avail Use% Mounted on
/dev/hda2 479M  9.9M  444M   3% /tmp


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




Looking for music player software

2006-12-30 Thread Philistine
Hi,

I'm looking for a music player in Debian with some features, I
did not yet find in the ones I tried (alsaplayer, beep,
mp3blaster, quodlibet, rhythmbox, zinf). I did not try banshee
("55.2 MB of additional disk space will be used") nor amarok
("124MB..."). What I would like to see:

- most important: changing the speed without changing the pitch

- using a second output or sound card for "pre-listening"

- cross-fading

- search by artist/title/genre and by ranking

- nice to have: keeping track of intro/extro sequences

- UI: GTK+ or plain terminal preferred

Things I do not care about:

- any other media than locally stored OGG/MP3 files

- mobile music player devices

Is there such a program in Debian or at least in the free
software universe? Many thanks in advance!

Cheers, a philistine Debianist


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



Re: update messages

2006-12-30 Thread Digby Tarvin
On Sat, Dec 30, 2006 at 11:37:01PM +0100, Sven Arvidsson wrote:
> > So what puzzles me is why it is no longer in 'non-free', and if
> > it was removed because of some objection to the licensing terms,
> > surely there should be something documenting this??
> 
> Are you quite sure it was in the official Debian archives? I can only
> find it in the non-free section on debian-unofficial.org, and the
> package name seems to match.
> http://ftp.debian-unofficial.org/debian/pool/non-free/x/xv/
> 
> I also found this old bug from 2001, dealing with removing xv from the
> archive as distribution of modified binaries is prohibited.
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98215

If so then I forgot to make a note of it, but I suppose in all the
excitement of the initial install that is possible.

Is there any way to check the origin of an deb archive in my
/var/cache/apt/archives?

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: netatalk puzzle

2006-12-30 Thread Gilles Mocellin
Le samedi 30 décembre 2006 21:00, Paul E Condon a écrit :
> I've been using netatalk to connect several Macs to my Debian boxes for
> several years. For the last few month, one box has been running Etch.
> All worked fine until two days ago. There was a power failure which forced
> a reboot of all computers. After the reboot, one of the netatalk shares
> on one of the linux boxes could not be mounted on any of the Macs.
> Nothing had changed in AppleVolumes.default as a result of the power
> crash, and so far as I can determine, the most recent update to netatalk
> was well before I installed Etch. The shares that continue to work are
> the default Debian netatalk, '~/'. The one that stopped working is a
> directory that I have created, '/bg4', (at the top level in the heirarchy).
> I don't see anything peculiar about the permissions on this directory, and,
> it was working before two days ago.
>
> I've fixed access to /bg4 by putting a soft link to it in my home
> directory, but I wonder what might be the reason for this change. Any
> ideas?

Certainly the CNID database which is corrupted...
remove all .AppleDB directories :
# find /bg4 -type d -name .AppleDB -exec rm -rf {} \;
And restart netatalk.

We must do it too often here :-(

> --
> Paul E Condon
> [EMAIL PROTECTED]


pgpKi5BJYpJom.pgp
Description: PGP signature


Re: /dev/dsp missing

2006-12-30 Thread Matus UHLAR - fantomas
On 30.12.06 03:46, Benjamí Villoslada wrote:
> /dev/dsp is missing in my Debian Sid --I've used it one week ago with XMMS.
> 
> I've tried a oss-compat reinstallation, and have /dev/dsp again.  But 
> disappears with the system reboot.
> 
> I've run alsaconf again.   ALSA works fine.
> 
> Any idea? Thanks :)

configure xmms to use ALSA, you won't need /dev/dsp
-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
The early bird may get the worm, but the second mouse gets the cheese. 


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



keys on usb phones

2006-12-30 Thread Mark Grieveson
Hello.  Has anyone, when using a generic usb phone for skype, had any luck 
getting the keys on such a device working?  I can hear, and talk, but I cannot 
dial using the keys the device I have.

Mark


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



Re: John the Ripper in Etch?

2006-12-30 Thread Matus UHLAR - fantomas
> > On Wed, 2006-12-27 at 02:22 -0500, Greg Folkert wrote:
> > > PLEASE OH PLEASE DROP THE HTML COLORING.

> On Wed, Dec 27, 2006 at 01:16:49PM +0100, Sven Arvidsson wrote:
> > I agree, but to be fair, it's a multi-part message, so your mail reader
> > should be able to to only display the text/plain part. I only wish
> > Evolution would support this :(

sending HTML mail is denied in debian lists according to
http://www.debian.org/MailingLists/#codeofconduct, however multipart
messages are not mentioned there :(

On 27.12.06 10:18, Andrew Sackville-West wrote:
> what are you guys seeing? All I see is a two slashes surrounding the
> text, annoying, but not bad. I'm using mutt. Sometimes I'll see
> various html tags, but I saw none in that one.

this was in original message header:


perhaps it will have
to be added in manually?

i think that IS coloring...

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Nothing is fool-proof to a talented fool. 


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



Re: missing free space

2006-12-30 Thread Roberto C. Sanchez
On Sun, Dec 31, 2006 at 01:13:30AM +0200, ccostin wrote:
> On a partition mounted as /tmp on /dev/hda2 df report
> 
> df -h | grep -E "Size|hda2"
> FilesystemSize  Used Avail Use% Mounted on
> /dev/hda2 479M  454M 0 100% /tmp
> 
> and total space used by /tmp directory is
> 
> du -sh /tmp/
> 1.4M/tmp/
> 
> Why this differences between used space reported df and du appear ?
> 
The way that du measure disk utilization is to check for all existing
files and directories and see how many disk blocks they use and add them
all up.  OTOH, df checks with the filesystem to see how many blocks are
not used.  You are asking why the sum of blocks used by existing files
and directories and the unused blocks is not the whole of the blocks in
the filesystem.  The reason is that there are nonexistent files.

What that means is that a program needs a temporary file and so it calls
a function like tmpfile, which creates a temporary file.  In order to
minimize the vulnerability of information leaking from a temporary file,
some programs call unlink() right after the file is created.  As long as
the program retains the open file descriptor, the file can be read from
and written to, but no one else can access it, since it is not
addressable via the filesystem.  Once the program closes, the file
descriptor is reclaimed by the OS and all the blocks are again marked as
free.

I believe that qemu does this as I often see the exact same thing you
are talking about after laeving qemu running for long periods of time.

Regards,

-Roberto
-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: update messages

2006-12-30 Thread John Hasler
Digby Tarvin wrote:
> So what puzzles me is why it is no longer in 'non-free', and if
> it was removed because of some objection to the licensing terms,
> surely there should be something documenting this?

It may have been removed simply because no one was willing to maintain it
any more.  That often happens when a non-free package ceases to provide any
functionality not available in a Free package.

-- 
John Hasler


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



Re: Installation

2006-12-30 Thread Alan Chandler
On Saturday 30 December 2006 22:46, Kevin Mark wrote:
> On Sun, Dec 31, 2006 at 09:35:44AM +1100, Phillip Thorpe wrote:
> > ok thanks Roberto!
> > That is awesome, I have been using Slackware for a few years
> > now(and will continue to do so) it only has three CD's but I have
> > only ever used two of them. I will try Debian now and see how it
> > is.
> >
> > Happy new year!
> >Phill.
> >
> >
> > On Sunday 31 December 2006 08:54, Roberto C. Sanchez wrot
> >
> > > On Sun, Dec 31, 2006 at 07:37:25AM +1100, Phillip Thorpe wrote:
> > > > Hi there
> > > > Im installing the amd64 version of Debian, can
> > > > anyone tell me if I need to download *both* DVD iso's?
> > > > Surely it cant be that big?
> > > > cheers
> > > >  Phill.
> > >
> > > Sarge is on something like 13 or 15 CDs.  Etch is even bigger. 
> > > Yes, it is that big.  Now, you more than likely can get away with
> > > just the first one, as the vast majority of the important/popular
> > > software is there.
> > >
> > > Regards,
> > >
> > > -Roberto
>
> Hi Phil,
> Debian can be installed by various methods: cd , dvd, netinstall,
> etc. When the CD's were introduced, they devised a method to make it
> easy to install what you will need. The first 2 CD's contains things
> that everyone should need and so on. And the last CD will contain
> things that few folks need. So most folks need the first few CDs to
> get a system running. IIRC CD #1 will get you the basic console
> system and CD 1-3 should get you X + KDE + GNOME. Since DVD's are
> bigger, DVD#1 should contain stuff for X,KDE,GNOME and much more.
Much more importantly, if you have a decent internet connection you can 
automatically download and update over the net, so you really only need 
the first CD in that case.  In fact you can get away with just the 
netinstall cd
-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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



missing free space

2006-12-30 Thread ccostin

On a partition mounted as /tmp on /dev/hda2 df report

df -h | grep -E "Size|hda2"
FilesystemSize  Used Avail Use% Mounted on
/dev/hda2 479M  454M 0 100% /tmp

and total space used by /tmp directory is

du -sh /tmp/
1.4M/tmp/

Why this differences between used space reported df and du appear ?


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




Re: etch apt preferences problem [solved]

2006-12-30 Thread jakub
Dnia Pt Grudnia 29 2006, 11:05 pm, Chris Searle napisał(a):
>

> Given that you've copied and pasted this in then I'm guessing the
> last line here is the issue - Pit-Priority vs Pin-Priority.
>
>
> Chris Searle
> [EMAIL PROTECTED]

thanks ;) what a stupid mistake... I think i might need glasses soon, i've
checked spelling quite a few times.

Thanks


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



Re: Installation

2006-12-30 Thread Kevin Mark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Dec 31, 2006 at 09:35:44AM +1100, Phillip Thorpe wrote:
> ok thanks Roberto!
> That is awesome, I have been using Slackware for a few years
> now(and will continue to do so) it only has three CD's but I have only
> ever used two of them. I will try Debian now and see how it is.
> 
> Happy new year!
>Phill.
> 
> 
> On Sunday 31 December 2006 08:54, Roberto C. Sanchez wrot
> > On Sun, Dec 31, 2006 at 07:37:25AM +1100, Phillip Thorpe wrote:
> > > Hi there
> > > Im installing the amd64 version of Debian, can
> > > anyone tell me if I need to download *both* DVD iso's?
> > > Surely it cant be that big?
> > > cheers
> > >  Phill.
> >
> > Sarge is on something like 13 or 15 CDs.  Etch is even bigger.  Yes, it
> > is that big.  Now, you more than likely can get away with just the first
> > one, as the vast majority of the important/popular software is there.
> >
> > Regards,
> >
> > -Roberto
Hi Phil,
Debian can be installed by various methods: cd , dvd, netinstall, etc.
When the CD's were introduced, they devised a method to make it easy to
install what you will need. The first 2 CD's contains things that everyone
should need and so on. And the last CD will contain things that few
folks need. So most folks need the first few CDs to get a system
running. IIRC CD #1 will get you the basic console system and CD 1-3
should get you X + KDE + GNOME. Since DVD's are bigger, DVD#1 should
contain stuff for X,KDE,GNOME and much more.
Cheers,
Kev
- -- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |   'under construction'   |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFluw0v8UcC1qRZVMRAj+vAKCRaPhbiS3iN4vOxMvxj8lgo/zjZACfXs5g
ZpeiwQLPrWQV2Y3kU0cThK4=
=qjen
-END PGP SIGNATURE-


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



Re: update messages

2006-12-30 Thread Sven Arvidsson
On Sat, 2006-12-30 at 22:03 +, Digby Tarvin wrote:
> 1. John Bradley's xv program was in the debian archive for Etch
>   when I installed it back in April:
>   /var/cache/apt/archives/xv_3.10a-1duo+etch1_i386.deb
> 
> 2. It is not there now.
> 
> 3. When I referred to it not being in the 'package database' I meant
>   that I didn't find any mention of its existance (or removal) in
>   http://packages.qa.debian.org/common/index.html
>   which is where I had found messages referring to the removal
>   of xearth.
> 
> So what puzzles me is why it is no longer in 'non-free', and if
> it was removed because of some objection to the licensing terms,
> surely there should be something documenting this??

Are you quite sure it was in the official Debian archives? I can only
find it in the non-free section on debian-unofficial.org, and the
package name seems to match.
http://ftp.debian-unofficial.org/debian/pool/non-free/x/xv/

I also found this old bug from 2001, dealing with removing xv from the
archive as distribution of modified binaries is prohibited.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=98215

-- 
Cheers,
Sven Arvidsson
http://www.whiz.se
PGP Key ID 760BDD22


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


Re: Installation

2006-12-30 Thread Phillip Thorpe
ok thanks Roberto!
That is awesome, I have been using Slackware for a few years
now(and will continue to do so) it only has three CD's but I have only
ever used two of them. I will try Debian now and see how it is.

Happy new year!
   Phill.


On Sunday 31 December 2006 08:54, Roberto C. Sanchez wrot
> On Sun, Dec 31, 2006 at 07:37:25AM +1100, Phillip Thorpe wrote:
> > Hi there
> > Im installing the amd64 version of Debian, can
> > anyone tell me if I need to download *both* DVD iso's?
> > Surely it cant be that big?
> > cheers
> >  Phill.
>
> Sarge is on something like 13 or 15 CDs.  Etch is even bigger.  Yes, it
> is that big.  Now, you more than likely can get away with just the first
> one, as the vast majority of the important/popular software is there.
>
> Regards,
>
> -Roberto


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



Re: update messages

2006-12-30 Thread Digby Tarvin
On Sat, Dec 30, 2006 at 03:41:31PM -0500, [EMAIL PROTECTED] wrote:
> On Thu, Dec 28, 2006 at 07:50:34PM -0800, Andrew Sackville-West wrote:
> > On Fri, Dec 29, 2006 at 02:23:27AM +, Digby Tarvin wrote:
> > > On Thu, Dec 28, 2006 at 05:28:55PM -0800, Andrew Sackville-West wrote:
> > > 
> > > > > 
> > > > > And xv I havn't found at all in the packages database :-/
> > > > 
> > > > I can only vaguely recall xv. what is it?
> > > 
> > > John Bradley's image viewer program. Probably frowned upon
> > > by Debian for being non-free, but I registered my copy years
> > > ago so I feel entitled to keep using it ;)
> > 
> > oh yeah. not in deb. 
> 
> Then why is Debian trying to remove it if ti isn't a package?
> Could it be trying to remove another thing called xv, which I think is 
> some X thing relating to video?
> 
> -- hendrik

I think I may have confused matters by not knowing exactly what
the 'standard' Debian terminology is.

To Clarify:

1. John Bradley's xv program was in the debian archive for Etch
when I installed it back in April:
/var/cache/apt/archives/xv_3.10a-1duo+etch1_i386.deb

2. It is not there now.

3. When I referred to it not being in the 'package database' I meant
that I didn't find any mention of its existance (or removal) in
http://packages.qa.debian.org/common/index.html
which is where I had found messages referring to the removal
of xearth.

So what puzzles me is why it is no longer in 'non-free', and if
it was removed because of some objection to the licensing terms,
surely there should be something documenting this??

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: Installation

2006-12-30 Thread Roberto C. Sanchez
On Sun, Dec 31, 2006 at 07:37:25AM +1100, Phillip Thorpe wrote:
> Hi there
> Im installing the amd64 version of Debian, can
> anyone tell me if I need to download *both* DVD iso's?
> Surely it cant be that big?
> cheers
>  Phill.

Sarge is on something like 13 or 15 CDs.  Etch is even bigger.  Yes, it
is that big.  Now, you more than likely can get away with just the first
one, as the vast majority of the important/popular software is there.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: Making hotplugging my camera work

2006-12-30 Thread Alan Chandler
On Saturday 30 December 2006 19:32, Paul E Condon wrote:
> On Sat, Dec 30, 2006 at 10:04:01AM +, Alan Chandler wrote:
> > Can someone explain the processes that occur when I hot plug my
> > camera in and kde pops up a dialog asking whether I want to
> > download to digiKam, or open in a new window.
...
> I'm not an expert, but this may help:
> Cameras handle off-loading pictures in two different ways. The more
> fancy cameras have special proprietary protocols for data transfer,
> and give the user/owner special control options, but they require
> specialized software. Less expensive cameras simply fake a $soft FAT
> file system and let you use the file copy functions of your computer
> to grab the pictures. Part of digikam is a collection of cloned
> drivers for the expensive cameras.

You misunderstand my question.

I understand all that.  However, when I plug my camera in, KDE pops up a 
dialog box saying new hardware found what you you like to do.  One 
choice is to use digikam.

In the past when this has happened (with cameras which emulate usb mass 
storage and therefore do not need special drivers) digikam has put up a 
dialog box with thumbnails of all pictures in the camera, and an offer 
to select and download these into an album.

With my new camera (which has this same support) it fails whilst trying 
what show pictures it has in the camera.  The udev-hal-dbus chain is 
not working correctly because the mount point /media/sdg1 does not seem 
to have been created.

Furthermore - when I try and use udev to make the camera device 
have /dev/camera as its device, kde's dialog box pops up the first time 
after a reboot when I plug the device in, but not again when I unplug 
it and plug it in again.  If I do not have a udev rule to alter things 
it does pop up a dialog box every time.

In order to debug and track down what is not working, I am asking how 
the udev-hal-dbus chain interacts with kde and digikam, and where to 
look for configuration parameters so I can figure out what is not 
working due to configuration problems and what might be a bug in kde 
(or hal ...).



-- 
Alan Chandler
http://www.chandlerfamily.org.uk


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



Re: Perl Programming within Debian

2006-12-30 Thread John K Masters
On Sat, 30 Dec 2006 15:49:08 -0500
"Leonid Grinberg" <[EMAIL PROTECTED]> wrote:

> OK, several things:
> 
> Perl does NOT encourage bad behavior. It simply makes it easier to code 
> poorly.
> Perl is not as difficult to learn as people say it is.
> 
> The best place to start would be Google. That is how I learned it. The
> package ``perl'' will have the interpreter. The package perl-doc will
> have the command ``perldoc'' (yes, the package has a dash - the
> program does not). perldoc has lots of nice documentation. I suggest
> getting ``Learning Perl'' and ``The Perl Cookbook'' if you can. Also,
> sign up for the mailing list beginners@perl.org where many nice people
> will help you use the language.
> 

I just looked on http://lists.cpan.org/ and there were 266 mailing lists 
related to Perl. This shows how popular it is but can also be off-putting for a 
newcomer to the language. Which list to choose? Several are for beginners.

I purchased the O'Reilly book Learning Perl and it is the only O'Reilly book I 
have ever regretted buying. The examples are contrived and confusing; the 
authors seem more concerned with being humorous then with being educational.

OTOH the O'Reilly book Learning Python was clear, concise and informative which 
is one reason why I now use Python (still learning)

> Any extension works, but .pl is conventional for command line.
> Sometimes, people give it no extension at all. For web servers, either
> .cgi or .pl are usually used.
> 
> Good luck! Feel free to email me if you have any questions!
> 
> 
>
At the end of the day it's whatever you feel most comfortable with. 
-- 
John K Masters - User #417400 in the Linux Counter http://counter.li.org/

No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.


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



Re: etch laptop system logs me out during inactivity (X crash?)

2006-12-30 Thread Kevin Mark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Dec 30, 2006 at 02:39:34PM -0500, Rick Reynolds wrote:
> I've seen this happening on my etch laptop more often recently (not 
> exactly sure when I first saw it, but it has probably been within the 
> last 3 months).  I generally keep the system relatively up-to-date 
> (almost always within a couple weeks of current testing).
> 
> I typically leave my laptop on overnight, or just running while I'm 
> doing something else -- and during this time the laptop is basically 
> idle.  After some time, I'll return to the laptop and find that it has 
> kicked me out of my gnome session to the gdm login prompt screen.
> 
> I see this in the messages file:
> 
> Dec 30 09:11:50 gish gconfd (-): Received signal 15, shutting 
> down cleanly
> Dec 30 09:11:50 gish gconfd (-): Exiting
> 
> I've googled a bit and not found a real cause, solution, or workaround. 
>  Some folks on the Ubuntu forums thought X was crashing and gconfd was 
> reacting to that.  As I indicated, my etch system is pretty current, and 
> 'X -version' reports version 7.1.1.  I'm also running kernel 2.6.17.
> 
> Anyone else seeing this?  Anyone found the problem?
> 
> Thanks,
Hi Rick,
There can be differnt causes: software, hardware...
what video driver are you using? If you use a 'safe' driver like vesa,
then it would point to a hardware issue vs using an 'unsafe' driver like
a close-source driver like 'nvidia'. You can also see if its X or not by
leaving X and going to the console then seeing if the laptop does
anything odd after a few hours. Some folks also have issues with screen
savers.
Cheers,
Kev
- -- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |   'under construction'   |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFltnov8UcC1qRZVMRAh9aAJ9u6sFMq0FXTxg2Y4V7i9aP0JHUCgCeKd+F
Ui/dIQ4h23IPigFLA8wEPek=
=FOam
-END PGP SIGNATURE-


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



Re: update messages

2006-12-30 Thread hendrik
On Thu, Dec 28, 2006 at 07:50:34PM -0800, Andrew Sackville-West wrote:
> On Fri, Dec 29, 2006 at 02:23:27AM +, Digby Tarvin wrote:
> > On Thu, Dec 28, 2006 at 05:28:55PM -0800, Andrew Sackville-West wrote:
> > 
> > > > 
> > > > And xv I havn't found at all in the packages database :-/
> > > 
> > > I can only vaguely recall xv. what is it?
> > 
> > John Bradley's image viewer program. Probably frowned upon
> > by Debian for being non-free, but I registered my copy years
> > ago so I feel entitled to keep using it ;)
> 
> oh yeah. not in deb. 

Then why is Debian trying to remove it if ti isn't a package?
Could it be trying to remove another thing called xv, which I think is 
some X thing relating to video?

-- hendrik


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



Re: Perl Programming within Debian

2006-12-30 Thread Leonid Grinberg

OK, several things:

Perl does NOT encourage bad behavior. It simply makes it easier to code poorly.
Perl is not as difficult to learn as people say it is.

The best place to start would be Google. That is how I learned it. The
package ``perl'' will have the interpreter. The package perl-doc will
have the command ``perldoc'' (yes, the package has a dash - the
program does not). perldoc has lots of nice documentation. I suggest
getting ``Learning Perl'' and ``The Perl Cookbook'' if you can. Also,
sign up for the mailing list beginners@perl.org where many nice people
will help you use the language.

Any extension works, but .pl is conventional for command line.
Sometimes, people give it no extension at all. For web servers, either
.cgi or .pl are usually used.

Good luck! Feel free to email me if you have any questions!


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




Re: Perl Programming within Debian

2006-12-30 Thread David Baron
On Saturday 30 December 2006 21:53, Greg Folkert wrote:
> On Sat, 2006-12-30 at 21:20 +0200, David Baron wrote:
> [...snip...]
>
> > PERL style has changed radically over the years as has its usage
> > (PERL==PErsonal Report Language and who uses it for this nowadays?).
> > Object oriented programming (with silly syntax) can be as good as newer
> > languages. PERL can be readable as c (but that is not saying so much).
>
> Oh, boy. Perl is just *Perl*. Not PERL, PeRl, Practical Extraction and
> Reporting Language, PErsonal Report Language... NO nothing but Perl.
>
> I have been scolded and admonished by Higher ups in the Perl "world",
> those being Perl core team members, top Perl Monks and many on the Perl
> lists.
>
> For your own safety and not to be laghed out of a Perl conference or
> mocked by hundreds please use it as:
>
>   Perl
>
> Perl is Perl. Period.
>
> (Yes I know, no need to point out the fallacy.)

Cool! As I said, things have changed radically since the beginnings.
A fun language regardless :-)


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



Installation

2006-12-30 Thread Phillip Thorpe
Hi there
Im installing the amd64 version of Debian, can
anyone tell me if I need to download *both* DVD iso's?
Surely it cant be that big?
cheers
 Phill.


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



netatalk puzzle

2006-12-30 Thread Paul E Condon
I've been using netatalk to connect several Macs to my Debian boxes for 
several years. For the last few month, one box has been running Etch.
All worked fine until two days ago. There was a power failure which forced
a reboot of all computers. After the reboot, one of the netatalk shares 
on one of the linux boxes could not be mounted on any of the Macs.
Nothing had changed in AppleVolumes.default as a result of the power
crash, and so far as I can determine, the most recent update to netatalk
was well before I installed Etch. The shares that continue to work are
the default Debian netatalk, '~/'. The one that stopped working is a
directory that I have created, '/bg4', (at the top level in the heirarchy).
I don't see anything peculiar about the permissions on this directory, and,
it was working before two days ago.

I've fixed access to /bg4 by putting a soft link to it in my home directory,
but I wonder what might be the reason for this change. Any ideas?

-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Re: Perl Programming within Debian

2006-12-30 Thread Greg Folkert
On Sat, 2006-12-30 at 21:20 +0200, David Baron wrote:
[...snip...]
> 
> PERL style has changed radically over the years as has its usage 
> (PERL==PErsonal Report Language and who uses it for this nowadays?). Object 
> oriented programming (with silly syntax) can be as good as newer languages. 
> PERL can be readable as c (but that is not saying so much).

Oh, boy. Perl is just *Perl*. Not PERL, PeRl, Practical Extraction and
Reporting Language, PErsonal Report Language... NO nothing but Perl.

I have been scolded and admonished by Higher ups in the Perl "world",
those being Perl core team members, top Perl Monks and many on the Perl
lists.

For your own safety and not to be laghed out of a Perl conference or
mocked by hundreds please use it as:

Perl

Perl is Perl. Period.

(Yes I know, no need to point out the fallacy.)
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


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


Re: Migration from Debian/powerpc to Debian/i386

2006-12-30 Thread Greg Folkert
On Sat, 2006-12-30 at 13:29 -0300, Eduardo Trápani wrote:
> Hi,
> 
> I'm currently using Debian on an iMac G5. Everything is alright but I 
> have to hand the computer over to another user and I will get a PC in 
> return.
> 
> I'm not sure what would be the best path to follow to recreate my debian 
> environment in the new machine.  I cannot repackage packages because the 
> architecture is different,but maybe there is an automatic tool to save 
> the configuration and the list of packages.
> 
> On top of that, I don't know if things like MySQL databases can be 
> simply copied or if I should export/import them.  Is there a way to know 
> if a package data is platform independent?  (little/big endian issues 
> and things like that).

Install a base-only system on the new machine.

On the old machine:

dpkg --get-selections > my-packages.txt
tar jcf my-etc.tar.bz /etc

Copy this file to a medium that works on either machine (scp, a usb
thumb.. etc)

On the new machine from the transfer method of your choice:

cat my-packages.txt | dpkg --set-selections
apt-get dselect-upgrade

Extract you /etc in a temporary location, do comparisons between the
ones form the old machine and the current ones in /etc. Make the changes
as needed (or if not relevant now ignore them)

Of course this will not be fool proof, some things will need to be
hashed out. But all in all it should go very well.

For the DBs, you'll need to export and import them, being the safest
way. The only packages that are platform independent are the "all"
packages, which are mainly some text scripts and documentation.

To bad about losing the G5, its a nice platform to work on.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


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


etch laptop system logs me out during inactivity (X crash?)

2006-12-30 Thread Rick Reynolds
I've seen this happening on my etch laptop more often recently (not 
exactly sure when I first saw it, but it has probably been within the 
last 3 months).  I generally keep the system relatively up-to-date 
(almost always within a couple weeks of current testing).


I typically leave my laptop on overnight, or just running while I'm 
doing something else -- and during this time the laptop is basically 
idle.  After some time, I'll return to the laptop and find that it has 
kicked me out of my gnome session to the gdm login prompt screen.


I see this in the messages file:

Dec 30 09:11:50 gish gconfd (-): Received signal 15, shutting 
down cleanly

Dec 30 09:11:50 gish gconfd (-): Exiting

I've googled a bit and not found a real cause, solution, or workaround. 
 Some folks on the Ubuntu forums thought X was crashing and gconfd was 
reacting to that.  As I indicated, my etch system is pretty current, and 
'X -version' reports version 7.1.1.  I'm also running kernel 2.6.17.


Anyone else seeing this?  Anyone found the problem?

Thanks,
Rick Reynolds
--
 He who breaks a thing to find out what it is, has left the path of 
wisdom. -- Gandalf



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




Re: Making hotplugging my camera work

2006-12-30 Thread Paul E Condon
On Sat, Dec 30, 2006 at 10:04:01AM +, Alan Chandler wrote:
> Can someone explain the processes that occur when I hot plug my camera 
> in and kde pops up a dialog asking whether I want to download to 
> digiKam, or open in a new window.
> 
> The reason I am asking is twofold
> 
> 1) Its not working with digiKam - digiKam has been told to look 
> in /media/sdg1 (the device that udev has created is /dev/sdg1) but this 
> is not there - however when you ask it to open a new window 
> instead, /media/disk is created. This latter move does allow you to 
> browse the pictures.
> 
> This is particularly wierd, because the device permissions for /dev/sdg1 
> are 660 with owner and group of "root" - yet I am still able to read 
> the data as user "alan".
> 
> 2) I tried creating a udev rule that changed the device name 
> to /dev/camera.  In this instance, it appears that the first time the 
> device is created, kde does pop up the dialog box, but until I reboot 
> the machine never does so again.  I suspect this is to do with the hal 
> daemon.

I'm not an expert, but this may help:
Cameras handle off-loading pictures in two different ways. The more 
fancy cameras have special proprietary protocols for data transfer, and
give the user/owner special control options, but they require specialized
software. Less expensive cameras simply fake a $soft FAT file system and
let you use the file copy functions of your computer to grab the pictures.
Part of digikam is a collection of cloned drivers for the expensive cameras.

It seems to me you (like me) have a less expensive camera which does not
need or use the drivers in digikam. I use 'cp' to copy the images from my
camera into a directory where digikam can find them. 

HTH
-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Re: Migration from Debian/powerpc to Debian/i386

2006-12-30 Thread Kevin Mark
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Dec 30, 2006 at 01:29:18PM -0300, Eduardo Trápani wrote:
> Hi,
> 
> I'm currently using Debian on an iMac G5. Everything is alright but I 
> have to hand the computer over to another user and I will get a PC in 
> return.
> 
> I'm not sure what would be the best path to follow to recreate my debian 
> environment in the new machine.  I cannot repackage packages because the 
> architecture is different,but maybe there is an automatic tool to save 
> the configuration and the list of packages.
> 
> On top of that, I don't know if things like MySQL databases can be 
> simply copied or if I should export/import them.  Is there a way to know 
> if a package data is platform independent?  (little/big endian issues 
> and things like that).
> 
> Thanks, Eduardo.
Hi,
you basically want to save the data, the /etc and your program list
(dpkg --get-selections). 
Just install the basic system on the new box
use 'cat yourlist.txt|dpkg --set-selections'
then a 'dselect-update'
this will then bring in all the same packages.
Then you can move in the /etc/ data to setup the configurations.
or you can just use the /etc files as a reference and just configure it
manually.
you should be able to move /home will little problems.
Of course you will have to setup all your hardware: network, video, etc.
As for the data base, you can 'dump' the data in various formats. Maybe
you can setup the 2 machines to work together and ftp the data from one
to the other.
Cheers,
Kev
- -- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFlr15v8UcC1qRZVMRAudcAJ93U//WtoYlQn8fRbAgnYHxY4FzQQCeLk8F
ZNOjmRXTAdxIglX6mFLkFPE=
=z4LW
-END PGP SIGNATURE-


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



Re: Perl Programming within Debian

2006-12-30 Thread David Baron
On Saturday 30 December 2006 20:48, Samuel Bächler wrote:
> Hi Rocky
>
> >  I'm thinking of learning Perl Programming. Can any of you help me get
> >  started on how to programming Perl in Debian?
>
> In my opinion you should go through *Leaning Perl* by O'Reilly. I quite
> liked it. I am sure you will find it somewhere in the web.

Second that--this is the place to start.

I learned PERL doing WIndows, did quite useful and sophisticated stuff using 
my own HTML parser (yes, they do have ready modules, but I did not know all 
that when I wrote it. Mine was better, I think. Later ported it to C++.) I 
did enjoy PERL.

PERL gives you a lot of rope to hang yourself though. Variable names are not 
as flexable as other languages--more like bad old basic and they can contain 
differing data types, no enforcement or warning of initialization, etc.

With Windows, we bought a nice debugger--any one know of such a beast GPLed 
under Linux? Being able to watch those vairables was a life-saver. A decent 
IDE would be nice as well (For using .net, one has Microsoft's Visual Studion 
in Windows--result can run in linux using mono). 

PERL style has changed radically over the years as has its usage 
(PERL==PErsonal Report Language and who uses it for this nowadays?). Object 
oriented programming (with silly syntax) can be as good as newer languages. 
PERL can be readable as c (but that is not saying so much).



Re: Perl Programming within Debian

2006-12-30 Thread Roberto C. Sanchez
On Sat, Dec 30, 2006 at 05:57:47PM +, Joe wrote:
> 
> There are certainly more attractive languages than Perl, which has a
> few features which are not intuitive, but I don't think any have the
> same range of libraries. You can find a ready-made module to do almost
> anything you can imagine.
> 
Python is quickly catching up to Perl in the extent of available
libraries and modules.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: Clone root partition

2006-12-30 Thread Roberto C. Sanchez
On Sat, Dec 30, 2006 at 05:45:34PM +, T wrote:
> Hi, 
> 
> I'm trying to compile a comprehensive document on cloning root partitions.
> My immediate goal is to clone my current working Linux to external USB HD,
> so that I can use it wherever I go.
> 
You want something like systemimager.

Regards,

-Roberto

-- 
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


signature.asc
Description: Digital signature


Re: Clone root partition

2006-12-30 Thread Marty

T wrote:
Hi, 


I'm trying to compile a comprehensive document on cloning root partitions.
My immediate goal is to clone my current working Linux to external USB HD,
so that I can use it wherever I go.

By comprehensive I mean it should not be as simple minded as

  dd if=/dev/hda2 of=/dev/sda2

or 


  cp -a / /mnt/point


See my comment below.



or 


  tar -p -m cf - / | (cd /mnt/point; tar xf - )

I know they work, but there are so many things have been left out. By
comprehensive, I mean I want to know all relevant things that need to be
considered.

For example for dd, let alone its rigid limitation, if you use it, at least
the 'conv=sync,noerror bs=4k' options should be used: sync,noerror just
means continue and zero fill any error blocks, bs=4k just writes 4k at a
time which will speed things up a lot. For cp, at least 'cp -ax' should be
used.


I've never used option flags for this purpose, and I'm not sure what the -ax 
options could mean in this context, since copying from device to device ignores 
not only the filesystem but partition data as well.  Used in this way, cp 
streams data in byte order from device to device, copying partition tables, boot 
loaders and filesystem indexing tables as well as the filesystems, regardless of 
the target device geometry. Since I am unsure of the implications of this, I use 
this method only between identical devices, and only when there are no bad 
blocks on either device.  In practice this means that I only rarely use this 
approach, but I have been considering it for cloning backuppc archives.


But there are still much more to it. 


First, directories that don't need to copy over, like /tmp, /proc. With
modern Linux that uses udev, the /dev and /sys don't need to be copied
either. Anything else (besides distro specifics like /var/cache/apt/archives)?

2nd, the clone partition should be made bootable, by grub or lilo.

Anything else? Like the concerns of /etc/fstab...

Last, with all the above concerns, how to achieve them with various tools?

Keywords: tar rsync find cpio dd

thanks

PS. If you come across this message late, be it a week or even a month
late, please do comment, I hope this thread can be a one stop place for
people looking for concerns over cloning root partitions. 


You don't mention rsync, which is currently my preferred method.  It's simpler 
to use than tar, provides the option of incremental updates, and unlike cp -a it 
works around linux' lack of an "lutimes" system call, taking care of time stamps 
of symbolic links.  For cloning root filesystem drives I use a small script that 
performs an rsync backup followed up by fixups to the /dev directory, 
/etc/fstab, and /etc/lilo.conf and then runs lilo -r to make the backup 
bootable.  (A similar approach could be used for grub.)  The script runs in a 
few minutes if I disable rsync checksumming.


Here is the entire script, which uses /dev/hda1 as my backup root drive:

 mount /dev/hda1 /mnt/hda1
 time rsync -vxaHD --delete / /mnt/hda1/
 rsync -xaHD --delete /dev/ /mnt/hda1/dev/
 cp -a /etc/fstab.hda1 /mnt/hda1/etc/fstab
 cp -a /etc/lilo.conf.hda1 /mnt/hda1/etc/lilo.conf
 rm -rf /mnt/hda1/dev/.udevdb
 lilo -r /mnt/hda1
 umount /dev/hda1

This script presumes that udev is installed.  For it to work, I have to manually 
maintain /etc/fstab.hda1 and /etc/lilo.conf.hda1.


Disclaimer for newbies: please do not use this script unless you completely 
understand how it works, and are not using /dev/hda1 as your root filesytem!


The backup drive can be selected through the BIOS boot menu if the main root 
drive craps out.  The only complication is that one my applications (mythtv) 
uses mysql to keep track of files on an non-root filesystem, which creates the 
possibility that the database could be out of sync with the mythtv data files in 
the event of a main filesystem crash.



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




Re: Perl Programming within Debian

2006-12-30 Thread Gerard Robin

On Sat, Dec 30, 2006 at 08:06:42AM -0800, rocky wrote:

From: rocky <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: Perl Programming within Debian
Organization: http://groups.google.com
Complaints-To: [EMAIL PROTECTED]
Injection-Info: 73g2000cwn.googlegroups.com; posting-host=220.165.164.253;
  posting-account=fJgY-Q0SHZN_amKGuCJgy_umBJ7W
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on murphy.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=4.0 tests=AWL,BAYES_80,

DNS_FROM_RFC_WHOIS autolearn=no version=3.0.3

Hey all,

I wish all of you a Happy New Year!

I'm thinking of learning Perl Programming. Can any of you help me get
started on how to programming Perl in Debian? I mean what is the file
extension for the perl? Is it .cgi? Do I need to use any compiler for
perl? what is the best choice? How can I test my work(For instance in
PHP programming I can use Firefox browse to the file I want to see the
output)?

I was trying to search on the net and it did give me lots of results.
But because I'm in China and due to the earthquake took place in Taiwan
which very badly demaged the network, most of the webpages could not
loaded. Thanks to the google, which its servers are scattered all over
the world. Get help through google group is my only way now.


happy new year too,
there is a good mailing-list: beginners@perl.org
hth.
--
Gérard



Re: Perl Programming within Debian

2006-12-30 Thread Samuel Bächler

Hi Rocky


 I'm thinking of learning Perl Programming. Can any of you help me get
 started on how to programming Perl in Debian?


In my opinion you should go through *Leaning Perl* by O'Reilly. I quite
liked it. I am sure you will find it somewhere in the web.
To install perl do *apt-get install perl*.

Cheers

Sam


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




Re: GUI and USB question

2006-12-30 Thread Nigel Henry
On Saturday 30 December 2006 19:12, Mark Grieveson wrote:
> > 1st question is, how do I start the GUI (KDE, Gnome, whatever) that I
> > assume is bundled with the distro?
>
> Sometimes, following the initial install, a user needs to log in, and then
> enter the command "startx" to get the gui going.  Afterward, gdm (gnome
> display manager) should just work on it's own. You may need to reconfigure
> the xserver, using
> "dpkg-reconfigure xserver-xfree86" as root.
>
> Mark

Also. And this is going back some time, as I installed my Debian installs from 
Woody 3.0r2 cdroms, I seem to remember that late on in the install you are 
asked to make some choices about X, and the desktop. the first time I 
installed Debian, and I was very new to Linux, I skipped all this and found 
myself with the text login. Not knowing what to do, and having installed the 
packages for Gnome, and KDE, I copped out and reinstalled, and this time took 
the time to make the correct selections for the X, and desktop stuff.

Perhaps if you have installed Sarge, you could run base-config. I'ts no longer 
available on my Etch install, but might take you through initial config stuff 
on Sarge.

Nigel.



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



Re: GUI and USB question

2006-12-30 Thread Samuel Bächler

Hi Keath

Unfortunatly I can not help on every topic you mentioned.


 1st question is, how do I start the GUI (KDE, Gnome, whatever) that I
 assume is bundled with the distro?


Well, as far as I know you have to install these things first.
Type *dpkg -l kde-core* or generally *dpkg -l package* to see wether
you have installed these things. *ii  kde-core...* means kde-core is 
installed.

Anything else means that you have to install it first.

Try some of the things Operator mentioned earlier in this list to 
install stuff

you need:
apt-get update
apt-get install x-window-system-core
apt-get install x-window-system
apt-get install gnome
startx // to start X-Window-Server


 2nd question, completely unrelated, is about when I plug in my USB
 memory stick. The OS spots it and seems to mount it, but I can't find
 the mount point. Where do I cd to in order to find my files that are
 on the stick?


In my opinion you have to mount it manually while using sarge. Check 
your */etc/fstab*-file

where you can mount this kind of devices. On my sarge there is one line like
*/dev/sda1 /usbstick auto user,noauto 0 0* this tells us that I can 
mount a memory-stick

by typing *mount /usbstick*.

As Linas mentioned you will be better off using Etch. Especially when it 
comes to USB you

will apreciate Etch much more since it uses a later kernel version[1].

Hope that helped.
Happy hacking.

Sam

[1] Maybe you can compile your on latest kernel under Sarge.


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




Re: Clone root partition

2006-12-30 Thread Digby Tarvin
I did this only yesterday - but in my case I wanted a mirror
image of the entire system, not just the root partition.

The simplest most bullet proof procedure I could come up with was:
1.  dd if=/dev/hda of=/dev/sda
2.  vi /etc/fstab in the copy and 1,$s/hda/sda/
3.  either 
a. edit /boot/grub/menu.lst on the internal drive
to add a boot obtion passing the USB root to the kernel
or
b. if your host supports USB booting, update the boot sector
on sda to look for the stage 2 boot in the USB partition.

I used for first option, so am not sure if I have covered everything
required for a direct USB boot...

I booted using the USB copy and everything looked to be working fine.

Didn't use 'sync,noerror' in the dd operation because I count on having
perfect media, and if I don't I want to know about it!

Regards,
DigbyT

On Sat, Dec 30, 2006 at 05:45:34PM +, T wrote:
> Hi, 
> 
> I'm trying to compile a comprehensive document on cloning root partitions.
> My immediate goal is to clone my current working Linux to external USB HD,
> so that I can use it wherever I go.
> 
> By comprehensive I mean it should not be as simple minded as
> 
>   dd if=/dev/hda2 of=/dev/sda2
> 
> or 
> 
>   cp -a / /mnt/point
> 
> or 
> 
>   tar -p -m cf - / | (cd /mnt/point; tar xf - )
> 
> I know they work, but there are so many things have been left out. By
> comprehensive, I mean I want to know all relevant things that need to be
> considered.
> 
> For example for dd, let alone its rigid limitation, if you use it, at least
> the 'conv=sync,noerror bs=4k' options should be used: sync,noerror just
> means continue and zero fill any error blocks, bs=4k just writes 4k at a
> time which will speed things up a lot. For cp, at least 'cp -ax' should be
> used.
> 
> But there are still much more to it. 
> 
> First, directories that don't need to copy over, like /tmp, /proc. With
> modern Linux that uses udev, the /dev and /sys don't need to be copied
> either. Anything else (besides distro specifics like /var/cache/apt/archives)?
> 
> 2nd, the clone partition should be made bootable, by grub or lilo.
> 
> Anything else? Like the concerns of /etc/fstab...
> 
> Last, with all the above concerns, how to achieve them with various tools?
> 
> Keywords: tar rsync find cpio dd
> 
> thanks
> 
> PS. If you come across this message late, be it a week or even a month
> late, please do comment, I hope this thread can be a one stop place for
> people looking for concerns over cloning root partitions. 
> 
> 
> -- 
> Tong (remove underscore(s) to reply)
>   http://xpt.sourceforge.net/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: bridging eth1 to eth0

2006-12-30 Thread Andrew Sackville-West
On Sat, Dec 30, 2006 at 10:01:46AM -0500, Matt Price wrote:
> On 12/29/06, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> >On Fri, Dec 29, 2006 at 04:42:49PM -0500, Matt Price wrote:
> >> From: Matt Price <[EMAIL PROTECTED]>
> >> To:   TLUG <[EMAIL PROTECTED]>
> >> Subject:  bridge eth1 to eth0?
> >> Date: Fri, 29 Dec 2006 15:51:31 -0500
> >>
> >>
> >> hi,
> >>
> >> for stupid reasons I need to install via netboot on a compaq tablet
> >> (hoping this will work, it's my last shot!).  I have an ubuntu desktop
> >> with two ethernet cards, eth0 & eth1, and have set up dhcp & tftp on
> >> eth1 as documented in various places on the web, e.g. here:
> >>
> >> http://www.debian-administration.org/articles/478
> >>
> >>
> >> this works fine to a point.  I have the ubuntu edgy netboot images
> >> in /var/lib/tftpboot, my tablet starts up with pxe, finding the images,
> >> and is ready to install but cannot find the broader internet 0-- it
> >> doesn't seem to see past the eth1 subnet.  So, probably a simple
> >> question:  how  do I enable the eth1 traffic to bridge across to eth0
> >> and thus access the whole internet?  I guess it has something to do with
> >> ip forwarding or ip masquarading or one of those very scary and arcane
> >> pieces of dark magic.
> >
> >
> >yes its ip_forward. not scary or arcane. since you're behind a
> >firewall, you may not have to do anything more than turn it on. not
> >sure if it'll pass through back to you -- that may require ip
> >masquerade. simple easy test:
> >
> >as root
> >
> >echo 1 > /proc/sys/net/ipv4/ip_forward
> >
> >and see what happens. that should immediately turn on ip forwarding.
> 
> Thanks Andrew.  I tried this to no effect (even rebooting to make sure
> I wasn't missing a step somewhere).   in a small network like this:

[... snipping pretty ascii art...]

just so you know, that hack doesn't survive a reboot. Marty's advice
probably looks a little daunting, but its not that bad. basically you
may need some routing tables. probably the easiest way to get what you
want, without doing tons of research, is to install a firewall package
like shorewall and tweak its very straightforwad config to allow all
traffic. since you're behind a firewall/router already, that shouldn't
be any problem.

A


> 
> 
> >From the Desktop I can ping 192.168.2.1, www.google.com, or the
> tablet's dhcp-assigned IP address.  From the laptop I can ping
> 192.168.2.1, www.google.com, but not 192.168.0.1 (I suppose that's not
> really surprising).  From the tablet I can ping 192.168.0.1 but
> nothing else.  It's the third part I care about obviously -- do I
> really not need any more complex set up than turning on ip_forward?
> If not, then I guessthere's something messed up in the set up for the
> desktop's networking.  Howm ight I diagnose that?
> Anyway thanks again,
> 
> Matt
> 
> 
> >
> >because you're already behind a router (firewall too?) you don't need
> >any other bits so that may be enough.
> >
> >you should google on this subject a bit.
> >
> >A
> >
> >
> >-BEGIN PGP SIGNATURE-
> >Version: GnuPG v1.4.6 (GNU/Linux)
> >
> >iD8DBQFFlZA0aIeIEqwil4YRAg5OAKDgkq/8t5lSaT6rxp553kLzdxoW3gCfUJAo
> >0bf4D8qBnglaZ8Bj+4M2Yq8=
> >=un0z
> >-END PGP SIGNATURE-
> >
> >
> >
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 


signature.asc
Description: Digital signature


Re: Perl Programming within Debian

2006-12-30 Thread Joe

rocky wrote:

Hey all,

I wish all of you a Happy New Year!

I'm thinking of learning Perl Programming. Can any of you help me get
started on how to programming Perl in Debian? I mean what is the file
extension for the perl? Is it .cgi? Do I need to use any compiler for
perl? what is the best choice? How can I test my work(For instance in
PHP programming I can use Firefox browse to the file I want to see the
output)?

I was trying to search on the net and it did give me lots of results.
But because I'm in China and due to the earthquake took place in Taiwan
which very badly demaged the network, most of the webpages could not
loaded. Thanks to the google, which its servers are scattered all over
the world. Get help through google group is my only way now.



Some more information: Perl has a vast array of libraries or modules,
and Perl tutorials will explain how to get them from the CPAN archive
and install them under Linux. Debian has many of the more important
modules as packages, and it is easier to install them using Debian
tools. Several of the Net::xxx modules are contained in the package
libnet-perl, for example. Google will help find which modules are
available this way, and in which packages. Perl itself is part of the
Debian core, and will already be installed with some module packages.

There are certainly more attractive languages than Perl, which has a
few features which are not intuitive, but I don't think any have the
same range of libraries. You can find a ready-made module to do almost
anything you can imagine.


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




Re: Installing Fonts

2006-12-30 Thread Michelle Konzack
Do following:

> cd ~
> mkdir ~/.fonts

copy all TTF fonts into this directory

> apt-get install xfonts-utils
> cd ~/.fonts
> mkfontscale ./
> mkfontdir   ./
> xset +fp ${HOME}/.fonts
> xset fp rehash

and you are done.

Note:  The last two lines should be included in your ~/.xsession file

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSM LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Migration from Debian/powerpc to Debian/i386

2006-12-30 Thread Andrew Sackville-West
On Sat, Dec 30, 2006 at 01:29:18PM -0300, Eduardo Trápani wrote:
> Hi,
> 
> I'm currently using Debian on an iMac G5. Everything is alright but I 
> have to hand the computer over to another user and I will get a PC in 
> return.
> 
> I'm not sure what would be the best path to follow to recreate my debian 
> environment in the new machine.  I cannot repackage packages because the 
> architecture is different,but maybe there is an automatic tool to save 
> the configuration and the list of packages.

well this is fairly easy using dpkg --get-selections and
--set-selections.

A


signature.asc
Description: Digital signature


Re: GUI and USB question

2006-12-30 Thread Mark Grieveson
> 1st question is, how do I start the GUI (KDE, Gnome, whatever) that I
> assume is bundled with the distro?

Sometimes, following the initial install, a user needs to log in, and then 
enter the command "startx" to get the gui going.  Afterward, gdm (gnome display 
manager) should just work on it's own.  
You may need to reconfigure the xserver, using 
"dpkg-reconfigure xserver-xfree86" as root.

Mark


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



RE: Perl Programming within Debian

2006-12-30 Thread David Christensen
rocky wrote:
> I'm thinking of learning Perl Programming.

Get this book first, read it, and do all of the exercises:

http://www.oreilly.com/catalog/learnperl4/index.html


After that, get these books as references:

http://www.oreilly.com/catalog/pperl3/index.html

http://www.oreilly.com/catalog/perlckbk2/index.html


For CGI scripting, this is the classic:

http://www.wiley.com/legacy/compbooks/stein/

but it is dated.  I'm working through it and writing updated scripts:

http://apache.holgerdanske.com/cgi-pm-book/

I have some others, but haven't studied them in a while.


> Can any of you help me get started on how to programming Perl in
> Debian?

Install these Debian packages (as root):

# apt-get perl-doc
# apt-get perlindex


Then use the perlindex program to browse the documentation (as a user):

$ perlindex learn


> I mean what is the file extension for the perl? Is it .cgi?

For command-line scripts, I don't use any extension so that they are
invoked just like any other command-line program.


For CGI scripts, I use .cgi for CGI scripts that run in the traditional
CGI way and .pl for CGI scripts run with mod_perl Apache::Registry
acceleration (the later is 10x faster, but there are subtle differences
that break some scripts and I haven't figure out all the details yet).


> Do I need to use any compiler for perl?  what is the best choice?

A standard Debian installation includes the Perl interpreter:

2006-12-30 09:32:09 [EMAIL PROTECTED] ~
$ perl -v

This is perl, v5.8.4 built for i386-linux-thread-multi
...

which includes the Perl debugger (-d command line option).


> How can I test my work(For instance in PHP programming I can use
> Firefox browse to the file I want to see the output)?

For command-line scripts, you can run them from the command line with or
without the debugger.


For CGI scripts, you can run them as above and/or have your web server
run them.  The web server can either call the command-line Perl
interpreter, load a Perl interpreter module (mod_perl), or have a Perl
interpreter already compiled in.  I prefer the last choice:

apt-get apache-perl


> I was trying to search on the net and it did give me lots of results.

Yup.  I'd recommend starting here:

http://www.perl.org/


FYI the best place for asking Perl language questions is the usenet
newsgroup:

comp.lang.perl.misc

and for Perl CGI questions:

comp.infosystems.www.authoring.cgi


HTH,

David


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



Re: Perl Programming within Debian

2006-12-30 Thread Hugo Vanwoerkom

ccostin wrote:

Now, my personal views:

Perl is the Visual Basic of the open source world. It's possible to write
good Perl code, but the structure and facilities of the language 
encourage

bad habits and unreadable code. If you want to learn an open source
scripting language, learn Ruby or Python. I prefer Ruby, but either one
will encourage better programming discipline than Perl. The information
about Perl I gave above pretty much applies to Ruby and Python as 
well. Any

of them are just an apt-get away.



What about Rexx ?




Wow! I am thrown back to VM/CMS 20 years ago. Is Rexx around?
I see regina-rexx. I have the "the" editor installed that we used with that!

Hugo


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




Clone root partition

2006-12-30 Thread T
Hi, 

I'm trying to compile a comprehensive document on cloning root partitions.
My immediate goal is to clone my current working Linux to external USB HD,
so that I can use it wherever I go.

By comprehensive I mean it should not be as simple minded as

  dd if=/dev/hda2 of=/dev/sda2

or 

  cp -a / /mnt/point

or 

  tar -p -m cf - / | (cd /mnt/point; tar xf - )

I know they work, but there are so many things have been left out. By
comprehensive, I mean I want to know all relevant things that need to be
considered.

For example for dd, let alone its rigid limitation, if you use it, at least
the 'conv=sync,noerror bs=4k' options should be used: sync,noerror just
means continue and zero fill any error blocks, bs=4k just writes 4k at a
time which will speed things up a lot. For cp, at least 'cp -ax' should be
used.

But there are still much more to it. 

First, directories that don't need to copy over, like /tmp, /proc. With
modern Linux that uses udev, the /dev and /sys don't need to be copied
either. Anything else (besides distro specifics like /var/cache/apt/archives)?

2nd, the clone partition should be made bootable, by grub or lilo.

Anything else? Like the concerns of /etc/fstab...

Last, with all the above concerns, how to achieve them with various tools?

Keywords: tar rsync find cpio dd

thanks

PS. If you come across this message late, be it a week or even a month
late, please do comment, I hope this thread can be a one stop place for
people looking for concerns over cloning root partitions. 


-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/


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



Re: Perl Programming within Debian

2006-12-30 Thread ccostin

Now, my personal views:

Perl is the Visual Basic of the open source world. It's possible to write
good Perl code, but the structure and facilities of the language encourage
bad habits and unreadable code. If you want to learn an open source
scripting language, learn Ruby or Python. I prefer Ruby, but either one
will encourage better programming discipline than Perl. The information
about Perl I gave above pretty much applies to Ruby and Python as well. Any
of them are just an apt-get away.



What about Rexx ?


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




Re: Wierd problem with a script that calls nail

2006-12-30 Thread s. keeling
brian <[EMAIL PROTECTED]>:
>  Kevin Mark wrote:
> > On Sat, Dec 30, 2006 at 01:49:12PM +0100, Brian wrote:
> >> 
> >> I have a Debian Sarge box and an NSLU2 (Unslung) that I have setup to 
> >> send me mails when they startup, reboot, and do various other things, 
> >> they use Nail to sned the emails to me. I tried to setup my mothers PC 
> >
> > try adding some logging to the script at the beginning and the end to a
> > a file.
> 
>  mailtext.sh
>  #!/bin/sh
>  set -x
>  /bin/logger "/opt/sbin/mailtext Sending "$1" to Brian"
> 
>  echo "$2" | nail -v -s Slug1:"$1"  [EMAIL PROTECTED]
> 
>  That gives plenty of output, just can't figure out a way to capture it yet.

At a command line:

   script
   echo "$2" | \
  nail -v -s Slug1:"$1"  [EMAIL PROTECTED] # <-- replace
   # $1,2


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


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



Re: Perl Programming within Debian

2006-12-30 Thread Kevin Mark
On Sat, Dec 30, 2006 at 08:06:51AM -0800, rocky wrote:
> Hey all,
> 
> I wish all of you a Happy New Year!
> 
> I'm thinking of learning Perl Programming. Can any of you help me get
> started on how to programming Perl in Debian? 
Hi Rocky,
welcome to the world of fun! At this point you can learn Bash, perl,
ruby, python or php, all with the same amount of ease. 
> I mean what is the file extension for the perl?
perl is an interpreted language as oppose to a compiled one like C.
you just edit a text file and give it to the perl interpreter:
---
vi myfirstperlscript.txt
perl myfirstperlscript.txt
---
there technical is not need for an 'extension' (ala MSDOS). But the
popular convention is to use '.pl'.

> Is it .cgi? Do I need to use any compiler for
> perl? what is the best choice?
To begin, you will need the basic perl setup which is part of all Gnu
systems. As you progress, you may need more functions.
> How can I test my work(For instance in
> PHP programming I can use Firefox browse to the file I want to see the
> output)?
If you just write a basic perl program that is part of a web server, you
just go to the console and run it like this:
---
perl myprogram.pl
---
> 
> I was trying to search on the net and it did give me lots of results.
> But because I'm in China and due to the earthquake took place in Taiwan
> which very badly damaged the network, most of the webpages could not
> loaded. Thanks to the google, which its servers are scattered all over
> the world. Get help through google group is my only way now.
Oh well, hope that get fixed.
if the meanwhile, the best thing to do is find some tutorial from google
and to find a simple project that you want to do as a way to try out
your new skills. One more thing: on unix systems, the first line of any
program is setup a certain way:
for perl, this is:
#!/usr/bin/perl
for bash, this is:
#!/bin/bash

Here is a simple program:
---
#!/usr/bin/perl
use warnings;
use strict;
print "Hello World!\n"
---
the 2 'use' lines are very important to use to make sure that you
program well.
cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |


signature.asc
Description: Digital signature


Re: Perl Programming within Debian

2006-12-30 Thread Gregory Seidman
On Sat, Dec 30, 2006 at 08:06:51AM -0800, rocky wrote:
} Hey all,
} 
} I wish all of you a Happy New Year!
} 
} I'm thinking of learning Perl Programming. Can any of you help me get
} started on how to programming Perl in Debian? I mean what is the file
} extension for the perl? Is it .cgi? Do I need to use any compiler for
} perl? what is the best choice? How can I test my work(For instance in
} PHP programming I can use Firefox browse to the file I want to see the
} output)?
[...]

First, the information you are asking for:

- Perl code is interpreted by the perl executable
- the interpreter doesn't really care what the file extension is, but by
  convention most people use .pl
- it's an interpreter, not a compiler, and you pretty much only need the
  one (I think there's a way to compile down to the intermediate bytecode,
  but you certainly don't need that while you're just learning)
- test it by running your code; there is also at least one unit test
  framework, I believe

Now, my personal views:

Perl is the Visual Basic of the open source world. It's possible to write
good Perl code, but the structure and facilities of the language encourage
bad habits and unreadable code. If you want to learn an open source
scripting language, learn Ruby or Python. I prefer Ruby, but either one
will encourage better programming discipline than Perl. The information
about Perl I gave above pretty much applies to Ruby and Python as well. Any
of them are just an apt-get away.

} Thanks a lot in advance!
} Rocky
--Greg


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



Re: Wierd problem with a script that calls nail

2006-12-30 Thread Kevin Mark
On Sat, Dec 30, 2006 at 03:48:24PM +0100, brian wrote:
> Kevin Mark wrote:
> >On Sat, Dec 30, 2006 at 01:49:12PM +0100, Brian wrote:
> >>Hi,
> >>I have a Debian Sarge box and an NSLU2 (Unslung) that I have setup to 
> >>send me mails when they startup, reboot, and do various other things, 
> >>they use Nail to sned the emails to me. I tried to setup my mothers PC 
> >>to do the same, no way I can get it to work. If I run the scripts by 
> >>hand all works OK.
> >>So I have a script /usr/sbin/mailtext.sh, that calls Nail with 2 
> >>parameters.  In RC.0, RC.3 and RC.5 is have symbolic links to a script 
> >>in /etc/init.d that calls mailtext.sh.
> >>
> >>Mailtext gets called, and I have inserted logger statements in the 
> >>script, those messages appear in my /var/log/messages, so I know that my 
> >>script is called when it should be.
> >>
> >>But, I never get the mails. If I run the script by hand as root then I 
> >>get the mail. So I thought maybe something else needs to be started 
> >>beforehand, but this runs as last in rc.3 amd rc.5, so network is up by 
> >>then.
> >>
> >>Just wondering how to debug this further, how can I get any error 
> >>messages from nail into my logs? All I tried up till now doesn't seem to 
> >>work.
> >>
> >>Cheers Brian
> >>
> >try adding some logging to the script at the beginning and the end to a
> >a file.
> >echo "starting my script" >> mylogfile.log
> >cheers,
> >Kev
> Kev,
> 
> just FYI here is the script:
> 
> mailtext.sh
> #!/bin/sh
> set -x
> /bin/logger "/opt/sbin/mailtext Sending "$1" to Brian"
> 
> echo "$2" | nail -v -s Slug1:"$1"  [EMAIL PROTECTED]
> 
> That gives plenty of output, just can't figure out a way to capture it yet.
> 
> Cheers Brian
echo "$2" | nail -v -s Slug1:"$1"  [EMAIL PROTECTED] >> mylogfile 2>&1
-Kev
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |


signature.asc
Description: Digital signature


Perl Programming within Debian

2006-12-30 Thread rocky
Hey all,

I wish all of you a Happy New Year!

I'm thinking of learning Perl Programming. Can any of you help me get
started on how to programming Perl in Debian? I mean what is the file
extension for the perl? Is it .cgi? Do I need to use any compiler for
perl? what is the best choice? How can I test my work(For instance in
PHP programming I can use Firefox browse to the file I want to see the
output)?

I was trying to search on the net and it did give me lots of results.
But because I'm in China and due to the earthquake took place in Taiwan
which very badly demaged the network, most of the webpages could not
loaded. Thanks to the google, which its servers are scattered all over
the world. Get help through google group is my only way now.

Thanks a lot in advance!
Rocky


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



Perl Programming within Debian

2006-12-30 Thread rocky
Hey all,

I wish all of you a Happy New Year!

I'm thinking of learning Perl Programming. Can any of you help me get
started on how to programming Perl in Debian? I mean what is the file
extension for the perl? Is it .cgi? Do I need to use any compiler for
perl? what is the best choice? How can I test my work(For instance in
PHP programming I can use Firefox browse to the file I want to see the
output)?

I was trying to search on the net and it did give me lots of results.
But because I'm in China and due to the earthquake took place in Taiwan
which very badly demaged the network, most of the webpages could not
loaded. Thanks to the google, which its servers are scattered all over
the world. Get help through google group is my only way now.

Thanks a lot in advance!
Rocky


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



Re: bridging eth1 to eth0

2006-12-30 Thread Marty

Marty wrote:
  There is a
dedicated Debian package called guarddog which produces such a script.  You 
might want to take a look at its docs to get an idea of what's required.


Sorry, I meant guidedog, not guarddog.


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




Re: bridging eth1 to eth0

2006-12-30 Thread Marty

Matt Price wrote:

On 12/29/06, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

On Fri, Dec 29, 2006 at 04:42:49PM -0500, Matt Price wrote:
> From: Matt Price <[EMAIL PROTECTED]>
> To:   TLUG <[EMAIL PROTECTED]>
> Subject:  bridge eth1 to eth0?
> Date: Fri, 29 Dec 2006 15:51:31 -0500
>
>
> hi,
>
> for stupid reasons I need to install via netboot on a compaq tablet
> (hoping this will work, it's my last shot!).  I have an ubuntu desktop
> with two ethernet cards, eth0 & eth1, and have set up dhcp & tftp on
> eth1 as documented in various places on the web, e.g. here:
>
> http://www.debian-administration.org/articles/478
>
>
> this works fine to a point.  I have the ubuntu edgy netboot images
> in /var/lib/tftpboot, my tablet starts up with pxe, finding the images,
> and is ready to install but cannot find the broader internet 0-- it
> doesn't seem to see past the eth1 subnet.  So, probably a simple
> question:  how  do I enable the eth1 traffic to bridge across to eth0
> and thus access the whole internet?  I guess it has something to do with
> ip forwarding or ip masquarading or one of those very scary and arcane
> pieces of dark magic.


yes its ip_forward. not scary or arcane. since you're behind a
firewall, you may not have to do anything more than turn it on. not
sure if it'll pass through back to you -- that may require ip
masquerade. simple easy test:

as root

echo 1 > /proc/sys/net/ipv4/ip_forward

and see what happens. that should immediately turn on ip forwarding.


Thanks Andrew.  I tried this to no effect (even rebooting to make sure
I wasn't missing a step somewhere).   in a small network like this:

WAN
 |
 |
 |

| cheap linksys router |192.168.2.1

| |
| |
|   (DHCP CLIENT)   |(192.168.2.210, 192.168.0.1)  (DHCP client)
--- ---
-
laptop  || Desktop   | |Tablet|
--- -
-


From the Desktop I can ping 192.168.2.1, www.google.com, or the

tablet's dhcp-assigned IP address.  From the laptop I can ping
192.168.2.1, www.google.com, but not 192.168.0.1 (I suppose that's not
really surprising).  From the tablet I can ping 192.168.0.1 but
nothing else.  It's the third part I care about obviously -- do I
really not need any more complex set up than turning on ip_forward?
If not, then I guessthere's something messed up in the set up for the
desktop's networking.  Howm ight I diagnose that?
Anyway thanks again,

Matt


You need several networking kernel drivers as modules or compiled into the 
kernel, including drivers for iptables, packet routing, and bridging.  You can 
run the command lsmod (if using modules) or if using compiled-in drivers, "zcat 
/proc/config.gz |grep NET|grep -v \#" to see what drivers you are currently 
running, as well as read up on driver options in the kernel docs.  If you are 
unfamiliar with the kernel, then you could try posting of the results of these 
commands so other list members can tell if you have the necessary drivers.


In addition to the /proc filesystem configuration command that others have 
mentioned, you also need runtime modifications to iptables.  These are often 
done using a firewall script run by init, or manually scripted.  There is a 
dedicated Debian package called guarddog which produces such a script.  You 
might want to take a look at its docs to get an idea of what's required.



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




Migration from Debian/powerpc to Debian/i386

2006-12-30 Thread Eduardo Trápani

Hi,

I'm currently using Debian on an iMac G5. Everything is alright but I 
have to hand the computer over to another user and I will get a PC in 
return.


I'm not sure what would be the best path to follow to recreate my debian 
environment in the new machine.  I cannot repackage packages because the 
architecture is different,but maybe there is an automatic tool to save 
the configuration and the list of packages.


On top of that, I don't know if things like MySQL databases can be 
simply copied or if I should export/import them.  Is there a way to know 
if a package data is platform independent?  (little/big endian issues 
and things like that).


Thanks, Eduardo.


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




uninplemented/unsuported functions ?

2006-12-30 Thread ccostin

Hello

What happen with some functions from php-gd extension :
* imageconvolution
* imagefilter
* imageantialias
not appearing  in output of php --re gd and calling them from a php
code, an error "Call to undefined function imageconvolution()" occur.

Packages/version
php5-gd   5.2.0-7
libapache2-mod-php5 5.2.0-7
php5-cli5.2.0-7


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




Re: Wierd problem with a script that calls nail

2006-12-30 Thread brian

Kevin Mark wrote:

On Sat, Dec 30, 2006 at 01:49:12PM +0100, Brian wrote:

Hi,
I have a Debian Sarge box and an NSLU2 (Unslung) that I have setup to 
send me mails when they startup, reboot, and do various other things, 
they use Nail to sned the emails to me. I tried to setup my mothers PC 
to do the same, no way I can get it to work. If I run the scripts by 
hand all works OK.
So I have a script /usr/sbin/mailtext.sh, that calls Nail with 2 
parameters.  In RC.0, RC.3 and RC.5 is have symbolic links to a script 
in /etc/init.d that calls mailtext.sh.


Mailtext gets called, and I have inserted logger statements in the 
script, those messages appear in my /var/log/messages, so I know that my 
script is called when it should be.


But, I never get the mails. If I run the script by hand as root then I 
get the mail. So I thought maybe something else needs to be started 
beforehand, but this runs as last in rc.3 amd rc.5, so network is up by 
then.


Just wondering how to debug this further, how can I get any error 
messages from nail into my logs? All I tried up till now doesn't seem to 
work.


Cheers Brian


try adding some logging to the script at the beginning and the end to a
a file.
echo "starting my script" >> mylogfile.log
cheers,
Kev

Kev,

just FYI here is the script:

mailtext.sh
#!/bin/sh
set -x
/bin/logger "/opt/sbin/mailtext Sending "$1" to Brian"

echo "$2" | nail -v -s Slug1:"$1"  [EMAIL PROTECTED]

That gives plenty of output, just can't figure out a way to capture it yet.

Cheers Brian











1Help   2Save   3Mark   4Replac 5Copy   6Move   7Search 8Delete 9PullDn 
10Quit



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




Re: Wierd problem with a script that calls nail

2006-12-30 Thread brian

Kevin Mark wrote:

On Sat, Dec 30, 2006 at 01:49:12PM +0100, Brian wrote:

Hi,
I have a Debian Sarge box and an NSLU2 (Unslung) that I have setup to 
send me mails when they startup, reboot, and do various other things, 
they use Nail to sned the emails to me. I tried to setup my mothers PC 
to do the same, no way I can get it to work. If I run the scripts by 
hand all works OK.
So I have a script /usr/sbin/mailtext.sh, that calls Nail with 2 
parameters.  In RC.0, RC.3 and RC.5 is have symbolic links to a script 
in /etc/init.d that calls mailtext.sh.


Mailtext gets called, and I have inserted logger statements in the 
script, those messages appear in my /var/log/messages, so I know that my 
script is called when it should be.


But, I never get the mails. If I run the script by hand as root then I 
get the mail. So I thought maybe something else needs to be started 
beforehand, but this runs as last in rc.3 amd rc.5, so network is up by 
then.


Just wondering how to debug this further, how can I get any error 
messages from nail into my logs? All I tried up till now doesn't seem to 
work.


Cheers Brian


try adding some logging to the script at the beginning and the end to a
a file.
echo "starting my script" >> mylogfile.log
cheers,
Kev

Kev,

thats what the Logger statements do. But I cannot seem to capture the 
verbose output of nail to see what that is doing.


Cheers Brian


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




Re: bridging eth1 to eth0

2006-12-30 Thread Matt Price

On 12/29/06, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

On Fri, Dec 29, 2006 at 04:42:49PM -0500, Matt Price wrote:
> From: Matt Price <[EMAIL PROTECTED]>
> To:   TLUG <[EMAIL PROTECTED]>
> Subject:  bridge eth1 to eth0?
> Date: Fri, 29 Dec 2006 15:51:31 -0500
>
>
> hi,
>
> for stupid reasons I need to install via netboot on a compaq tablet
> (hoping this will work, it's my last shot!).  I have an ubuntu desktop
> with two ethernet cards, eth0 & eth1, and have set up dhcp & tftp on
> eth1 as documented in various places on the web, e.g. here:
>
> http://www.debian-administration.org/articles/478
>
>
> this works fine to a point.  I have the ubuntu edgy netboot images
> in /var/lib/tftpboot, my tablet starts up with pxe, finding the images,
> and is ready to install but cannot find the broader internet 0-- it
> doesn't seem to see past the eth1 subnet.  So, probably a simple
> question:  how  do I enable the eth1 traffic to bridge across to eth0
> and thus access the whole internet?  I guess it has something to do with
> ip forwarding or ip masquarading or one of those very scary and arcane
> pieces of dark magic.


yes its ip_forward. not scary or arcane. since you're behind a
firewall, you may not have to do anything more than turn it on. not
sure if it'll pass through back to you -- that may require ip
masquerade. simple easy test:

as root

echo 1 > /proc/sys/net/ipv4/ip_forward

and see what happens. that should immediately turn on ip forwarding.


Thanks Andrew.  I tried this to no effect (even rebooting to make sure
I wasn't missing a step somewhere).   in a small network like this:

WAN
|
|
|

| cheap linksys router |192.168.2.1

| |
| |
|   (DHCP CLIENT)   |(192.168.2.210, 192.168.0.1)  (DHCP client)
--- ---
-
laptop  || Desktop   | |Tablet|
--- -
-


From the Desktop I can ping 192.168.2.1, www.google.com, or the

tablet's dhcp-assigned IP address.  From the laptop I can ping
192.168.2.1, www.google.com, but not 192.168.0.1 (I suppose that's not
really surprising).  From the tablet I can ping 192.168.0.1 but
nothing else.  It's the third part I care about obviously -- do I
really not need any more complex set up than turning on ip_forward?
If not, then I guessthere's something messed up in the set up for the
desktop's networking.  Howm ight I diagnose that?
Anyway thanks again,

Matt




because you're already behind a router (firewall too?) you don't need
any other bits so that may be enough.

you should google on this subject a bit.

A


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFlZA0aIeIEqwil4YRAg5OAKDgkq/8t5lSaT6rxp553kLzdxoW3gCfUJAo
0bf4D8qBnglaZ8Bj+4M2Yq8=
=un0z
-END PGP SIGNATURE-






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




Re: /dev/dsp missing (SOLVED)

2006-12-30 Thread Benjamí Villoslada
I've seen this message durning one reboot (in order to test oss modules 
load): "/etc/modprobe.conf exists but does not include /etc/modprobe.d/!"

I see that my /etc/modprobe.conf is empty (no idea about the reason)  I've 
added include /etc/modprobe.d and now the system loads oss modules on boot:

$ cat /etc/modprobe.conf
include /etc/modprobe.d
$ lsmod|grep -i oss
snd_pcm_oss38368  0
snd_mixer_oss  15200  1 snd_pcm_oss
snd_pcm68644  3 snd_cmipci,snd_pcm_oss
snd_seq_oss28768  0
snd_seq_midi_event  7008  2 snd_seq_oss,snd_seq_midi
snd_seq45680  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_seq_device  7820  6 
snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd47012  16 
snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device


-- 
Benjamí
http://blog.bitassa.cat



.



RE: can't see wireless card

2006-12-30 Thread Tom Raus
Yes the error message that module format is invalid is related to for
example your kernel source files not matching your actually installed
kernel, or your kernel not living up to the expectations of the rt61
install. I have a rt61 wifi card aswell and I installed it with a 2.6.17
kernel (2.6.19 is giving me problems). I don't know about your system but
upgrading your kernel should only take a few hours (especially doing it the
debian way)

Friendly regards,
Tom R.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Avishai
Sent: zaterdag 30 december 2006 13:11
To: debian-user@lists.debian.org
Subject: Re: can't see wireless card


Hello,

> It seems that "RaLink device 0301" means this:
>
> 1814  RaLink
>
>   0301  RT2561/RT61 802.11g PCI
> 1186 3c08  DWL-G630 Rev E
> 1186 3c09  DWL-G510 Rev C
> 1737 0055  WMP54G ver 4.1
>
> (You can find this information at http://pciids.sourceforge.net/pci.ids
>  or in /usr/share/misc/pci.ids if you use the "update-pciids" command
>  from the "pciutils" package.)

I've got an Edimax EW-7128g PCI card, and according to
http://ralink.rapla.net/ and some other websites, this card uses the
rt2500 chipset (that's why I went for the rt2500 package in the first
place). However, it appears that wireless manufacturers are known to
change the chipset without telling anyone, so I went ahead and gave
rt61 a try.

> That looks like you will need the "rt61" module for this card. I cannot
> find the source for this module with module-assistant, so you will
> probably have to compile it manually. You might also have to upgrade to
> a newer kernel. (The instructions at the URL given above mention version
> 2.6.15.)
>

I've compiled the module on my system (still using the old kernel, I
think that trying to upgrade my kernel with no direct internet access
might take away a few days of my life), and it completed successfully,
with the creation of rt61.ko. When I try to modprobe rt61, I get a
'Invalid module format' message (or similiar to that). You think that
is related to the kernel version, or is there another thing I'm
missing?

> -- 
> Regards,
>   Florian

Thanks a lot,
Avishai.


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


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



Re: Wierd problem with a script that calls nail

2006-12-30 Thread Kevin Mark
On Sat, Dec 30, 2006 at 01:49:12PM +0100, Brian wrote:
> Hi,
> I have a Debian Sarge box and an NSLU2 (Unslung) that I have setup to 
> send me mails when they startup, reboot, and do various other things, 
> they use Nail to sned the emails to me. I tried to setup my mothers PC 
> to do the same, no way I can get it to work. If I run the scripts by 
> hand all works OK.
> So I have a script /usr/sbin/mailtext.sh, that calls Nail with 2 
> parameters.  In RC.0, RC.3 and RC.5 is have symbolic links to a script 
> in /etc/init.d that calls mailtext.sh.
> 
> Mailtext gets called, and I have inserted logger statements in the 
> script, those messages appear in my /var/log/messages, so I know that my 
> script is called when it should be.
> 
> But, I never get the mails. If I run the script by hand as root then I 
> get the mail. So I thought maybe something else needs to be started 
> beforehand, but this runs as last in rc.3 amd rc.5, so network is up by 
> then.
> 
> Just wondering how to debug this further, how can I get any error 
> messages from nail into my logs? All I tried up till now doesn't seem to 
> work.
> 
> Cheers Brian
> 
try adding some logging to the script at the beginning and the end to a
a file.
echo "starting my script" >> mylogfile.log
cheers,
Kev
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal | debian.home.pipeline.com |
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
| my keysever: pgp.mit.edu   | my NPO: cfsg.org |


signature.asc
Description: Digital signature


Unidentified subject!

2006-12-30 Thread jlo-cute-butt



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



Re: xorg overloaded

2006-12-30 Thread Kent West
pol wrote:
> Kent West wrote:
>   
>> If it's really X, then you shouldn't need to shut off your laptop;
>> simply restarting the X server should solve the problem. If it doesn't,
>> the problem is not X, but something else.
>>
>> 
>
> Ok, I will try to restart X, next time.
>
> Are you suspecting 'top' is not a reliable program?
>   

Not at all; you just didn't provide that detail in your first post.


-- 
Kent West
Westing Peacefully 


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



Re: /dev/dsp missing

2006-12-30 Thread Benjamí Villoslada
El Dissabte 30 Desembre 2006 14:14, Nigel Henry va escriure:

> It's worth checking if the alsa-oss package is available on synaptic, and
> installing it if so.

I've installed alsa-oss without results :(

> Strange that Xmms was working ok. Perhaps apt-get updates for Sid have
> removed the alsa-oss package for some reason.

I can't see it in aptitude logs --always I use aptitude.  Only one oss-compat 
0.0.3 to 0.0.4 at Oct 2 2006.   Seems that I never installed alsa-oss, but 
oss works in my system before the last week  :??

I can manually load oss modules:

$ sudo modprobe snd-pcm-oss
$ lsmod |grep -i oss
snd_pcm_oss38368  0
snd_mixer_oss  15200  1 snd_pcm_oss
snd_pcm68644  2 snd_pcm_oss,snd_cmipci
snd47012  10 
snd_pcm_oss,snd_mixer_oss,snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device

And have this in /etc/modules.conf but the boot process doesn't load those 
modules:

--
### update-modules: start processing /etc/modutils/alsa-base
# autoloader aliases
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
alias sound-slot-2 snd-card-2
alias sound-slot-3 snd-card-3
alias sound-slot-4 snd-card-4
alias sound-slot-5 snd-card-5
alias sound-slot-6 snd-card-6
alias sound-slot-7 snd-card-7
above sound-slot-0 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-1 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-2 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-3 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-4 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-5 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-6 snd-pcm-oss snd-mixer-oss snd-seq-oss
above sound-slot-7 snd-pcm-oss snd-mixer-oss snd-seq-oss
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
# Load optional modules above their base modules
above snd-pcm snd-pcm-oss
above snd-mixer snd-mixer-oss
above snd-seq snd-seq-oss snd-seq-midi
above snd-emu10k1 snd-emu10k1-synth
above snd-via82xx snd-seq
--

Thanks :)

-- 
Benjamí
http://blog.bitassa.cat



.



Re: GUI and USB question

2006-12-30 Thread Linas Žvirblis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Keith Willis wrote:

> I've completed my install of Debian v3.1r4 "sarge", from the
> downloaded DVD images.  I reboot, and I'm at the familiar CLI login
> prompt.

First of all, I should note that "Sarge" is a bit dated. The next
release codenamed "Etch" is going to be released real soon, and you can
already use a beta version. So if you do not mind using something not
100% stable, and have not yet done much with your install, I suggest you
download "Etch" [0] and do a clean reinstall. It contains numerous
improvements and should get you going real fast.

[0] http://www.debian.org/devel/debian-installer/

> 1st question is, how do I start the GUI (KDE, Gnome, whatever) that I
> assume is bundled with the distro?

My memories of how things worked in "Sarge" are a bit hazy, but...

If you just did a base install then CLI is all you get. To get GNOME,
run this as root:

 "apt-get install aptitude" (installs a neat CLI package manager)
 "aptitude install gnome gdm xserver-xfree86"

> 2nd question, completely unrelated, is about when I plug in my USB
> memory stick.  The OS spots it and seems to mount it, but I can't find
> the mount point.  Where do I cd to in order to find my files that are
> on the stick?

When you plug in the USB memory stick, it should appear as SCSI disc in
"/dev" (such as "/dev/sda1" or similar). You can then mount it wherever
you feel like.

 "mount /dev/sda1 /mnt/whateverdir"

You will not need to be bothered about all of this once you get your
desktop environment running.

> Oh, and one last one; I don't suppose anyone has the faintest idea how
> to make the OS talk to a Hawking Technologies HWU8DD USB WiFi dish? If
> not, I'll just get a cheapie WRT54GL and use that as a WiFi client,
> but I guess it's worth asking first...

Cannot help you on this one, sorry.

I still strongly suggest you install "Etch". You will _not_ need to
reinstall it once the final is released - Debian has the best package
management/upgrade system out there.

You also do not need all the CDs/DVDs, Debian can install missing
packages directly from the net.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFlmiyztOe9mov/y4RAjWkAJ9JgI1r8eoxxwjFtUoTESnZDnq3TwCgr81M
kwmPrk2kCA83m8npYFF4ulA=
=L6RC
-END PGP SIGNATURE-


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



Re: /dev/dsp missing

2006-12-30 Thread Nigel Henry
On Saturday 30 December 2006 03:46, Benjamí Villoslada wrote:
> /dev/dsp is missing in my Debian Sid --I've used it one week ago with XMMS.
>
> I've tried a oss-compat reinstallation, and have /dev/dsp again.  But
> disappears with the system reboot.
>
> I've run alsaconf again.   ALSA works fine.
>
> Any idea? Thanks :)
>
> Installed packages:
>
> $ dpkg -l "*oss*" | grep ^i | awk '{print $2, $3}'
> oss-compat 0.0.4
>
> $ dpkg -l "*alsa*" | grep ^i | awk '{print $2, $3}'
> alsa-base 1.0.13-3
> alsa-firmware-loaders 1.0.13-1
> alsa-tools 1.0.13-1
> alsa-utils 1.0.13-1
> alsamixergui 0.9.0rc2-1-9
> libsdl1.2debian-alsa 1.2.11-7
>
> Kernel:
> $ uname -a
> Linux itaca 2.6.18-3-686 #1 SMP Sun Dec 10 19:37:06 UTC 2006 i686 GNU/Linux
>
> Regards,

It's worth checking if the alsa-oss package is available on synaptic, and 
installing it if so.

Strange that Xmms was working ok. Perhaps apt-get updates for Sid have removed 
the alsa-oss package for some reason.

Nigel.




Wierd problem with a script that calls nail

2006-12-30 Thread Brian

Hi,
I have a Debian Sarge box and an NSLU2 (Unslung) that I have setup to 
send me mails when they startup, reboot, and do various other things, 
they use Nail to sned the emails to me. I tried to setup my mothers PC 
to do the same, no way I can get it to work. If I run the scripts by 
hand all works OK.
So I have a script /usr/sbin/mailtext.sh, that calls Nail with 2 
parameters.  In RC.0, RC.3 and RC.5 is have symbolic links to a script 
in /etc/init.d that calls mailtext.sh.


Mailtext gets called, and I have inserted logger statements in the 
script, those messages appear in my /var/log/messages, so I know that my 
script is called when it should be.


But, I never get the mails. If I run the script by hand as root then I 
get the mail. So I thought maybe something else needs to be started 
beforehand, but this runs as last in rc.3 amd rc.5, so network is up by 
then.


Just wondering how to debug this further, how can I get any error 
messages from nail into my logs? All I tried up till now doesn't seem to 
work.


Cheers Brian


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




Re: can't see wireless card

2006-12-30 Thread Avishai

Hello,

> It seems that "RaLink device 0301" means this:
>
> 1814  RaLink
>
>   0301  RT2561/RT61 802.11g PCI
> 1186 3c08  DWL-G630 Rev E
> 1186 3c09  DWL-G510 Rev C
> 1737 0055  WMP54G ver 4.1
>
> (You can find this information at http://pciids.sourceforge.net/pci.ids
>  or in /usr/share/misc/pci.ids if you use the "update-pciids" command
>  from the "pciutils" package.)

I've got an Edimax EW-7128g PCI card, and according to
http://ralink.rapla.net/ and some other websites, this card uses the
rt2500 chipset (that's why I went for the rt2500 package in the first
place). However, it appears that wireless manufacturers are known to
change the chipset without telling anyone, so I went ahead and gave
rt61 a try.

> That looks like you will need the "rt61" module for this card. I cannot
> find the source for this module with module-assistant, so you will
> probably have to compile it manually. You might also have to upgrade to
> a newer kernel. (The instructions at the URL given above mention version
> 2.6.15.)
>

I've compiled the module on my system (still using the old kernel, I
think that trying to upgrade my kernel with no direct internet access
might take away a few days of my life), and it completed successfully,
with the creation of rt61.ko. When I try to modprobe rt61, I get a
'Invalid module format' message (or similiar to that). You think that
is related to the kernel version, or is there another thing I'm
missing?

> -- 
> Regards,
>   Florian

Thanks a lot,
Avishai.


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



GUI and USB question

2006-12-30 Thread Keith Willis

Hello,

Right, although I have quite a bit of experience as a Un*x software
developer, I am a total newb to GNU/Linux and sysadmin stuff in
general, so please bear with me.

I've completed my install of Debian v3.1r4 "sarge", from the
downloaded DVD images.  I reboot, and I'm at the familiar CLI login
prompt.

1st question is, how do I start the GUI (KDE, Gnome, whatever) that I
assume is bundled with the distro?

2nd question, completely unrelated, is about when I plug in my USB
memory stick.  The OS spots it and seems to mount it, but I can't find
the mount point.  Where do I cd to in order to find my files that are
on the stick?

Oh, and one last one; I don't suppose anyone has the faintest idea how
to make the OS talk to a Hawking Technologies HWU8DD USB WiFi dish? If
not, I'll just get a cheapie WRT54GL and use that as a WiFi client,
but I guess it's worth asking first...

Thanks in advance,
klw
-- 
http://www.bytebrothers.co.uk (not currently working)
PGP key ID 0xEB7180EC



Re: bridging eth1 to eth0

2006-12-30 Thread Gilles Mocellin
Le samedi 30 décembre 2006 00:42, Andrew Sackville-West a écrit :
> On Sat, Dec 30, 2006 at 12:28:33AM +0100, Gilles Mocellin wrote:
> > Le samedi 30 décembre 2006 00:09, Andrew Sackville-West a écrit :
> > > On Fri, Dec 29, 2006 at 11:04:01PM +0100, Sven Arvidsson wrote:
> > > > On Fri, 2006-12-29 at 16:42 -0500, Matt Price wrote:
> >
> > [...]
> >
> > > > echo 1 > /proc/sys/net/ipv4/ip_forward
> > > >
> > > > There might be a more permanent and Debian friendly way to do this,
> > > > but it'll work in a pinch.
> > >
> > > you can modify /etc/network/options. its very self-explanatory.
> >
> > No ! This file is deprecated.
> > Use /etc/sysctl.conf instead.
>
> doh! you're right. How many times have I seen this message go by on
> boot! well, not too many times ;)
>
> thanks for the correction.
>
> A

Each stable release has its own way of doing things. It's hard to follow all !

I bet it's in the release notes, but who read them, among long time debian 
users ;-)


pgpGguLrDP67K.pgp
Description: PGP signature


file modification time

2006-12-30 Thread pol


I have noticed that a user can change a file, if he  belongs to 
the same group, to which rw privileges have been set, but he cannot
change its date, using 'touch'.
Is that resul expected?

E.g. User vi-opened a file not owned by him, but belonging to its group,
with permissions:  100664, succesfully exiting with wq.
I have checked that modification date had changed.

As i try 'touch -m 12302007' i get:  'Operation not permitted'

What is wrong?

thank you for you seggestions

--
Pol



 


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



  1   2   >