Re: Sound on via8233

2003-03-21 Thread George Georgalis
lspci (might need to install it) will be very helpful.

I have a similar board and this is the output, less add on cards...

00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.2 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
00:07.3 USB Controller: VIA Technologies, Inc. UHCI USB (rev 16)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:07.5 Multimedia audio controller: VIA Technologies, Inc. AC97 Audio Controller (rev 
50)

I have compiled my own kernel, these configs where what I needed when I
built my it...

CONFIG_SOUND_VIA82CXXX=y
CONFIG_MIDI_VIA82CXXX=y
CONFIG_SOUND_OSS=y
CONFIG_SOUND_TRACEINIT=y
# CONFIG_SOUND_DMAP is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_ADLIB is not set
# CONFIG_SOUND_ACI_MIXER is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_GUS is not set
CONFIG_SOUND_VMIDI=y

so alsa does not seem _required_ (it may work) but I seem to recall
sound did not work with the standard kernel.

Regards,
// George


On Fri, Mar 21, 2003 at 10:47:12AM -0800, Notivago wrote:
>
> Hello, All!!!
>
> I?ve installed Debian Woody r3 on my home box about
>two weaks ago and I?ve gone trought the "video-card
>instalation saga" with minimal losses. But, then,
>comes the sound, I?ve got the /dev/dsp permisson
>denied, with the help of the Archives, I've solved it,
>then I?ve got /dev/dsp no such device, to the archives
>again, then I found out that the sound modules were
>not installed and decided to go the Alsa way, get my
>inst cd?s and dselected alsa (wich is 0.5something),
>bla bla bla -> started the sound config, wich sees my
>card as a via82cxx, tries to run some sample and
>crashes. Back to achives, how-tos and alsa.org.
>Finally I found out that my bord was misdetected,
>searching the specs of my mb, it is a via apollo kt333
>with the via8233a southbridge chip set.
> I do not have internet at home, each time I try
>something, I have to wait to come back to work,
>search, print, go to home and try it overnigth. 
> There is somebody with a configuration that works
>within the base original alsa into debian woody inst
>cd?
>
> Thanx
> leonardo.
>

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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



Re: Configuring mutt to view and quote html

2003-03-16 Thread George Georgalis
On Sun, Mar 16, 2003 at 03:28:22PM -0800, Shaun Crossley wrote:

>Eventually I tracked the solution down in the following mutt mailing list 
>posting by Gero Treuner, judiciously edited here for brevity:
>
>http://marc.theaimsgroup.com/?l=mutt-users&m=95563623916928
>
>[snip]
>
>>In muttrc you need
>>
>>  auto_view text/html
>>
>>and in mailcap
>>
>>  text/html; lynx -force_html %s
>>  text/html; lynx -force_html -dump %s; copiousoutput
>>
>>The first entry is for interactive use from an attachment listing,
>>the second for inline display in the pager (and for replies)
>
>[snip]
>
>With this in place, when you read an html-based email its content will be 
>visible in the mutt viewer, with no need to view it in an external 
>browser.  Even better, when you reply and quote a message, the text is 
>nicely extracted and quoted.


Cool, I've not been using the auto_view option :-)

You might also try w3m, it renders some pages better, but lynx has the
advantage of providing links in footnotes...

text/html; w3m -s -T text/html -dump -cols 95 '%s'; copiousoutput; description=HTML 
Text; nametemplate=%s.html
text/html; w3m -s -T text/html '%s'; needsterminal; description=HTML Text; 
nametemplate=%s.html


// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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



Re: cron solved

2003-02-15 Thread George Georgalis
On Sat, Feb 15, 2003 at 10:25:31PM +0100, Ina&Frank wrote:

>Thanx for your explaination. I read the man 5 cron manpage (I ran man 5 
>cron) and understood that you have to use (better to do so) the -u option.
>
>My problem was that I want to 'load' and 'unload' a firewall rule 
>periodically. iptables runs (kernel 2.4.18) under root, so I had to edit 
>crontab for root.

While I said "user", in this context I don't think there is any
difference between root and a regular user. I just used crontab -e as
root, and crontab -eu to edit a user's crontab, both no prob. Yes, if
you're modifying iptable rules, you need root to do that but I don't
think it matters if you edit /etc/crontab or use crontab -e as root.

I guess I don't understand the problem you had... what was the url of
the solution?

Well documentation is usually the last item to come of age, but I
have yet to see a Linux distro with better documentation. Though
just yesterday when I was compiling mplayer source, I got
stuck it said I needed GTK first. Any idea how many gtk debs
there are? A lot, but the easy answer was on a web site
http://eimbox.org/~eim/stuff/development/debdev/mplayer/

Cheers,
// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: cronproblem solved

2003-02-15 Thread George Georgalis
On Sat, Feb 15, 2003 at 07:59:27PM +0100, Ina&Frank wrote:

>I hope I'm doing right to 'report' this.


No better way to keep opensource open. :)

There are actually two types of cron files. The /etc/crontab type and
the /var/spool/cron/crontabs/* type. The former is run by root, as a
particular user, the user field is required to so crond knows which user
to run it as. The latter can be changed by users and doesn't need a user
identifier. You might not have seen "man 5 crontab" try setting 
alias man='man -a' 
first then you'll have an option to see all the manpages.

If you are having problems with "crontab -e" it's probably related
to how vim and crontab use inode numbers, not worth understanding
(fixes welcome). The easy solution in this case is to create a file
/tmp/cron with your crons in it then run "crontab /tmp/cron" to install
it as a user cron, in /var/spool/cron/crontabs/

I include a line like this:

0 4 * * *  crontab -l > ~/crontab-$LOGNAME-`hostname -f`

and (after it appears) just edit 'crontab-geo-trot.local' and
'crontab crontab-geo-trot.local' when I'm done.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Console fonts in rxvt

2003-02-13 Thread George Georgalis
On Thu, Feb 13, 2003 at 05:51:41PM +, Colin Watson wrote:
>On Thu, Feb 13, 2003 at 11:46:55AM -0500, George Georgalis wrote:
>> Have you done it? I've tried single / double quotes and "\ " to no
>> avail... but I am setting a variable ($fn) and using -fn $fn on the
>> command line (in a script). maybe that's my problem?
>
>Word splitting happens after parameter expansion, so spaces in $fn will
>be treated as word separators. Use -fn "$fn" instead.

Doh! that little expansion rule gets me all the time... even when I'm
thinking of it.  Here's the script that now has the font I wanted,
thanks.


#!/bin/bash
#
# rxvt.sh, custom rxvt settings.
#
# Processes two parameters, a foreground color and a command (with args)
# to execute. Both are optional but a color must accompany a command.
#
# $1 = rxvt foreground color or defined default
# $2 = command to run and any command paramaters 
#
# Since I'm always using ssh as a command, I prefer '-title "$*"'
# but you may prefer '-title "$title"'
#
# '-name' is for setting Xresources, untested.
#
# GNU (c) 2003 George Georgalis, [EMAIL PROTECTED]

foreground=goldenrod
[ -n "$1" ] && foreground=$1 && shift
[ -z "$1" ] && title=$(basename $0) && cmd=""
[ -n "$1" ] && title=$@ && ex='-e' && cmd="$1" && shift
cursor=green
fn="-jmk-neep alt-medium-r-normal-*-*-180-*-*-c-*-iso8859-1"
fb="-jmk-neep alt-medium-r-normal-*-*-180-*-*-c-*-iso8859-1"
export LC_ALL=C
exec \
/usr/bin/rxvt  \
-title "$*" \
-name  "$*" \
-geometry 100x27 \
-bg black \
-fg $foreground \
-fn "$fn" \
-fb "$fb" \
-cr $cursor \
-pr $cursor \
-bd $foreground \
-sl 999 -ls -ut +vb +sb +si -sk $ex $cmd $@ &

# a non zero -sl requires 14 extra pixels in the geom x position



// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Console fonts in rxvt

2003-02-13 Thread George Georgalis
On Tue, Feb 11, 2003 at 08:21:11PM -0800, Eric G. Miller wrote:
>On Tue, Feb 11, 2003 at 10:06:06PM -0500, George Georgalis wrote:
>> Hi, another question on the same topic...
>> 
>> On Tue, Feb 11, 2003 at 02:32:49PM -0700, Cameron Matheson wrote:
>> 
>> >What are you using as a font name?  You just use any font that X
>> >recognizes (use xfontsel to get the font-name).  With aterm, i use the
>> 
>> How does one specify the font:
>> -jmk-neep alt-medium-r-normal-*-*-140-*-*-c-*-iso8859-1
>> 
>> there is a space in the name and I can't get it to work with rxvt...
>
>Wrap it in quotes.

Have you done it? I've tried single / double quotes and "\ " to no
avail... but I am setting a variable ($fn) and using -fn $fn on the
command line (in a script). maybe that's my problem?

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: fsck finding thousands of errors

2003-02-13 Thread George Georgalis
On Tue, Feb 11, 2003 at 08:20:40PM -0800, Alvin Oga wrote:
>
>hi ya
>
>On Tue, 11 Feb 2003, George Georgalis wrote:
>
>> On Tue, Feb 11, 2003 at 08:43:21PM -0500, Levi Waldron wrote:
>> >Do you know what's wrong with this hard drive, or how to troubleshoot it?  
>> >It's almost brand new, but is it a warranty item?
>> 
>> who knows maybe it's software error, but more likely a loss of power
>> while running/writting, but much much more likely a disk failure.
>> 
>> anyway, you can use the -y option in fsck to answer yes to all the
>> questions.
>
>the system will fsck your disk if its not properly shutdown 
>
>using "-y" to fsck is a bad idea, unless oyu know why its fsck'ing in the
>first place
>   - if its bad mmory... i dont want the disk touched
>
>assuming that it was shutdown properly ...
>- if your bios time is whacky... so can fsck...
>
>- if you have bad memory... it will try to fix the drive according to
>  its bad memory content
>
>- if its a brand new disk...  there probably wasnt anything 
>  wrong with it if it installed and was rebooted a few times
>  before the last sleep of 2 months
>
>- somebody else played with your system and powered it off incorrectly
>
>the magic pixie dust did it
>
>your best bet is to re-install again... 
>   if it happens again..swapp out either the memory or disk
>   or maybe even a bad cpu that has gone bonkers
>

Interesting points worth considering but if you do decide to run
fsck, I don't see any reason not to use -y I don't know when humans
wouldn't answer 'y' during a check anyway...

Regards,
// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




lprng works but doesn't print

2003-02-12 Thread George Georgalis

What's going on here?

# netstat -ptunl | grep lpd
tcp0  0 0.0.0.0:515 0.0.0.0:*   LISTEN  
30209/lpd Waiting


# lpq
Printer: lp@trot
 Queue: no printable jobs in queue
 Server: no server active
 Status: job 'root@trot+331' saved at 14:03:48.390
 Rank   Owner/ID  Class Job Files Size Time
done   root@trot+214A   214 /usr/share/lprngtool 20080 13:56:05
done   root@trot+331A   331 /usr/share/lprngtool/t 627 14:03:48


My printer is on the parallel port, detected and configured with
lprngtool.  It prints the ascii directly to port test, but the regular
ascii and postscript tests immediately show up in the queue with a Rank =
done but they they didn't print, see above.

The only think I can imagine is it's not looking at the search (domain)
directive in /etc/resolv.conf, otherwise trot.local resolves corectly in
dns.

Here's the printcap, 

#
# This printer configuration file was created with lprngtool v.1.1.1
# Any changes made here manually may be lost if lprngtool
# is run later on.
#
# It is NOT advisable to modify this file by hand.  To add, modify, or
# remove printers, please use 'lprngtool' to avoid corruption.

##LPRNGTOOL## LOCAL ljet4 300x300 letter {} LaserJet4 Default 1
lp
:sd=/var/spool/lpd/lp
:sh
:ml=0
:mx=0
:af=/var/spool/lpd/lp/acct
:lf=/var/spool/lpd/lp/log
:cd=/var/spool/lpd/lp
:lp=/dev/lp0
:if=/usr/share/lprngtool/master-filter
:

Any ideas?

// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: fsck finding thousands of errors

2003-02-11 Thread George Georgalis
On Tue, Feb 11, 2003 at 08:43:21PM -0500, Levi Waldron wrote:
>Do you know what's wrong with this hard drive, or how to troubleshoot it?  
>It's almost brand new, but is it a warranty item?

who knows maybe it's software error, but more likely a loss of power
while running/writting, but much much more likely a disk failure.

anyway, you can use the -y option in fsck to answer yes to all the
questions.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Console fonts in rxvt

2003-02-11 Thread George Georgalis
Hi, another question on the same topic...

On Tue, Feb 11, 2003 at 02:32:49PM -0700, Cameron Matheson wrote:

>What are you using as a font name?  You just use any font that X
>recognizes (use xfontsel to get the font-name).  With aterm, i use the

How does one specify the font:
-jmk-neep alt-medium-r-normal-*-*-140-*-*-c-*-iso8859-1

there is a space in the name and I can't get it to work with rxvt...

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: lm_sensors

2003-02-07 Thread George Georgalis
On Fri, Feb 07, 2003 at 11:42:38AM +0800, Jsen wrote:
>* Hugo Graumann ([EMAIL PROTECTED]) wrote:
>> * On Fri, Feb 07, 2003 at 12:00:17AM +0100, mess-mate ([EMAIL PROTECTED]) wrote:

>> > Sorry, this error messages appaers on the install of this i2c package :
>> > dpkg: dependency problems prevent configuration of i2c-2.4.20:
>> >  i2c-2.4.20 depends on kernel-image-2.4.20; however:
>> >   Package kernel-image-2.4.20 is not installed.
>> > dpkg: error processing i2c-2.4.20 (--install):
>> >  dependency problems - leaving unconfigured
>> > Errors were encountered while processing:
>> >  i2c-2.4.20
>> > ?? This kernel is installed ! Compiled and installed by myself.
>> > (with the old method)
>> > What has I do other ?
>> > mess-mate
>> 
>> If by old method you mean "make bzimage" etc, then I bet that is
>> why the package wont install. Looks like the i2c package wants to
>> see a 2.4.20 kernel installed as a Debian package before it is
>> satisfied. So even though you have a running 2.4.20 kernel, the
>> Debian package system doesn't know about it. I guess one fix
>> would be to make a kernel the Debian way with make-kpkg and
>> then install that kernel package (this is sort of implied in step 0).
>> After this you have a 2.4.20 kernel and the packaging system knows about
>> it as well so the dependencies will be correct.


>Well another way is, you'll get the tarball from lm-sensors website and  patch it up 
>with your current kernel. You'll need to re-compile your current kernel though. 


Since you (mess-mate) probably have your own reasons and desires to
continue to use your own kernel, another alternative is to make a
'dummy' deb info entry. Sorry I don't know exactly what the technique
is called because I haven't done it myself. but if for example you have
qmail compiled and running and now want to remove the exim package,
lots of dependencies will break. the answer is to make the info entry
for qmail as a "Provides: mail-transport-agent" which makes dpkg think
(correctly) that there is an MTA in place, as you remove exim and
install qmail-dummy at the same time.

I'm sure someone will jump in and explain, from experience, how to do
this :)

Anyway, if your kernel does have required i2c (et al) support I'm sure
this technique will allow your own kernel and deb everything else.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: active iptables update

2003-02-05 Thread George Georgalis
On Wed, Feb 05, 2003 at 01:02:46PM -0800, Tom O'Toole wrote:
>On Mon, 3 Feb 2003, George Georgalis wrote:
>
>> I was thinking along these lines; forward malicious requests to some
>> ip on the 127.0.0.0/8 network where tcpdump would be listening ready
>> to trigger a script that inserts a new drop (or whatever) rule into
>> the iptables ruleset. I'm sure someone has worked out the details of a
>> function like this... Suggestions?
>
>Would a slight hack of xinetd might be a good place to start, modded
>to run your 'server' (script) on all ports at that ip?


That sounds a bit awkward. At this point I think I'll use
iptables ULOG and limit functions along with "LaBrea"
http://www.hackbusters.net/LaBrea/ and its logging facility to
dynamically maintain the iptables ruleset (like hogwash).
I've been planning to post a summary of responses...

But at the moment I have a more pressing problem, While the 
bridge _is_ bridging, I can't catch _any_ of the packets with
any iptable mangle, input, output or forward tables... grr!

Crap. Now that I have my install image together and have
been struggling to make my bridge and iptables work together
I find this:

  http://lartc.org/howto/lartc.bridging.html#LARTC.BRIDGING.IPTABLES

  As of Linux 2.4.20, bridging and iptables do not 'see' each other
  without help. If you bridge packets from eth0 to eth1, they do not
  'pass' by iptables. This means that you cannot do filtering, or NAT or
  mangling or whatever. In Linux 2.5.45 and higher, this is fixed.

how stable is 2.5.45? Err, I'm looking for production. Can I patch
2.4.20, should I use 2.4.19? Has anybody bookmarked relevant linux
kernel discussions? just now I couldn't find a relevant one.

I wonder if the problem applies to qdisc filters?

http://lartc.org/howto/lartc.qdisc.filters.html#LARTC.FILTERING.SIMPLE
9.6.2. All the filtering commands you will normally need

is there more complete doc for that somewhere?

Help!

// George





Here is my research for anyone using a non 2.4.20 kernel. Doh!

Basically what I'm doing is this...

brctl addbr br0
brctl addif br0 eth1
brctl addif br0 eth2
ip link set lo up
ip link set br0 up
ip link set eth0 up
ip link set eth1 up
ip link set eth2 up
ip addr add 127.0.0.1/8 brd +   label lodev lo

L="LOG --log-level" # one of: debug, info, notice, warning, err, crit, alert, emerg
A="ACCEPT"
D="DROP"

i="iptables -P"
$i INPUT $D ; $i FORWARD $D ; $i OUTPUT $D

i="iptables"
$i -N IN_TCP
$i -N OUT_TCP
$i -N FORWARD_TCP
$i -I INPUT   -p tcp  -j IN_TCP
$i -I OUTPUT  -p tcp  -j OUT_TCP
$i -I FORWARD -p tcp  -j FORWARD_TCP
$i -A IN_TCP -j $L notice
$i -A OUT_TCP -j $L notice
$i -A FORWARD_TCP -j $L notice

$i -t mangle -P PREROUTING $D
$i -t mangle -A PREROUTING -i eth0 -j $L emerg
$i -t mangle -A PREROUTING -i eth1 -j $L emerg
$i -t mangle -A PREROUTING -i eth2 -j $L emerg
$i -t mangle -A PREROUTING -i eth0 -j ACCEPT
$i -t mangle -A PREROUTING -i eth1 -j ACCEPT
$i -t mangle -A PREROUTING -i eth2 -j ACCEPT
$i -t mangle -A PREROUTING -j $A

echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp
echo 1 > /proc/sys/net/ipv4/ip_forward


The box is bridging, I have a laptop connected via crossover
to eth1 and a patch to a LAN switch from eth2, the laptop
is doing an http transaction every 2 seconds, but nothing 
ever shows up in the bridge logs.

I've been looking at these docs


http://lartc.org/
Linux Advanced Routing & Traffic Control
http://lartc.org/howto/lartc.bridging.html
Building bridges, and pseudo-bridges with Proxy ARP
http://bridge.sourceforge.net/docs.html
http://bridge.sourceforge.net/docs/Firewalling for Free.pdf
Firewalling for Free, by Shawn Grimes.
http://www.sparkle-cc.co.uk/firewall/firewall.html
Implementing a Bridging Firewall By David Whitmarsh
http://www.pom.gr/ilisepe1/firewall_help.html#5
Transparent Firewall Bridging
http://plorf.net/linux-ip/html/ether-bridging.htm
Address Resolution Protocol and Bridging



-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




[kleptog@svana.org: Re: Recent glibc time_t redefinition?]

2003-02-03 Thread George Georgalis
- Forwarded message from "John H. Robinson, IV"  -

Date: Mon, 3 Feb 2003 11:38:25 -0800
From: "John H. Robinson, IV" 
Subject: [[EMAIL PROTECTED]: Re: Recent glibc time_t redefinition?]
To: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]

remember the time_t thing we were discussing? how dates before the epuch
nolonge rwork?

well, on another list, this same issue was discussed. here is a message
from that thread:

- Forwarded message from Martijn van Oosterhout <[EMAIL PROTECTED]> -


On Mon, Feb 03, 2003 at 12:13:28PM +1000, Andrew Pollock wrote:
> On Mon, Feb 03, 2003 at 10:05:52AM +1100, Brian May wrote:
> > On Mon, Feb 03, 2003 at 06:50:42AM +1000, Andrew Pollock wrote:
> > > Can anyone provide me with mailing list archive URLs from when this change
> > > would have been discussed publically?
> > 
> > I assume it was deliberate? Or was it unintentional?
> 
> I'm assuming it was deliberate also, to address the 2038 bug. I've seen 
> much talk of it back in 2000 in Google, but nothing more recent.

It was deliberate. The postgresql guys noticed when some release redhat
shipped with these modifications. They tried to convince the glibc guys to
revert but they refused.

Basically, POSIX doesn't define mktime() before 1970, so glibc doesn't
support it. Or so the argument goes.

IIRC, postgresql has now copied the mktime code from FreeBSDs libc to deal
with the problem. Or maybe they're just thinking about it.

Some references:
http://lists.debian.org/debian-glibc/2002/debian-glibc-200205/msg00010.html
http://maths.newcastle.edu.au/~rking/R/help/03a/0066.html
http://archives.postgresql.org/search.php?ps=10&q=glibc+mktime&ps=10&wm=wrd&o=0&ul=%2Fpgsql-hackers%2F&m=all&wf=11&cat
-- 
Martijn van Oosterhout   <[EMAIL PROTECTED]>   http://svana.org/kleptog/
> Support bacteria! They're the only culture some people have.



- End forwarded message -

-john

-- 
  http://www.kernel-panic.org
  list archives http://www.ultraviolet.org
  To unsubscribe, send a message to the address shown in the list-unsubscribe
  header of this message.


- End forwarded message -

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




active iptables update

2003-02-03 Thread George Georgalis
I'm looking for a way to add iptable rules per connection profiles.
So if a particular IP triggers an action (-j), an iptables rule (such
as drop all connections from that IP) is inserted in the appropriate
table. The idea is to block an abusive IP while not interrupting regular
service.

I know this has been done before, but in a plethora of netfilter
information I didn't notice this technique.

I was thinking along these lines; forward malicious requests to some
ip on the 127.0.0.0/8 network where tcpdump would be listening ready
to trigger a script that inserts a new drop (or whatever) rule into
the iptables ruleset. I'm sure someone has worked out the details of a
function like this... Suggestions?

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




whois not working?

2003-02-03 Thread George Georgalis
Can anyone explain why whois (Debian stable) is not working for _some_
domains? I've tried at a few different sites to lookup galis.org and
sdriw.org and no match found is the result??

Various website based whois programs, and I understand at least one
'Unix' whois program is working correctly.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: booting reiserfs rescue

2003-01-31 Thread George Georgalis
Have been looking at the doc and can't find a single thing wrong with
this one ( http://www.systemimager.org ), in other words it looks
perfect! Thanks Neil.

// George

On Fri, Jan 31, 2003 at 12:40:12AM -0800, Neil Schneider wrote:
>Take a look at systemimager http://www.systemimager.org It's suitable for
>cloning machines, and it will boot from a network, if you have all the
>proper pieces in place, dhcpd, dns and tftp, and it's relatively fast. I
>use it for saving special configurations I build, on a machine
>specifically for this purpose.
>
>begin quoting George Georgalis :
>> On Thu, Jan 30, 2003 at 03:49:27PM -0800, Rick Schultz wrote:
>> 
>> >On Thu, Jan 30, 2003 at 06:11:36PM -0500, George Georgalis wrote:
>> >
>> >> I'm looking for a way to make a network backup of an install, and
>> >> restore that to another box with a different size disk. tomsrtbt
>> >> would work fine if it supported reiser filesystems
>> >
>> >If you want the whole filesystem, you can copy the entire partition
>> >with dd.  You wouldn't need reiserfs support, since you wouldn't really
>> >be interacting with the filesystem, just the partition.
>> >
>> >After restoring the partition to a target machine, it could be resized
>> >with parted.
>> 
>> It's the fdisk/mkreiserfs, restore rsync ssh/nfs (not using dd) that I'm
>> stuck on.
>> 
>> Also should have been more clear, cdrom drives are not available, need
>> to use a floppy (or two) and the network.
>> 
>> Using dd like you say sounds like a lot of trouble. I think it would be
>> easier to make floppies with rsync ssh reiser kernel etc.
>> 
>> >In either case, check out Timo's Rescue CD set
>> >(http://rescuecd.sourceforge.net/) as well as the Gentoo Live CD.  I
>> >think both will have all the tools you're looking for.
>> 
>> Haven't seen that one before. Looks like it has a floppy section
>> too. Will check it out!
>> 
>> // George
>> 
>> -- 
>> GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
>> Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
>> Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 
>> 
>> 
>> -- 
>>   http://www.kernel-panic.org
>>   list archives http://www.ultraviolet.org
>>   To unsubscribe, send a message to the address shown in the list-unsubscribe
>>   header of this message.
>> 
>
>-- 
>Neil Schneider [EMAIL PROTECTED]
>  http://www.paccomp.com
>Key fingerprint = 67F0 E493 FCC0 0A8C 769B  8209 32D7 1DB1 8460 C47D
>If each of us have one object, and we exchange them,
>  then each of us still has one object.
>If each of us have one idea, and we exchange them,
>  then each of us now has two ideas.
>
>
>-- 
>  http://www.kernel-panic.org
>  list archives http://www.ultraviolet.org
>  To unsubscribe, send a message to the address shown in the list-unsubscribe
>  header of this message.
>

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: booting reiserfs rescue

2003-01-30 Thread George Georgalis
On Thu, Jan 30, 2003 at 03:49:27PM -0800, Rick Schultz wrote:

>On Thu, Jan 30, 2003 at 06:11:36PM -0500, George Georgalis wrote:
>
>> I'm looking for a way to make a network backup of an install, and
>> restore that to another box with a different size disk. tomsrtbt
>> would work fine if it supported reiser filesystems
>
>If you want the whole filesystem, you can copy the entire partition
>with dd.  You wouldn't need reiserfs support, since you wouldn't really
>be interacting with the filesystem, just the partition.
>
>After restoring the partition to a target machine, it could be resized
>with parted.

It's the fdisk/mkreiserfs, restore rsync ssh/nfs (not using dd) that I'm
stuck on.

Also should have been more clear, cdrom drives are not available, need
to use a floppy (or two) and the network.

Using dd like you say sounds like a lot of trouble. I think it would be
easier to make floppies with rsync ssh reiser kernel etc.

>In either case, check out Timo's Rescue CD set
>(http://rescuecd.sourceforge.net/) as well as the Gentoo Live CD.  I
>think both will have all the tools you're looking for.

Haven't seen that one before. Looks like it has a floppy section
too. Will check it out!

// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




booting reiserfs rescue

2003-01-30 Thread George Georgalis
I'm looking for a way to make a network backup of an install, and
restore that to another box with a different size disk.

tomsrtbt would work fine if it supported reiser filesystems, because I'm
using them too -- I would boot the floppy, mount and copy to device from
nfs.

rsync seems an important tool for restoring images too.

the debian mkrescue program seems close to what I need, if only to get
a shell where I can format a disk and rsync an nfs (or maybe with ssh),
unfortunately I don't see doc on making a root filesystem, and of course
the destination machine has a blank disk.

I'm about to experiment and reverse engineer the bf2.4 install
floppies. But just because I could not find a suitable application
already made doesn't mean there isn't one. Any suggestions?

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: invalid date from date -d 1969-12-31

2003-01-30 Thread George Georgalis

- Forwarded message from "John H. Robinson, IV"  -

Date: Tue, 28 Jan 2003 22:50:38 -0800
From: "John H. Robinson, IV" 
Subject: Re: invalid date from date -d 1969-12-31
To: [EMAIL PROTECTED]
Reply-to: [EMAIL PROTECTED]

George Georgalis wrote:
> 
> $ date --version
> date (GNU sh-utils) 2.0.11
> Written by David MacKenzie.
> 
> but maybe it's the kernel that's been fixed, I know there has been some
> clock work (duh) but I don't even remember what it was about or when
> (like I said duuuh). in any event I'm getting pre 1970 dates with kernel
> 2.4.20.

it is the libc.

bin/bash-2.05b# ls -l /lib/libc.so.6 
lrwxrwxrwx1 root root   13 Jan 29 06:35 /lib/libc.so.6 -> libc-2.3.1.so
bin/bash-2.05b# /tmp/date --version | head -3;/tmp/date -d 1905-04-03
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

/tmp/date: invalid date `1905-04-03'

[jaqque@athena:~]% ls -l /lib/libc.so.6
lrwxrwxrwx1 root root   13 Oct  5 12:02 /lib/libc.so.6 -> libc-2.2.5.so
[jaqque@athena:~]% date --version | head -3 ; date -d 1905-04-03 
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

Mon Apr  3 00:00:00 PST 1905

-john

-- 
  http://www.kernel-panic.org
  list archives http://www.ultraviolet.org
  To unsubscribe, send a message to the address shown in the list-unsubscribe
  header of this message.


- End forwarded message -

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: invalid date from date -d 1969-12-31

2003-01-28 Thread George Georgalis
On Tue, Jan 28, 2003 at 03:14:10PM -0600, Ron Johnson wrote:
>On Tue, 2003-01-28 at 09:32, George Georgalis wrote:
>> On Mon, Jan 27, 2003 at 11:36:36PM -0800, Eric G. Miller wrote:
>> >On Mon, Jan 27, 2003 at 10:59:47PM -0500, Stan Heckman wrote:
>> >> On my system, date -d returns "invalid date" for dates before 1970. It
>> >> is possible that this began when I upgraded libc6. Any suggestions?
>> >
>> >1970-01-01 is time zero for *nixen.  You're asking about what happened
>> >before the big bang!  Guess "date" is not as generally useful for
>> >reformatting dates as it could be.  However, its primary function is to
>> >set/print the current date/time which is always more recent than 1970.
>> 
>> Guess again. It works fine here... debian 3.0r1
>> $ date -d "1/15/1905"
>> Sun Jan 15 00:00:00 EST 1905
>> $ date -d "1/15/1905" +%s
>> -2049994800
>> 
>> Wouldn't surprise me if I couldn't set my clock to negative Unix time
>> though.
>> 
>>  try "export LC_TIME=C" or better yet "export LC_ALL=C" man
>> locale for details. 
>
>$ date -d "1/15/1905"
>date: invalid date `1/15/1905'
>
>$ LC_TIME=C date -d "1/15/1905"
>date: invalid date `1/15/1905'
>
>$ LC_ALL=C date -d "1/15/1905"
>date: invalid date `1/15/1905'


Well that's not it then... and i'm stretched to thin trying to share
posts on two lists. I was hoping someone would just be familiar with
the problem and the fix. The consensus is, check your version. This one
works:

$ date --version
date (GNU sh-utils) 2.0.11
Written by David MacKenzie.

but maybe it's the kernel that's been fixed, I know there has been some
clock work (duh) but I don't even remember what it was about or when
(like I said duuuh). in any event I'm getting pre 1970 dates with kernel
2.4.20.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: invalid date from date -d 1969-12-31

2003-01-28 Thread George Georgalis
On Mon, Jan 27, 2003 at 11:36:36PM -0800, Eric G. Miller wrote:
>On Mon, Jan 27, 2003 at 10:59:47PM -0500, Stan Heckman wrote:
>> On my system, date -d returns "invalid date" for dates before 1970. It
>> is possible that this began when I upgraded libc6. Any suggestions?
>
>1970-01-01 is time zero for *nixen.  You're asking about what happened
>before the big bang!  Guess "date" is not as generally useful for
>reformatting dates as it could be.  However, its primary function is to
>set/print the current date/time which is always more recent than 1970.

Guess again. It works fine here... debian 3.0r1
$ date -d "1/15/1905"
Sun Jan 15 00:00:00 EST 1905
$ date -d "1/15/1905" +%s
-2049994800

Wouldn't surprise me if I couldn't set my clock to negative Unix time
though.

 try "export LC_TIME=C" or better yet "export LC_ALL=C" man
locale for details. 

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: what's wrong with rsync?

2003-01-28 Thread George Georgalis
On Tue, Jan 28, 2003 at 11:01:14PM +1300, Richard Hector wrote:
>On Tue, 2003-01-28 at 22:39, Jeffrey L. Taylor wrote:
>> 
>> Be sure and use it only behind a good firewall, in a trusted LAN.  The
>> whole r* (rsync, rsh, etc.) series is wildly insecure.
>
>Well, (according to the manpage) it uses rsh by default, but it can use
>ssh as an alternative.

right. you can setup a public rsync server so people can mirror your
tree easily, but if a lot of people do, it will eat up your server
resources.

otherwise, use '-e ssh' for syncing over insecure links, actually that's
the only way I do non public rsyncs.

it's a very cool tool. I typically use "rsync -avessh --delete ./here/
user@host:there/" in most cases the default "checksum blocking size"
is way too small, try using "--block-size=10000 --checksum" if you're
mirroring cd ISOs.

// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: scsi HD install Problem

2003-01-27 Thread George Georgalis
On Mon, Jan 27, 2003 at 02:39:41PM +0100, Mikkel wrote:
>I got a Adaptec 29160 , and my problem is that i can't see my scsi HD ( only
>my IDE HD).
>

you may need to load the particular scsi driver module from a floppy,
but first, if it's an ide controller, the isapnp module from floppy.

also, switch to terminal 2 and 'cat /proc/interrupts' for irq
information. you may have to disable usb in the bios, if they use
the same irq.

// George


>> --
>> Got Backup?
>>
>>
>> --
>> 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]
>

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: error on root filesystem DEBIAN WON'T BOOT URGENT

2003-01-27 Thread George Georgalis
On Mon, Jan 27, 2003 at 02:05:57PM +, Colin Watson wrote:
>On Mon, Jan 27, 2003 at 05:24:53AM -0800, Joris Huizer wrote:
>> /dev/hdb1 UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY
>> (i.e., without -a or -p options)
>> 
>> fsck failed. Please repair manually and reboot. Please
>> note that the root file system is currently mounted
>> read-only. To remount it read-write:
>> 
>> # mount -n -o remount,rw /
>> 
>> ---
>> 
>> What should I do ? I don't know anything about inodes
>> or the fsck program so I need any advice you can give
>
>Just do what it says. 'mount -n -o remount,rw /', then 'fsck /dev/hdb1',
>and answer the questions. (Generally speaking there isn't much point
>answering anything other than 'y' to fsck's questions, unless you're a
>filesystem expert ...)

... so you should do 'fsck -y /dev/hdb1' to automagically answer yes to
what could be hundreds or many thousands of questions!

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Install problems: 3.0r1/i386 and Realtek 8319 network card

2003-01-27 Thread George Georgalis
On Mon, Jan 27, 2003 at 11:47:07AM +0100, Anand Buddhdev wrote:
>I want to install Debian over the network. I downloaded the 2 'vanilla'
>boot floppies, rescue.bin and root.bin, and booted with those. They
>have kernel 2.2.22, and they did not recognise my ethernet card. Then
>I decided to try the 2.4bf floppies, which have kernel 2.4.18. I see in
>the kernel config that the following 3 device drivers are compiled in:
>
>CONFIG_8139CP=y
>CONFIG_8139TOO=y
>CONFIG_8139TOO_8129=y
>
>When I boot with these, my ethernet card is recognised, and I can choose
>the network install method. However, the card actually fails to work,
>even though it has been recognised. If I switch to the console on ALT-F2,
>and ping the card's address, the ping works. However, I cannot ping any
>other host on the network, nor can I ping the router. So the network
>installation fails. I started the installation with "linux debug",
>and I do see some odd errors in the debug log:
>
>eth0: TX timeout

Try installing the mii module first (I think this card needs two
modules), though you seem to have gotten far enough that it's not the
problem.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Ctrl+Alt+1 not generated in X11, but Ctrl+Alt+[2-9] is

2003-01-22 Thread George Georgalis
I had a dell technician come out to a datacenter because a box wouldn't
come up. the cpu and mainboard were eventually replaced. somehow it was
discovered that it would boot fine if that $2 keyboard was not plugged
in! the tech put in his notes, must use factory keyboard. :)

just a thought...

// George

On Wed, Jan 22, 2003 at 03:09:27PM -0500, Maciej Kalisiak wrote:
>I discovered a bizarre problem with my XFree86 (xserver-xfree86 4.2.1-3): the
>Ctrl+Alt+1 combo does not seem to be generated.  Under "xev" I see an event for
>the Ctrl key down, Alt key down, but not for the 1... pressing 1 at that point
>generates no X11 event.  Oddly, the other digits in 1's place work fine.  I've
>even tested this by firing up just a plain xterm in .xsession instead of a
>window manager, and running xev from there.
>
>Any hints as to what might be wrong and how to proceed in uncovering the
>culprit?  Can anyone verify that this combo works fine on their Debian setup?
>(preferably on a setup similar to mine: Debian is setup here on a DELL Inspiron
>7000 laptop; even a desktop Pentium II or higher might be still a good point of
>reference).
>
>-- 
>Maciej Kalisiak   mac "at" dgp.toronto.edu   www.dgp.toronto.edu/~mac
>
>
>-- 
>To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: ALSA (and kernel?) problem

2003-01-20 Thread George Georgalis
On Sun, Jan 19, 2003 at 01:11:44AM +0100, Alex wrote:
>I'm running kernel 2.4.20 and have recently got a abit kd7 with
>an onboard audio chipset.
>
>The chipset on the motherboard is via vt8235.
>
>I just downloaded the latest alsa ( 0.9.0rc6 developer) version of alsa as i 
>couldn't see the kernel supporting this chipset.
>
>did everything according to:
>http://www.alsa-project.org/alsa-doc/doc-php/template.php3?company=VIA&card=&chip=via8235&module=via82xx
>
>i'm a debian user, when coming to modprobing:
>tudor:/etc# modprobe snd-via82xx
>/lib/modules/2.4.20/kernel/sound/acore/snd.o: unresolved symbol _mmx_memcpy
>/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod 
>/lib/modules/2.4.20/kernel/sound/acore/snd.o failed
>/lib/modules/2.4.20/kernel/sound/acore/snd.o: insmod snd-via82xx failed
>
>CONFIG_SOUND was compiled into the kernel.
>
>searched some on google but found no useful information,
>i'm thankful for all help.
>

It looks as if you don't have all the modules installed properly and/or
alsa is expecting a different kernel or kernel options.

I haven't used alsa in a while but when I did, I used these scripts (RedHat)
to compile/install.

http://galis.org/scripts/alsa-INSTALL.sh
http://galis.org/scripts/alsa-driver-0.5.11.sh
http://galis.org/scripts/alsa-lib-0.5.10b.sh
http://galis.org/scripts/alsa-utils-0.5.10.sh

notice especially what's happening at the end of alsa-driver-0.5.11.sh
do you know how to apply module aliases you put in /etc/modutils/arch/i386?
btw update-rc.d on Debian is similar to the RH chkconfig command.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




determining UDMA rate

2003-01-18 Thread George Georgalis
I have a 40 pin ribbon on an ide drive (which supports udma100, at
least)

I know the board only goes up to udma66. do I need an 80 pin ribbon for
that?

looking at hdparm, I cannot see how to determine the present udma rate.
how is that done?

// George

BTW - this is a scsi box, just adding and ide for extra space... I can
do some hdparm experimenting at this point.

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: do amd processors work well with debian?

2003-01-18 Thread George Georgalis
On Fri, Jan 17, 2003 at 08:20:42PM -0600, Ron Johnson wrote:
>On Fri, 2003-01-17 at 17:03, George Georgalis wrote:
>> On Tue, Jan 14, 2003 at 08:59:00AM +0100, Eduard Bloch wrote:
>> 
>> >> by the way, any baddies when it comes to mobo chipset?
>> >
>> >Nforce chipsets. AFAIK you need a non-free driver to make the LAN chip
>> >work.
>> 
>> 'in the beginning' there was problems with the VIA IDE controller
>> drivers (ie, my chipset, a year or two ago) used on some boards
>> for amd CPUs.  I'm now running a 2.4.20 kernel with compile option
>> CONFIG_BLK_DEV_VIA82CXXX=y and while I have no problems with disk
>> access, I'm not convinced all problems were addressed for the floppy
>> drive. I cannot always run fdformat /dev/fd0 (and I don't have removed
>> media mounted) but rebooting fixes it.
>> 
>> I'm not sure exactly which components are relevant but am guessing
>> 'Apollo Super South'
>> 
>> 00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
>> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
>> 00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
>> 00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
>
>I've got the same chipset you do (on an A7V133-C mobo) and have
>had none of those IDE problem, even back when others were 
>complaining about them.  Haven't formatted too many floppys,
>so can't speak to that...

I think most people don't use floppies so this issue was not fully
addressed.  I've wasted a lot of time (and changed drives and floppies)
only to have sector (track?) 60 something not verify correctly. PITA

Far as ide drives are concerned it think the issue is
resolved in current 2.4 (I guess 2.2) kernels.  Here is the
tail end of the discussion if anyone wants to research.
http://kt.zork.net/kernel-traffic/kt20010416_114.html#3

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: VIA bug?

2003-01-17 Thread George Georgalis
On Sat, Jan 18, 2003 at 01:20:35AM +1300, Richard Hector wrote:
>Hi all,
>
>After a fresh install on a newish PC, I get an error like this:
>
>probable hardware bug: clock timer configuration lost - probably a
>VIA686a
>probable hardware bug: restoring chip configuration
>
>This machine also had problems such as the mouse freezing, and sound
>playback (and recording) was slow, under WinXP - that's part of the
>reason for switching, but I'm not sure if it's relevant.
>
>Anyway, I've discovered that that message does not exist in the 2.4.18
>kernel source - does that mean that kernel avoids the problem, and
>therefore all my problems will be over once I upgrade?
>

If it's what I think, yes. If you try to boot RedHat 6.0 (?) you'll see
another incarnation (the installer kernel works but the distro kernel
crashes hard). I thought it had something to do with asking an AMD cpu
for a Pentium cpu id, some kernel boot parameter "with nr_ in it" fixed
the problem, I couldn't find that parameter looking just now, but I did
come across this:

append="noapic"

(or when compiling) 
Use kernel 2.4.18 and choose "Athlon/Duron/K7 processor family"; disable
"Use local APIC on single processors".

but I expect using a bf2.4 install (or upgrade if you can) will solve
the problem.

don't know if the mouse/sound problems are hardware related, does the pc
say 'made for XP' if not, my bet is on driver software?

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: apt-get remove exim .... wants to remove more?

2003-01-17 Thread George Georgalis
On Tue, Jan 14, 2003 at 03:55:13PM -0900, Andy wrote:
>> All of those packages depend on a MTA; try "apt-get install qmail."
>> Apt will be much happier when it realizes that you are merely switching
>> MTAs. Also, apt will leave your exim config files, so you can merely
>> "apt-get install exim" at the end of your test drive and things should go
>> back to the way they were.
>
>Can leave Exim installed if I install Qmail from source?
>(Exim is not started at boot time)

that's what I do, just leave exim as it is, I also select item 5, don't
configure, when I install. I don't run inetd either so I have no port
conflicts, 'netstat -ptunl' is your friend.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: do amd processors work well with debian?

2003-01-17 Thread George Georgalis
On Tue, Jan 14, 2003 at 08:59:00AM +0100, Eduard Bloch wrote:

>> by the way, any baddies when it comes to mobo chipset?
>
>Nforce chipsets. AFAIK you need a non-free driver to make the LAN chip
>work.

'in the beginning' there was problems with the VIA IDE controller
drivers (ie, my chipset, a year or two ago) used on some boards
for amd CPUs.  I'm now running a 2.4.20 kernel with compile option
CONFIG_BLK_DEV_VIA82CXXX=y and while I have no problems with disk
access, I'm not convinced all problems were addressed for the floppy
drive. I cannot always run fdformat /dev/fd0 (and I don't have removed
media mounted) but rebooting fixes it.

I'm not sure exactly which components are relevant but am guessing
'Apollo Super South'

00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03)
00:01.0 PCI bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133 AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:07.4 Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: console messages flit by too fast

2003-01-07 Thread George Georgalis
On Tue, Jan 07, 2003 at 12:21:09AM -0500, Stephen Gran wrote:

>I don't know if anyone has suggested this yet, but:
>$ dmesg | $PAGER
>works fine for viewing boot messages.  You lose all the module loading
>and init messages, but that's usually logged to syslog or kern.log
>anyway, so you can look into it later.  Or am I just restating the
>obvious, and missing the real problem?

unfortunately this doesn't catch stderr (not sure why &> or wasn't used,
must be that "| tee /dev/null &>" problem... but then again, I doubt the
bootup is a "tail -f" output :^))

I would put a sleep 20 at the top of various /etc/rcS.d/ programs. If
the problem is re "fstab" then a delay in /etc/rcS.d/S40hostname.sh
might be appropriate. then you can see the prob at boot ;-)

// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: MPlayer audio video out of sync

2003-01-07 Thread George Georgalis
On Tue, Jan 07, 2003 at 01:45:24PM +1000, [EMAIL PROTECTED] wrote:
>Also, maybe you have a slow computer, or alternatively your sound card does not cope 
>with required sound frequency.

try framedrop (sp?), video might glitch sometimes, but the audio remains
steady and inline, if it's delayed/advanced properly.

I stopped using my "higher quality" isa sound card because the mobo
builtin sound (eg pci) could keep up YMMV

// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: users and x/gdm

2003-01-04 Thread George Georgalis
On Fri, Jan 03, 2003 at 09:28:37PM -0800, Paul Mackinney wrote:
>Karsten M. Self declaimed:
>> on Tue, Dec 31, 2002 at 03:47:08PM -0500, George Georgalis ([EMAIL PROTECTED]) wrote:
>> > Something seems wrong with the archives at the moment...
>> > 
>> > 
>> > I just finished walking remote hands through a not so simple x
>> > configuration. whew.
>> > 
>> > now a user can 'startx' and use the session, but with gdm the session   
>> > starts then immediately returns to the gdm login. 
>  
>> > 
>> > I presume there is a permissions problem here... how do I enable users
>> > with console access (or users in a group) to access (run) the xserver?
>> 
>> In /etc/X11/Xwrapper.config:
>> 
>> allowed_users=console
>> 
>> You should be able to manage this setting with:
>> 
>> # dpkg-reconfigure xserver-common
>> 
>> man 5 Xwrapper.config for more information.
>> 
>> Peace.
>
>I had a similar problem with an account on a RH Linux system. The
>solution was to change the last line of my .xsession file from
>
>/usr/bin/blackbox   # Works with gdm on my Debian/Sarge system
>
>to
>
>exec /usr/bin/blackbox  # Works with gdm on RH 7/8
>
>The Debian system's /etc/X11/Xwrapper.config file has the line described
>by Karsten, the RH system doesn't have that file. Note that I don't know
>_why_ my solution works...

Thanks, Karsten and Paul. My Xwrapper.config is okay. I'm going to try
exec in .xsession, .xinit, etc files (it's a new account so I don't know
why there would be stray files). When remote hands wants to work on it
again. :)

I made /tmp a symlink to /var/tmp, /var/tmp seems to have the right
permissions. but that's the only other difference from my working system
I can think of...

// George

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




users and x/gdm

2002-12-31 Thread George Georgalis
Something seems wrong with the archives at the moment...


I just finished walking remote hands through a not so simple x
configuration. whew.

now a user can 'startx' and use the session, but with gdm the session   
starts then immediately returns to the gdm login.   

I presume there is a permissions problem here... how do I enable users
with console access (or users in a group) to access (run) the xserver?

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: computer hypothermia -- help!

2002-12-30 Thread George Georgalis
On Mon, Dec 30, 2002 at 04:08:43PM -0500, Nori Heikkinen wrote:
>on Wed, 25 Dec 2002 10:41:21AM -0600, Gerald Livingston insinuated:
>> On Wed, 25 Dec 2002 10:24:49 -0600
>> Nori Heikkinen <[EMAIL PROTECTED]> wrote:
>> 
>> > due to circumstances beyond my control, my computer has spend much
>> > of the past four days in the trunk of various cars schlepping 1000
>> > miles across the frozen Midwest.  i've done this lots of times
>> > before, but usually the trip takes half as long, and is much
>> > colder.
>> > 
>> > i have a couple questions, one of which is rather open-ended.
>> > what do you think could have caused this?  was it the cold?  do
>> > hard drives poo from being frozen?
>> > 
>> > does this one appear to be legitimately dying?  do i need to look
>> > into getting a new one now as opposed to the 6 months or more i
>> > was going to wait?
>> 
>> > 
>> 
>> Is this a desktop or laptop system? If it's a desktop box that's
>> been carried around I would suggest you get a clean shutdown then
>> open the box and remove everything that plugs in (cards, memory,
>> maybe even cpu) then put it all back in. Thermal
>> expansion/contraction has most likely caused a few bad connections.
>
>thanks for the suggestion.  after a bunch of hard-drive swapping with
>another functional computer, i'm pretty sure it's the hard drive just
>gone beserk.  :(  oh well ... thanks for your help!

aaah, hd failure, they come in all shapes and forms. Your other posts
indicated it would work for 1/2 hour or so. I'm guessing it's heat
related. So, maybe if the drive is attached to something big and cold
outside (read: to dissipate the heat) you can get some more info off of
it before it warms up? (or maybe just put the pc on the porch and get
the backups by regular networking)? Presuming of course, it's still cold
where you are.

Regards,
// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




installing debian on laptop...

2002-12-30 Thread George Georgalis
Hi -

My laptop has no cdrom or floppy (an ultra slim sony), I do have an
external usb floppy for it though (no cdrom).

The bios will boot the usb floppy, but the regular debian (woody bf2.4)
rescue.bin / root.bin floppy install fails at loading root.bin, it
doesn't see the floppy through the usb.

I'm hoping someone can suggest a boot: option to use the usb floppy?
Or, maybe their is a debian (network based) installer that fits on one
floppy?

// George

$ lspci 
00:00.0 Host bridge: Intel Corporation 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440BX/ZX - 82443BX/ZX AGP bridge (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corporation 82371AB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB PIIX4 ACPI (rev 03)
00:08.0 FireWire (IEEE 1394): Sony Corporation CXD3222 i.LINK Controller (rev 02)
00:09.0 Multimedia audio controller: Yamaha Corporation YMF-744B [DS-1S Audio 
Controller] (rev 02)
00:0a.0 Communication controller: CONEXANT SoftK56 Speakerphone Winmodem (rev 01)
00:0b.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 08)
00:0c.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 80)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage Mobility P/M AGP 2x (rev 
64)

-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Configuring a static IP on startup

2002-12-27 Thread George Georgalis
On Fri, Dec 27, 2002 at 08:43:04PM -0800, Paul Johnson wrote:
>On Fri, Dec 27, 2002 at 08:38:20PM -0800, Curtis Spencer wrote:
>> I am using dhclient right now on startup to give me a DHCP ip address,
>> but I want to set the system to have a static IP on my sub net so I can
>> have the router forward everything on port 80 to the debian system.
>> What is a decent way to do this?
>
>/etc/network/interfaces
>
>auto eth0
>iface eth0 inet static
>   address 192.168.0.4
>   gateway 192.168.0.1
>   netmask 255.255.255.0
>   network 192.168.0.0
>   broadcast 192.168.0.255
>
>Something like this.  See interfaces(5) for details.
>


personally, I don't like the debian networking scripts/files

I find this much easier to use one file...
http://galis.org/scripts/networking-local

edit to suite, put it in your /etc/init.d and use update-rc.d to populate
the runlevels, also remove 'networking' from the runlevels and /etc/rcS.d
(it requires the iproute package)

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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




Re: Strange behavior with APT::Default-Release

2002-12-25 Thread George Georgalis
On Wed, Dec 25, 2002 at 10:39:32PM +0100, Hans Fuchs wrote:
>Hi
>
>I have a strange behavior when I start using APT::Default-Release. It
>suddenly whats to install packages while the apt-get upgrade process. But
>it should not install any since the release hasn't changed because default
>is still "testing".


don't believe what it says in apt.conf(5) and apt_preferences(5). I
tried to configure apt to not install testing or unstable packages without
explicitly telling it to do so. I included those archives in my sources.list
and set the following in my config files.

# cat  /etc/apt/apt.conf
APT::Default-Release "stable";
# cat  /etc/apt/preferences

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: -1

Package: *
Pin: release a=unstable
Pin Priority: -1


but when I apt-get an unstable package it installs it without
hesitation. I was expecting that to happen only if I specified, for
example

  apt-get install iptraf/unstable


So an apt bug report needs submission. but I'm new to Debian and apt so I haven't
done it until I've done more research, don't know much more than above.

To answer your question with my problem. It looks as if apt is upgrading
and satisfying dependencies according to versions it finds in unstable.

// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
Multimedia, DB, DNS and Metrics.   http://www.galis.org/george 


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