Re: [SLUG] Rhythmbox -> GStreamer osssink-> Alsa -> snd-intel8x0.. Something here is crackling...

2004-05-12 Thread David Gillies
I've tried using pretty similiar versions of rhythmbox on Fedora Core 1 
with a laptop with an intel 8x0 audio card with exactly the same problems.

Back to xmms I guess :-(

Jordan Wightman wrote:
Hey all,

Been playing with trying to get Rhythmbox running on Debian Testing. 
It's not been going oh so well... :)

Basically, the problem is that as soon as I try to play something in 
rhythmbox the song starts to crackle.

Now, at the moment I'm using the osssink as alsasink gives me the 
following error message.

$ gst-launch filesrc location=01.Kielbasa.ogg ! vorbisfile ! alsasink
INFO (10091: 0) Initializing GStreamer Core Library version 0.6.4
INFO (10091: 0) CPU features: () MMX SSE
INFO (10091: 0) registry: loaded global_registry in 0.312519 seconds
  (/var/lib/gstreamer/0.6/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
Opening alsa device "default" for playback...
Preparing channel: (null) 44100Hz, 2 channels
ALSA lib pcm_hw.c:370:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS 
failed: Invalid argument

** (process:10091): WARNING **: could not set sw_params: Invalid argument
pipeline doesn't want to play
And I know (well, think I know..) that the Alsa OSS emulation is working 
correctly (muine, xmms, mplayer all work with OSS stuff).

So. What's happening? Does anyone know? I've looked around for similar 
problems, but haven't found them.

Running Debian Testing, with alsa-modules-2.4.22-1-686 and kernel-image 
2.4.22-1-686.

Thanks,
Jordan
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: FIXED: Re: [SLUG] CUPS detecting printers I don't control

2004-05-12 Thread Dave Kempe
Mary Gardiner wrote:

Thanks Glen and Dave,

I set "Browsing Off" and "BrowseDeny All" which has stopped the other
printers being found.
no worries,
I was actually troubleshooting a similar problem at the exact same time :)
this document helped me:
http://www.faqs.org/docs/Linux-mini/Debian-and-Windows-Shared-Printing.html
dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Modifying gnome mouse click menu

2004-05-12 Thread Simon Wong
On Thu, 2004-05-13 at 11:50, Erich Schulz wrote:
> Does any body know how to add my usb stick to the gnome right mouse 
> click disks menu. Is this part of gnome or part of the window manager?
> 
> It would be really nice to be able to mount and unmount the usb stick 
> with the click of a mouse.

But of course!  You need to add an entry into /etc/fstab. The problem
comes in that if you attach multiple USB mass storage devices, they get
assigned different scsi device numbers depending on what order they're
plugged in :-(

I use an app called USB Storage (usb-storage_2.0-1_i386.deb) from
http://s1x.homelinux.net/usb-storage.php (tip include your URL in the
README etc so people don't have to search onm your name in Google!)

There is a newer version but it didn't work for me.

This little perl script works a treat handling plugging and
automatically adding entries into the Nautilus context menu.

There's a RedHat project using D-Bus that should sort all his out in the
near future...

HTH

Let me know if you need any more help.






> 
> Cheers
> 
> Erich
-- 
Simon Wong <[EMAIL PROTECTED]>
Wongy.org

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


FIXED: Re: [SLUG] CUPS detecting printers I don't control

2004-05-12 Thread Mary Gardiner
Thanks Glen and Dave,

I set "Browsing Off" and "BrowseDeny All" which has stopped the other
printers being found.

On Thu, May 13, 2004, Mary Gardiner wrote:
> (I cannot print at present and I'm trying to eliminate causes.)

This problem was unrelated: for some reason DHCP isn't giving my
computer the standard search path, and so I needed to give CUPS the full
name of the main printer server.

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] CUPS detecting printers I don't control

2004-05-12 Thread Glen Turner
On Thu, 2004-05-13 at 11:45, Mary Gardiner wrote:

> Is there any way I can delete these entries from my own CUPS
> configuration? Is having them there likely to be a problem when I try
> and print? (I cannot print at present and I'm trying to eliminate
> causes.) How do I prevent my own CUPS entries being advertised in the
> same way?

Your neighbour is advertising their printers for use by everyone.

Your local CUPS is hearing the advertisments for those printers and
adding them to the pool of available printers.

You can choose not to hear these advertisments using the BrowseAllow and
BrowseDeny directives in /etc/cups/cupsd.conf.

You prevent other people using your machine's printers by controlling
access to the printer's URL, which is in cupsd.conf. For example, to
stop other people printing to lp0:


 Order Deny,Allow
 Deny From All
 Allow From 127.0.0.1


Cheers,
Glen


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] CUPS detecting printers I don't control

2004-05-12 Thread Dave Kempe
Mary Gardiner wrote:

Is there any way I can delete these entries from my own CUPS
configuration? Is having them there likely to be a problem when I try
and print? (I cannot print at present and I'm trying to eliminate
causes.) How do I prevent my own CUPS entries being advertised in the
same way?
its all controlled in the config file /etc/cups/cupsd.conf

like so :

# Browsing: whether or not to broadcast and/or listen for CUPS printer
# information on the network.  Enabled by default.
#
Browsing Off

there are heaps of other options under that one

dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] CUPS detecting printers I don't control

2004-05-12 Thread Mary Gardiner
Hi everyone,

I'm very much a Linux printing newbie because I don't own my own
printer.

I've installed cupsys on my Debian (unstable) system to try and print
using printers shared among my large set of collegues. The problem is
that CUPs seems to be detecting printers advertised (somehow) by one of
my collegues' Debian machines, which is definitely not the group's print
server. When I visit http://localhost:631/printers , I see a list of
printers on my collegue's server, but I cannot delete these printers,
because the "Delete printer" link points at
"http://colleguesmachine.example.com:631/admin/?op=delete-printer&printer_name=PRINTER";

Is there any way I can delete these entries from my own CUPS
configuration? Is having them there likely to be a problem when I try
and print? (I cannot print at present and I'm trying to eliminate
causes.) How do I prevent my own CUPS entries being advertised in the
same way?

-Mary
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread mlh
On Wed, May 12, 2004 at 11:07:24PM +1000, Robert Collins wrote:
> Lets be clear here:
> I'm all for blocking port 80 flat out and requiring a proxy to be used.
> In that scenario illegitimate programs fail nicely  :}.
> 
> I'm also very pro network IDS's combined with firewall rules to
> dynamically drop, block or interrupt sessions. 
> 
> None of the above lead to the damaged semantics of hijacking, and they
> allow all the monitoring and blocking you could want.

Rob,
Is there some way (the easier the better) that allows you
to do things like snooping POST'd data, or even just keeping
stats on the size of POST'd data.

Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Modifying gnome mouse click menu

2004-05-12 Thread Erich Schulz
Does any body know how to add my usb stick to the gnome right mouse 
click disks menu. Is this part of gnome or part of the window manager?

It would be really nice to be able to mount and unmount the usb stick 
with the click of a mouse.

Cheers

Erich

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] May DebSIG

2004-05-12 Thread Matt Hope
When:
Wednesday, May 19th
7pm - 8pm

Where:
James Squire Brewery
King St. Wharf

Making a Debian package for some random piece of software isn't really
that hard. Debian has a large pile of helper scripts and examples (every
source package in the distribution) to help get you going. 

This month, Matthew Palmer will be distilling the wisdom of the Debian
archive and his experiences packaging software for Debian into a talk on
Debian packages and packaging. It will cover what source and binary
packages are in Debian, how to turn one into the other, and various
accessories for the packaging process.

The target audience will be anyone who has ever wanted to make a Debian
package, whether for Debian, themselves, or their work, and maybe those
who've made a package or two and want to know other ways to do it.

Along with the usual free-form discussions / debates that will precede
and follow his talk, food, drink and internet access are available and
people generally start wandering in from 18:30 for a good 'ol chin wag. 

For more detailed information, maps, and the like, head here:
http://debian.slug.org.au/

See you all there!

-- 
Matt Hope <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] digcam photodownload in Linux

2004-05-12 Thread Static
 gphoto.org only provides C programs and include files, no pre-compiled binaries for my Kodak 6330 Easyshare? cam with no telephone the size limitations of a floppy at TAFE computers is another limitation the Digital Dictator has me by the ballsJoin Excite! - http://www.excite.comThe most personalized portal on the Web!
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Re: [MLUG] afterstep clock applet

2004-05-12 Thread Andrew McGlashan
Luke (Terry) Vanderfluit wrote:
> Hi,
> 
> I used to have this great clock on linux 5 or so.
> It was the Afterstep clock applet,
> unfortunately I don't have it anymore,
> does anyone know where to get it,
> it looks like this:
> http://linuxselfhelp.com/gnome/users-guide/clock-applets.html
> (see afterstep clock applet)
> 
> I've tried googling, but no dice.
> If you have any clues please let me know

My google search that worked okay was:
http://www.google.com.au/search?q=gnome+afterstep+clock+applet&hl=en&meta=

This was the top link:
http://www.gnu.org/directory/AfterStepclockapplet.html

Regards

AndrewM

Andrew McGlashan
ADSL, Dialup, Satellite, ISDN and other enquiries: 1300 85 3804

Mobile: 04 2574 1827 Fax: 03 8790 1224

Affinity Vision Australia Pty Ltd
www.affinityvision.com.au
www.affinityvision.net/adsl/

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Report to Sender

2004-05-12 Thread SYDM01/HWL%HWL




Incident Information:-

Database:   d:/notes/data/mail.box
Originator: [EMAIL PROTECTED]
Recipients: [EMAIL PROTECTED]
Subject:Mail Delivery (failure [EMAIL PROTECTED])
Date/Time:  13/05/2004 09:54:04 AM

The file attachment FILENAME you sent to the recipients listed above was
infected with the EXCEPTIONNAME virus and was not successfully cleaned.



This e-mail, including any attachments, may contain personal, confidential
or privileged information. If you are not the intended recipient please
contact the sender immediately and delete all copies of this e-mail and
attachments. If you are not the intended recipient, any reproduction,
dissemination or disclosure of any part of this e-mail or attachments is
unauthorised.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] afterstep clock applet

2004-05-12 Thread Luke (Terry) Vanderfluit
Hi,

I used to have this great clock on linux 5 or so.
It was the Afterstep clock applet,
unfortunately I don't have it anymore,
does anyone know where to get it,
it looks like this:
http://linuxselfhelp.com/gnome/users-guide/clock-applets.html
(see afterstep clock applet)

I've tried googling, but no dice.
If you have any clues please let me know

thanks,
kin


-- 
=
Luke (Terry) Vanderfluit
Mobile: 0421 276 282
=

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] follow up to - Setup eth card under debian (Knoppix 3.4)

2004-05-12 Thread bill
Thanks to Greg for the reply.

Have had some success after having an inspiration and plugging the 
router/modem directly into the PC's ethernet card and connecting to the 
'Net immediately with no other action reqd.

When connected to the router/modem through my ethernet switch(home LAN), 
knoppix's DHCP Broadcast on boot times out.

Will have to check for further Knoppix boot options.

Thanks again

Bill

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [slug] messing up your windows box

2004-05-12 Thread stuartc

> > Actually, it's not my quote, and I recall that someone else made the
> > statement that connecting a Windows box to the Internet should be a
> > criminal offence.

> "It is grossly irresponsible to connect a Windows machine directly to
> the net.  ;-)"  -- John Wiltshire on the Sydney Linux User Group mailing list

To which I made the obvious improvement

"It is grossly irresponsible to connect a Windows machine directly to
a power supply".

Maybe not the exact words, check the archives :-)

Stuart.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Upgrading to Mandrake 10.

2004-05-12 Thread Richard Neal
ok

First mistake "don't use update"

Just do a fresh install and don't format /home.

Create a user account that matches your old account ie john

then login as root after the install then typo

chown -R john /home/john

then just login as john per normal and you have all your old user
settings and files.

If you run update your asking for headaches..it doesn't work on windows
and it wont work on Linux for the same reasons no one can double check
everything to that degree.

Also the update often takes 2-3 hours normal install will take you 1hr

Regards

Richard Neal

lng time Mandrake users

On Mon, 2004-05-10 at 17:38, John Gibbons wrote:
> Hello to everyone knowing anything at all about Linux, which excludes
> me.
>  
> I have just tried to upgrade from Mandrake 9.1 to version 10. 
>  
> 9.1 loaded itself with only intuitional input from me and was
> trouble-free for this beginner. Trying to start up in the upgrade
> to 10 for the first time I got:
>  
> "The BackSpace key sends:" followed by an acute sign then ?
> followed by the blinking cursor.
>  
> Can some kind soul tell me what I am supposed to type in?
>  
> John.
> 
> __
> -- 
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Richard Neal <[EMAIL PROTECTED]>

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread Robert Collins
On Wed, 2004-05-12 at 22:39, David Kempe wrote:
> Robert Collins wrote:
> > This is a bad idea.
> > 
> > apt-get install something
> > ...
> > error - corrupt data.
> > 
> > Don't do. It's worse than hijacking the sessions into a proxy in the
> > first place.
> > 
> 
> With the plethora of spyware around on the average PC, hijacking port 80 
>   connections is a great way to monitor and block them. You can 
> configure legitimate programs to use a proxy (apt for example or even 
> ftp for apt), and illegitimate ones fail silently. For spyware, thats a 
> good thing.
> Robert, we don't all live in a squid-erific world, fact is, hijacking 
> connections is a great way to save bandwidth, monitor useage and filter 
> sites. I love squid, and you do great work, but sometimes I feel like 
> you haven't seen the shit some people suck off the net :)

Lets be clear here:
I'm all for blocking port 80 flat out and requiring a proxy to be used.
In that scenario illegitimate programs fail nicely  :}.

I'm also very pro network IDS's combined with firewall rules to
dynamically drop, block or interrupt sessions. 

None of the above lead to the damaged semantics of hijacking, and they
allow all the monitoring and blocking you could want.

Rob

-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread Ken Foskey
On Wed, 2004-05-12 at 22:39, David Kempe wrote:

> With the plethora of spyware around on the average PC, hijacking port 80 
>   connections is a great way to monitor and block them. You can 
> configure legitimate programs to use a proxy (apt for example or even 
> ftp for apt), and illegitimate ones fail silently. For spyware, thats a 
> good thing.
> Robert, we don't all live in a squid-erific world, fact is, hijacking 
> connections is a great way to save bandwidth, monitor useage and filter 
> sites. I love squid, and you do great work, but sometimes I feel like 
> you haven't seen the shit some people suck off the net :)

It sounds like you have argued exactly what Robert is saying.  If you
silently redirect port 80 to the proxy then the spyware is redirected as
well. Robert has argued against this whole setup, for other technical
reasons as well.

-- 
Thanks
KenF
OpenOffice.org developer

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread David Kempe
Robert Collins wrote:
This is a bad idea.

apt-get install something
...
error - corrupt data.
Don't do. It's worse than hijacking the sessions into a proxy in the
first place.
With the plethora of spyware around on the average PC, hijacking port 80 
 connections is a great way to monitor and block them. You can 
configure legitimate programs to use a proxy (apt for example or even 
ftp for apt), and illegitimate ones fail silently. For spyware, thats a 
good thing.
Robert, we don't all live in a squid-erific world, fact is, hijacking 
connections is a great way to save bandwidth, monitor useage and filter 
sites. I love squid, and you do great work, but sometimes I feel like 
you haven't seen the shit some people suck off the net :)

dave
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Is this normal: redhat9 with mutiple versions of the same app installed by "up2date"

2004-05-12 Thread The Salisburys



 
 
> > hwdata and httpd should only have one 
version.> rpm -Uvh --force hwdata-0.89-1.1.i386.rpm> might do the 
trick there. .
 
yes !   worked ! fixed
> > As for httpd ... if you haven't 
done much setup then erase all and > re-install. 'man rpm' will tell you 
a command line option to apply to all > matching packages.
 
tried the following..

[EMAIL PROTECTED] [EMAIL PROTECTED] rog]# rpm  -Uvh  --force 
/var/spool/up2date/httpd-2.0.40-21.11.i386.rpmPreparing...    
### [100%]   1:httpd  
### [100%]service httpd does not 
support chkconfigerror: %post(httpd-2.0.40-21.11) scriptlet failed, exit 
status 1[EMAIL PROTECTED] rog]
 
stange:
.   httpd does not support 
chkconfig !!!
> > Otherwise... 'rpm -V' with the specific versions 
might tell you which> files are ok. If everything in the later version is 
OK then you> essentially just have an RPM database problem.
 
tried the following.  reduced data 
.
 
[EMAIL PROTECTED] rog]# rpm -V 
httpd-2.0.40-21.11S.5T c /etc/httpd/conf/httpd.confS.5T c 
/etc/rc.d/init.d/httpd
[EMAIL PROTECTED] rog]# rpm -V httpd-2.0.40-21.9 
|wc -l 61[EMAIL PROTECTED] rog]# rpm -V 
httpd-2.0.40-21 |wc -l 61[EMAIL PROTECTED] 
[EMAIL PROTECTED] rog]# rpm -V httpd-2.0.40-21 |grep -v "[.][.][.][.][.]" |wc 
-l 56
 
[EMAIL PROTECTED] [EMAIL PROTECTED] rog]# rpm -V 
httpd-2.0.40-21.9 |grep -v "[.][.][.][.][.]" |wc -l 
54
 
[EMAIL PROTECTED] rog]# rpm -V httpd-2.0.40-21.11 
|grep -v "[.][.][.][.][.]" |wc -l  
2
 
 

which tells me theres an issue with the start/stop 
script  ( i had changed 
httpd.conf)  ..
S.5T c /etc/rc.d/init.d/httpd
 
httpd-2.0.40-21.9    looks 
woeful    #got to erase
httpd-2.0.40-21  looks 
woeful #got to erase
 
 
 
httpd-2.0.40-21.11   looks OK  (only 
2 files with probs)
 

 
> There's another option to> only 
update the rpm database and not touch the rest of the filesystem. > It's 
impossible for these versions to all be concurrently installed in > 
default locations really.
 
They all  DO share the same file locations 

 
 
So thanks Grant  ... i will try "yum"  .. 
 
Cheers
Roger
 
> > On Wed, 12 May 2004, The Salisbury's wrote:> 
> > I am having trouble with httpd.> > > > I 
queried  the RPM  database & noticed 3 versions of httpd .> 
> > > Also "hwdata" & "kernel ..."> > > 
> The only way I have upgraded httpd & kernels  is by Redhats  
online > > "up2date"  app.> > > > Are these 
mutiple entries NORMAL ?  or should erase the older versions.> > 
> > below are the 2 command sequences  that  shows  the 
info ..  the op  > > of  first CLI I manually put 
into egrep. Obvious!> > As per:> > > > [EMAIL PROTECTED] 
conf]#    rpm -qa |sed 's/[-][0-9].*$//'   |sort |uniq 
-d> > httpd> > hwdata> > kernel> > 
XFree86> > > > > > [EMAIL PROTECTED] conf]#> > 
[EMAIL PROTECTED] conf]#    rpm -qa |egrep 
"^httpd|^hwdata|^kernel"  |sort> > httpd-2.0.40-21> > 
httpd-2.0.40-21.11> > httpd-2.0.40-21.9> > 
hwdata-0.75-1> > hwdata-0.89-1.1> > 
kernel-2.4.20-28.9> > kernel-2.4.20-30.9> > 
kernel-2.4.20-31.9> > kernel-2.4.20-8> > [EMAIL PROTECTED] 
conf]#> > > > Thanks> > Roger Salisbury> 
> > > > > > > > > -- > 
--> Electronic Hobbyist, Former Arcadia BBS nut, 
Occasional nudist, > Linux Guru, SLUG Secretary, AUUG and Linux Australia 
member, Sydney > Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver 
& rave music > lover, Big kid that refuses to grow up. I'd make a 
good family pet, > take me home today!> 
    Some people actually read these 
things it seems.> 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread scott




Sorry for the "top reply", but mt pocket pc doesn't indent history.

I'm sure you could place in browser checks (make sure it is IE for example)
and place a link to the java rather then just executing it.

The webpage could state:
'To setup the proxy on your browser do this, this and that, or click here
to have it done automatically'

Cheers,

Scott

-

--
Scott Ragen
Support Manager/IT Administrator
Roadtech Systems
www.roadtech.com.au
PH: +61 2 9807 3516 FAX: +61 2 9808 5294
Original Message-
From: Robert Collins <[EMAIL PROTECTED]>
Sent: 12/05/04 8:46:00 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [SLUG] blocking port 80 on firewall.

On Wed, 2004-05-12 at 18:45, Grant Parnell wrote:
> On Sun, 2 May 2004, Mary Gardiner wrote:
>
> > On Sun, May 02, 2004, Keith Hopkins wrote:
> > >   Instead of blocking port 80, you could also consider
redirecting it
> > >   to the port used by squid.
> >
> > Or possibly put up a minimal web-page using one of the minimalist
> > servers, that explains how to turn the proxy on. That's halfway
between
> > transparent proxy and packet dropping in terms of use.
>
> That's a cool idea... here's an extension of that. Basically if they
> haven't got their proxy setup it flips them to a web page that tells
them
> how to do so. Also... it's scary but you might be able to
automatically
> setup Internet Explorer somehow  .. javascript hack?

This is a bad idea.

apt-get install something
...
error - corrupt data.

Don't do. It's worse than hijacking the sessions into a proxy in the
first place.

Rob
--
GPG key available at: .
 - signature.asc
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread Robert Collins
On Wed, 2004-05-12 at 18:45, Grant Parnell wrote:
> On Sun, 2 May 2004, Mary Gardiner wrote:
> 
> > On Sun, May 02, 2004, Keith Hopkins wrote:
> > >   Instead of blocking port 80, you could also consider redirecting it
> > >   to the port used by squid.
> > 
> > Or possibly put up a minimal web-page using one of the minimalist
> > servers, that explains how to turn the proxy on. That's halfway between
> > transparent proxy and packet dropping in terms of use.
> 
> That's a cool idea... here's an extension of that. Basically if they 
> haven't got their proxy setup it flips them to a web page that tells them 
> how to do so. Also... it's scary but you might be able to automatically 
> setup Internet Explorer somehow  .. javascript hack?

This is a bad idea.

apt-get install something
...
error - corrupt data.

Don't do. It's worse than hijacking the sessions into a proxy in the
first place.

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Rhythmbox -> GStreamer osssink-> Alsa -> snd-intel8x0.. Something here is crackling...

2004-05-12 Thread Jan Schmidt

> 
> And I know (well, think I know..) that the Alsa OSS emulation is working 
> correctly (muine, xmms, mplayer all work with OSS stuff).

> 
> So. What's happening? Does anyone know? I've looked around for similar 
> problems, but haven't found them.

Unfortunately, alsasink was pretty broken in the 0.6 series GStreamer, and
not helped by the terrible quality of the i8x0 sound hardware (I have the
same chipset :-/)

It's unlikely to be fixed until the new stable 0.8 debs make it into debian. I
know the debs are built, but not why they're not in unstable yet.

You may have more luck using esdsink with that soundcard, or harassing the
package maintainer to finish off his 0.8 debs.

J.
-- 
Jan Schmidt  [EMAIL PROTECTED]

If Darl McBride had his way, he would have banned marriage too, because it
obviously is against the remunerative interests of prostitutes
  - Bruce Perens
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Is this normal: redhat9 with mutiple versions of the same app installed by "up2date"

2004-05-12 Thread Grant Parnell
Ouch! I've never really liked up2date and this seems to back that up. 
Although I've had similar issues with autorpm too. After we fix this it's 
probably best to install the 'yum' package from fedora core1 and configure 
for a RedHat9 area.

OK the kernel stuff is fine, they can co-exist and you should have 
/boot/grub/grub.conf entries for all of those.

hwdata and httpd should only have one version.
rpm -Uvh --force hwdata-0.89-1.1.i386.rpm
might do the trick there. Or else remove both and install the latest, it's 
only going to affect kudzu and detection of devices.

As for httpd ... if you haven't done much setup then erase all and 
re-install. 'man rpm' will tell you a command line option to apply to all 
matching packages.

Otherwise... 'rpm -V' with the specific versions might tell you which
files are ok. If everything in the later version is OK then you
essentially just have an RPM database problem. There's another option to
only update the rpm database and not touch the rest of the filesystem. 
It's impossible for these versions to all be concurrently installed in 
default locations really.

On Wed, 12 May 2004, The Salisbury's wrote:

> I am having trouble with httpd.
> 
> I queried  the RPM  database & noticed 3 versions of httpd .
> 
> Also "hwdata" & "kernel ..."
> 
> The only way I have upgraded httpd & kernels  is by Redhats  online 
> "up2date"  app.
> 
> Are these mutiple entries NORMAL ?  or should erase the older versions.
> 
> below are the 2 command sequences  that  shows  the info ..  the op  
> of  first CLI I manually put into egrep. Obvious!
> As per:
> 
> [EMAIL PROTECTED] conf]#rpm -qa |sed 's/[-][0-9].*$//'   |sort |uniq -d
> httpd
> hwdata
> kernel
> XFree86
> 
> 
> [EMAIL PROTECTED] conf]#
> [EMAIL PROTECTED] conf]#rpm -qa |egrep "^httpd|^hwdata|^kernel"  |sort
> httpd-2.0.40-21
> httpd-2.0.40-21.11
> httpd-2.0.40-21.9
> hwdata-0.75-1
> hwdata-0.89-1.1
> kernel-2.4.20-28.9
> kernel-2.4.20-30.9
> kernel-2.4.20-31.9
> kernel-2.4.20-8
> [EMAIL PROTECTED] conf]#
> 
> Thanks
> Roger Salisbury
> 
> 
> 
> 

-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
Some people actually read these things it seems.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] blocking port 80 on firewall.

2004-05-12 Thread Grant Parnell
On Sun, 2 May 2004, Mary Gardiner wrote:

> On Sun, May 02, 2004, Keith Hopkins wrote:
> >   Instead of blocking port 80, you could also consider redirecting it
> >   to the port used by squid.
> 
> Or possibly put up a minimal web-page using one of the minimalist
> servers, that explains how to turn the proxy on. That's halfway between
> transparent proxy and packet dropping in terms of use.

That's a cool idea... here's an extension of that. Basically if they 
haven't got their proxy setup it flips them to a web page that tells them 
how to do so. Also... it's scary but you might be able to automatically 
setup Internet Explorer somehow  .. javascript hack?

I've missed the thread a bit here so I'll just define what I don't know.

LAN=eth0
Internet=eth1
Server's LAN IP=192.168.1.1

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 \
-j DNAT --to-destination 192.168.1.1:81

Apache virtual host

DocumentRoot /var/www/noproxy
ServerName firewallname.your_domain.com.au
ServerAdmin [EMAIL PROTECTED]
Redirect / http://intranet_web_server/setup/proxy_howto.php


proxy_howto.php


-- 
--
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver & rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
Some people actually read these things it seems.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Rhythmbox -> GStreamer osssink-> Alsa -> snd-intel8x0.. Something here is crackling...

2004-05-12 Thread Jordan Wightman
Hey all,

Been playing with trying to get Rhythmbox running on Debian Testing. 
It's not been going oh so well... :)

Basically, the problem is that as soon as I try to play something in 
rhythmbox the song starts to crackle.

Now, at the moment I'm using the osssink as alsasink gives me the 
following error message.

$ gst-launch filesrc location=01.Kielbasa.ogg ! vorbisfile ! alsasink
INFO (10091: 0) Initializing GStreamer Core Library version 0.6.4
INFO (10091: 0) CPU features: () MMX SSE
INFO (10091: 0) registry: loaded global_registry in 0.312519 seconds
  (/var/lib/gstreamer/0.6/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
Opening alsa device "default" for playback...
Preparing channel: (null) 44100Hz, 2 channels
ALSA lib pcm_hw.c:370:(snd_pcm_hw_sw_params) SNDRV_PCM_IOCTL_SW_PARAMS 
failed: Invalid argument

** (process:10091): WARNING **: could not set sw_params: Invalid argument
pipeline doesn't want to play
And I know (well, think I know..) that the Alsa OSS emulation is working 
correctly (muine, xmms, mplayer all work with OSS stuff).

So. What's happening? Does anyone know? I've looked around for similar 
problems, but haven't found them.

Running Debian Testing, with alsa-modules-2.4.22-1-686 and kernel-image 
2.4.22-1-686.

Thanks,
Jordan
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] mysql databases

2004-05-12 Thread Dean Hamstead
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
success! thanks

Dean

Matthew Palmer wrote:
| On Wed, May 12, 2004 at 02:35:43PM +1000, Dean Hamstead wrote:
|
|>is it possible to copy a database from one mysql installation
|>to another by copying the files
|
|
| Yes, but make sure you stop both databases before beginning the copy, and
| that they've both stopped doing their thing before you start to copy.
|
| - Matt
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAodhVI1HDX08lY+ARAnF6AKCdGJJF2dPJAvZHHdT/NCMIWfjhWACg28lC
uaOoQR5XoX+GsWd+due8mic=
=E7ZL
-END PGP SIGNATURE-
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] mysql databases

2004-05-12 Thread Matthew Palmer
On Wed, May 12, 2004 at 02:35:43PM +1000, Dean Hamstead wrote:
> is it possible to copy a database from one mysql installation
> to another by copying the files

Yes, but make sure you stop both databases before beginning the copy, and
that they've both stopped doing their thing before you start to copy.

- Matt
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] mysql databases

2004-05-12 Thread Greg Cockburn
Dean,

I have done it before. It worked.

Greg


On Wed, 12 May 2004 02:35 pm, Dean Hamstead wrote:
> is it possible to copy a database from one mysql installation
> to another by copying the files
>
> obviously i could dump the database and reimport it
> but thats not practical
>
> i just want to copy the files from /var/mysql and drop
> them in on another machine
>
> can this be done, i assume i need to tell mysql about the
> new files?
>
> Dean
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html