Mandriva

Netips I

Summary:

  • Stopping CUPS From Broadcasting
  • Mandrake Linux As A Terminal Server
  • ipchains Instead Of iptables
  • Flash For konqueror
Section index - KB index

Stopping CUPS From Broadcasting

(Contributed by Mandrake Linux user Greg)

It has always bothered me that CUPS is broadcasting on my little own private network. Well today it was passed to me how to turn this off:

/etc/cups/cupsd.conf

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

Browsing Off

section index - top

Mandrake Linux As A Terminal Server

(Contributed by Mandrake Linux user Stephan Schutter)

Download and install the ~TightVNC server and clients.

Edit your '/etc/services' file as 'root' and add this line:

vnc          5900/tcp        #VNC Terminal Server

Create a file called 'vnc' in '/etc/xinetd.d' and fill it with this:

~# VNC Login at 1024x768 resolution 24 bit colors
service vnc1024x768x24
{
disable = no
id                      = vnc1024x768x24
socket_type             = stream
protocol                = tcp
wait                    = no
user                    = gdm
server                  = /usr/bin/Xvnc
server_args             = -inetd -depth 24 -geometry 1024x768 -query localhost
}

Enable XDMCP with your login manager. Can be done with a GUI if you use GDM.

Make the client available via samba and http etc.

Restart 'xinetd' as 'root' with:

service xinetd restart

Now you can connect and get a Mandrake Linux login prompt. Performance is good, even over a WAN.

{Due to the inherent insecurity of XDMCP you are not advised to use it via untrusted networks or on unsecured trusted networks. tom}

section index - top

ipchains Instead Of iptables

(Contributed by Mandrake Linux user D. Ginger)

In a nutshell, the newer distro's using 2.4.x-x Kernel's use 'iptables' by default. My advice is to install 'ipchains' instead. The reason is that documentation written for beginners is not yet available.

You can only have 'ipchains' OR 'iptables'. You can not have both installed at the same time. So you absolutley must un-install 'iptables' before installing 'ipchains'. You have been warned.

  • Open your favorite RPM Package Manager. * Use the Package Manager to un-install 'iptables'. * In a console as root type rmmod iptables * Install the ipchains RPM package (it's on your Mandrake Linux CD). * In a console as root type insmod ipchains * Test to see if it is installed, run /sbin/ipchains -L
section index - top

Flash For konqueror

(Contributed by Mandrake Linux user Warwick Chapman)

Konqueror has support for Netscape/Mozilla Plugins, and it is through this support that Konqueror can play Flash. {For licensing reasons this plugin can not be distributed with the download edition of Mandrake Linux. tom}

~~ tar xzf flash_linux.tgz
cd flash_linux
cp libflashplayer.so /usr/lib/mozilla/plugins/
cp ~ShockwaveFlash.class /usr/lib/mozilla/plugins/~~
  • If you have not installed KDE support for Netscape/Mozilla plugins:
~# urpmi kdebase-nsplugins

as 'root'.

  • Run nspluginscan as 'root' so KDE can find the plugins.
You can check that the Flash Plugin for Netscape/Mozilla is working by typing about:plugins in the address box. With Konqueror, try http://www.flash.com and check that the Flash animations work. Right click on what you think is a Flash animation, and if you get a Konqueror context menu, it is not working. If you get a Flash context menu, then, viola1.1 it is working.

section index - top

Next Item: More Netips

Related Resources:



Revision / Modified: Dec. 20, 2001 / Jan. 21, 2002
Author: Tom Berger

Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.

KB - Netips I
Version 1.3 last modified by AdminWiki on 22/03/2004 at 09:44

 


en fr

RSS

Creator: AdminWiki on 2004/03/22 09:44
(c) Mandriva 2007
18888888