Re: Check if laptop in use?

2004-12-04 Thread Karsten Heymann
Hello Jacob,

Jacob S wrote:

> I have a laptop on my network that I need to do an occasional upgrade
> on. It runs Debian - what else? :-) I'd like to make sure it's not
> currently in use when I do the upgrades though, as the upgrades are
> usually done over the network via ssh.

> I know this user always closes the lid on their laptop when they leave
> it for any extended period of time. So, my question is, is there a way
> to check the status of the lcd screen/lid closed switch? Alternative
> suggestions that would work better?

If ACPI is enabled then closing and opening the Lid generates an ACPI event
on some notebooks, which can be handled by acpid. On my asus
closing/opening the lid generates

 button/lid LIDD 0080 0003
 button/lid LIDD 0080 0004

in /proc/acpi/event

Another solution would be to create a /etc/nologin file (it's existence
disabled non-root logins), wait until the user logs out and perform the
update then, afterwards delete it. At least that would be the way I would
do it on a server.

Yours,
Karsten


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



lspci and /sys

2004-12-04 Thread Petter Senften
Hello!
I'm new to this list, but after googling for a few hours after a fix to 
my problem it seems I have no other option than to try to get some 
attention here :)

My server is a Debian Sarge-box (dist-upgraded from Woody a few months 
back). Anyhoo, anytime I use lspci I get the following error: pcilib: 
Cannot open /sys/bus/pci/devices

Also, when the PHP-script "PHPsysinfo" runs it generates the same error 
in the Apache Error-log, as well as taking forever to finish the 
operation. Both items still list my PCI devices, but after a delay 
(which to me is annoying).

If I go to /sys it's empty, so obviously something is missing. I 
wouldn't say that I'm a complete Linux-bewbie, but this problem has me 
completely stumped, and as mentioned Google has been of no help this 
time. So I'm asking all the experts out there - what can I do to correct 
this?

Thanks in advance
/petter senften
--
[EMAIL PROTECTED] | http://www.isecore.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



M$ USB-key

2004-12-04 Thread Yevgen Reznichenko
Hello,
I have again troubles to run M$ mess on my linux machine (sid, 2.4.27,
2.6.9), but now it is software it is hardware. I got an USB-Memory-stick
from M$ and can't mount it. Actually the stick is from Swissbit and
according to its homepage it is supported by 2.4+ kernels. How can I run
this thing under my machine?
Here is dmesg output:
hub.c: new USB device 00:07.2-1, assigned address 3
usb.c: kmalloc IF c5216d60, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
usb.c: USB device number 3 default language ID 0x409
Manufacturer: SWISSBIT
Product: Twist
SerialNumber: 408E8FAE062113B6
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3
usb.c: usb-storage driver claimed interface c5216d60
usb.c: kusbd: /sbin/hotplug add 3
usb.c: kusbd policy returned 0xfffe
hub.c: port 2, portstatus 100, change 0, 12 Mb/s
Here is the error message:
$ mount /mnt/usb/
mount: /dev/sda1 is not a valid block device
Here is kernel config:
$ cat .config | grep USB
# CONFIG_USB_IRDA is not set
# CONFIG_INPUT_IFORCE_USB is not set
# USB support
CONFIG_USB=y
CONFIG_USB_DEBUG=y
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_UHCI_ALT=y
CONFIG_USB_OHCI=y
# CONFIG_USB_SL811HS_ALT is not set
# CONFIG_USB_SL811HS is not set
# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
#   USB Bluetooth can only be used with disabled Bluetooth subsystem
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
CONFIG_USB_ACM=y
CONFIG_USB_PRINTER=y
# USB Human Interface Devices (HID)
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# USB Imaging devices
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# USB Multimedia devices
#   Video4Linux support is needed for USB Multimedia device support
# USB Network adaptors
CONFIG_USB_PEGASUS=m
# CONFIG_USB_RTL8150 is not set
CONFIG_USB_KAWETH=m
CONFIG_USB_CATC=m
CONFIG_USB_CDCETHER=m
CONFIG_USB_USBNET=m
# USB port drivers
# CONFIG_USB_USS720 is not set
# USB Serial Converter support
CONFIG_USB_SERIAL=y
# CONFIG_USB_SERIAL_DEBUG is not set
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_SERIAL_BELKIN=m
CONFIG_USB_SERIAL_WHITEHEAT=m
CONFIG_USB_SERIAL_DIGI_ACCELEPORT=m
# CONFIG_USB_SERIAL_EMPEG is not set
CONFIG_USB_SERIAL_FTDI_SIO=m
CONFIG_USB_SERIAL_VISOR=m
CONFIG_USB_SERIAL_IPAQ=m
CONFIG_USB_SERIAL_IR=m
CONFIG_USB_SERIAL_EDGEPORT=m
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
CONFIG_USB_SERIAL_KEYSPAN_PDA=m
# CONFIG_USB_SERIAL_KEYSPAN is not set
CONFIG_USB_SERIAL_MCT_U232=m
CONFIG_USB_SERIAL_KLSI=m
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_CYBERJACK is not set
CONFIG_USB_SERIAL_XIRCOM=m
CONFIG_USB_SERIAL_OMNINET=m
# USB Miscellaneous drivers
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set
# Support for USB gadgets
# CONFIG_USB_GADGET is not set
CONFIG_BLUEZ_HCIUSB=m
# CONFIG_BLUEZ_HCIUSB_SCO is not set
# CONFIG_BLUEZ_HCIBFUSB is not set
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: lspci and /sys

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 10:22 +0100, Petter Senften wrote:
> Hello!
> 
> I'm new to this list, but after googling for a few hours after a fix to 
> my problem it seems I have no other option than to try to get some 
> attention here :)
> 
> My server is a Debian Sarge-box (dist-upgraded from Woody a few months 
> back). Anyhoo, anytime I use lspci I get the following error: pcilib: 
> Cannot open /sys/bus/pci/devices
> 
> Also, when the PHP-script "PHPsysinfo" runs it generates the same error 
> in the Apache Error-log, as well as taking forever to finish the 
> operation. Both items still list my PCI devices, but after a delay 
> (which to me is annoying).
> 
> If I go to /sys it's empty, so obviously something is missing. I 
> wouldn't say that I'm a complete Linux-bewbie, but this problem has me 
> completely stumped, and as mentioned Google has been of no help this 
> time. So I'm asking all the experts out there - what can I do to correct 
> this?

Are you running a 2.6 kernel?  Do you have SYSFS enabled?

  $ zcat /proc/config.gz | grep SYSFS
  CONFIG_SYSFS=y

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"He that would live in peace and at ease must not speak all he
knows or all he sees."
Benjamin Franklin



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


Re: M$ USB-key

2004-12-04 Thread David Purton
On Sat, Dec 04, 2004 at 11:53:07AM +0100, Yevgen Reznichenko wrote:
> Hello,
> 
> I have again troubles to run M$ mess on my linux machine (sid, 2.4.27,
> 2.6.9), but now it is software it is hardware. I got an USB-Memory-stick
> from M$ and can't mount it. Actually the stick is from Swissbit and
> according to its homepage it is supported by 2.4+ kernels. How can I run
> this thing under my machine?
> 
> Here is dmesg output:
> 
> hub.c: new USB device 00:07.2-1, assigned address 3
> usb.c: kmalloc IF c5216d60, numif 1
> usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
> usb.c: USB device number 3 default language ID 0x409
> Manufacturer: SWISSBIT
> Product: Twist
> SerialNumber: 408E8FAE062113B6
> WARNING: USB Mass Storage data integrity not assured
> USB Mass Storage device found at 3
> usb.c: usb-storage driver claimed interface c5216d60
> usb.c: kusbd: /sbin/hotplug add 3
> usb.c: kusbd policy returned 0xfffe
> hub.c: port 2, portstatus 100, change 0, 12 Mb/s
> 
> Here is the error message:
> 
> $ mount /mnt/usb/
> mount: /dev/sda1 is not a valid block device
> 

Are you sure sda1 is the right device?

For some reason, my key uses /dev/sda

try

mount -t auto /dev/sda /mnt

and see if that works

cheers

dc


-- 
David Purton
[EMAIL PROTECTED]
 
For the eyes of the LORD range throughout the earth to
strengthen those whose hearts are fully committed to him.
 2 Chronicles 16:9a


signature.asc
Description: Digital signature


change my home directory or how to migrate evolution?

2004-12-04 Thread Pascal Bonesh
Hi,

For some reason nautilus always changed to audio-viewer mode when I
opened my home directory. It then crashed and never could be brought up
again.

So I had to move to another user name and subsequently other home
directory. 

Now for almost every application this was painless: I just copied
the .dot file to the new home directory and they worked. So they just
look in ~/.whatever for their user-configs. This is how it should be
(IMHO).

The only troubles I ran into was openoffice, but changinge .sversionrc
was easy and now points to the new location. But why does it need to be
an absolute path in any case?

And then came evolution. I looked in '.gconf/apps/evolution' in
'.evolution' and I don't remember which other locations...

It didn't work and I found it still looked in the wrong/old locations. I
then tried to change these absolute paths in the config files to point
to the new location. But in the end nothing worked at all anymore. So I
ended up setting up yet another user with no .gnome* and .evolution
configs in it and starting all over again: setting up mail accounts
importing old mails by hand...

You can imagine that it was not a pleasant thing to do...

Now as I don't know what crashed the nautilus-audio-viewer and therefore
am not sure when it happens again I would like to be prepared for the
next time. 

I therefore have some questions:

1. how do I migrate a home directory best? I just created a new user and
copied almost all .* files from the old to the new folder and then did a
chown -R user:user * on my new home dir.

2. how can I migrate evolution? I would like to keep all configuration,
filters, junk mail detection, mail settings and mails. 

3. are there other programs with similar problems? How are their configs
moved?

Thank you,
Pascal


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



Re: change my home directory or how to migrate evolution?

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 12:50 +0100, Pascal Bonesh wrote:
[snip]
> 2. how can I migrate evolution? I would like to keep all configuration,
> filters, junk mail detection, mail settings and mails. 

The first thing to do is to log in as the-user-to-be-moved and
run "evolution --force-shutdown" and also shutdown gconf.  Don't
know how to do that, though.

Then, cp .gconf/apps/evolution to the new ~.

Then, since it looks like you are using Evo 2, cp .evolution to
the new ~.

In .gconf/apps/evolution, there are, unfortunately, many fully-
qualified filenames, meaning that you'll have to go in there and
edit a bunch of keys.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"He used statistics the way a drunkard uses lampposts - for
support, not illumination."
Andrew Lang



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


Re: M$ USB-key

2004-12-04 Thread Yevgen Reznichenko
David Purton wrote:
On Sat, Dec 04, 2004 at 11:53:07AM +0100, Yevgen Reznichenko wrote:

I have again troubles to run M$ mess on my linux machine (sid, 2.4.27,
2.6.9), but now it is software it is hardware. I got an USB-Memory-stick
Sorry, I forgot "not" in this sentence. The right version is "..., but 
now it is not software it is hardware"

Are you sure sda1 is the right device?
All other USB keys and digital cameras I mount succesful on this device
For some reason, my key uses /dev/sda
try
mount -t auto /dev/sda /mnt
and see if that works
Unfortunately not!
Yevgen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apache and phpwebsite

2004-12-04 Thread Harland Christofferson
At Friday, 15 October 2004, psychoelmo <[EMAIL PROTECTED]> wrote:

>On Thu, 14 Oct 2004 08:35:21 -0400, Harland Christofferson
><[EMAIL PROTECTED]> wrote:
>> i am trying to virtual host using apache. i have several hosts 
already
>> but, for some reason, I haven't been able to get phpwebsite to work
>> out.
>> 
>> in /etc/httpd.conf i have:
>> 
>> Listen 8080
>> 
>> .
>> .
>> .
>> 
>> #
>> # Alias for phpwebsite added 10/12/04 by hhc
>> #
>> 
>> Alias /setup/index.html /var/www/phpwebsite-0.9.3-4-full/setup/index.
php
>> 
>>   Options ExecCGI Includes FollowSymlinks
>>   AddHandler cgi-script .php .cgi .sh .pl
>> 
>> 
>> Alias /phpwebsite-0.9.3-4-full/index.html /var/www/phpwebsite-0.9.
>> 3-4-full/index.php
>> 
>>   Options ExecCGI Includes FollowSymlinks
>>   AddHandler cgi-script .php .cgi .sh .pl
>> 
>> 
>> .
>> .
>> .
>> 
>> 
>> DocumentRoot /var/www/phpwebsite-0.9.3-4-full
>> 
>> 
>> i would think that the url: http://www.mydomain.com:8080/ would 
present
>> the aliased path /var/www/phpwebsite-0.9.3-4-full/index.php
>> 
>> but a server error:
>> 
>> Warning: main(PEAR.php): failed to open stream: No such file or 
directory
>> in /var/www/phpwebsite-0.9.3-4-full/core/Core.php on line 33
>> 
>> Fatal error: main(): Failed opening required 'PEAR.php' (include_path='.

>> :/lib/pear/') in /var/www/phpwebsite-0.9.3-4-full/core/Core.php on
>> line 33
>> 
>> the core/Core.php file appears w/ r-x permissions in the path.
>> 
>
>you have the required pear libs installed? pws also requires more
>memory for php than the default.. (they recommend 12mb, default is 8;
>i run with 16mb because of another script package i run).
>
>see 
>http://phpwebsite.appstate.edu/downloads/rsync/stable/phpwebsite/docs/REQUIREMENTS.

>txt
>and 
>http://phpwebsite.appstate.edu/downloads/rsync/stable/phpwebsite/docs/PEARERRORS.

>txt
>
>and instead of aliasing the filename, and setup directory separately,
>just one alias for the phpwebsite root is enough.  also, if pws is not
>set up, it will run the web install script automatically if you hit
>the site root...
>
>havent installed a pws in awhile.. was going to soon anyhow to see
>what's new, so why not now?   :)
>
>here's a quick rundown of my pws install process (exactly what i just
>did while writing this), using sarge and apache2, etc.. installed from
>deb's repositories (along with php4-pear, php4-mysql, php4 via apache2
>mod, gd, im, etc..) note that what i installed with apt(itude) met the
>pear requirements for pws, i didnt have to install/use the pear libs
>that come with pws.
>
>i started an ssh session as my normal user, which is where i install
>web scripts i'm testing.
>cd ~/public_html
>mkdir pws
>cd pws
>
>wget http://phpwebsite.appstate.edu/install
>
>chmod +x install
>
>../install
>
>(give it a few minutes, there's no screen output while it downloads
>the tarball, and thats the first thing the script does)
>
>rm install
>
>(then as superuser... edit php and apache configs)
>
>nano -w /etc/php4/apache2/php.ini
>ctrl-w search for: memory
>increase memory_limit to 12M or higher (default is 8M)
>(i didnt have to do this, as mine was already increased for something 
else)
>
>nano -w /etc/apache2/sites-enabled/pws-test
>   alias /pws /home/admin/public_html/pws
>   
>   options followsymlinks multiviews
>   allowoverride fileinfo
>   
>(you'd put this in your virtualhost configuration)
>
>restart apache2
>
>create db for pws via phpmyadmin (or manually if you prefer)
>
>browse to http://pwsroot  (as defined by the alias, i.e.
>http://www.mydomain.com/pws in this example)
>   if pws is not configured, the web install script starts automatically.

>

Thanks. I finally had some time and motivation to get back to this 
task. I think I have it worked out.










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



Re: M$ USB-key

2004-12-04 Thread Sridhar M.A.
On Sat, Dec 04, 2004 at 11:53:07AM +0100, Yevgen Reznichenko wrote:
   > Hello,
   > 
   > I have again troubles to run M$ mess on my linux machine (sid, 2.4.27,
   > 2.6.9), but now it is software it is hardware. I got an USB-Memory-stick
   > from M$ and can't mount it. Actually the stick is from Swissbit and
   > according to its homepage it is supported by 2.4+ kernels. How can I run
   > this thing under my machine?
   > 
   > Here is dmesg output:
   > 
   > hub.c: new USB device 00:07.2-1, assigned address 3
   > usb.c: kmalloc IF c5216d60, numif 1
   > usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
   > usb.c: USB device number 3 default language ID 0x409
   > Manufacturer: SWISSBIT
   > Product: Twist
   > SerialNumber: 408E8FAE062113B6
   > WARNING: USB Mass Storage data integrity not assured
   > USB Mass Storage device found at 3
   > usb.c: usb-storage driver claimed interface c5216d60
   > usb.c: kusbd: /sbin/hotplug add 3
   > usb.c: kusbd policy returned 0xfffe
   > hub.c: port 2, portstatus 100, change 0, 12 Mb/s
   > 
   > Here is the error message:
   > 
   > $ mount /mnt/usb/
   > mount: /dev/sda1 is not a valid block device
   > 
I had somewhat similar problem when I tried using my Apacer USB stick on
my machine. It was perfectly readable and writable under M$, but not
even recognised under linux. What the manual suggested somewhere is that
it had to be formatted under Linux using mkfs.vfat or mkfs.msdos. I went
with the latter and till date have no problems. 

Possible solution for your stick: 

  Try cfdisk /dev/sda

  If your system can recognise it, then follow the above procedure of
  creating a partition and formatting it as dos partition from Linux. Do
  not do it from M$.

HTH,

Regards,

-- 
Sridhar M.A.   GPG KeyID : F6A35935
  Fingerprint: D172 22C4 7CDC D9CD 62B5  55C1 2A69 D5D8 F6A3 5935

This screen intentionally left blank.


signature.asc
Description: Digital signature


Re: Emacs fonts for coding

2004-12-04 Thread Stephen Patterson
On Fri, 03 Dec 2004 17:30:17 +0100, s. keeling wrote:
> Incoming from Antonio Rodriguez:
>> I would like to know what font are people using for coding. I have
>> tried a bunch of different ones, and it always seems to have some bad
>> corner. This last one I am using makes it difficult to distinguish
>> braces "{" from parentheses "(". Bad news for coding.
>
> -b&h-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60-iso8859-1

I find my regular terminal font (7x13) to be good and just set emacs
to use that.

-- 
Stephen Patterson http://patter.mine.nu/
[EMAIL PROTECTED]  remove SPAM to reply
Linux Counter No: 142831 GPG Public key: 252B8B37
Caution: breathing may be hazardous to your health.


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



XFCE and themes switching

2004-12-04 Thread Otto Wyss
Once my application on XFCE changed their look when I switched the theme
but not anymore. Most of them still show the ugly GTK look. What's
wrong? How does XFCE switch the themes so the apps show the correct
scrollbars etc? What package does this?

O. Wyss

-- 
Development of frame buffer drivers: http://linux-fbdev.sf.net
Sample code snippets for wxWidgets: http://wxcode.sf.net
How to build well-designed applications: http://wxguide.sf.net
Desktop with a consistent look and feel: http://wyodesktop.sf.net


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



Re: M$ USB-key

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 18:39 +0530, Sridhar M.A. wrote:
> On Sat, Dec 04, 2004 at 11:53:07AM +0100, Yevgen Reznichenko wrote:
>> Hello,
>> 
>> I have again troubles to run M$ mess on my linux machine (sid, 2.4.27,
>> 2.6.9), but now it is software it is hardware. I got an USB-Memory-stick
>> from M$ and can't mount it. Actually the stick is from Swissbit and
>> according to its homepage it is supported by 2.4+ kernels. How can I run
>> this thing under my machine?
>> 
>> Here is dmesg output:
>> 
>> hub.c: new USB device 00:07.2-1, assigned address 3
>> usb.c: kmalloc IF c5216d60, numif 1
>> usb.c: new device strings: Mfr=1, Product=2, SerialNumber=3
>> usb.c: USB device number 3 default language ID 0x409
>> Manufacturer: SWISSBIT
>> Product: Twist
>> SerialNumber: 408E8FAE062113B6
>> WARNING: USB Mass Storage data integrity not assured
>> USB Mass Storage device found at 3
>> usb.c: usb-storage driver claimed interface c5216d60
>> usb.c: kusbd: /sbin/hotplug add 3
>> usb.c: kusbd policy returned 0xfffe
>> hub.c: port 2, portstatus 100, change 0, 12 Mb/s
>> 
>> Here is the error message:
>> 
>> $ mount /mnt/usb/
>> mount: /dev/sda1 is not a valid block device
>> 
> I had somewhat similar problem when I tried using my Apacer USB stick on
> my machine. It was perfectly readable and writable under M$, but not
> even recognised under linux. What the manual suggested somewhere is that
> it had to be formatted under Linux using mkfs.vfat or mkfs.msdos. I went
> with the latter and till date have no problems. 
> 
> Possible solution for your stick: 
> 
>   Try cfdisk /dev/sda
> 
>   If your system can recognise it, then follow the above procedure of
>   creating a partition and formatting it as dos partition from Linux. Do
>   not do it from M$.

You'd think, though, that syslog would at least mention /dev/sda.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"If Congress can employ money indefinitely to the general
welfare, they may take the care of religion into their own hands;
they may appoint teachers in every state, county, and parish, and
pay them out of the public treasury: they may take into their own
hands the education of children, establishing in like manner
schools throughout the Union: they may seek the provision of the
poor ... [all of which] would subvert the very foundations, and
transmute the very nature of the limited government established
by the people of America."
James Madison, 1789



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


Re: M$ USB-key

2004-12-04 Thread David Goodenough
On Saturday 04 December 2004 12:33, Yevgen Reznichenko wrote:
> David Purton wrote:
> > On Sat, Dec 04, 2004 at 11:53:07AM +0100, Yevgen Reznichenko wrote:
> >>I have again troubles to run M$ mess on my linux machine (sid, 2.4.27,
> >>2.6.9), but now it is software it is hardware. I got an USB-Memory-stick
>
> Sorry, I forgot "not" in this sentence. The right version is "..., but
> now it is not software it is hardware"
>
> > Are you sure sda1 is the right device?
>
> All other USB keys and digital cameras I mount succesful on this device
>
> > For some reason, my key uses /dev/sda
> >
> > try
> >
> > mount -t auto /dev/sda /mnt
> >
> > and see if that works
>
> Unfortunately not!

Look in /proc/partitions when the stick is inserted, and see what partitions
the kernel thinks are there.  I have also met devices which were partitioned
as logical partitions, so the first one was /dev/sda4.

However it would also be worth investigating the hotplug error code.

David

>
> Yevgen


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



I Need Tips for Building Dual Opteron System

2004-12-04 Thread John Foster
I am currently doing research for building a new Dual Opteron system. Anyone 
on the list with positive/negative experience in using Linux (esp. Debian 
based) on this type of machine please reply. I am concerned about matching up 
hardware that all works. I plan to use this as a server/workstation for 
personal use and will be doing some design/CAD/CAM so huge amounts of memory 
are needed. I would appreciate a list of hardware configurations that you 
currently have working and any suggestions for specefic Debian dist. (yes, 
even commercial) are appreciated. Consider the term "Dream Machine" but 
temper it with real "currently working" technology
-- 
John Foster


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



Re: Snort Messages may not be Telling Me Much.

2004-12-04 Thread David Mandelberg
I'm having the same problem. From what I hear, a solution has something
to do with acidlab, but I'm not sure.

Martin McCormick wrote:
>   I've got snort installed and running on Debian3.0.  It runs
> fine but I never get any thing in the report Emails that I receive
> each day.  The messages have a suspiciously empty look to them like a
> form that should be filled in but isn't.  I have run snort in the past
> in a fully-capturing mode and there are all kinds of the usual monkey
> business going on out there so I know that in 3 months, I should have
> seen something.  After 92 days, every single message looks like the
> following example:
> 
> (Message inbox:152)
> 
> 
> From:root <[EMAIL PROTECTED]>
> 
> 
> Subject: [SNORT] systemname
>  daily report
> 
> The log begins from:   ::
> The log ends at:   ::
> Total events: 0
> Signatures recorded: 0
> Source IP recorded: 0
> Destination IP recorded: 0
> 
> 
> The number of attacks from same host to same
> destination using same method
> =
>   # of
>  attacks  from  tomethod
> =
> 
> 
> Percentage and number of attacks from a host to a
> destination
> 
> #  of
>   %attacks   from  to
> 
> 
> 
> Percentage and number of attacks from one host to any
> with same method
> ==
> #  of
>   %attacks   from  method
> ==
> 
> 
> Percentage and number of attacks to one certain host 
> =
> #  of
>   %attacks   tomethod
> =
> 
> 
> The distribution of attack methods
> ===
> #  of
>   %attacks   method
> ===
> 
> End of example ---
> 
>   I installed snort by using dselect and it is looking for all
> the standard attack signatures that come with the distribution.  I
> certainly don't want trouble, but I think I am missing activity that
> is going on.  The network it is sniffing is the correct network for my
> installation and, in the past, I saw traffic when using that
> definition so I am not sure what is going on.
> 
>   Any constructive ideas are welcome.
> 
>   By the way, this particular message is not coming from
> the system in question.
> 
> Martin McCormick WB5AGZ  Stillwater, OK 
> OSU Information Technology Division Network Operations Group
> 
> 

-- 
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GAT/CM$/CS>$/CC/IT$/M/S/O/U dpu s+:++ !a C++$>C+++$
UB+++>$L$*-- 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? z*
--END GEEK CODE BLOCK--

David Mandelberg
[EMAIL PROTECTED]


signature.asc
Description: OpenPGP digital signature


Logitech wireless mouse

2004-12-04 Thread Michael Satterwhite
I have a Logitech wireless mouse attached to my computer. It works fine under 
Debian, but the battery monitoring software is windows only (of course). Does 
anyone know of an equivalent piece of software that runs under Linux?



pgpVf1b6Fv36r.pgp
Description: PGP signature


Can't get hal/udev/hotplug/whatever to mount usb flash card reader

2004-12-04 Thread René Seindal
Hi,
I have tried just about everything, so I need some help.
I have installed Gnome 2.8 from sid, including hal, udev, hotplug, ...
I'd expect it to just mount my removable devices when I plug them in, 
and it does seem to work with cds, but not with anything usb.

I plug in my usb card reader, and the kernel picks it up, and udev picks 
it up, but hal complains about missing events from hotplug and nothing 
is mounted.

What do I have to do to get hotplug to find the devices, so I can have 
them automounted on a gnome 2.8 desktop.

I need this for my WAF!
I get this output when I plug in the card reader (date and hostname 
removed from syslog-lines):

kernel: usb 1-1: new full speed USB device using address 12
kernel: scsi7 : SCSI emulation for USB Mass Storage devices
kernel:   Vendor: SanDisk   Model: ImageMate CF-SM   Rev: 0100
kernel:   Type:   Direct-Access  ANSI SCSI revision: 02
kernel: Attached scsi removable disk sda at scsi7, channel 0, id 0, lun 0
kernel: Attached scsi generic sg0 at scsi7, channel 0, id 0, lun 0,  type 0
scsi.agent[10576]: disk at 
/devices/pci:00/:00:1d.0/usb1/1-1/1-1:1.0/host7/7:0:0:0
kernel:   Vendor: SanDisk   Model: ImageMate CF-SM   Rev: 0100
kernel:   Type:   Direct-Access  ANSI SCSI revision: 02
kernel: Attached scsi removable disk sdb at scsi7, channel 0, id 0, lun 1
kernel: Attached scsi generic sg1 at scsi7, channel 0, id 0, lun 1,  type 0
kernel: USB Mass Storage device found at 12
udev[10612]: creating device node '/dev/sg0'
scsi.agent[10617]: disk at 
/devices/pci:00/:00:1d.0/usb1/1-1/1-1:1.0/host7/7:0:0:1
udev[10609]: configured rule in '/etc/udev/rules.d/z_hal-plugdev.rules' 
at line 2 applied, 'sda' becomes '%k'
udev[10609]: creating device node '/dev/sda'
udev[10654]: configured rule in '/etc/udev/rules.d/z_hal-plugdev.rules' 
at line 2 applied, 'sdb' becomes '%k'
udev[10654]: creating device node '/dev/sdb'
udev[10666]: creating device node '/dev/sg1'
kernel: usb 1-1: control timeout on ep0in
last message repeated 7 times
kernel: usb 1-1: control timeout on ep0in
hald[10310]: Timed out waiting for hotplug event 486. Rebasing to 487
hald[10310]: Timed out waiting for hotplug event 496. Rebasing to 486

--
René Seindal ([EMAIL PROTECTED])http://linux.seindal.dk/
Seindal Consult




Re: Microsoft Access

2004-12-04 Thread steef
On Friday 03 December 2004 04:00, Paul Johnson wrote:
> On Thursday 02 December 2004 3:14 pm, William Ballard wrote:
> > On Thu, Dec 02, 2004 at 03:08:05PM -0800, Paul Johnson wrote:
> > > I was wondering the same thing as I was driving around today.  Seems
> > > like (from firsthand experience) a great way to lose a lot of data
>
> if
>
> > > the slightest thing goes wrong...
> >
> > You wouldn't use it for a 3-tiered or web app or anything like that.
> > But for little < 10,000 record lists that also need relational
> > integrity, a server process is overkill.  I manage my Video collection
> > using my little Access workalike program.  Relational integrity is the
> > main feature.
>
> You falsely assume Access maintains relational integrity in the first
> place, when in reality, Access is a daily cause of data loss every
> place I've ever seen it used.
>
> Access is working, quality software, but only if the goal is to cause
> more data loss and aggrivation in a single workplace than all the worm
> and virus attacks combined (my experience with Access at three
> different companies, a government agency (Oregon Zoo), and a public
> school district).  That being said, they threw the kid that wrote Code
> Red in jail, let's do something about those Access bastards.


have rather bad experiences with microsoft access. loss of data and the like. 
like the man said before: 'microsoft is only good at what they stole from 
other people'. they really are mf...bastards.

steef 


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



virtual interfaces

2004-12-04 Thread Antonio Rodriguez
After 
1. adding the needed paragraph to /etc/network/interfaces to reflect
the virtual iface with 'anotherIP', 
2. adding the corresponding file in /etc/apache2/sites-available,
3. creating the symlink in /etc/apache2/sites-enabled
4. stopping, starting, reloading again networking and apache2
still can't get the added domain to respond. My question is: is there
any other step that I am missing, or should I make the assumption that
the 'anotherIP' is not pointing to my physical machine?
It is very unlikely that I made a mistake in steps 1-4, since I had 
done it before to replace the default apache2 webserver space, and worked
good afterwards, and this second time I took care of repeating the
same steps with only the corresponding changes. This previous time I
used the same ip that the machine was already responding to, this is
why I think that the whole problem resides in the 'anotherIP' not
being directed to the machine. Any input is greatly appreciated in
advance.
AR.


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



/sys and lspci

2004-12-04 Thread Petter Senften
Hello!
I'm new to this list, but after googling for a few hours after a fix to 
my problem it seems I have no other option than to try to get some 
attention here :)

My server is a Debian Sarge-box (dist-upgraded from Woody a few months 
back). Anyhoo, anytime I use lspci I get the following error: pcilib: 
Cannot open /sys/bus/pci/devices

Also, when the PHP-script "PHPsysinfo" runs it generates the same error 
in the Apache Error-log, as well as taking forever to finish the 
operation. Both items still list my PCI devices, but after a delay 
(which to me is annoying).

If I go to /sys it's empty, so obviously something is missing. I 
wouldn't say that I'm a complete Linux-bewbie, but this problem has me 
completely stumped, and as mentioned Google has been of no help this 
time. So I'm asking all the experts out there - what can I do to correct 
this?

Kernel running is 2.6.5
Thanks in advance
/petter senften
--
[EMAIL PROTECTED] | http://www.isecore.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Remote X-Desktop

2004-12-04 Thread Stefan Fredriksson
Hi,
I have a server without a monitor that I need to run X on.
I will need to run X programs on the machine and I want to be able to 
log on to the server from my desktop mashine. When I log in I want to be 
able to start X programs and have them running when I log off.

Server is running testing+gnome and the desktop is running unstable+gnome.
What programs will be best suited for this need? When I know what 
programs, I will hopefully be able to read my way to how to set it up.

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



Package to block random SSH login attempts?

2004-12-04 Thread Adam Rosi-Kessel
Is there any Debian package (or free software outside of Debian) that can
detect random ssh login attempts and blacklist (temporarily or
permanently) the IP address?

portsentry is similar but not quite on point.  As I understand it,
portsentry will block port scanners, but not people attempting random
logins.

What I'd like to do is block a particular IP address if there are more
than, say, 5 attempted logins from nonexistent usernames, and more than
10 failed logins from existent usernames.

I've written the following little hack to do it, but I don't particularly
like running untested hacks as root, and also it'd be preferable if the
blacklisting could happen immediately, rather than as an occasional cron
job.

Thanks for any tips, or critiques of my script:

#!/bin/sh

# maximum attempts for a nonexistent username before the IP address is blocked
MAX_ILLEGAL=3

# maximum attempts for an existent username befroe the IP address is blocked 
(more generous)
MAX_LEGAL=10

# IP addresses to never block--let's make sure we don't lock ourselves out
DONT_BLOCK='127.0.0.1'

# timestamp for hosts.deny
now=`date -R`

# make sure no one can touch the blocking files other than root
umask 0077

grep "Failed password" /var/log/auth.log | sed "s/^.*Failed password for //g" > 
recent_failures
grep "illegal user" recent_failures | sed -e "s/^.*[ 
:]\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\)/\1/" -e "s/ .*//g" 
| grep "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" | sort | uniq 
-c | sed -e "s/^ *//g" -e "s/ /_/g" > recent_illegals
grep -v "illegal user" recent_failures | sed -e "s/^.*[ 
:]\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\)/\1/" -e "s/ .*//g" 
| grep "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" | sort | uniq 
-c | sed -e "s/^ *//g" -e "s/ /_/g" > recent_legals

for x in `cat recent_illegals | grep -v $DONT_BLOCK`
do
  attempts=${x%_*}
  ip=${x#*_}
  if [ $attempts -ge $MAX_ILLEGAL ]
  then
 if ( ! grep -q $ip /etc/hosts.deny )
 then 
lookup=`host $ip`
if ( echo $lookup | grep -q "not found" )
then
   lookup=`whois $ip | grep -i "name" | head -1`
fi
echo \# $now >> /etc/hosts.deny
echo \# $lookup >> /etc/hosts.deny
echo \# $attempts failed attempts at nonexistent username >> 
/etc/hosts.deny
echo ALL: $ip >> /etc/hosts.deny
echo >> /etc/hosts.deny
logger -t password_attempt_checker Banning $ip for nonexistent username 
attempts.
 fi
  fi
done

for x in `cat recent_legals | grep -v $DONT_BLOCK`
do
  attempts=${x%_*}
  ip=${x#*_}
  if [ $attempts -ge $MAX_LEGAL ]
  then
 if ( ! grep -q $ip /etc/hosts.deny )
 then 
lookup=`host $ip`
if ( echo $lookup | grep -q "not found" )
then
   lookup=`whois $ip | grep -i "name" | head -1`
fi
echo \# $now >> /etc/hosts.deny
echo \# $lookup >> /etc/hosts.deny
echo \# $attempts failed attempts at valid username >> /etc/hosts.deny
echo $ip >> /etc/hosts.deny
echo >> /etc/hosts.deny
logger -t password_attempt_checker Banning $ip for bad password 
attempts.
 fi
  fi
done
-- 
Adam Rosi-Kessel
http://adam.rosi-kessel.org


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



Re: Question about usbkey lights

2004-12-04 Thread Hugo Vanwoerkom
Brad Sims wrote:
I have a 512mb Sandisk Cruzer, it works perfectly. However when unmounting
 it the light stays on, it goes off on Windows... 
Personally Windows nor any product of M$ is not a measure of anything, 
given what that organization is, does and wants to stand for.

Just was wondering if anyone
had a solution other than killing and restarting hotplug (which seems silly,
and Not Elegant).

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



Re: Remote X-Desktop

2004-12-04 Thread David Goodenough
On Saturday 04 December 2004 16:53, Stefan Fredriksson wrote:
> Hi,
>
> I have a server without a monitor that I need to run X on.
> I will need to run X programs on the machine and I want to be able to
> log on to the server from my desktop mashine. When I log in I want to be
> able to start X programs and have them running when I log off.
>
> Server is running testing+gnome and the desktop is running unstable+gnome.
>
> What programs will be best suited for this need? When I know what
> programs, I will hopefully be able to read my way to how to set it up.

ssh -X

David
>
> Regards
> Stefan


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



dvips problem

2004-12-04 Thread Ray Kong
Hi,
dvips does not work properly in my sarge installation, it gives me the 
following
error message:

This is dvips(k) 5.92b Copyright 2002 Radical Eye Software 
(www.radicaleye.com)
' TeX output 2004.12.03:2310' -> hw8.ps
kpathsea: Running mktexpk --mfmode ljfour --bdpi 8000 --mag 1+1602/8000 
--dpi 9602 cmr17
mktexpk: Mismatched mode ljfour and resolution 8000; ignoring mode.
mktexpk: Can't guess mode for 8000 dpi devices.
mktexpk: Use a config file, or update me.
kpathsea: Appending font creation commands to missfont.log.
dvips: Font cmr17 not found, characters will be left blank.

Basically, it seems I have too problems:
1) mktexpk: Mismatched mode ...
2) cmr17 font is missing
Anyone know what package I need to install to get rid of the errors?
thanks.
Lei
_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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



Re: Remote X-Desktop

2004-12-04 Thread Jan C. Nordholz
> Hi,
> 
> I have a server without a monitor that I need to run X on.
> I will need to run X programs on the machine and I want to be able to 
> log on to the server from my desktop mashine. When I log in I want to be 
> able to start X programs and have them running when I log off.
> 
> Server is running testing+gnome and the desktop is running unstable+gnome.
> 
> What programs will be best suited for this need? When I know what 
> programs, I will hopefully be able to read my way to how to set it up.
> 
> Regards
> Stefan
Hi Stefan,

you could install a display manager (e.g. xdm), specify no local
servers in its /etc/X11/xdm/Xservers, and enable tcp listening and
the XDMCP protocol instead (latter should already be enabled by
default), so that you can run on the desktop machine:

/usr/X11R6/bin/X :1 -query  -from  vt8
(adapt the number of the desktop's local display and the
virtual terminal it shall connect to to your needs)

Don't know if I got the syntax exactly right, but you can look
up the mechanism in the manpages of xadm(1) (especially read
through XDMCP ACCESS CONTROL) and Xserver(1) (concerning the
commandline options of X).

HTH,

Jan
-- 
Jan C. Nordholz
Erich-Kästner-Str. 39
12619 Berlin
0174 / 33 44 22 5
030 / 240 370 81
<[EMAIL PROTECTED]>


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



Re: Remote X-Desktop

2004-12-04 Thread Steve Lamb
Stefan Fredriksson wrote:
I have a server without a monitor that I need to run X on.
I will need to run X programs on the machine and I want to be able to 
log on to the server from my desktop mashine. When I log in I want to be 
able to start X programs and have them running when I log off.
Well, the two answers you've gotten so far both ignore the fact that when 
you log off the programs end.  The easiest (though not the only) solution in 
for you would be to use an Xvnc session which you'd attach to with a vnc 
client.  This will let you start up programs and leave them running when you 
log out.  Security will need to be figured out on your side.

The only other option that satisfies your requirements would be an xmove 
session.  However I have no clue how those work even though I've been trying 
off and on to make them work for a while now.  The documentation for xmove is 
pathetic.

--
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
   PGP Key: 8B6E99C5   | main connection to the switchboard of souls.
---+-


signature.asc
Description: OpenPGP digital signature


problem solved: sharing xp printer

2004-12-04 Thread Jim Woodward
http://www.mepis.org/node/view/3458
solution found below:
Here's what worked for me.- L
Submitted by mepiswala on Thu, 09/16/2004 - 23:36.
when loggeg onto http://www.mepis.org/node/view/3458
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Remote X-Desktop

2004-12-04 Thread Pablo Wolter
yes, ssh -X will display back your session very well, the only problem 
that I cannot solve ussing it is that in some applications, when I get a 
opened window and double click some parts to open another window, mouse 
click doesn't work, with some windows inside the same application. I 
cannot figure out what the problem could be, if you have some tips 
please share it with me. That's the only problem that I have experienced 
ussing the display back feature in ssh, it works must better and faster 
than windows X-windows emulators that eat almost all the available RAM.

Pablo.
David Goodenough wrote:
On Saturday 04 December 2004 16:53, Stefan Fredriksson wrote:
 

Hi,
I have a server without a monitor that I need to run X on.
I will need to run X programs on the machine and I want to be able to
log on to the server from my desktop mashine. When I log in I want to be
able to start X programs and have them running when I log off.
Server is running testing+gnome and the desktop is running unstable+gnome.
What programs will be best suited for this need? When I know what
programs, I will hopefully be able to read my way to how to set it up.
   

ssh -X
David
 

Regards
Stefan
   


 


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



Re: XFCE and themes switching

2004-12-04 Thread Simon Huggins
On Sat, Dec 04, 2004 at 02:06:54PM +0100, Otto Wyss wrote:
> Once my application on XFCE changed their look when I switched the theme
> but not anymore. Most of them still show the ugly GTK look. What's
> wrong? How does XFCE switch the themes so the apps show the correct
> scrollbars etc? What package does this?

Did you change it in the UI settings from the settings manager?

That's in the xfce4-mcs-plugins package.  You might need the
gtk2-engines-xfce package too.

If you don't get it working it would help to know what you have
installed in terms of xfce packages.

Simon.

-- 
[ "Did someone say they wanted toast?" -- Talkie Toaster   ]
Black Cat Networks.  http://www.blackcatnetworks.co.uk/


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



Re: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work

2004-12-04 Thread Gayle Lee Fairless
reply below

On Fri, 3 Dec 2004, Leonard Chatagnier wrote:

> Hey, Thanks for the reference. I'm lurking the group emails and have read
> some manuals on board.  Problem is some are too geeky for me to understand
> although I've picked up a lot since installing linux about 2  months ago.  I
> have set outlook express to all text  mode as a result of using another
> discussion group for modem drivers.  Since my problems includes a
> malfunctioning Mozilla mail client, I copy anything I want to email to my
> zip drive and paste it into OE, maybe that's how it got coded.  I'm getting
> that cookbook hoping its more user friendly.
> Len Chatagnier

lots of
stuff deleted

> >
> > also still learning my Linux.  Look in the books section of Debian.org and
> > get one called a Cookbook.  It is Debian specific and gives you better
> > insight into the Debian GNU/Linux system.  Of course, browsing through

stuff deleted

> >
> > Enjoy your system and Season's Greetings!
> > (Mr.) Gayle Lee Fairless
> >
> >


The book is by Michael Stutz

THE LINUX COOKBOOK

 published by Linux Journal Press copyright 2001




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



Re: dvips problem

2004-12-04 Thread Hubert Chan
> "Ray" == Ray Kong <[EMAIL PROTECTED]> writes:

[...]

Ray> Basically, it seems I have too problems:

s/too/two/

Ray> 1) mktexpk: Mismatched mode ...

I assume that's because lj4 can't go up to 8000 dpi.  How are you
invoking dvips?

Ray> 2) cmr17 font is missing

cmr17 files are found in tetex-base and tetex-extra.

-- 
Hubert Chan <[EMAIL PROTECTED]> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


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



Re: Emacs fonts for coding

2004-12-04 Thread Jim McCarthy
Stephen Patterson writes:
> 
> s. keeling wrote:
> > Incoming from Antonio Rodriguez:
> >> I would like to know what font are people using for coding
> >> ... This last one I am using makes it difficult to distinguish
> >> braces "{" from parentheses "(". Bad news for coding.
> >
> > -b&h-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60-iso8859-1
> 
> I find my regular terminal font (7x13) to be good ...

Or if Antonio is looking for something larger, try 9x15 or 9x15bold ...

 -- Jim




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



Installing Debian on USB HDD

2004-12-04 Thread Johnson, Chad
Hi,
 
I just bought a USB harddrive and I want to install Debian on it. I have a base 
Debian installed on a miniCD, and when I boot to the Debian installer and I get 
to the partitioning part, my drive is not listed, so I can't partition my drive.
 
I'm just starting out with Linux, so I have a very limited knowledge. I'm a CS 
major, so I know a lot about computers, but not Linux.
 
How can I install Debian on my drive?
 
 
 
Thanks!
 
Chad Johnson


Re: Installing Debian on USB HDD

2004-12-04 Thread Jean-Michel Hiver
Johnson, Chad wrote:
Hi,
I just bought a USB harddrive and I want to install Debian on it. I have a base Debian installed on a miniCD, and when I boot to the Debian installer and I get to the partitioning part, my drive is not listed, so I can't partition my drive.
 

Actually I would be interested in knowing how to do this too. What I 
would want to do is install a minimal debian system on 1gb flash usb 2 
with maybe 1gb memory (to avoid swapping on flash...). Coupled with a 
low power / underclocked CPU, you could make very robust, fanless and 
noiseless workstations with no mechanical parts in them...

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



Re: Installing Debian on USB HDD

2004-12-04 Thread Rob Benton
Jean-Michel Hiver wrote:
Johnson, Chad wrote:
Hi,
I just bought a USB harddrive and I want to install Debian on it. I 
have a base Debian installed on a miniCD, and when I boot to the 
Debian installer and I get to the partitioning part, my drive is not 
listed, so I can't partition my drive.
 

Actually I would be interested in knowing how to do this too. What I 
would want to do is install a minimal debian system on 1gb flash usb 2 
with maybe 1gb memory (to avoid swapping on flash...). Coupled with a 
low power / underclocked CPU, you could make very robust, fanless and 
noiseless workstations with no mechanical parts in them...

Cheers,
Jean-Michel.

I did this a few months ago on a 250 zip disk.
Are you using the new Debian-Installer on a Sarge iso or an old Woody iso?
In either case you need the usb mass storage module loaded.  How you do 
this varies depending on what iso you have and its installer.

Once you finish your installation, you are going to need a boot CD w/a 
kernel ramdisk to load the usb storage module to boot into your usb 
drive.  Unless you have a motherboard which supports booting from usb 
devices, which I doubt.

Also there is a Gentoo-based distro called FlashLinux which already all 
this sorted out, although it's not Debian-based.

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



Re: XFCE and themes switching

2004-12-04 Thread Otto Wyss
Simon Huggins <[EMAIL PROTECTED]> wrote:

> Did you change it in the UI settings from the settings manager?
> 
Yes.

> That's in the xfce4-mcs-plugins package.  You might need the
> gtk2-engines-xfce package too.
> 
I have it installed (from Debian/sarge). My app is GTK 1.2 but there
doesn't seems to be a gtk-engines-xfce package.

> If you don't get it working it would help to know what you have
> installed in terms of xfce packages.
> 
gtk-engines-icegradient
gtk-engines-raleigh
gtk2-engines-cleanice
gtk2-engines-highcontrast
gtk2-engines-xfce
xfce4
xfce4-artwork
xfce4-clipman-plugin
xfce4-datetime-plugin
xfce4-diskperf-plugin
xfce4-iconbox
xfce4-mcs-manager
xfce4-mcs-plugins
xfce4-netload-plugin
xfce4-panel
xfce4-session
xfce4-systemload-plugin
xfce4-systray
xfce4-themes
xfce4-trigger-launcher
xfce4-utils

O. Wyss

-- 
Development of frame buffer drivers: http://linux-fbdev.sf.net
Sample code snippets for wxWidgets: http://wxcode.sf.net
How to build well-designed applications: http://wxguide.sf.net
Desktop with a consistent look and feel: http://wyodesktop.sf.net


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



Re: changing default os in grub

2004-12-04 Thread Jason Rennie
On Thu, Dec 02, 2004 at 09:38:00AM +, john gennard wrote:
> The man and info pages do not appear to help (perhaps
> because I don't fully understand them). I don't want to
> risk making everything unbootable by experimenting, so
> can anyone please explain how I can safely put Sarge
> back as default?

Maybe someone has already mentioned this, but I didn't see it in my
quick scan of responses...

- Edit /boot/grub/menu.lst.
- Find the line starting with "default".  It should have a number
  indicating which entry is booted by default (usually this is "0"
  implying the first entry).
- Run "grep ^title /boot/grub/menu.lst".  Counting from zero,
  determine the order in which your desired entry comes.  You could
  equivalently determine this by looking through menu.lst "by hand".
- Modify the "default" line accordingly (if your desired entry is 3rd,
  set "default" to "2").
- Have a Knoppix CD handy (in case you screw anything up).
- Reboot (to see the effect of your change).

Jason


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



Re: Switching from X to ttys

2004-12-04 Thread Shan Mignot
Hi,

Sorry I'v been away last week...
All right, I'v tried all three suggestions you made:

* with xkeysym, I get:
64 0 Alt_L for left Alt
37 0 Control_L for left Ctrl
67 12 F1 for F1

* with xev, I get:
keycode 64 (keysym 0xffe9, Alt_L) for left ALt
keycode 37 (keysym 0xffe3, Control_L) for left Ctrl
keycode 67 (keysym 0xffbe, F1) for F1

* with showkey:
0x1d 0x9d for left Alt
0x38 0xb8 for left Ctrl
0x3b 0xbb for F1

All that seems rather normal to me... which would indicate that keys are not
mapped to something strange and irrelevant. So I still don't have a clue (I
haven't had time to try it all without the GATOS driver yet).

Shan


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



Re: gdm and reboot

2004-12-04 Thread Jason Rennie
On Thu, Dec 02, 2004 at 10:55:56PM -0500, Michael Spang wrote:
> I have often wondered why exactly it defaults to requiring a password. 
> Requiring a user who has physical access to a computer root privileges 
> to shut it down seems fundamentally flawed to me--they could easily shut 
> it down by removing power. However this is potentially damaging, so it 
> seems logical to allow them to initiate a proper shutdown. Is removing 
> this limitation a security issue for remote users? Surely disabling 
> 'secure actions' won't allow a remote user to shutdown via gdm.. right? 
> Anyhow, just thought I'd throw this out there to see if anyone has a 
> good explanation. It always seemed to be a completely unncessesary and 
> potentially frustrating default. I find it especially strange since by 
> default any user can shut down once logged into gnome via gdm, but they 
> become stranded once back on the welcome screen.

I agree with you.  It's a stupid default.  I hope they change it.

Jason


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



Re: Question about usbkey lights

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 10:53 -0600, Hugo Vanwoerkom wrote:
> Brad Sims wrote:
> > I have a 512mb Sandisk Cruzer, it works perfectly. However when unmounting
> >  it the light stays on, it goes off on Windows... 
> 
> Personally Windows nor any product of M$ is not a measure of anything, 
> given what that organization is, does and wants to stand for.

I dunno.  Their mice are great.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"...always eager to extend a friendly claw"



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


Re: Package to block random SSH login attempts?

2004-12-04 Thread s. keeling
Incoming from Adam Rosi-Kessel:
> Is there any Debian package (or free software outside of Debian) that can
> detect random ssh login attempts and blacklist (temporarily or
> permanently) the IP address?

fwlogwatch purports to be able to do this (I haven't tried this
feature; ymmv).  However, wouldn't it make more sense to simply limit
ssh to accept login attempts only from IPs you (or your users?) might
be coming from?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Please don't Cc: me.
- -


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



Re: Installing Debian on USB HDD

2004-12-04 Thread Ron Johnson
On Sun, 2004-12-05 at 00:50 +, Jean-Michel Hiver wrote:
> Johnson, Chad wrote:
> 
> >Hi,
> > 
> >I just bought a USB harddrive and I want to install Debian on 
> it.  I have a base Debian installed on a miniCD, and when I boot
> to the Debian installer and I get to the partitioning part, my 
> drive is not listed, so I can't partition my drive.
> >  
> >
> Actually I would be interested in knowing how to do this too. What I 
> would want to do is install a minimal debian system on 1gb flash usb 2 
> with maybe 1gb memory (to avoid swapping on flash...). Coupled with a 
> low power / underclocked CPU, you could make very robust, fanless and 
> noiseless workstations with no mechanical parts in them...

There are ways to make bootable thumbdrives, so I'm sure that you
could do the same with a flash drive.

In fact, when Googling for "linux boot usb drive", the first two
entries are:
http://www.simonf.com/usb/
http://featherlinux.berlios.de/usb-instructions.htm

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"What other evidence do you have that they are terrorists, other
than that they trained in these camps?"
17-Sep-2002 Katie Couric to an FBI agent regarding the 5 men
arrested near Buffalo NY



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


Upgrading the woody kernel

2004-12-04 Thread Felixk Karpfen
I am aware that this question has been asked and answered umpteen
times on this newsgroup and I know that the available options include:

- roll your own; and
- use the Debian way.

However I believe that my situation is sufficiently different that it is
worth asking:

- which option?; and  
- please point to documentation, full and sufficiently simple to be
  understood by amateurs.

The special features on my box are as follows:

I have successfully installed both "woody" and (very recently) "sarge"
on separate partitions.

Woody's 2.4 kernel fails to correctly identify any of the hardware
on my ew computer (the drivers ). Nevertheless, it has been tweaked and does almost
everything that I want (sound and cdrecord do not work). The sarge
kernel (2.4.27) recognises my hardware.  But sarge comes with lots of
bells and whistles that I do not use and will need a lot of massaging
before it delivers what I use every day.

So if I could _safely_ update the kernel on my "woody" partition, the
chore would be much smaller than tweaking "sarge".

The outcome that I wish to avoid is that I destroy "woody" with a
botched kernel update and am forced to tweak "sarge".

All advice will be gratefully received.

Felix Karpfen 

-- 
Felix Karpfen
Public Key 72FDF9DF (DH/DSA)




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



open terminal in VNC

2004-12-04 Thread Stefan Fredriksson
Hi,
Just installed vnc (tightvnc) and solved the "problem" I had with loggin 
on and controlling a remote server.

Things work like a charm but. Sometimes you accidently close the 
terminal in the VNC and you are stuck. Is there a way to open en termial 
through ssh or similar and make it appear in the VNC session?

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



Re: Installing Debian on USB HDD

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 15:56 -0600, Ron Johnson wrote:
> On Sun, 2004-12-05 at 00:50 +, Jean-Michel Hiver wrote:
> > Johnson, Chad wrote:
[snip]
> > Actually I would be interested in knowing how to do this too. What I 
> > would want to do is install a minimal debian system on 1gb flash usb 2 
> > with maybe 1gb memory (to avoid swapping on flash...). Coupled with a 
> > low power / underclocked CPU, you could make very robust, fanless and 
> > noiseless workstations with no mechanical parts in them...
> 
> There are ways to make bootable thumbdrives, so I'm sure that you
> could do the same with a flash drive.
> 
> In fact, when Googling for "linux boot usb drive", the first two
> entries are:
> http://www.simonf.com/usb/
> http://featherlinux.berlios.de/usb-instructions.htm

In fact, as usual, apt-cache is your friend...

  $ apt-cache search boot usb
  devfsd - Daemon for the device file system
  lg-issue63 - Issue 63 of the Linux Gazette.
  mkinitrd-cd - Creates an initrd image for booting from a live 
CD-ROM or USB device

mkinitrd-cd looks to be exactly what you need.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

Capitalism needs a culture of shame to work properly.
Paraphrased from Victor David Hansen, seen on CSPAN 2004-03-07



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


Re: Re: dvips problem

2004-12-04 Thread Ray Kong
Ray> 1) mktexpk: Mismatched mode ...

I assume that's because lj4 can't go up to 8000 dpi.  How are you
invoking dvips?
I did "dvips -Ppdf", so I ran "texconfig" to configure dvips to use
300dpi on printer "pdf", then the problem went away.
thanks for the hint.
Ray
Ray> 2) cmr17 font is missing

cmr17 files are found in tetex-base and tetex-extra.
_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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



Updating ACPI DSDT tables the Debian way?

2004-12-04 Thread David Goodenough
I have a laptop (a Samsung P28) which suffers from a bad ACPI DSDT 
and so fails to do such simple things as telling me the battery state.

I have found a variety of documents through Google which tell me
how to fix this, but they are all aimed at non-Debian systems.

There is reference to a kernel option which enables the loading of
DSDT data as part of an INITRD image, but I can not find it in the
2.6.9 kernel options.  It may be that it was an option in 2.4 but
is now an automatic part of a 2.6 kernel, but I am not sure.

I found a souce TAR of the ACPI utilities, including iasl which is
needed to patch the DSDT.  But it fails due to an an unsupported
table (or some such).  However copying the file from 
/proc/acpi/dsdt into a temporary file and then running iasl on that
fixed that problem.  

But the DSDT did not seem to follow the layout in the docs, but I
will persevere in trying to sort that problem.

In http://gaugusch.at/kernel.shtml there is a discussion about the
kernel patch, along with a links to versions for various kernels. It
also mentions that the SuSE kernels now ship with this included
in their stock kernels, but it does not mention Debian.  Does
anyone know whether the Debian 2.6 (I am using 2.6.9) kernels
are built with the patch?

Regards

David


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



Re: Emacs fonts for coding

2004-12-04 Thread Rogério Brito
On Dec 04 2004, Jim McCarthy wrote:
> Stephen Patterson writes:
> > I find my regular terminal font (7x13) to be good ...
> 
> Or if Antonio is looking for something larger, try 9x15 or 9x15bold ...

I think that on higher resolution devices, 10x20 is the minimum that my
eyes can see without too much effort. That's how I have both my Emacs and
rxvt configured.


-- 
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm


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



Re: Can't get hal/udev/hotplug/whatever to mount usb flash card reader

2004-12-04 Thread Andrea Vettorello
On Sat, 04 Dec 2004 15:14:37 +0100, René Seindal <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have tried just about everything, so I need some help.
> 
> I have installed Gnome 2.8 from sid, including hal, udev, hotplug, ...
> 
> I'd expect it to just mount my removable devices when I plug them in,
> and it does seem to work with cds, but not with anything usb.
> 
> I plug in my usb card reader, and the kernel picks it up, and udev picks
> it up, but hal complains about missing events from hotplug and nothing
> is mounted.
> 
> What do I have to do to get hotplug to find the devices, so I can have
> them automounted on a gnome 2.8 desktop.
> 
> I need this for my WAF!
> 

[...]

Do you have "gnome-volume-manager" running?


Andrea



Re: dvips problem

2004-12-04 Thread Rogério Brito
On Dec 04 2004, Ray Kong wrote:
> I did "dvips -Ppdf", so I ran "texconfig" to configure dvips to use
> 300dpi on printer "pdf", then the problem went away.

I'd think that the ljfour option would allow one to easily use 600dpi
without any problems.

Is your intent creating PDF files? If it is, then you could use pdf(la)tex.
Once you understand how it works and which packages that have to be adapted
and/or exchanged, it is really the way to go, IMVHO.

Another solution for generating PDF files is to use dvipdfm to generate PDF
files from DVI files.


Hope this helps, Rogério.

-- 
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm


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



Re: Upgrading the woody kernel

2004-12-04 Thread Rob Bochan
On Saturday 04 December 2004 04:42 pm, Felixk Karpfen wrote:

> - please point to documentation, full and sufficiently simple to be
>   understood by amateurs.

>

Here's a newbie oriented, step-by-step, set of docs for just that purpose:
http://newbiedoc.sourceforge.net/tutorials/kernel-pkg/index-kernel-pkg.html

It's not too difficult. If I can do it, anyone can ;o)

-- 

...Rob
Return address is obfuscated.
You can reach me via mylaptop (at) twcny dot rr dot com


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



Re: Can't get hal/udev/hotplug/whatever to mount usb flash card reader

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 15:14 +0100, René Seindal wrote:
[snip]
> I need this for my WAF!

What's a WAF?

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"But a much bigger business is selling anti-spam software. This
is a billion dollar market, and it is rapidly growing. Any simple
and effective solution against spam would defeat revenues and
drive several companies into bankrupt, would make consultants
jobless. ... Have a single, simple, and permanent solution to the
problem and - boom - this billion dollar market is dead. That's
one of the reasons why people are expected to live with spam.
They have to live with it to make them buy anti-spam software.
Content filters are perfect products to keep this market alive."
Hadmut Danisch



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


Re: Remote X-Desktop

2004-12-04 Thread Alex Malinovich
On Sat, 2004-12-04 at 18:46 +0100, Jan C. Nordholz wrote:
--snip--
> /usr/X11R6/bin/X :1 -query  -from  vt8
> (adapt the number of the desktop's local display and the
> virtual terminal it shall connect to to your needs)
> 
> Don't know if I got the syntax exactly right, but you can look
> up the mechanism in the manpages of xadm(1) (especially read
> through XDMCP ACCESS CONTROL) and Xserver(1) (concerning the
> commandline options of X).

If you're already running gnome on your desktop machine you probably are
running GDM as well. You can run the XDMCP chooser from within GDM and
you'll get a listing of all available X servers on the network. Then you
can just click on the appropriate machine and log in. (You'll still need
to set up the server to allow XDMCP connections of course.)

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



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


pam db version for Debian vsftpd virtual users

2004-12-04 Thread Tong
Hi, 

Hi, I followed the virtual users readme file
(/usr/share/doc/vsftpd/EXAMPLE/VIRTUAL_USERS/README.gz) to apply virtual
users for vsftpd. 

The readme is well explained. I'm sure I've followed all the steps, though
there is one only thing I can't figure out, the pam db version:

The standard command is:

db_load -T -t hash -f logins.txt /etc/vsftpd_login.db

and the readme says "you may need to use e.g. db3_load for correct
operation. This is known to affect some Debian systems. "

Actually, I've tried both:

db3_load -T -t hash -f tf.txt /etc/vsftpd_login.db
db_load -T -t hash -f tf.txt /etc/vsftpd_login.db

but every time, I got Login failure.

Anyone has a confirmed answer? 

How can I debug this pam db problem? 

Thanks




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



Unable to use scanner

2004-12-04 Thread Rick Friedman
I have an HP PSC 2110 All-In-One (printer, copier, scanner & fax). So 
far, I have not been able to figure out how to use it with Debian (Sarge).

I ran the sane-find-scanner command and received the following output:
found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x2911 [PSC 
2200 Series]) at libusb:002:002
  # Your USB scanner was (probably) detected. It may or may not be 
supported by
  # SANE. Try scanimage -L and read the backend's manpage.

I ran scanimage -L and received the following:
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
What do I have to do to get the scanner working? Is it even supported by 
SANE?

Any help would be greatly appreciated.
Rick
--
 "The mind of a bigot is like the pupil of the eye. The more light you 
shine on it, the more it will contract." - Oliver Wendell Holmes Jr.

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



Is there a "rescue floppy" for Sarge?

2004-12-04 Thread Mr. Jan Hearthstone
Is there a "rescue floppy" for Sarge?
Is there any "readme.txt", or any info available for
it?
Thanks, Hearthstone.

=
 Please take part in my survey on "Peace": http://www.modelearth.org/survey.html
 If we were sincere about wanting Peace, then we would spend more on Peace than 
what we spend on the military.
 Meditation for Peace: http://prayer4peace.net/
 Designing ecologically and socially sustainable Earth:
http://modelearth.tripod.com/modelearth.html
Best Hawai'ian Tunes: 
http://hotspotshawaii.com/irhpages/irhlive.html
Legalize the Right to Sleep: http://gief.pair.com/hearth/sleepright.html

 












__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250


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



How to Forwarding all old emails to a new email address

2004-12-04 Thread Thanhvu Nguyen


I want to forward all my old mails to a new email address one by one
instead of a big achieve. Of course I can manually forward one by one but
I like to have this automated. Is there any (mail) application that allows
me to do filters to do what I want ?

My inbox has about thousands of msg's in mailbox format, current I use
mutt to view them (I can also view them using Thunderbird).

TIA

-- 

ThanhVu Nguyen







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



How to Forwarding all old emails to a new email address

2004-12-04 Thread Thanhvu Nguyen


I want to forward all my old mails to a new email address one by one
instead of a big archieve. Of course I can manually forward one by one but
I like to have this automated. Is there any (mail) application that allows
me to do filters to do what I want ?

My inbox has about thousands of msg's in mailbox format, current I use
mutt to view them (I can also view them using Thunderbird).

-- 

ThanhVu Nguyen








ltsp: cannot open devices '/dev/psaux' '/dev/mouse'

2004-12-04 Thread Adam Bogacki
Hi, logging in as a user on the server I was given the choice an X or 
Gnome setup. I chose X and the mouse started to work intermittently and 
then died. Worse, when I rebooted into into the XP partition it was also 
stuck firmly in the center of the screen.

Error messages include '(EE) xf86OpenSerial: Cannot open device 
/dev/psaux, No such device'  and '(EE) xf86OpenSerial: cannot open 
device /dev/mouse, No such file or directory'. The /etc/X11/XF86Config-4 
looks OK, but I'm not sure if I should be looking for a 
/tmp/XF86Config-4 file. My current /tmp does not contain one. Looking at 
the filesystem, /dev/psaux exists, but /dev/mouse does not.  Output from 
/etc/X11/XF86Config-4 includes "(EE) PreInit failed for input device 
'Generic Mouse' (II) Unload Module: 'mouse' (WW) No core pointer 
registered. No core pointer."  I am writing this on the client machine. 
Any ideas ?
This IntelliMouse has been good to me for a long time.

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



Re: How to Forwarding all old emails to a new email address

2004-12-04 Thread Antonio Rodriguez
On Sat, Dec 04, 2004 at 07:20:55PM -0500, Thanhvu Nguyen wrote:
> 
> 
> I want to forward all my old mails to a new email address one by one
> instead of a big achieve. Of course I can manually forward one by one but
> I like to have this automated. Is there any (mail) application that allows
> me to do filters to do what I want ?
> 
> My inbox has about thousands of msg's in mailbox format, current I use
> mutt to view them (I can also view them using Thunderbird).
> 

procmail, info procmail

After creating some rule with procmail, the existing mbox can be
processed as follows:

1. cd Mail
# or the directory where mbox or the mail is
2. mv mbox something
# this prevents problems, since the rule may send some email to mbox,
# that is, most likely it will
3. cat something | formail -s procmail
# See man formail, man procmailrc, man procmail, etc.


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



vsftpd upload only

2004-12-04 Thread Tong
Hi, 

I want to configure one of the vsftpd virtual user to a "upload only" 
account. I.e., able to upload but not able to download. 
I can setup virtual user and upload, but how can I do "upload only"? 
Further, it is better for the upload to be able to continue uploading from
the previous failure point. Is that possible? 

thanks

tong



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



ftp.egr.msu.edu APT source down?

2004-12-04 Thread Shawn McCuan
Does anyone know if the
ftp.egr.msu.edu   APT source is down?
Thanks,
Shawn
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vsftpd upload only

2004-12-04 Thread Tong
On Sat, 04 Dec 2004 20:00:56 -0500, Tong wrote:

> I want to configure one of the vsftpd virtual user to a "upload only" 
> account. I.e., able to upload but not able to download. 
> I can setup virtual user and upload, but how can I do "upload only"? 

download_enable
If set to NO, all download requests will give permission denied.

Now, it is better for the upload to be able to continue uploading
from the previous failure point. Is that possible? 




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



Re: How to Forwarding all old emails to a new email address

2004-12-04 Thread Cameron Hutchison
Once upon a time Thanhvu Nguyen said...
> 
> I want to forward all my old mails to a new email address one by one
> instead of a big achieve. Of course I can manually forward one by one but
> I like to have this automated. Is there any (mail) application that allows
> me to do filters to do what I want ?
> 
> My inbox has about thousands of msg's in mailbox format, current I use
> mutt to view them (I can also view them using Thunderbird).

With mutt:

1) Tag all the messages (Shift-T ~A )
2) bounce all tagged messages to another address (;b 

This bounces the messages - ie it remails the message as is without
adding any other headers or text. It means the emails will retain the
original from and to address. A forwarded message will get new from and
to addresses.


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



Fwd: problem solved

2004-12-04 Thread jack kinnon

Note: forwarded message attached.




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250--- Begin Message ---
Hi folks,

Thanks for all the suggestions. My problem is fixed. I
re-installed module-init-tools and re-make the kernel
without any problem.

Cheers

Jack



__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
--- End Message ---


Re: I Need Tips for Building Dual Opteron System

2004-12-04 Thread Robert Storey
Dear John,

I don't have any experience personally, but a close friend just bought
an AMD64 box. He says that at the moment, biggest problem is that most
binaries are compiled for i386, though 64-bit stuff is slowly coming.
Debian's work-around is to install these applications into a chrooted
environment with i386 libraries.

Gentoo is said to be the most advanced in 64-bit Linux at the moment,
mainly because of its source-based nature.

Of course, you can run everything for i386, you just don't get the full
advantage of the 64-bit chip. Anyway, all these hassles will go away
after time, and is to be expected when you're on the cutting edge of
technology.

regards,
Robert

On Sat, 4 Dec 2004 08:01:13 -0600
John Foster <[EMAIL PROTECTED]> wrote:

> I am currently doing research for building a new Dual Opteron system.
> Anyone on the list with positive/negative experience in using Linux
> (esp. Debian based) on this type of machine please reply. I am
> concerned about matching up hardware that all works. I plan to use
> this as a server/workstation for personal use and will be doing some
> design/CAD/CAM so huge amounts of memory are needed. I would
> appreciate a list of hardware configurations that you currently have
> working and any suggestions for specefic Debian dist. (yes, even
> commercial) are appreciated. Consider the term "Dream Machine" but
> temper it with real "currently working" technology-- 
> John Foster


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



[OT]: Re: data-entry GUIs & python

2004-12-04 Thread Mark Roach
On Fri, 2004-12-03 at 00:33 -0500, Matt Price wrote:

> Do you create forms for data-entry using python?  I am looking for a
> database solution that integrates closely with OOo, but I find the
> form-creation tools in OOo to be a little bit clumsy.  An ideal
> solution for me would be a great data-entry frontend, and python glue
> that takes the data and uses it to create or modify openoffice
> documents using the PyUNO bridge (have to use non-debian OOo packages to
> do that right now, but that should change sometime soon).  

I have done a couple of different things with python + OOo + databases,
my typical approach to document generation is to create templates with
OOo and use python to do very simple text substitution within the
document. This is great for reports, forms, labels etc. 

If you unpack a .sxw file and take a look at the content.xml (run it
through xmllint --format to browse it easily, and xmllint --noblanks
afterward to appease OOo) it becomes apparent that you can do just about
anything you want using text/xml processing tool of your choice. Sounds
like a lot of work, but it's really not much more complicated than
generating html.

You can grab the (very simple) code at
http://mrroach.okmaybe.com/software/oootemplate.py.txt

As for the gui, I have used either wxGlade + wxPython (on windows) or
glade + pygtk (on linux).

I have also used PyUNO to do document rendering, I use the above method
to create a document, then send it through a listening OOo process to
generate a PDF which gets uploaded to a CUPS queue. I'll have to rummage
through my files to find some examples. Email me off-list if you are
interested.

-Mark


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



alsa-drivers for 2.4.27-speakup

2004-12-04 Thread Xiaowei Yang
Dear all,

I am new to debian. I have a kernel 2.4.27-speakup, and want to
install alsa-drivers. But apt-cache search shows there is
only drivers for alsa-modules-2.4.27-1. depmod will complain if I
install it. 

Can anyone let me know where to get the alsa drivers for
2.4.27-speakup.

Thanks,

Xiaowei


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



Kernel panic: Attepmted to kill init!

2004-12-04 Thread Johnson, Chad
I finished installing Debian (took a break for a while) and now when I try to 
boot using the GRUB floopy the installer created, I get
 
/sbin/init: 426: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!
 
What do I do now?
 
Chad


Re: Snort Messages may not be Telling Me Much.

2004-12-04 Thread Martin McCormick
David Mandelberg writes:
>I'm having the same problem. From what I hear, a solution has something
>to do with acidlab, but I'm not sure.
Thanks.  I have another Linux system at work running the same
version and I noticed it also has the same problem.

Martin McCormick


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



Fw: gdm and reboot

2004-12-04 Thread Leonard Chatagnier

- Original Message - 
From: "Jason Rennie" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 2004 3:33 PM
Subject: Re: gdm and reboot


> On Thu, Dec 02, 2004 at 10:55:56PM -0500, Michael Spang wrote:
> > I have often wondered why exactly it defaults to requiring a password.
> > Requiring a user who has physical access to a computer root privileges
> > to shut it down seems fundamentally flawed to me--they could easily shut
> > it down by removing power. However this is potentially damaging, so it
> > seems logical to allow them to initiate a proper shutdown. Is removing
> > this limitation a security issue for remote users? Surely disabling
> > 'secure actions' won't allow a remote user to shutdown via gdm.. right?
> > Anyhow, just thought I'd throw this out there to see if anyone has a
> > good explanation. It always seemed to be a completely unncessesary and
> > potentially frustrating default. I find it especially strange since by
> > default any user can shut down once logged into gnome via gdm, but they
> > become stranded once back on the welcome screen.
>
> I agree with you.  It's a stupid default.  I hope they change it.
>
> Jason
>
>
> -- 
>>>Me too, a new debian user still trying to get his screwed up Debian
system fixed up so it works as  a desktop pc with >>>simple DUN via modem
and not NIC

>>>Len
> 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]



search mail archive

2004-12-04 Thread ken keanon
Hi,

When I tried to use the Search in the Debian page, I
was directed to Google. This is inefficient. Is the
Debain Search engine not coming back?

Cheers

Ken





__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


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



Cannot display with 1024x768 res

2004-12-04 Thread jack kinnon
Hi folks,
This is an old problem that I can coming back to. I
have not been able to select a res of 1024x768 for the
display. If I select this res, the system will not
boot into graphics mode. This is not a lack of memory
problem for sure because I can use it under Win XP.

I am running 'stable'. Could this be the problem?

Jack





__ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250


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



Fw: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work

2004-12-04 Thread Leonard Chatagnier

- Original Message - 
From: "CW Harris" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 03, 2004 11:43 AM
Subject: Re: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work


> On Thu, Dec 02, 2004 at 11:12:34PM -0600, Leonard Chatagnier wrote:
> > Chris.
> > Thanks, I'll try your suggestion and report back on results.  FYI, the
url's
> > were copied verbatum from the Debian mirror list.  If they are formatted
> > incorrectly, I'm not aware, and why would the Debian site misformat
there
> > own links?.
>
> Maybe I wasn't clear.  The links are okay...but you need information
> after them in the sources.list file. Notice all the other lines.
> Following the URI is information about the distribution you want.
> E.g.
> deb http://ftp.us.debian.org/debian/ stable main contrib
>
> This gives the URI and specifies the stable distribution, main and
> contrib sections.
>
> >From the sources.list man page:
>The  format  for  a  sources.list entry using the deb and deb-src
types
>are:
>
>deb uri distribution [component1] [component2] [...]
>
> Note that the distribution is *required* information. (man sources.list)
>
>
> [...]
> > > Now my comments:
> > >(irems deleted)
> > > deb http://ftp.us.debian.org/debian/ stable main non-free contrib
> > > This line will get the US mirror of the stable distribution (I guess
> > > that is what you were trying to do above?)
> > >
> > > So delete lines 26-28 and I think your sources.list is fine.
>
> -- 
> Chris Harris <[EMAIL PROTECTED]>
>
>>>Thanks Chris, your last comment allows `apt-get update` to run and
complete.  I've only run it offline so there are errors reading the uri's.
I can't get online with the Debian partition so haven't tried it for real
yet.

>>>Leonard Chatagnier
 ---
> GNU/Linux --- The best things in life are free.
>
>
> -- 
> 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: Unable to use scanner

2004-12-04 Thread Wayne Topa
Rick Friedman([EMAIL PROTECTED]) is reported to have said:
> I have an HP PSC 2110 All-In-One (printer, copier, scanner & fax). So 
> far, I have not been able to figure out how to use it with Debian (Sarge).
> 
> I ran the sane-find-scanner command and received the following output:
> 
> found USB scanner (vendor=0x03f0 [Hewlett-Packard], product=0x2911 [PSC 
> 2200 Series]) at libusb:002:002
>   # Your USB scanner was (probably) detected. It may or may not be 
> supported by
>   # SANE. Try scanimage -L and read the backend's manpage.
> 
> I ran scanimage -L and received the following:
> 
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
> 
> What do I have to do to get the scanner working? Is it even supported by 
> SANE?
> 
> Any help would be greatly appreciated.
> 
 Rick
Go to the sane website.  They list every scanner they support and
have instructions on how to get it working.

You could find your answer faster there then waiting for someone
here who 'might' have the same scanner.

WT
-- 
Real Users find the one combination of bizarre input values that shuts
down the system for days.
___


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



Re: search mail archive

2004-12-04 Thread Adam Aube
ken keanon wrote:

> When I tried to use the Search in the Debian page, I
> was directed to Google. This is inefficient.

Google indexes the site on its own, and it uses Google's advanced search
features to only search debian.org. How is this inefficient?

> Is the Debain Search engine not coming back?

That is for the Debian site itself, not the mailing list archives. On the
home page, in the menu on the left side, under Support, is a link to the
Mailing List Archives, which have their own search tool.

You can also go to them directly at lists.debian.org.

Adam


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



Re: Cannot display with 1024x768 res

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 19:35 -0800, jack kinnon wrote:
> Hi folks,
> This is an old problem that I can coming back to. I
> have not been able to select a res of 1024x768 for the
> display. If I select this res, the system will not
> boot into graphics mode. This is not a lack of memory
> problem for sure because I can use it under Win XP.
> 
> I am running 'stable'. Could this be the problem?

How can we know, if you don't give us any details?

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"As I like to joke, I may have invented it, but Microsoft made it
popular"
David Bradley, regarding Ctrl-Alt-Del



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


Re: Cannot display with 1024x768 res

2004-12-04 Thread Kent West
jack kinnon wrote:
Hi folks,
This is an old problem that I can coming back to. I
have not been able to select a res of 1024x768 for the
display. If I select this res, the system will not
boot into graphics mode. This is not a lack of memory
problem for sure because I can use it under Win XP.
I am running 'stable'. Could this be the problem?
 

Possibly; it might be that the driver in "stable" is not as adequate as 
the driver in "testing" or "sid". But I doubt this is the case.

Instead, I suspect you're overdriving the number of colors. Run 
"dpkg-reconfigure xserver-xfree86" and drop  the color depth to the next 
lower level, and try again.

BTW, how much RAM is on your video system?
--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Fw: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work

2004-12-04 Thread Leonard Chatagnier
I have my hostname back, but still can't send out Mozilla email or receive
email for the right user.  I want a simple DUN to access the internet.  I
have a 3Com PCI NIC, just the card, nothing else.  I get a nasty network
configuration popup on bootup that I don't know how to fill out.  I tried
several times and now just cancel it.  It tells me "good luck" but my luck
is all bad.  I get an error message logging in to gnome GUI saying something
like can't find IP address, gnome won't work correctly, adding Debian to the
hosts file may correct this.  Well, it doesn't.  I ask if someone would
please tell me if adding all the network files could have caused this and
got no reply.  So, right or wrong, I dselected out the network files making
sure I kept wvdial, ppp and other files needed for dial out.  Due to some
dependency crap, wvdial was removed.  I'm 67 and really don't want to read a
bunch of manuals that I don't understand(linux/unix related terms).  I've
read some and they weren't very helpful.  I don't mind reinstalling, but
need clarification on networking, if that's needed(have reinstalled about 5
times already). I'd like some quick fix and am open to communicating one on
one with some knowledgeable person willing to do so.  Well, I know I've
ranted too much.  Please help.

Leonard Chatagnier
- Original Message - 
From: "Croy, Nathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 03, 2004 2:26 PM
Subject: RE: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work


>
> > From: Leonard Chatagnier [mailto:[EMAIL PROTECTED]
> > Sent: Friday, December 03, 2004 11:43 AM
> >
> > Ugh, don't know how to, yet.  Could you give me the command
> > or referenct?
>
> Login as root and type the following:
> echo chatagnier > /etc/hostname
>
>
> To clarify my previous post:
>
> In my other post I said source /etc/profile because, normally, this file
is
> automatically sourced when a normal user logs in, and PS1 (the variable
that
> controls how the prompt looks) is set there.  You sane always change that
at
> any time by doing something like PS1="My Prompt: ".
>
> I also gave this option of sourceing ~/.profile because I didn't know if
you
> were logging in as a normal user or root.  On the system I use, when root
> logs in, /etc/profile is NOT sourced, but the .profile file in root's home
> directory is (the tilda (~) is shorthand for the current user's home
> directory).
>
>
> > Len Chatagnier
> > - Original Message - 
> > From: "Kent West" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, December 03, 2004 8:42 AM
> > Subject: Re: Newbie Having Much Trouble Getting Deb
> > 2.4.18-bf2.4 To Work
> >
> >
> > > Leonard Chatagnier wrote:
> > >
> > > >RE: Nathan Croy's suggestions:
> > > >#hostname=none
> > > >I have no hostname file in /etc, only host.conf,
> > hosts.allow, hosts.deny
> > and
> > > >host.canna.
> > > >
> > > >
> > > So create an "/etc/hostname" file, and in it have your computer's
> > hostname.
> > >
> > > -- 
> > > Kent West
> > > [EMAIL PROTECTED]
>
>
> -- 
> 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]



world map or atlas?

2004-12-04 Thread Matt Price
hi folks,  

I'm looking for a decent world map  program, preferably with some
flexibility about what information is displayed (political & physical
features, etc).  I find it hard to believe that Debian doesn't have
this, but I'm not having much luck finding one with apt-cache, I guess
partley because "map" and "atlas" are regexes used by lots of
programs...  

Can anyone point me in the right direction?

thanks,
matt

ps -- I tried xplanet, but it doesn't seem to work with xfce4, my WM
-- or anyway, if it does, I'm missing them agic password.  


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



Re: Fw: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work

2004-12-04 Thread Kent West
Leonard Chatagnier wrote:
I have my hostname back, but still can't send out Mozilla email or receive
email for the right user.
Let's not worry about email yet; can you ping any other computers, such 
as debian.org?

[EMAIL PROTECTED]:/home/westk> ping www.debian.org
PING www.debian.org (194.109.137.218): 56 data bytes
64 bytes from 194.109.137.218: icmp_seq=0 ttl=49 time=136.9 ms
--- www.debian.org ping statistics ---
2 packets transmitted, 1 packets received, 50% packet loss
round-trip min/avg/max = 136.9/136.9/136.9 ms
(remember to Ctrl-C as soon as you get a result, so you don't create 
needless traffic to the remote machine).

What's the result of "ifconfig"?
What does your "/etc/networking/interfaces" look like?
Do you have your computer name in "/etc/hosts", like so:
[EMAIL PROTECTED]:/home/westk> cat /etc/hosts
127.0.0.1   westk03 localhost

Also, if you run "lspci", you should see your NIC listed, and if you run 
"lsmod", you should see the proper module for that NIC (which will 
probably be "3c59x", but will depend on the model of your 3COM card).


 I want a simple DUN to access the internet.
What's a "DUN"? I used to know the term in the Windows world as "Dial-Up 
Networking", but you seem to be trying to use Ethernet rather than 
dial-up so that context doesn't make sense.

 I
have a 3Com PCI NIC, just the card, nothing else.  I get a nasty network
configuration popup on bootup that I don't know how to fill out.  I tried
several times and now just cancel it.  It tells me "good luck" but my luck
is all bad.  I get an error message logging in to gnome GUI saying something
like can't find IP address, gnome won't work correctly, adding Debian to the
hosts file may correct this.  Well, it doesn't.
You're bringing Gnome into the discussion, which just muddies up the 
waters. Really, you need to make sure your networking is working 
properly from the console first (Ctrl-Alt-F2 should get you there; 
Ctrl-Alt-F7 will get you back to the GUI side of things). The things I 
mentioned above should help in the console.


 I ask if someone would
please tell me if adding all the network files could have caused this and
got no reply.
I don't know what you mean by "network files".
 So, right or wrong, I dselected out the network files making
sure I kept wvdial, ppp and other files needed for dial out.  Due to some
dependency crap, wvdial was removed.
For Ethernet, you don't need wvdial or ppp, so no worry here.

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



Re: Package to block random SSH login attempts?

2004-12-04 Thread Jacob S
On Sat, 4 Dec 2004 14:50:24 -0700
"s. keeling" <[EMAIL PROTECTED]> wrote:

> Incoming from Adam Rosi-Kessel:
> > Is there any Debian package (or free software outside of Debian)
> > that can detect random ssh login attempts and blacklist (temporarily
> > or permanently) the IP address?
> 
> fwlogwatch purports to be able to do this (I haven't tried this
> feature; ymmv).  However, wouldn't it make more sense to simply limit
> ssh to accept login attempts only from IPs you (or your users?) might
> be coming from?

Limiting login to certain ips tremendously decreases flexibility. Things
such as remote admin from a dynamic ip, users on the road (or even being
on the road yourself, etc). If you're strictly doing it in a work
environment where you only access the servers from your own network,
you're extremely fortunate. I rarely have that pleasure.

This is Linux, where we're supposed to be able to have a server
accessible to the world without having to worry about who can get in.
Ok, so a good password should prevent the need for worry, but I still
believe there should be an easier way than simply restricting ssh access
to certain ips.

To the OP, you might check out the following thread on the same subject
from a couple months ago. It has a good stop-gap measure (pam) along
with a couple more detailed solutions if you don't mind recompiling your
kernel. The thread can be found at:
http://lists.debian.org/debian-user/2004/09/msg03580.html

HTH,
Jacob


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



Re: ftp question

2004-12-04 Thread Sam Watkins
On Fri, Dec 03, 2004 at 11:34:34AM -0500, [EMAIL PROTECTED] wrote:
> How do you transfer an entire directory using ftp?  The directory that I'm
> trying to transfer has a lot of "subdirectories" in it.  These directories
> also have several types of files in them... ie.. text, video, wav, mp3,
> etc.

I recommend using "lftp", it is a command-line ftp client like normal "ftp",
but has a "mirror" command, tab completion and other goodies.  Makes ftp much
more pleasant.

If you're using lftp, the command:

  mirror foo

will grab the foo directory and everything in it.


Sam


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



Re: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work

2004-12-04 Thread Gayle Lee Fairless
Leonard Chatagnier wrote:
 Since my problems includes a
malfunctioning Mozilla mail client, 
Len Chatagnier

	One non-Debian way to get a late model browser and mailer for woody is 
to download the tarball file for Linux from netscape.com.  The 
downloader can download a small downloader that then downloads the 
pieces or download a larger tarball file that can install itself without 
a modem connection.

	I had the program to install itself to /usr/local/netscape after 
enabling write permissions for my user account.  The program copies with 
it the libraries necessary for it to run.  That is not in the default 
command path so it takes a different syntax to start it.  Of course you 
may prefer to be a purist and run what woody already has.  You should be 
able to get that working.

--
(Mr.) Gayle Lee Fairless
Linux Gcomm 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ftp.egr.msu.edu APT source down?

2004-12-04 Thread s. keeling
Incoming from Shawn McCuan:
> Does anyone know if the
> 
> ftp.egr.msu.edu   APT source is down?

(0) keeling /home/keeling_ ping -c 1 ftp.egr.msu.edu
PING ike.egr.msu.edu (35.9.37.225): 56 data bytes

--- ike.egr.msu.edu ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Please don't Cc: me.
- -


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



Re: Package to block random SSH login attempts?

2004-12-04 Thread s. keeling
Incoming from Jacob S:
> On Sat, 4 Dec 2004 14:50:24 -0700
> "s. keeling" <[EMAIL PROTECTED]> wrote:
> 
> > Incoming from Adam Rosi-Kessel:
> > > Is there any Debian package (or free software outside of Debian)
> > > that can detect random ssh login attempts and blacklist (temporarily
> > 
> > fwlogwatch purports to be able to do this (I haven't tried this
> > feature; ymmv).  However, wouldn't it make more sense to simply limit
> > ssh to accept login attempts only from IPs you (or your users?) might
> 
> Limiting login to certain ips tremendously decreases flexibility. Things

Flexibility, vulnerability, ...  Choose one.

> This is Linux, where we're supposed to be able to have a server
> accessible to the world without having to worry about who can get in.

What have you been smoking, and may I have some?


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Please don't Cc: me.
- -


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



Re: Package to block random SSH login attempts?

2004-12-04 Thread Ron Johnson
On Sat, 2004-12-04 at 11:42 -0500, Adam Rosi-Kessel wrote: 
> Is there any Debian package (or free software outside of Debian) that can
> detect random ssh login attempts and blacklist (temporarily or
> permanently) the IP address?
> 
> portsentry is similar but not quite on point.  As I understand it,
> portsentry will block port scanners, but not people attempting random
> logins.
> 
> What I'd like to do is block a particular IP address if there are more
> than, say, 5 attempted logins from nonexistent usernames, and more than
> 10 failed logins from existent usernames.
> 
> I've written the following little hack to do it, but I don't particularly
> like running untested hacks as root, and also it'd be preferable if the
> blacklisting could happen immediately, rather than as an occasional cron
> job.

Something that continuously tails might get around the "occasional
cron job" problem.  Since group adm has +r access to /var/log/syslog,
a user that belongs to group adm may be the key.

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

484,246 sq mi (1,254,197 sq km) are needed for 6 billion people
to live, 4 persons per lot, in lots that are 60'x150' (a nice
suburban US plot).
That is ~ California, Texas and Missouri.
Alternatively, France, Spain and The United Kingdom.




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