Re: Most inexpensive debian friendly laserjet printer? total cost of ownership including laserink?

2008-05-04 Thread Terence
2008/5/5 Mitchell Laks <[EMAIL PROTECTED]>:
> Hi,
>
>  I tend to print out a lot of documentation on the software for projects
>  that I work on. Therefore I go through alot of laserjet cartidges on my
>  postscript compatible hp laserjet 1200 printer.
>
>  My latest cartridge just needs to be replaced again.
>
>  I am tired of paying so much money for the new laser ink cartiridges each 
> time.
>

You may check whether HP do two types of cartridge- for my Color
Laserjet 2550 an ordinary cartridge around £50 and a double/triple
load cartridge costs about £60- a clear saving.

Although I argee it's not cheap...


Terence


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



Re: Clearing SWAP

2008-05-04 Thread Alex Samad
On Mon, May 05, 2008 at 07:41:52AM +0200, NN_il_Confusionario wrote:
> On Mon, May 05, 2008 at 07:37:21AM +1000, Alex Samad wrote:
> > why not have a script that is run by root at @reboot that starts X
> 

[snip]

> Your method would not directly work in my workstation which does not run
> any form of cron. (I manually, and rarely, run a script to rotate logs.
> And analogously for other possible cron tasks which I am interested in)
> 
Yep, and your method would work on my workstation (currently running
windows (yuck), and yes I have a X server on here).

I was just trying to show another way of solving the problems.  My
presumption was that cron was part of the LSB.

It also got around the problem somebody asked, what to do if the Xserver
crashed on startup, how to get around the cycle of restarting the X
server and getting to a console.

Horses for courses really

[snip]

> -- 
> Chi usa software non libero avvelena anche te. Digli di smettere.
> Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
> Informatica=bomba: intelligente solo per gli stupidi che ci credono.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
"We must have the attitude that every child in America – regardless of where 
they're raised or how they're born -- can learn."

- George W. Bush
04/18/2001
New Britain, CN


signature.asc
Description: Digital signature


Re: Barry? Also berry_charge

2008-05-04 Thread NN_il_Confusionario
> * From: Carl Fink <[EMAIL PROTECTED]>
>/lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko
>
>but 'modprobe berry_charge' returns
>
>FATAL: Module berry_charge not found.

ls -la /lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko

insmod /lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko

or better:

grep berry_charge /lib/modules/`uname -r`/modules.dep ; \
depmod -a ; \
grep berry_charge /lib/modules/`uname -r`/modules.dep ; \
modprobe berry_charge


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



Re: software raid5 array degrades from initrd

2008-05-04 Thread Alex Samad
On Mon, May 05, 2008 at 12:59:52AM +0200, Dexter Filmore wrote:
> Am Freitag, 2. Mai 2008 22:47:07 schrieb Alex Samad:
> > On Fri, May 02, 2008 at 02:45:04PM +0200, Dexter Filmore wrote:
> > > So here's the story:
> >
> > [snip]
> 
> >
> > another thing you can try is entering busybox during the initrd process
> > just before it starts/load /
> >
> 
> How exactly do I enter Busybox?

been a while, but I think it is an option on the console as it comes up

> 
> 
> -- 
> -BEGIN GEEK CODE BLOCK-
> Version: 3.12
> GCS d--(+)@ s-:+ a- C UL++ P+>++ L+++> E-- W++ N o? K-
> w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
> b++(+++) DI+++ D- G++ e* h>++ r* y?
> --END GEEK CODE BLOCK--
> 
> http://www.vorratsdatenspeicherung.de
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
"But all in all, it's been a fabulous year for Laura and me."

- George W. Bush
12/20/2001
Washington, DC
summing up his first year in office, three months after the 9/11 attacks


signature.asc
Description: Digital signature


Re: Clearing SWAP

2008-05-04 Thread NN_il_Confusionario
On Mon, May 05, 2008 at 07:37:21AM +1000, Alex Samad wrote:
> why not have a script that is run by root at @reboot that starts X

if I understand correctly, you need cron for this (and, as you note,
this also can be used for users other than root).

Since init cannot be avoided (or, more exactly, a number 1 process
directly spawned by the kernel is intrinsic to the current achitecture),
my "inittab" method is "universal" (and when the traditional init will
be replaced by something else, the method should still work using the
configuration file of the replacement of the traditional init)

Your method would not directly work in my workstation which does not run
any form of cron. (I manually, and rarely, run a script to rotate logs.
And analogously for other possible cron tasks which I am interested in)

Another difference is that init is able to automatically respawn the
process. But this is a very minor difference since with your method one
could use a "while true" cycle to automatically restart the command when
it terminates.

Probabily others would "simply" use /etc/rc.local 

Or a new /etc/init.d/ script with suitable symlinks in /etc/rc?.d/ (or
suitable entries in /etc/runlevel.conf when file-rc is installed)

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


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



Re: Cannot partition a hard drive with the Etch installer

2008-05-04 Thread Alex Samad
On Sun, May 04, 2008 at 05:52:11PM -0400, Ken Heard wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 

[snip]

Can I suggest 2 things
1 make a bigger boot partition (i typically make it 500M - the cost of
drives make this easy, plus it gives you room to move)
2 make another primary partition for root, I typically make it 10G, but
you can make it a lot smaller. Easier for recovery when your root is on
a primary partition and plain ext3.



> When I selected the "Finish" option, the following was returned:
> 
>   No root file system is defined.
>   Please correct this from the partitioning menu.
> 
> I went back to the partitioning menu but could find no way to indicate
> where to mount each logical volume, nor to indicate which volumes were
> to be encrypted.
> 
> My question: can I do what I want to do and -- if so -- how?

to answer your question:

you need to select the create partition and then select a file system
type and then a location


> 
>   Ken Heard
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFIHjALlNlJzOkJmTcRAjYcAJ9We60V96qnVAmDTkPg8hyirs7AaQCfVecR
> Mm+R31Et4S0z7rWruaRX1Yo=
> =3Oct
> -END PGP SIGNATURE-
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
I'm sick of being trodden on!  The Elder Gods say they can make me a man!
All it costs is my soul!  I'll do it, cuz NOW I'M MAD!!!
-- Necronomicomics #1, Jack Herman & Jeff Dee


signature.asc
Description: Digital signature


Barry? Also berry_charge

2008-05-04 Thread Carl Fink
Barry is a project to allow sync and other functionality with RIM Blackberry
phones.  It's at barry.sourceforge.net

The download page
(http://sourceforge.net/project/showfiles.php?group_id=153722) includes DEB
packages, but the program is not in any Debian distibution. I assume these
are Ubuntu packages.  Anyone have experience installing them?

Recent kernels include a module that allows Blackberries to charge from the
USB line (be detecting that they're plugged in and switching them to charge
mode).  It's berry_charge.

I'm using kernel 2.6.22-3-k7.  'locate berry_charge' returns

/lib/modules/2.6.22-3-k7/kernel/drivers/usb/misc/berry_charge.ko

but 'modprobe berry_charge' returns

FATAL: Module berry_charge not found.

Eh?

I'll be grateful for any assistance.
-- 
Carl Fink   [EMAIL PROTECTED] 

Read my blog at blog.nitpicking.com.  Reviews!  Observations!
Stupid mistakes you can correct!


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



Most inexpensive debian friendly laserjet printer? total cost of ownership including laserink?

2008-05-04 Thread Mitchell Laks
Hi,

I tend to print out a lot of documentation on the software for projects
that I work on. Therefore I go through alot of laserjet cartidges on my
postscript compatible hp laserjet 1200 printer.

My latest cartridge just needs to be replaced again.

I am tired of paying so much money for the new laser ink cartiridges each time.

I have read recently a wall street analyst say that 
'consumers are stupid - they buy printers by the cost of hardware
not total cost of ownership'.

are there any truly cheaper approaches? Can we buy a postscript laserprinter
that is not designed to use proprietary cartridges that we must
buy from the company at inflated prices?

Also while we are at it, any suggestions on what I can use
in place of gasoline in my car :)?

Mitchell


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



Re: AM2+ motherboard with support for ECC RAM for media player / server

2008-05-04 Thread Bob

Bob wrote:

Ron Johnson wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 04/28/08 21:41, Bob wrote:
 

Unbuffered / Registered obviously.

I'm building a couple of Debian / MythTV based home media players /
servers and want low power consumption and noise, at the moment I'm
leaning towards

CPU45W Dual Core Athlon
Motherboard ASUS M3A78-EMH HDMI
RAM   4GB DDR2 ECC RAM as fast as I can find [0]



Why ECC?
  


Prolonged uptime and reliability without having to go for full Opteron 
with Registered ECC RAM.



GPURadeon X800, X1900, X1950 [1] or on-board [2]



Why not nvdia?
  


1. I want to reward AMD for the recent opening up of their GPU specks
2. none of the other GPUs match the on-board one on the 780G chipset 
in terms of performance for power consumption, at a rough guess with 
the on-board GPU, a 45W CPU and a Laptop HardDrive or net boot I 
should be able to get the whole systems power to 30 or 40 W idle and 
maybe 70W under load, if I can do that then it can be passively cooled 
with no fans and potentially no moving parts at all.



HDD (system) Toshiba MK8037GSX or some other SATA laptop drive
HDD (Data) Western Digital 1TB Green Power or the Samsung 
ITB F1

and some DVB-C card

The ASUS boards are the only ones I can find with the traces / BIOS
support for ECC RAM but this one doesn't have FireWire on-board which
I'd like, can anyone suggest another mATX system with USB2, SATA2, ATA,
FireWire, Digital sound IO and ECC RAM support that would meet my
requirements? [3]

Does anyone know weather an Athlon X2 4850e (2500MHz) or Athlon X2
BE-2400 (2300MHz) (both 45W ) is going to be capable of decoding H.264
1080p in Blu-ray quality? [5]



It'll have the oomph, but as you mentioned in your footnotes, might
not have the software to decode it,
  


I meant will it have the power if the only assistance it gets is with 
scaling via XV which already works for GPUs <= R400 in the Radion 
diver [6] but I don't think does yet in RadeonHD?



How about when we get IDCT (Inverse Discrete Cosine Transform) and MC
(Motion Compensation) video acceleration in RadeonHD?

Thanks for any help.


[0] at the moment the fastest ECC sticks I can find are DDR2-800, I
can't find any 1066s and would like some headroom

[1] I haven't decided which GPU to go for, I'll have to do more 
research

into how well R500 and R600 GPU are handling video playback at the
moment, I have a feeling that for simplicity I may have to get an R400
GPU as an interim measure and then when RadeonHD matures a bit I'll
switch to either the On-Board or an R500 based discreet card [4]

[2] for the first time in my life I'm considering on-board graphics,of
the 780G chipset.

[3] not necessarily AMD but preferably

[4] Because the R600 Unified Video Decoder (UVD) has integrated DRM
we'll probably never get access to it, in which case any
hardware-assisted video decoding the Linux world sees will be in the
same form as the R500 stuff, I'm unsure weather this will mean that
R500s will ultimately be "better" than R600 but I suspect they'll be 
the

same, either way for Home Theater PCs I'd really like someone to start
putting Mobility Radeon GPUs on PCIe cards.
http://www.phoronix.com/scan.php?page=article&item=955&num=1

[5] up to 40Mbit/s, probably not is my feeling from reading round, I
think an X2 6000+ (3000 MHz) at 89W or 125W can just do it.



[6] and maybe R500 too as Dave Arlied has been running the Radion 
driver on R500 hardware, but he has a powerful beard so it's probably 
not a solution I want to rely on for my everyday video playback needs 
quite yet.


sorry no snippage

I've reedited and reposted this question to MythTV-users they're very 
good at multimedia stuff and should be able to answer the question on 
CPU grunt at the least, and may have some useful suggestions on the rest.


I'll update the list if I get anything useful back.
What's the etiquette on CCing one list on a discussion in another?


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




Re: Clearing SWAP

2008-05-04 Thread Douglas A. Tutty
On Sun, May 04, 2008 at 01:10:00PM -0400, Paul Cartwright wrote:
> On Sun May 4 2008, Douglas A. Tutty wrote:
> > For her password only, couldn't you use one of those low-security thumb
> > readers or a USB key instead of a password?
> 
> she has a USB stick.. how would that work?? Her new Inspiron doesn't  have 
> the 
> thumb reader, the XPS does..


Give her a one-character username.  

Read the pam doc manual (I forget the package name, but it is a separate
package and you get an html document).  Also search aptitude for libpam
and ~dusb.  I'm sure there's some way to have a usb key have a file on
it that functions like a typed-in password.  IIRC, on login, she would:

login:

insert her usb key
hit "W" (her one-letter user name)
hit enter.

pam will look for the usb key and do its magic.

I believe it can also be set up that to log-out (after saving her work),
she just has to remove the key, but I'm not sure.

This obviously has security implications if she leaves that key lying
around.  There's no point password-protecting the key since that would
defeat the purpose of, as someone suggested, supporting your wife's
weenieness.

Back in the day, the hospital at which I worked had terminals and to
login, you had to slide in your ID card to get a login: then username
and password.  Pulling the card logged you out.  You were supposed to
keep wearing the card while you worked incase you had to get up, you
were logged-out.

Doug.


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



Re: usb to serial

2008-05-04 Thread Douglas A. Tutty
On Sun, May 04, 2008 at 09:18:51PM +0100, Joe wrote:
 
> So there's no way at all to predict whether a particular piece of 
> equipment, or particular software, will work with any or all USB-serial 
> ports. Probably it will, but the only way to be sure is to try it.

USB/serial adapters are a convenience thing, especially for laptops.  If
you have a desktop with a spare PCI slot, just buy a PCI serial card.
You'll probably get 4 serial ports or perhaps two serial and a paralell.
I doubt if it would cost more, and probably less, than the USB adapter.

Doug.


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



Re: Cannot partition a hard drive with the Etch installer

2008-05-04 Thread Douglas A. Tutty
On Sun, May 04, 2008 at 04:59:07PM -0400, Ken Heard wrote:
> LVM VG SOL, LV var - 3.2 gB Linux Device Mapper
>   #1 3.2 gB
> SCSI1 (0,0,0) (sda) - 250.1 gB ATA WDC WD2500AAJS.0
>   #1 primary  82.2 mB B F ext3 /boot
>   #2 primary 250.0 gB   K lvm
> 
> Undo changes to the partitions.
> Finish partitioning and write changes to disk.
> - -
> 
> When I selected the "Finish" option, the following was returned:
> 
>   No root file system is defined.
>   Please correct this from the partitioning menu.
> 
> I went back to the partitioning menu but could find no way to indicate
> where to mount each logical volume, nor to indicate which volumes were
> to be encrypted.
> 
> My question: can I do what I want to do and -- if so -- how?

Its too soon to finish.  You have marked for creating the LVs, and have
labled them, but you still much choose each one (move curser, hit enter)
and select "use as" and select a filesystem type, a filesystem lable, a
mount point, etc, just as when you selected partition #1 and marked it
"use as" ext3, mount on /boot, and partition #2 as "use as" physical
volume for LVM.

Doug.


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



Re: usb to serial

2008-05-04 Thread Douglas A. Tutty
On Sun, May 04, 2008 at 12:30:10PM -0400, Douglas A. Tutty wrote:
> On Sun, May 04, 2008 at 05:20:23PM +1000, Daniel Dalton wrote:
> > On Sun, 4 May 2008, Celejar wrote:

Serious typo:
 
> I used-to-would-have said that any computer store should have a 9-pin
> serial gender-changer but that may not be true anymore.  If your local
> store doesn't have one, you have a couple of options:
> 
> 1.See if there is one on ebay and get it with the adapter.
> 
> 2.Order one from your computer store: they are still made: 
>   Belkin or Startech should have them.
> 
> 3.If you know someone who can get a male and a female and a shell,
>   they can solder one together for your.  

That should be two females.  A male and a female with a stright-through
is called an extension cord. :)

You need two females to accept the male braille and the male computer.

> There are no electronics in a gender-changer so you don't need to worry
> about compatibility.  For details, you can checkout the serial-HOWTO (in
> the doc-linux-[html] package, or on the ldp website.
> 
> Good luck.
> 
> Doug.


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



Re: sound?

2008-05-04 Thread Paul Cartwright
On Sun May 4 2008, Paul Cartwright wrote:
> I have no idea what happened, but I seem to be missing sound. I am running
> Debian Etch. I just installed xfce windows manager, but I have another
> login that uses KDE. under KDE the volume control is missing, and I have no
> sound. what to look for ??

I have narrowed it down some. realplayer and xmms DO play sound, Banshee, 
amarok, and  movieplayer do NOT play sound. when I click on an AVI, totem 
starts, but locks up. vlc doesn't work either.

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



sound?

2008-05-04 Thread Paul Cartwright
I have no idea what happened, but I seem to be missing sound. I am running 
Debian Etch. I just installed xfce windows manager, but I have another login 
that uses KDE. under KDE the volume control is missing, and I have no sound.
what to look for ??
-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: software raid5 array degrades from initrd

2008-05-04 Thread Dexter Filmore
Am Freitag, 2. Mai 2008 22:47:07 schrieb Alex Samad:
> On Fri, May 02, 2008 at 02:45:04PM +0200, Dexter Filmore wrote:
> > So here's the story:
>
> [snip]
>
> > Now: what's going on here? both onboard 3114 and pci 3114 controllers are
> > handled by the same kernel module, so either initrd sees all or none.
> > Why would it not wanna see the 5th disk from initrd, but when I manually
> > assemble, it's fine?
> >
> > Dex
>
> Used to have a similar problem.
>
> look in /etc/mdadm/mdadm.conf make sure the arrays is defined properly
> in there also make sure you have
> DEVICE partitions
>
> or at least have it pointing to all the right devices/partitions
>
> then update your initramfs
>
> from memory the problem i had was I had not fully specified my array in
> /etc/mdadm/mdadm.conf. Another way to put it they array information in
> the initram fs was from an old array specification and only part of the
> array would get started.

Array info was all fine. 
I had an issue with 2.6.18 that it wouldn't see all partitions, I fixed that 
by going 2.6.22 (and yes, I fixed the shutdown issue with hddown).

>
> another thing you can try is entering busybox during the initrd process
> just before it starts/load /
>

How exactly do I enter Busybox?


-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a- C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--

http://www.vorratsdatenspeicherung.de


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



Re: software raid5 array degrades from initrd

2008-05-04 Thread Dexter Filmore
Am Sonntag, 4. Mai 2008 14:49:19 schrieb martin f krafft:
> also sprach Dexter Filmore <[EMAIL PROTECTED]> [2008.05.03.1723 +0100]:
> > initrd has its own log...?
>
> No, it just prints to the console.
>
> I suggest you add break=bottom to the kernel command line (and
> remove the raid=noautodetect, which you don't need) and then reboot,
> inspect the console output and tell us what it says.
>
> You can exit the shell to continue the boot.

Well, it works now that I switched to assembling from rcS.d and I really don't 
wanna degrade the array on purpose again. The error message loosk like in the 
dmesg output I posted in reply to your first answer.

Dex


-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.12
GCS d--(+)@ s-:+ a- C UL++ P+>++ L+++> E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
--END GEEK CODE BLOCK--

http://www.vorratsdatenspeicherung.de


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



Re: [Kind of OT] Why's this look like gibberish to me?

2008-05-04 Thread Andrei Popescu
On Tue, Apr 29, 2008 at 05:00:53AM +0200, s. keeling wrote:
> Eduardo M KALINOWSKI <[EMAIL PROTECTED]>:
> >  s. keeling wrote:
> > > Dotan Cohen <[EMAIL PROTECTED]>:
> > >   
> > >>  Why are you against switching to UTF-8? Disk space? There really is
> > >
> > > Why would I be _for_ switching?  I'm a unilingual [Anglophone].  utf-8
> > 
> >  Even if you used a language with a few accented characters (French,
> >  Spanish, Polish, etc.), your files would only change with regards to
> >  those characters (which would take 2 instead of one byte - but you could
> >  have French and Polish in the same file, for example). The difference is
> >  minimal, and, for English only, inexistent.
> 
> I'm still wondering where the argument _for_ this is.  I'm doing
> Anglaise and nothing else, and you can easily handle that there.
> Rhetorical, but why would I want to go utf-8?  I can see little point
> in it in my situation.
 
Here is an argument for you: using ascii is delaying the adoption of 
utf-8.

Let me elaborate. Romanian is using a few special characters (a,i,s and 
t with diacritics) which are only available in utf-8 (and maybe 
iso-8852-16?). To make things worse, MS implemented the wrong characters 
(from iso-8852-2) up to XP and only corrected this in Vista (and a 
recent update for XP).

Right now we have the following situation: some people use the special 
characters when writing, but they mostly use the wrong ones.  Others 
(the majority) don't use them at all (making Romanian texts difficult to 
read, because without the diacritics many words look the same) because 
it's too much trouble. Even if you configure your own computer to show 
them right, you never know what other people are using.

Switching everybody to utf-8 would be the best and simplest solution.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Cannot partition a hard drive with the Etch installer

2008-05-04 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am trying to install Etch in a new box which has an Intel dual core
CPU and a 250 gB SATA hard drive.  Since the instructions in the Etch
Installation Guide have not been helpful, I was consequently left with
my intuition, which unfortunately proved insufficient for me
successfully to complete the partitioning.

What I wanted to do is create a two primary partitions. One (sda1) of
82.2 mB would be for /boot partition. The other (sda2), comprising all
the remaining space on the hard drive, would be the one and only
physical volume (for the time being) of the LVM, which in turn would be
used for the one and only volume group in the system, named SOL.

In this volume group I wanted to create six logical volumes of varying
sizes, labelled home, root, swap1, tmp, usr and var.  Of those six
logical volumes, I want two of them (swap1 and home) to be encrypted.

After I created those two primary partitions and the logical volumes I
wanted, the partition overview screen showed the following:

- 
LVM VG SOL, LV home - 223.1 gB Linux Device Mapper
#1 223.1 gB
LVM VG SOL, LV root - 3.2 gB Linux Device Mapper
#1 3.2 gB
LVM VG SOL, LV swap1 - 3.2 gB Linux Device Mapper
#1 3.2 gB
LVM VG SOL, LV tmp - 1.1 gB Linux Device Mapper
#1 1.1 gB
LVM VG SOL, LV usr - 16.1 gB Linux Device Mapper
#1 16.1 gB
LVM VG SOL, LV var - 3.2 gB Linux Device Mapper
#1 3.2 gB
SCSI1 (0,0,0) (sda) - 250.1 gB ATA WDC WD2500AAJS.0
#1 primary  82.2 mB B F ext3 /boot
#2 primary 250.0 gB   K lvm

Undo changes to the partitions.
Finish partitioning and write changes to disk.
- -

When I selected the "Finish" option, the following was returned:

No root file system is defined.
Please correct this from the partitioning menu.

I went back to the partitioning menu but could find no way to indicate
where to mount each logical volume, nor to indicate which volumes were
to be encrypted.

My question: can I do what I want to do and -- if so -- how?

Ken Heard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIHjALlNlJzOkJmTcRAjYcAJ9We60V96qnVAmDTkPg8hyirs7AaQCfVecR
Mm+R31Et4S0z7rWruaRX1Yo=
=3Oct
-END PGP SIGNATURE-


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



Re: iptables "whitelist" rule

2008-05-04 Thread Raven
On Mon, 2008-05-05 at 07:23 +1000, Adrian Levi wrote:
> 2008/5/5 Raven <[EMAIL PROTECTED]>:
> >  I am not really sure how to tell iptables to whitelist the traffic that
> >  is not being forwarded.
> >  In other words, the ipp2p module should not drop the packets originating
> >  from/destinated to the router itself.
> >
> >  Here is my current script:
> 
> As Kevin has already stated, The input and output chains/tables are
> for the local machine only. And all forwarded traffic goes through the
> forward chain only.
> 
> With a quick glance your current script seems to do what you want.
> Do some testing both from expected IP Ranges and not expected IP ranges.
> 
> Adrian
> 

Works like a charm. Thanks!

-Raven


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



Re: Clearing SWAP

2008-05-04 Thread Alex Samad
On Sun, May 04, 2008 at 04:22:42PM +0200, NN_il_Confusionario wrote:
> On Sun, May 04, 2008 at 09:20:57AM -0400, Paul Cartwright wrote:
> > On Sun May 4 2008, NN_il_Confusionario wrote:
> > > the login is automatically done.
> > automatic with passwords?
> 
> see man login, option "-f"  
> 
> If you do not want fully automatic logins, consider something in

[snip]

why not have a script that is run by root at @reboot that starts X, this
is what I do on my multimedia machine

@reboot /usr/bin/X11/X :0.0 vt07 /dev/null 2>/dev/null &

pick you vt or have X be started by the user that you want !

> 
> -- 
> Chi usa software non libero avvelena anche te. Digli di smettere.
> Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
> Informatica=bomba: intelligente solo per gli stupidi che ci credono.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
The Vet Who Surprised A Cow
In the course of his duties in August 1977, a Dutch veterinary
surgeon was required to treat an ailing cow.  To investigate its internal
gases he inserted a tube into that end of the animal not capable of facial
expression and struck a match.  The jet of flame set fire first to some
bales of hay and then to the whole farm causing damage estimate at L45,000.
The vet was later fined L140 for starting a fire in a manner surprising to
the magistrates.  The cow escaped with shock.
-- Stephen Pile, "The Book of Heroic Failures"


signature.asc
Description: Digital signature


Re: Booting kernel 2.6.25 from Debian40r3 prompts: Waiting for root file system

2008-05-04 Thread Alex Samad
On Sun, May 04, 2008 at 03:50:28AM -0700, [EMAIL PROTECTED] wrote:
> On May 4, 6:40 pm, Alex Samad <[EMAIL PROTECTED]> wrote:
> > On Sat, May 03, 2008 at 11:35:29PM -0700, [EMAIL PROTECTED] wrote:
> > > Under the (initramfs) prompt, the uname -r reports 2.6.25.
> > what is the output of cat  /proc/partitions, can you
> > see /dev/sda.
> > maybe the driver for you had is not in .25
> >
> 
> Hi, this is the result,
> 
> $ cat /proc/partitions
> major minor  #blocks  name
> 
>8 08388608 sda
>8 1 273073 sda1
>8 2  1 sda2
>8 53060351 sda5
>8 61477948 sda6
>8 7 273073 sda7
>8 8 265041 sda8
>8 93036253 sda9
> $ ls -al /dev/sda
> brw-rw 1 root disk 8, 0 2008-05-05 02:46 /dev/sda
> $

hi

 was this done whilst trying to boot 2.6.25, if so mount /dev/sda1 and
exit out and initramfs should continue on its way

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

-- 
"We both use Colgate toothpaste."

- George W. Bush
02/23/2001
Camp David, MD
after a reporter asked what he had in common with British Prime Minister Tony 
Blair


signature.asc
Description: Digital signature


Re: iptables "whitelist" rule

2008-05-04 Thread Adrian Levi
2008/5/5 Raven <[EMAIL PROTECTED]>:
>  I am not really sure how to tell iptables to whitelist the traffic that
>  is not being forwarded.
>  In other words, the ipp2p module should not drop the packets originating
>  from/destinated to the router itself.
>
>  Here is my current script:

As Kevin has already stated, The input and output chains/tables are
for the local machine only. And all forwarded traffic goes through the
forward chain only.

With a quick glance your current script seems to do what you want.
Do some testing both from expected IP Ranges and not expected IP ranges.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Cannot partition a hard drive with the Etch installer

2008-05-04 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am trying to install Etch in a new box which has an Intel dual core
CPU and a 250 gB SATA hard drive.  Since the instructions in the Etch
Installation Guide have not been helpful, I was consequently left with
my intuition, which unfortunately proved insufficient for me
successfully to complete the partitioning.

What I wanted to do is create a two primary partitions. One (sda1) of
82.2 mB would be for /boot partition. The other (sda2), comprising all
the remaining space on the hard drive, would be the one and only
physical volume (for the time being) of the LVM, which in turn would be
used for the one and only volume group in the system, named SOL.

In this volume group I wanted to create six logical volumes of varying
sizes, labelled home, root, swap1, tmp, usr and var.  Of those six
logical volumes, I want two of them (swap1 and home) to be encrypted.

After I created those two primary partitions and the logical volumes I
wanted, the partition overview screen showed the following:

- 
LVM VG SOL, LV home - 223.1 gB Linux Device Mapper
#1 223.1 gB
LVM VG SOL, LV root - 3.2 gB Linux Device Mapper
#1 3.2 gB
LVM VG SOL, LV swap1 - 3.2 gB Linux Device Mapper
#1 3.2 gB
LVM VG SOL, LV tmp - 1.1 gB Linux Device Mapper
#1 1.1 gB
LVM VG SOL, LV usr - 16.1 gB Linux Device Mapper
#1 16.1 gB
LVM VG SOL, LV var - 3.2 gB Linux Device Mapper
#1 3.2 gB
SCSI1 (0,0,0) (sda) - 250.1 gB ATA WDC WD2500AAJS.0
#1 primary  82.2 mB B F ext3 /boot
#2 primary 250.0 gB   K lvm

Undo changes to the partitions.
Finish partitioning and write changes to disk.
- -

When I selected the "Finish" option, the following was returned:

No root file system is defined.
Please correct this from the partitioning menu.

I went back to the partitioning menu but could find no way to indicate
where to mount each logical volume, nor to indicate which volumes were
to be encrypted.

My question: can I do what I want to do and -- if so -- how?

Ken Heard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIHiOblNlJzOkJmTcRAg9JAJ9tE76VrTyIyLOF89aAJ9lWXtIZRgCeIxRS
h4wIaK0ds0CAWWjsztpSs8A=
=tTXs
-END PGP SIGNATURE-


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



Re: usb to serial

2008-05-04 Thread Joe

Celejar wrote:


These adaptors are 'smart', i.e. they contain electronics to do the
conversion, so as with hardware generally with linux, what counts is
the chipset.  I believe that many of these devices use the Prolific
PL2303 chipset, which shows up with 'lsusb', at least in my case, as
"ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port".  This
chipset has kernel support via the pl2303 driver.  I have another
adaptor whose ID apparently isn't in the database; nothing shows up
other than the numerical ID.  It is also grabbed by pl2303 (although
IIANM, that wasn't the case several months ago, when I first acquired
it), but it doesn't seem to be working properly, as opposed to the
Prolific one, which works fine.

I purchased both my adaptors on Ebay.  They are virtually identical in
appearance, except for color; both have attractive silver cables
sheathed in clear plastic, but the Prolific has black plastic covering
the two cable ends (serial and USB), while the other has translucent
green.  This may not help you.

I originally bought these adaptors to use with serial modems, but I was
never able to get them to work properly, and I never figured out why.
I'm currently using the Prolific to manage a headless box via a serial
(null modem) cable, and it works perfectly.  The other one is not
working properly, as above.



Unfortunately, 'serial', and even 'RS232' (which *only* specifies 
voltage levels) are not one but a whole family of communication methods. 
While the send and receive pulse structure is fairly standard, the 
handshake methods are not. 'Proper' serial ports with 25 pins have a 
range of old-style modem control and handshake lines, of which a few are 
implemented in the 9-pin version.


There are no real standards as to which control lines are used for which 
purposes, or which control lines they are connected to at the other end. 
Sometimes, connector pins at either end are linked together, and often 
do not connect to the other equipment at all. That's why two pieces of 
equipment can work together with some cables and not with others. It's 
not that the non-working cables are necessarily faulty, they may just be 
wired differently. There's no such thing as a 'standard' serial cable.


Also, serial ports may not be used in the expected way. Sometimes the 
control signals are used alone, without transmit or receive lines being 
involved. Older UPS equipment used serial cables to tell the computer to 
shut down when there were power problems, and usually only one or two of 
the control lines were used, not the data lines.


And here's where we get to the point: while all USB-serial adaptors will 
handle the data correctly, they don't all manage the control lines in 
the same way as a real serial port. I have a serial-port microcontroller 
programmer which nearly works using a USB adaptor, but it's unreliable 
and occasionally wrecks a microcontroller. This is because the 
programmer and its software make use of the control lines to switch 
voltages. It works perfectly on a proper serial port, even a nine-pin one.


So there's no way at all to predict whether a particular piece of 
equipment, or particular software, will work with any or all USB-serial 
ports. Probably it will, but the only way to be sure is to try it.



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




Re: usb to serial

2008-05-04 Thread Bob Proulx
Daniel Dalton wrote:
> - a supported usb to serial cable for linux that works with the kernel?
> (If so could you please provide a model number or brand?) Or even better 
> if you know where I can get one of these from?

I bought two of "Parallax USB to 232 Serial Adapter" recently and they
work very well for me.  Here is a URL to where I bought them.

  http://www.hobbyengineering.com/H3284.html

It is a very small PC board with a mini USB B connector on one side
and a 9-pin male rs-232 connector on the other side.  It has a clear
tube shell around it and the components can be seen through it giving
it an "engineering" use look.  Use a commonly available USB A to
mini-B cable to connect it to the USB port.  It uses the ftdi_sio
driver natively in the Linux kernel.  When attached to a system udev
will create /dev/ttyUSB0 automatically.  It works very well for me.

Other products have been available that use the same FTDI chip but are
packaged in different types of packaging.  I think that anything that
uses the FTDI chips will be compatible with the drivers in the Linux
kernel.

Hope that helps,
Bob


signature.asc
Description: Digital signature


Re: iptables "whitelist" rule

2008-05-04 Thread Kevin Buhr
Raven <[EMAIL PROTECTED]> writes:
>
> Now I want to be able to run the amuled daemon ON the debian router but
> I am not really sure how to tell iptables to whitelist the traffic that
> is not being forwarded.
> In other words, the ipp2p module should not drop the packets originating
> from/destinated to the router itself.

[ . . . ]

> # Block P2P
> iptables -A FORWARD -m ipp2p --ipp2p -j DROP
> iptables -A INPUT -m ipp2p --ipp2p -j DROP
> iptables -A OUTPUT -m ipp2p --ipp2p -j DROP

I haven't used "ipp2p" before, but if you delete the INPUT and OUTPUT
rules and keep the FORWARD rule, I think that would do what you want.
Packets to and from the amuled daemon (whether from the Internet,
wireless nodes, or whatever) will pass through the INPUT and OUTPUT
tables and be permitted, but P2P packets between wireless nodes and
the big, bad Internet will pass through the FORWARD table and be
dropped by the remaining rule.

-- 
Kevin Buhr <[EMAIL PROTECTED]>


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



Re: making a fileserver

2008-05-04 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/04/08 14:36, Paul Johnson wrote:
> On Saturday 03 May 2008 11:38:59 pm NN_il_Confusionario wrote:
>> On Sat, May 03, 2008 at 11:14:53AM -0700, Paul Johnson wrote:
>>> On Saturday 03 May 2008 02:17:30 am LÉVAI Dániel wrote:
 Currently, I'm thinking of Samba,
 because the win clients can only use that; is this correct?
>>> Why not use something real on the clients?
>> What does it mean "something real" ?
> 
> Why not use something other than Windows on the clients?

Because the Windows clients exist and are already paid for.

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIHhM1S9HxQb37XmcRAqlVAJ9n8trkDnFDS73RZiS5FVtIsP1mSQCeLyCa
iNOwa4I1SWoO9ISsWQlwvNk=
=sd6f
-END PGP SIGNATURE-


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



Re: making a fileserver

2008-05-04 Thread Paul Johnson
On Saturday 03 May 2008 11:38:59 pm NN_il_Confusionario wrote:
> On Sat, May 03, 2008 at 11:14:53AM -0700, Paul Johnson wrote:
> > On Saturday 03 May 2008 02:17:30 am LÉVAI Dániel wrote:
> > > Currently, I'm thinking of Samba,
> > > because the win clients can only use that; is this correct?
> >
> > Why not use something real on the clients?
>
> What does it mean "something real" ?

Why not use something other than Windows on the clients?

-- 
Paul Johnson
[EMAIL PROTECTED]

Explaination of .pgp part: http://linuxmafia.com/faq/Mail/rant-gpg.html


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


Re: Clearing SWAP

2008-05-04 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/04/08 11:35, Douglas A. Tutty wrote:
> On Sun, May 04, 2008 at 06:37:40AM -0500, Ron Johnson wrote:
>> On 05/04/08 06:32, Paul Cartwright wrote:
>>> On Sun May 4 2008, Ron Johnson wrote:
 Certainly there are more than 4 females in this world who can
 overcome their "fear" of the SBSOD.  Right???
>>> my wife doesn't like typing, she likes clicking mice. She also likes to 
>>> garden, and she does wonders outside, so when she says she doesn't like 
>>> change ( on the computers) I try to accommodate her. She has instructions 
>>> written down on how to switch our dual-boot from Debian to the dark side & 
>>> back. Luckily she doesn't do it often:) At least she uses Linux, kmail, 
>>> firefox, gwenview, openoffice baby steps..
>> How does she tolerate entering a password?
> 
> For her password only, couldn't you use one of those low-security thumb
> readers or a USB key instead of a password?

Shame on you for enabling such user wienieness.

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIHfUZS9HxQb37XmcRAvEdAKDqiHY+E7LBWWs3LrAxYo9oeEcxggCgkaE3
qivpnHTL0O1END+/lhNBOVA=
=yu3A
-END PGP SIGNATURE-


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



Re: HELP - Can't boot - I/O error reading swsusp.image

2008-05-04 Thread [EMAIL PROTECTED]
On 5/4/08, NN_il_Confusionario <[EMAIL PROTECTED]> wrote:
> On Sun, May 04, 2008 at 08:29:31AM -0400, [EMAIL PROTECTED] wrote:
> > I did a fresh etch install, then restored some
> > mondo backup files using mondorestore.
>
> I do not use mondo; so I ask: are you sure that mondorestore does not
> change the partition table? Are you sure that the files you restored are
> not responsable for the apparence of swsusp in the boot process?

Yes, I'm sure mondorestore doesn't change the partitions (not using
the nuke option, just restoring files, and I've done that part before
successfully).

>
> > that point.  But then I did an update and upgrade, and now I am
> > getting the same swsusp error I had before and can't boot!
>
> check in the bootloader prompt the kernel command line. If there is
> something related to resuming a suspended session, delete it. Also, boot
> in single user mode or even with init=/bin/bash (and then "mount -o
> remount,rw /") and purge any package related to swsusp ("apt-cache
> search swsusp" gives me only the package uswsusp). If all seems to fail,
> boot with a live cd (or the debian installation cd in rescue mode),
> mount your disk, chroot where the disc is mounted, purge uswsusp, edit
> the boot loader configuration (possibly menu.lst in /boot/grub/, but it
> depends upon your boot loader), reinstall the kernel (to recreate the
> initrd) and the boot loader
>
> There is absolutely NO need to reinstall once again (unless you have
> severely messed up your partition table and filesysetems, or things like
> that).

Thanks for options with swsusp.  The partition table is definately
messed up.  I should only have one ext3 and a swap partition, but
there is an additional partition that I don't understand at all.
Anyway, I am starting over this time.  After the new install, I will
look for uswsusp and get rid of it to hopefully avoid problems in the
future.  As far as the files I restored and how they might relate to
swsusp, I have no idea.  I just know the server had none of these
problems for months, and now they show up.  Unfortunately, I don't
know the key thing that happened.  It should NOT have been related to
a file I restored anyway.

Since I'm starting over, let's drop this thread.  Hopefully I won't be
back, but I will if swsusp shows up again!  - John


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



Re: Clearing SWAP

2008-05-04 Thread Paul Cartwright
On Sun May 4 2008, Douglas A. Tutty wrote:
> For her password only, couldn't you use one of those low-security thumb
> readers or a USB key instead of a password?

she has a USB stick.. how would that work?? Her new Inspiron doesn't  have the 
thumb reader, the XPS does..

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: Newbie trying to configure his hardware (video, sound and wifi).

2008-05-04 Thread Ivan Alameda
Hi again!

Sorry, answering you was a mistake when pushing the wrong button.  Thats why
I write it again to the list.  Sorry.

Last day I executed "updated-pciids" but obtained an error, most surely
because I have not internet... Thats why I sent that file with lot of
unknowm devices.  Now I executed back again, and it runs without error (I
have already internet connected!).

So here is the output of that command:

(begin)
00:00.0 Host bridge: Intel Corporation 82946GZ/PL/GL Memory Controller Hub
(rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82946GZ/GL Integrated
Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition
Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port
3 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface
Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller
(rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA
IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev
01)
01:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg
Wireless PCI Express Adapter (rev 01)
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet
Adapter (rev b0)
04:00.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
04:00.1 Input device controller: Creative Labs SB Live! Game Port (rev 05)
04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
(end)

Thanks for helping!!!


Re: Newbie trying to configure his hardware (video, sound and wifi).

2008-05-04 Thread Ivan Alameda
2008/4/29 Thierry Chatelet <[EMAIL PROTECTED]>:

> On Tuesday 29 April 2008 22:41:23 Ivan Alameda wrote:
> > HI:
> >
> > Thanks again to all of you, really!
>
>
> Wel, first, dont answer me personally; I am on the mailing list.
> Now, back to business!!! you have lots of unkwnon device in the output of
> lspci
> So do a " update-pciids" and then an "lspci" and post again the result.
> Then, we will see which raod we have to take.
> Thierry
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


iptables "whitelist" rule

2008-05-04 Thread Raven
Hi
I am currently implementing level7 packet filtering on my debian gateway
with ipp2p. This has been done to prevent wireless users from using well
known file sharing applications (edonkey, bittorrent, kazaa, ecc).
The current iptables configuration that I have is doing everything very
well.

Now I want to be able to run the amuled daemon ON the debian router but
I am not really sure how to tell iptables to whitelist the traffic that
is not being forwarded.
In other words, the ipp2p module should not drop the packets originating
from/destinated to the router itself.

Here is my current script:


# Interface connected to Internet
INTERNET="eth1"

# Address connected to LAN
LOCAL="10.0.1.0/24"

# VPN
VPN="5.0.0.0/8"

# Clean old firewall
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X

# Load IPTABLES modules for NAT and IP conntrack support
modprobe ip_conntrack
modprobe ip_conntrack_ftp

# Enable Forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward

# Enable Munin stats
iptables -A INPUT -d 37.244.81.222
iptables -A OUTPUT -s 37.244.81.222
iptables -A FORWARD -i eth1

iptables -A INPUT -d 10.0.1.2
iptables -A OUTPUT -s 10.0.1.2
iptables -A FORWARD -i eth0

# Setting default filter policy
iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT

# Unlimited access to loop back
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT

# Allow UDP, DNS and Passive FTP
iptables -A INPUT -i $INTERNET -m state --state ESTABLISHED,RELATED -j ACCEPT

# Block P2P
iptables -A FORWARD -m ipp2p --ipp2p -j DROP
iptables -A INPUT -m ipp2p --ipp2p -j DROP
iptables -A OUTPUT -m ipp2p --ipp2p -j DROP

# set this system as a router for Rest of LAN
iptables -t nat -A POSTROUTING -o $INTERNET -j MASQUERADE
iptables -A FORWARD -s $LOCAL -j ACCEPT

# unlimited access to LAN
iptables -A INPUT -s $LOCAL -j ACCEPT
iptables -A OUTPUT -s $LOCAL -j ACCEPT

# unlimited access to VPN
iptables -A INPUT -s $VPN -j ACCEPT
iptables -A OUTPUT -s $VPN -j ACCEPT

# DROP everything and Log it
iptables -A INPUT -j LOG
iptables -A INPUT -j DROP



Thanks for your help guys


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



Re: Clearing SWAP

2008-05-04 Thread Douglas A. Tutty
On Sun, May 04, 2008 at 06:37:40AM -0500, Ron Johnson wrote:
> On 05/04/08 06:32, Paul Cartwright wrote:
> > On Sun May 4 2008, Ron Johnson wrote:
> >> Certainly there are more than 4 females in this world who can
> >> overcome their "fear" of the SBSOD.  Right???
> > 
> > my wife doesn't like typing, she likes clicking mice. She also likes to 
> > garden, and she does wonders outside, so when she says she doesn't like 
> > change ( on the computers) I try to accommodate her. She has instructions 
> > written down on how to switch our dual-boot from Debian to the dark side & 
> > back. Luckily she doesn't do it often:) At least she uses Linux, kmail, 
> > firefox, gwenview, openoffice baby steps..
> 
> How does she tolerate entering a password?

For her password only, couldn't you use one of those low-security thumb
readers or a USB key instead of a password?

Doug.


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



Re: usb to serial

2008-05-04 Thread Douglas A. Tutty
On Sun, May 04, 2008 at 05:20:23PM +1000, Daniel Dalton wrote:
> On Sun, 4 May 2008, Celejar wrote:
 
> I found this:
> http://cgi.ebay.com/USB-to-RS232-Serial-DB9-9-Pin-Cable-Adapter-Converter_W0QQitemZ140230142593QQihZ004QQcategoryZ41995QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
> 
> Will this work for what I want?
> (my braille display has a standard serial port on it.)
> Note that the serial port on my braille note has mail converters (so has 
> pins in it not holes)
> 
> Will this work for what I want?
> 
> If you can get back to me before the add ends I will get it.

I can only address the male vs female thing: it doesn't matter re the
driver, however, since computers themselves generally have male serial
ports, you will need a gender-changer to connect your male braille to a
male serial port.  

I used-to-would-have said that any computer store should have a 9-pin
serial gender-changer but that may not be true anymore.  If your local
store doesn't have one, you have a couple of options:

1.  See if there is one on ebay and get it with the adapter.

2.  Order one from your computer store: they are still made: 
Belkin or Startech should have them.

3.  If you know someone who can get a male and a female and a shell,
they can solder one together for your.  


There are no electronics in a gender-changer so you don't need to worry
about compatibility.  For details, you can checkout the serial-HOWTO (in
the doc-linux-[html] package, or on the ldp website.

Good luck.

Doug.


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



Re: Trying to install the Ralink wireless drivers

2008-05-04 Thread n0bert0
Hi James,

add this to /etc/apt/sources.list:

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

and 2.6.22 kernel should be available

cheers

James Allsopp wrote:
> I can't get a kernel image more recent than 2.6.21, I've tried
> apt-get -t unstable install kernel-image
> but it says I've the most recent kernel.
>
> I've just upgraded to lenny, but this hasn't helped.
>
> Also, using apt-cache search I couldn't find any information about the
> compiled modules.
>
> Wondering if I wouldn't just be better off downloading an updated source
> and trying to do it manually.
>
> Jim
>
> quim wrote:
>> Alo
>>
>> Don't need need to compile drivers, but upgrade to kernel 2.6.22
>>
>>
>> Install the RT2x00 wireless network drivers -loadable kernel modules for
>> wireless network cards using Ralink RT2x00 chips.
>>
>> something like rt2x00-modules-2.6.22-2-686
>>
>> Install wireless tools
>>
>> Install RutilT which is GTK config
>>
>> Run RutilT
>>
>>
>> Does this help?
>>
>>
>> Quim
>>
>>
>>
>>
>>
>>
>>   
>
>
>



Re: virtual text consoles gone

2008-05-04 Thread Hendrik Boom
On Fri, 02 May 2008 16:27:10 -0400, Brian McKee wrote:

> On 2-May-08, at 4:06 PM, Hendrik Boom wrote:
>> On Wed, 02 Apr 2008 10:26:02 -0400, hendrik wrote:
>>> On my AMD64 etch system, cntl-alt-F1 has stopped giving me a text
>>> console a month or two ago.
> 
>> Today the vertual text consoles are back.  No explanation.
> 
> Doug Tutty gave up trying to instantiate them :-)
> 
> There was an intel video driver bug on u***u
>  +bug/182865>
> but I didn't mention as I didn't figure you had intel video with AMD
> chipset.  Maybe your video driver had a similar issue.
> 
> Brian

I have an nvidia video chip, and am using free drivers.  NOT the nvidia 
proprietary ones.  They worked fine, then I lost the virtual text 
consoles, now they are back.  Rebooting and kernel upgrades did not seem 
to make a difference, but now, suddenly, they are back.  This is good.  I 
hate doing kernel or X upgrades while running as root in an xterm.

I'm still having random kernel panic upon reboot, though, as mentioned 
elsewhere.  I'm afraid to reboot in case I can't.  I now make a full 
backup of all user files onto a USB drive before every reboot.

Just in case.

-- hendrik


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



Re: usb to serial

2008-05-04 Thread Pigeon
The Linux kernel has support for these:

http://www.ftdichip.com/Products/EvaluationKits/USB-Serial.htm

-- 
Pigeon

Be kind to pigeons
   Pigeon's Nest - http://pigeonsnest.co.uk/
  Lucy Pinder Television - http://www.lucy-pinder.tv/
GPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F


signature.asc
Description: Digital signature


Re: Trying to install the Ralink wireless drivers

2008-05-04 Thread James Allsopp

I can't get a kernel image more recent than 2.6.21, I've tried
apt-get -t unstable install kernel-image
but it says I've the most recent kernel.

I've just upgraded to lenny, but this hasn't helped.

Also, using apt-cache search I couldn't find any information about the
compiled modules.

Wondering if I wouldn't just be better off downloading an updated source
and trying to do it manually.

Jim

quim wrote:

Alo

Don't need need to compile drivers, but upgrade to kernel 2.6.22


Install the RT2x00 wireless network drivers -loadable kernel modules for
wireless network cards using Ralink RT2x00 chips.

something like rt2x00-modules-2.6.22-2-686

Install wireless tools

Install RutilT which is GTK config

Run RutilT


Does this help?


Quim






  




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




Re: Clearing SWAP

2008-05-04 Thread NN_il_Confusionario
On Sun, May 04, 2008 at 09:20:57AM -0400, Paul Cartwright wrote:
> On Sun May 4 2008, NN_il_Confusionario wrote:
> > the login is automatically done.
> automatic with passwords?

see man login, option "-f"  

If you do not want fully automatic logins, consider something in
/etc/inittab like

3:23:respawn:/sbin/getty -iwn -I "[EMAIL PROTECTED] [Enter]" -l 
/etc/NN/login.user3 38400 tty3

where /etc/NN/login.user3 is executable by root and contains two lines:

#!/bin/sh
exec /bin/login -f user3 "$@"

Again, this permits autologin even when the user has no valid password
simply by hitting "enter" at the login prompt, but the point is that
there must be some interaction and so no automatic starting of X happens.

> > But let me rephrase the question: if for any reason X does not want to
> > start (and it keeps failing and failing, in the suggested
> > configuration), do you known how to boot in a X-less way to correct the
> > problem? [Hint: in the suggested configuration, X automatically starts
> > only in runlevels 2 and 3] 
> telinit 1 ??

this will work if you can interact with, say, tty1. But when X is
continuously tring to restart and continuously fails, it is very
difficoult to interact with /dev/tty1 (however, the default init can
temporarilly disable inittab entries when "respawning too fast: disabled
for 5 minutes")

A reboot with runlevel 1 4 or 5 (in the kernel command line of the boot
loader) will surely do.

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


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



Re: usb to serial

2008-05-04 Thread Charlie
On Sun, 4 May 2008, Ron Johnson engaged keyboard and shared this with us all:
>--} On 05/04/08 02:44, Charlie wrote:
>--} > On Sun, 4 May 2008, Ron Johnson engaged keyboard and shared this with
> us all: --} >> --} On 05/04/08 00:54, Charlie wrote:
>--} >> --} [snip]
>--} >> --} >
>--} >> --} > I have used a USB to RS232 Cable for some years with Linux
> Debian, --} >> coupled to --} > an external dialup modem and it worked a
> treat without --} >> fault. It was not a --} > fancy brand named cable,
> just one that I picked --} >> up in a computer shop, and --} > was about 1
> metre long I think? I haven't --} >> used it with testing for about 3 --} >
> months because I now use satellite. --} >> So something may have changed
> since then? --}
>--} >> --} What does it's lsusb entry look like?
>--} >
>--} > Unfortunately I can't tell you because I no longer use it. But it was
> plugged --} > into a four port comsol powerless USB hub, and was found by
> pon without any --} > problems. I have forgotten how I set it up, no wait,
> I used it straight from --} > the install of Sarge, and then it just kept
> working. I never had reason to --} > query it or if I did, I have
> forgotten.
>--} >
>--} > Sorry I can't be of more help. the modem was a Maestro Woomera dialup
> modem if --} > that's any help.
>--}
>--} All you need to do is plug the adapter into an open USB jack.  No
>--} need for modem, kernel module, etc.

Bus 005 Device 003: ID 0403:6001 Future Technology Devices International, Ltd 
FT232 USB-Serial (UART) IC

HTH
Charlie

-- 
Registered Linux User:- 329524
***
Baby mice in their nest Squeak in response To the young sparrows. ---BASHO

***
Debian, just the best way to create magic
___


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



Re: Debian 4.0 - NFS Install

2008-05-04 Thread Tzafrir Cohen
On Sun, May 04, 2008 at 07:27:11AM -0500, Michael Madden wrote:
> Is there a way to perform a NFS install of Debian 4.o on x86 or x86_64? 
>  From what I can tell, HTTP is the preferred network install method. 
> Ideally I'd like to copy my install DVDs to a NFS share and perform an 
> installation via NFS.

You can use the netboox (pxelinux). You need a basic tftp/pxe setup for 
that. See the installation guide.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


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



Re: Debian 4.0 - NFS Install

2008-05-04 Thread Raj Kiran Grandhi

Michael Madden wrote:
Is there a way to perform a NFS install of Debian 4.o on x86 or x86_64? 
 From what I can tell, HTTP is the preferred network install method. 
Ideally I'd like to copy my install DVDs to a NFS share and perform an 
installation via NFS.


How are you planning to start the installation? Local cdrom or netboot?
Either way, just do a minimal installation.

Once you have a basic system (minimal install) up and running, you can 
mount the nfs share, point apt to that share and install the rest of 
your system.



--
Raj Kiran Grandhi
--
Politics is for the moment. An equation is for eternity.
   -- Albert Einstein


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




Re: Clearing SWAP

2008-05-04 Thread NN_il_Confusionario
On Sun, May 04, 2008 at 07:36:02AM -0400, Paul Cartwright wrote:
> On Sun May 4 2008, NN_il_Confusionario wrote:
> > But you should also carefully consider: is it a really good idea to have
> > one (or more) automatically started X session ?
> 
> when the computer boots, the first thing(s) I do is log myself and my wife 
> in. 

Well, with my suggested configuration you even do not need this, since
the login is automatically done. 

But let me rephrase the question: if for any reason X does not want to
start (and it keeps failing and failing, in the suggested
configuration), do you known how to boot in a X-less way to correct the
problem? [Hint: in the suggested configuration, X automatically starts
only in runlevels 2 and 3]

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


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



Re: HELP - Can't boot - I/O error reading swsusp.image

2008-05-04 Thread NN_il_Confusionario
On Sun, May 04, 2008 at 08:29:31AM -0400, [EMAIL PROTECTED] wrote:
> I did a fresh etch install, then restored some
> mondo backup files using mondorestore.

I do not use mondo; so I ask: are you sure that mondorestore does not
change the partition table? Are you sure that the files you restored are
not responsable for the apparence of swsusp in the boot process?

> that point.  But then I did an update and upgrade, and now I am
> getting the same swsusp error I had before and can't boot!

check in the bootloader prompt the kernel command line. If there is
something related to resuming a suspended session, delete it. Also, boot
in single user mode or even with init=/bin/bash (and then "mount -o
remount,rw /") and purge any package related to swsusp ("apt-cache
search swsusp" gives me only the package uswsusp). If all seems to fail,
boot with a live cd (or the debian installation cd in rescue mode),
mount your disk, chroot where the disc is mounted, purge uswsusp, edit
the boot loader configuration (possibly menu.lst in /boot/grub/, but it
depends upon your boot loader), reinstall the kernel (to recreate the
initrd) and the boot loader

There is absolutely NO need to reinstall once again (unless you have
severely messed up your partition table and filesysetems, or things like
that).

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


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



Fwd: usb to serial

2008-05-04 Thread Ezra Taylor
-- Forwarded message --
From: Ezra Taylor <[EMAIL PROTECTED]>
Date: Sun, May 4, 2008 at 8:53 AM
Subject: Re: usb to serial
To: Daniel Dalton <[EMAIL PROTECTED]>


Hello Daniel:
  I use a usb/serial adapter from Keyspan.  The
 P/N is USA-19HS.  You might have to enable it in the kernel.  Also, I
 use minicom to acces access serial devices.



 On Sat, May 3, 2008 at 11:49 PM, Daniel Dalton
 <[EMAIL PROTECTED]> wrote:
 >
 >  I'm a blind debian user and therefore use a braille display.
 >  So I need to connect it somehow.
 >  The display is a piece of hardware that is usually connect with a serial
 > cable, but since my new box only has a usb available, no serial I must use
 > usb to serial.
 >  So does anyone know of the following:
 >
 >  - a supported usb to serial cable for linux that works with the kernel?
 >  (If so could you please provide a model number or brand?) Or even better if
 > you know where I can get one of these from?
 >  Perhaps you could show me an add on ebay?
 >  (I had a look, but don't really understand the info and I am having trouble
 > using my computer obviously.)
 >  - If the kernel supports it will a software daemon (brltty) support it?
 >
 >  Thanks for any help,
 >  BTW, sorry if there are basic mistakes in this writing, I only have a basic
 > or reasonably good tts package here and no braille...
 >
 >  Cheers,
 >
 >   -- Daniel Dalton
 >
 >  http://members.iinet.net.au/~ddalton/
 >  <[EMAIL PROTECTED]>
 >
 >
 >  --
 >  To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a
 > subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 >
 >



 --
 Ezra Taylor



-- 
Ezra Taylor


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



Re: software raid5 array degrades from initrd

2008-05-04 Thread martin f krafft
also sprach Dexter Filmore <[EMAIL PROTECTED]> [2008.05.03.1723 +0100]:
> initrd has its own log...?

No, it just prints to the console.

I suggest you add break=bottom to the kernel command line (and
remove the raid=noautodetect, which you don't need) and then reboot,
inspect the console output and tell us what it says.

You can exit the shell to continue the boot.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
microsoft: for when quality, reliability, and security
   just aren't that important!


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Re: Debian etch kernel compile problem

2008-05-04 Thread martin f krafft
also sprach Murat Ugur EMINOGLU <[EMAIL PROTECTED]> [2008.05.04.1144 +0100]:
> i compiled kernel on debian etch (two times). But i have a same problem
>
> No raid arrays. No Lvm

You have not provided any details, such as the configuration and
command line used, so we can't really help you.

> ALERT /dev/sda1 does not exist. Dropping to on shell!

Seems like you forgot to include the SCSI/SATA drivers.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
"when zarathustra was alone... he said to his heart: 'could it be
 possible! this old saint in the forest hath not yet heard of it, that
 god is dead!'"
 - friedrich nietzsche


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


Re: HELP - Can't boot - I/O error reading swsusp.image

2008-05-04 Thread [EMAIL PROTECTED]
On 5/4/08, NN_il_Confusionario <[EMAIL PROTECTED]> wrote:
> On Sat, May 03, 2008 at 05:23:46PM -0400, [EMAIL PROTECTED] wrote:
> > attempt to access beyond end of device
> > hda2: rw=16, want=8, limit=2
> > I/O error reading swsusp image.
>
> one case where "access beyond end of device" can happen is this:
>
> You delete a partition on a disk where also other partitions are used
> (mounted, or used for swap).
>
> Then, without rebooting, you recreate the partition but not with
> _exactly_ the same starting and ending point (in this case, a ending
> point which is before the previous one)
>
> Again without rebooting, you start using the re-created partition. The
> kernel sitll has in memory (and in /proc/partitions) the OLD starting
> and ending points of the partition, so mkswap, mkfs*, whatever still use
> the "old geometry".
>
> Then you reboot, and at the reboot the kernel reads the new partition
> table ...

This is a killer - I did a fresh etch install, then restored some
mondo backup files using mondorestore.  Things ere mostly working at
that point.  But then I did an update and upgrade, and now I am
getting the same swsusp error I had before and can't boot!  I have no
idea where this is coming from!  I guess I'll reformat my drive and
start over!  - John


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



Debian 4.0 - NFS Install

2008-05-04 Thread Michael Madden
Is there a way to perform a NFS install of Debian 4.o on x86 or x86_64? 
 From what I can tell, HTTP is the preferred network install method. 
Ideally I'd like to copy my install DVDs to a NFS share and perform an 
installation via NFS.


Thanks in advance.


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




Re: usb to serial

2008-05-04 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/04/08 02:44, Charlie wrote:
> On Sun, 4 May 2008, Ron Johnson engaged keyboard and shared this with us all:
>> --} On 05/04/08 00:54, Charlie wrote:
>> --} [snip]
>> --} >
>> --} > I have used a USB to RS232 Cable for some years with Linux Debian,
>> coupled to --} > an external dialup modem and it worked a treat without
>> fault. It was not a --} > fancy brand named cable, just one that I picked
>> up in a computer shop, and --} > was about 1 metre long I think? I haven't
>> used it with testing for about 3 --} > months because I now use satellite.
>> So something may have changed since then? --}
>> --} What does it's lsusb entry look like?
> 
> Unfortunately I can't tell you because I no longer use it. But it was plugged 
> into a four port comsol powerless USB hub, and was found by pon without any 
> problems. I have forgotten how I set it up, no wait, I used it straight from 
> the install of Sarge, and then it just kept working. I never had reason to 
> query it or if I did, I have forgotten.
> 
> Sorry I can't be of more help. the modem was a Maestro Woomera dialup modem 
> if 
> that's any help.

All you need to do is plug the adapter into an open USB jack.  No
need for modem, kernel module, etc.

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIHaLiS9HxQb37XmcRAtlIAKC9VVX9dii4DI9QHvaFHogDMtzMuwCg49i4
E4QT93wjoZZ6q6C7ZNshqM4=
=uP1e
-END PGP SIGNATURE-


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



Re: creating my own livecd

2008-05-04 Thread Tzafrir Cohen
On Sun, May 04, 2008 at 09:37:44PM +1000, Daniel Dalton wrote:
> 
> I need to make my own livecd for a rescue cd and a demo cd.
> I am blind so want to include some accessibility: my own speakup kernel, 
> brltty and gnome-orca (and gnome, emacs mplayer firefox 3 and other 
> packages I might like like fetchmail and alpine etc.)
> 
> So what do I have to do to create my own livecd?
> It should be debian based and come up talking as soon as it boots: it just 
> needs to boot a certain kernel...
> Also it should launch a text-mode log in...
> So is this possible...
> Basically I just want to create my livecd and I can work on getting the 
> accessibnility stuff working...
> 
> So how do I do this?

For starters, http://debian-live.alioth.debian.org/

The default is console that logins automatically to the user "user".
Though I modified mine to start a pdmenu-based menu in half of the
console menus instead.

Adding extra packages, changing boot parameters and such is quite easy.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il || a Mutt's
[EMAIL PROTECTED] ||  best
ICQ# 16849754 || friend


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



Re: fstab: mounting external hard drive

2008-05-04 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/04/08 01:01, Daniel Dalton wrote:
> Hi,
> 
> How can I mount my external hard drive on boot up?
> I assume with /etc/fstab?
> If so what is the line I should add?
> The fs type: ext3
> Its on /dev/sdb1
> and I want to mount it to /media/daniel-external
> Also it should be read and writeable by all users...
> 
> I tried something like:
> /dev/sdb1  /media/daniel-external  ext3  none  rw
> But no luck.

Define "no luck".

> Any ideas?

Sure.  But a more specifics and details are *always* necessary.

> Thanks for any help,

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIHaJMS9HxQb37XmcRAgncAKCCaEkhE4tUU5/rY7uJ8+4AndpbmACePNy6
L7j0WAakviF+Q0jboRk29nM=
=F608
-END PGP SIGNATURE-


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



creating my own livecd

2008-05-04 Thread Daniel Dalton


I need to make my own livecd for a rescue cd and a demo cd.
I am blind so want to include some accessibility: my own speakup kernel, 
brltty and gnome-orca (and gnome, emacs mplayer firefox 3 and other 
packages I might like like fetchmail and alpine etc.)


So what do I have to do to create my own livecd?
It should be debian based and come up talking as soon as it boots: it just 
needs to boot a certain kernel...

Also it should launch a text-mode log in...
So is this possible...
Basically I just want to create my livecd and I can work on getting the 
accessibnility stuff working...


So how do I do this?

Thanks,




--
Daniel Dalton

http://members.iinet.net.au/~ddalton/
<[EMAIL PROTECTED]>


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




Re: Clearing SWAP

2008-05-04 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 05/04/08 06:32, Paul Cartwright wrote:
> On Sun May 4 2008, Ron Johnson wrote:
>> Certainly there are more than 4 females in this world who can
>> overcome their "fear" of the SBSOD.  Right???
> 
> my wife doesn't like typing, she likes clicking mice. She also likes to 
> garden, and she does wonders outside, so when she says she doesn't like 
> change ( on the computers) I try to accommodate her. She has instructions 
> written down on how to switch our dual-boot from Debian to the dark side & 
> back. Luckily she doesn't do it often:) At least she uses Linux, kmail, 
> firefox, gwenview, openoffice baby steps..

How does she tolerate entering a password?

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIHaAES9HxQb37XmcRApLuAKDDf3zEA6rhF+vV8/dcw0qSzbVfpQCdEtuM
ebAGQEMF2beX8QVoVPM7mAs=
=V8g7
-END PGP SIGNATURE-


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



Re: Clearing SWAP

2008-05-04 Thread Paul Cartwright
On Sun May 4 2008, Ron Johnson wrote:
> Certainly there are more than 4 females in this world who can
> overcome their "fear" of the SBSOD.  Right???

my wife doesn't like typing, she likes clicking mice. She also likes to 
garden, and she does wonders outside, so when she says she doesn't like 
change ( on the computers) I try to accommodate her. She has instructions 
written down on how to switch our dual-boot from Debian to the dark side & 
back. Luckily she doesn't do it often:) At least she uses Linux, kmail, 
firefox, gwenview, openoffice baby steps..

-- 
Paul Cartwright
Registered Linux user # 367800
Registered Ubuntu User #12459


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



Re: Booting kernel 2.6.25 from Debian40r3 prompts: Waiting for root file system

2008-05-04 Thread [EMAIL PROTECTED]
On May 4, 6:40 pm, Alex Samad <[EMAIL PROTECTED]> wrote:
> On Sat, May 03, 2008 at 11:35:29PM -0700, [EMAIL PROTECTED] wrote:
> > Under the (initramfs) prompt, the uname -r reports 2.6.25.
> what is the output of cat  /proc/partitions, can you
> see /dev/sda.
> maybe the driver for you had is not in .25
>

Hi, this is the result,

$ cat /proc/partitions
major minor  #blocks  name

   8 08388608 sda
   8 1 273073 sda1
   8 2  1 sda2
   8 53060351 sda5
   8 61477948 sda6
   8 7 273073 sda7
   8 8 265041 sda8
   8 93036253 sda9
$ ls -al /dev/sda
brw-rw 1 root disk 8, 0 2008-05-05 02:46 /dev/sda
$


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



Debian etch kernel compile problem

2008-05-04 Thread Murat Ugur EMINOGLU

Dear all,

i compiled kernel on debian etch (two times). But i have a same problem

No raid arrays. No Lvm

compiled 2.6.21 , 2.6.25 same problem

Begin: Assembling all Md arrays
mdadm : No array found in config file on automatically
failure : failed to assemble all arrays

Check root=bootarg cat /proc/cmdline or missing modules, devices cat 
/proc/modules ls /dev/

ALERT /dev/sda1 does not exist. Dropping to on shell!

(initramfs):

what is problem ?

Thansk for your helps.
Regards.
Reply With Quote
--
#!/bin/bash

Murat Ugur EMINOGLU

www.fedoraturkiye.com
www.murat.ws
liste[at]fedoraturkiye.com



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




Re: Booting kernel 2.6.25 from Debian40r3 prompts: Waiting for root file system

2008-05-04 Thread Alex Samad
On Sat, May 03, 2008 at 11:35:29PM -0700, [EMAIL PROTECTED] wrote:
> Hi,

[snip]

> Under the (initramfs) prompt, the uname -r reports 2.6.25.
what is the output of cat  /proc/partitions, can you see /dev/sda.
maybe the driver for you had is not in .25


> 
> 
> Thank you for your time.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
"Every man has his price.  Mine is $3.95."


signature.asc
Description: Digital signature


Re: usb to serial

2008-05-04 Thread Charlie
On Sun, 4 May 2008, Ron Johnson engaged keyboard and shared this with us all:
>--} On 05/04/08 00:54, Charlie wrote:
>--} [snip]
>--} >
>--} > I have used a USB to RS232 Cable for some years with Linux Debian,
> coupled to --} > an external dialup modem and it worked a treat without
> fault. It was not a --} > fancy brand named cable, just one that I picked
> up in a computer shop, and --} > was about 1 metre long I think? I haven't
> used it with testing for about 3 --} > months because I now use satellite.
> So something may have changed since then? --}
>--} What does it's lsusb entry look like?

Unfortunately I can't tell you because I no longer use it. But it was plugged 
into a four port comsol powerless USB hub, and was found by pon without any 
problems. I have forgotten how I set it up, no wait, I used it straight from 
the install of Sarge, and then it just kept working. I never had reason to 
query it or if I did, I have forgotten.

Sorry I can't be of more help. the modem was a Maestro Woomera dialup modem if 
that's any help.

Charlie
-- 
Registered Linux User:- 329524
***
Having no destination, I am never lost. IKKYU

***
Debian, just the best way to create magic
___


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



Re: full control of connections

2008-05-04 Thread NN_il_Confusionario
> * From: frits <[EMAIL PROTECTED]>
>allowed to include the applications in the firewall rules.

man iptables in etch still shows

   owner
   This  module attempts to match various characteristics of the packet 
creator, for locally-
   generated packets. 

besides,

   grep -i owner /boot/config-2.6.*
/boot/config-2.6.18-nn:CONFIG_IP_NF_MATCH_OWNER=m
/boot/config-2.6.18-nn:CONFIG_IP6_NF_MATCH_OWNER=m
/boot/config-2.6.8-3-powerpc:CONFIG_IP_NF_MATCH_OWNER=m

so both sarge and etch should work with this (however, I do not use it)

>You might wonder why. Application running on wine should never connect
>anywhere,

for using untrusted applications it might be a good idea to use a
_specific_ user. For example, I have a specific user for e-mail, a
specific user for www, a specific user for ssh, all with a private group
and umask which permits the group to read and no else to write; each of
these users is only in its private group. My "regular" user which I use
to manipulate my locally created files (.tex .ly .denemo .mid .wav ...)
is on the contrary in special groups (audio, ...) and in the private
groups of the above users.


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



Re: usb to serial

2008-05-04 Thread Daniel Dalton

On Sun, 4 May 2008, Celejar wrote:



These adaptors are 'smart', i.e. they contain electronics to do the
conversion, so as with hardware generally with linux, what counts is
the chipset.  I believe that many of these devices use the Prolific
PL2303 chipset, which shows up with 'lsusb', at least in my case, as
"ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port".  This
chipset has kernel support via the pl2303 driver.  I have another
adaptor whose ID apparently isn't in the database; nothing shows up
other than the numerical ID.  It is also grabbed by pl2303 (although
IIANM, that wasn't the case several months ago, when I first acquired
it), but it doesn't seem to be working properly, as opposed to the
Prolific one, which works fine.

I purchased both my adaptors on Ebay.  They are virtually identical in
appearance, except for color; both have attractive silver cables


Thanks to everyone that replied!

I found this:
http://cgi.ebay.com/USB-to-RS232-Serial-DB9-9-Pin-Cable-Adapter-Converter_W0QQitemZ140230142593QQihZ004QQcategoryZ41995QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

Will this work for what I want?
(my braille display has a standard serial port on it.)
Note that the serial port on my braille note has mail converters (so has 
pins in it not holes)


Will this work for what I want?

If you can get back to me before the add ends I will get it.

Thanks.

--
Daniel Dalton

http://members.iinet.net.au/~ddalton/
<[EMAIL PROTECTED]>


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




Re: fstab: mounting external hard drive

2008-05-04 Thread NN_il_Confusionario
> * From: Daniel Dalton <[EMAIL PROTECTED]>
>How can I mount my external hard drive on boot up?

Is the external disk a usb one?

If it is, is usb-storage (and the module for you usb chipset) already
loaded when mount -a is executed by the scripts in /etc/init.d/ ?
(You could add the needed modules to /etc/modules , if necessary)

>Also it should be read and writeable by all users...
>/dev/sdb1  /media/daniel-external  ext3  none  rw
>But no luck.

First manually mount

mount -t ext3 -o noatime,$OTHER_OPTIONS /dev/sdb1 /media/daniel-external

If it works, then the fstab line shoud work (once " 0 0" is appended at
the end and once the needed modules are loaded before mount -a is
executed by the boot scripts)

Finally, note that once on /media/daniel-external/ you have mounted
/dev/sdb1 then the owner, group and permissions of the directory
/media/daniel-external/ are those of the / filesystem on /dev/sdb1

So a chown and chmod once the disk is mounted should be sufficient an
persistent.

Consider also mounting by UUID or LABEL instead of /dev/sdb1 since for
removable drives this is usually a much better way to be sure you are
mounting the correct disk / partition.

 


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