Linux-Misc Digest #552, Volume #26 Fri, 15 Dec 00 11:13:01 EST
Contents:
Re: What can I delete in /tmp? (Jean-David Beyer)
Re: Q:Newbie Looking for alternatives from MacroShot (Andrew Purugganan)
Re: Q:Newbie Looking for alternatives from MacroShot (Andrew Purugganan)
Re: What can I delete in /tmp? (Lew Pitcher)
Re: Q:Newbie Looking for alternatives from MacroShot (Lew Pitcher)
Re: MySQL and Red Hat 7 ([EMAIL PROTECTED])
Re: Problem with samba printer in Mandrake 7.2 ([EMAIL PROTECTED])
Re: ssh problem ([EMAIL PROTECTED])
Re: Problems configuring my Linksys Etherfast NIC. (Edwin Johnson)
Re: ".bz2" extensions (Johan Kullstam)
Re: my list of RH7.0 bugs ([EMAIL PROTECTED])
error at boottime (Ben Groenen)
Re: can't map '/lib/libc.so.5' ([EMAIL PROTECTED])
Re: RH & Keyboard ([EMAIL PROTECTED])
Re: Route Command? What is wrong here? (Floyd Davidson)
Configuring a Squid proxy server (Richard Stevenson)
Re: my list of RH7.0 bugs (webbgroup)
udp port 1024 (Auge Aluusqull)
Re: What can I delete in /tmp? (Paul Kimoto)
----------------------------------------------------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: What can I delete in /tmp?
Date: Fri, 15 Dec 2000 09:10:42 -0500
"Peter T. Breuer" wrote:
>
> Dragan Colak <[EMAIL PROTECTED]> wrote:
> > I have a Linux installation here with 712 MByte of data in /tmp.
> > I would like to reduce the size of it. What can I delete and what
>
> Everything
>
> > shouldn't I touch?
>
> Nothing
>
> > Can somebody give a little advice, please?
>
> Do nothing, and file a bug report with your distro. It should be
> removing the contents of /tmp every day at 6am via a cronjob.
>
> tmp means tmp
>
> Peter
I would not want it to remove a file I was using from under my feet,
though.
Mine removes files over 10 days old from up there, but I changed it to
do the daily stuff a little after 1AM local time.
The original poster may be used to Windows and does not leave his
machine on long enough to let the cron tasks be executed. In that
case, he should just leave it on 24/7 and need not file a trouble
report. Instead, perhaps he should do man cron and man tmpwatch and
look at /etc/crontab and /etc/cron.daily.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 9:05am up 10 days, 17:53, 2 users, load average: 2.05, 2.09,
2.08
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: Q:Newbie Looking for alternatives from MacroShot
Date: 15 Dec 2000 13:53:18 GMT
Jean-David Beyer ([EMAIL PROTECTED]) wrote: [ Joshua Beard wrote: [ > [
> From what I know, this is false information. The only real time I need
to [ > reboot is after compiling my kernel so it will take affect, but not
after [ > installing software. You (typically) just unpack, compile,
install and then [ > you're good to go. [ > ~ Josh.
[ I also need to reboot once in a while when a process has died (not
That's funny, I reboot once in a while to remember what it was like with
WIndows ;-)
--
jazz
Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: Re: Q:Newbie Looking for alternatives from MacroShot
Date: 15 Dec 2000 13:55:49 GMT
Andrew Purugganan ([EMAIL PROTECTED]) wrote:
[ Jean-David Beyer ([EMAIL PROTECTED]) wrote: [ Joshua Beard wrote: [ > [
[ > From what I know, this is false information. The only real time I need
[ to [ > reboot is after compiling my kernel so it will take affect, but not
[ after [ > installing software. You (typically) just unpack, compile,
[ install and then [ > you're good to go. [ > ~ Josh.
[ [ I also need to reboot once in a while when a process has died (not
[ That's funny, I reboot once in a while to remember what it was like with
[ WIndows ;-)
And sometimes, the almighty Florida Power & Light shuts down power in the
entire neighborhood, thinking there's hundreds of PCs wanting to reboot
at 4 in the morning on Sunday
Here in So Florida
--
jazz
Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: What can I delete in /tmp?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 15 Dec 2000 14:20:38 GMT
On Fri, 15 Dec 2000 09:10:42 -0500, Jean-David Beyer
<[EMAIL PROTECTED]> wrote:
>"Peter T. Breuer" wrote:
>>
>> Dragan Colak <[EMAIL PROTECTED]> wrote:
>> > I have a Linux installation here with 712 MByte of data in /tmp.
>> > I would like to reduce the size of it. What can I delete and what
>>
>> Everything
>>
>> > shouldn't I touch?
>>
>> Nothing
>>
>> > Can somebody give a little advice, please?
>>
>> Do nothing, and file a bug report with your distro. It should be
>> removing the contents of /tmp every day at 6am via a cronjob.
>>
>> tmp means tmp
>>
>> Peter
>
>I would not want it to remove a file I was using from under my feet,
>though.
Deleting an open file just removes it's directory entry, leaving the
allocated inodes alone until the file is closed. The only danger in
deleting an open file is that the file _may_ be 'reopen'ed or 'open'ed
again by a process, which would not find it.
If the file is not open, then the danger is in deleting a file that
_may_ (soon) be used by a process, which will not find the file once
you delete it.
Prudence would suggest that you should not delete files in /tmp until
a reasonable time has elapsed since their creation or last use. Here,
'reasonable' depends on the system and it's uses; a personal
workstation might delete the contents of /tmp at startup, and at
frequent intervals after, while a server might only delete files in
/tmp after a number of days have passed since the file's use.
>Mine removes files over 10 days old from up there, but I changed it to
>do the daily stuff a little after 1AM local time.
That seems to be a reasonable interval.
>The original poster may be used to Windows and does not leave his
>machine on long enough to let the cron tasks be executed. In that
>case, he should just leave it on 24/7 and need not file a trouble
>report. Instead, perhaps he should do man cron and man tmpwatch and
>look at /etc/crontab and /etc/cron.daily.
Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: [EMAIL PROTECTED] (Lew Pitcher)
Subject: Re: Q:Newbie Looking for alternatives from MacroShot
Reply-To: [EMAIL PROTECTED]
Date: Fri, 15 Dec 2000 14:21:43 GMT
On 15 Dec 2000 13:53:18 GMT, [EMAIL PROTECTED] (Andrew Purugganan)
wrote:
>Jean-David Beyer ([EMAIL PROTECTED]) wrote: [ Joshua Beard wrote: [ > [
>> From what I know, this is false information. The only real time I need
>to [ > reboot is after compiling my kernel so it will take affect, but not
>after [ > installing software. You (typically) just unpack, compile,
>install and then [ > you're good to go. [ > ~ Josh.
>
>[ I also need to reboot once in a while when a process has died (not
>
>That's funny, I reboot once in a while to remember what it was like with
>WIndows ;-)
Why not just run the BSOD screensaver instead. All the fun and half
the work <g>
Lew Pitcher
Information Technology Consultant
Toronto Dominion Bank Financial Group
([EMAIL PROTECTED])
(Opinions expressed are my own, not my employer's.)
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: MySQL and Red Hat 7
Date: Fri, 15 Dec 2000 14:37:54 GMT
Also, there is a problem with the installation of MySQL under RH7 that
will not allow anyone to access MySQL except root, and then only from
localhost.
Red Hat posted a patch that mentioned various permissions problems. I
applied the patch, and it still does not work. I think it might have
something to do with the damn xinetd but I'm not sure. I give up until
there is more on this on the Internet. Someone is bound to figure this
out. As it is, it doen't matter what my permissions or user settings
are. As a matter of fact, When I go into the database I try to change
everything to what I need and it does NOTHING! I go back to look at the
tables and permissions later and there is no change. I think it could
also be in the file permission for the database files themselves but I
am lost at this point. Obviously the RH techs who thought they fixed it
didn't actually try to use MySQL. They decided they had the problem
figured out, and fixed what they thought was wrong... and never tried
to use it later. In the mean time my Web-Based E-mail (based on MySQL
and PHP) doesn't work. The PHP works just fine, but when it tries to
access a MySQL table it is always denied host xxxxxx is not allowed to
access MySQL.... hell, just for shits and giggles I even went into my
PHP scripts to change the user that it accessed MySQL under and the
same error was returned.
John...
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Problem with samba printer in Mandrake 7.2
Date: Fri, 15 Dec 2000 14:46:52 GMT
Have you done an upgrade to lpr in the last couple months? If so you
might need to reconfigure your printer filters (on both machines) there
were some major changes in lpr recently.
> But print jobs don't get printed.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: ssh problem
Date: Fri, 15 Dec 2000 14:50:03 GMT
You try to upgrade to a newer system that uses xinetd... it is much
easier to do what you want than in your current setup. Otherwise you
need to set up some acl (a real pain if it's your first time doing it)
Luck to ya
In article <91boif$o1r$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I recently installed ssh-2 on my red hat 6.2 linux server. I have a
> bunch of users and I would like for only a select few users to
actually
> have ssh priviledges. Is there a way that I can disable certain users
> or only enable certain users to have the ability to connect to my
server
> using ssh?
> thanks ryan
>
> Sent via Deja.com
> http://www.deja.com/
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Edwin Johnson)
Subject: Re: Problems configuring my Linksys Etherfast NIC.
Reply-To: [EMAIL PROTECTED]
Date: 15 Dec 2000 14:59:43 GMT
I am dealing with the Linksys EtherFast 10/100 PCM100 PCMCIA card which
seems to set up fine, although I am still testing. I may be getting an
internal card of the same description, which must be what you have. I found
information about the internal card in FAQS on the www.linksys.com site, but
of course don't have the card yet. They mentioned the fact that the
controller chip had changed in the newer units and they were writing another
tulip driver. Maybe this is the problem. I may have more to report after
getting the internal card. I'm using, incidentally, Slackware4.0.
Feel free to email me.
...Edwin
On Thu, 14 Dec 2000 21:29:27 GMT, Mordak
<[EMAIL PROTECTED]> wrote:
>I have SuSE 7.0 Pro installed. I just installed a Linksys Etherfast Network
>card. It has setup instructions for several versions of Linux, not SuSE. I
>tried unsuccessfully to configure the tulip.o driver as it stated in the
>instructions.
>
>I tried to use YaST and YaST2 to setup the card and "No Network Card Is
>Detected" is the message I get. I followed every direction to the letter and
>still no luck. What am I overlooking. This doesn't seem
>like rocket science, and I'm sure the answer is fairly simple.
>
>I will have it connected to a cable modem with access to the net using
>IP-Chains as my firewall. I have read the Ethernet HOWTO and it also says to
>use the Tulip drive / module but I just can't get it to work.
>
>The SuSE data base says it is supported as does Linksys.
>
>Please help,
>Mordak
>
>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Edwin Johnson ....... [EMAIL PROTECTED] ~
~ http://www.shreve.net/~elj ~
~ ~
~ "Once you have flown, you will walk the ~
~ earth with your eyes turned skyward, ~
~ for there you have been, there you long ~
~ to return." -- da Vinci ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
Crossposted-To: alt.os.linux.mandrake
Subject: Re: ".bz2" extensions
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 15 Dec 2000 09:12:33 -0500
"Steve Wolfe" <[EMAIL PROTECTED]> writes:
> > Often tar files are bzip'd, and THAT is where you need a list
> > command. You can pipe bzcat output of the .bz2 to tar and use the tar
> > options. Sample:
> > bzcat SomeFile.tar.bz2 | tar --list
>
> That's pretty unfortunate. Bzip2 takes a lot of CPU cycles, and
> decompressing the entire file just to look at the contents is a little less
> than optimal. : )
well, you could use zip (it makes pkzip type archive) or gzip which is
a lot faster than bzip2 in decompression.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
sysengr
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: my list of RH7.0 bugs
Date: Fri, 15 Dec 2000 15:04:45 GMT
In article <91cqpq$i6k$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hi,
>
> Here are the bugs that I noticed personally (please tell me if you had
> the same experience)
>
> 1) shutting down from the graphical login doesn't always work (I
> sometimes have to click there twice)
That's a kde problem (or whichever manager you are using)
>
> 4) ls --color is different for "root" and "user" (doesn't color rpm
> files when run by "user", for example) Somebody told me that this can
be
> "customized" however.
look in .bashrc in the home directory of the user...(including root)
look in the globals... etc etc
You use the 'alias' line in those files
> 5) Suddenly, new instances of xemacs acquired white instead of the
usual
> grey background. I removed all ~/.emacs* files to exclude the
> possibility of "customazation". It still has white background
>
> 6) screensavers in KDE used to work fine. At some point, I got stuck
> with "Science" screensaver and I couldn't change it back via "display
> properties".
>
> 7) In KDE, I always configure the panel to be "tiny". Sometimes it
goes
> back to being "normal" without asking for my permission.
>
> 8) X server dumps messages to tty1 (this is probably a "feature")
Is it always tty1? It is normal for X to dump messages to the terminal
where X was started. You can change where the messages are dumped, it's
part of logging. I wouln't change it though... sometimes it's helpful
debugging X with new video cards or other user problems with X
> 9) Sometimes, shutting down results in blank screen, sometimes it ends
> with "System halted", sometimes "system is halted", while putting
> "system halted" in tty2
>
> BTW, who needs xinetd.d ? What was wrong with inetd.d ?
In some ways it is a pain, but in most ways it is easier (a single
location for setting up or denying access to your system without having
to screw with acl's (which are a pain in the ass) It does take a little
getting used to... plus if you are the first one trying to come up with
the access file then it can be a pain... but if you look at the old
entries in inetd, then it's pretty straight forward.
> Wroot
>
> Sent via Deja.com
> http://www.deja.com/
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Ben Groenen <[EMAIL PROTECTED]>
Subject: error at boottime
Date: Fri, 15 Dec 2000 15:13:49 GMT
I have compiled the 2.4-test12 kernel.
I get this when I type dmesg:
============
<CUT>
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB UHCI at I/O 0xd400, IRQ 11
uhci.c: detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
uhci: host controller process error. something bad happened
uhci: host controller halted. very bad
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 208k freed
uhci.c: root-hub INT complete: port1: 58a port2: 49b data: 6
hub.c: USB new device connect on bus1/2, assigned device number 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=2 (error=-110)
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
hub.c: USB new device connect on bus1/2, assigned device number 3
Adding Swap: 136544k swap-space (priority -1)
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
solo1: version v0.16 time 15:11:22 Dec 15 2000
PCI: Found IRQ 10 for device 00:0e.0
solo1: joystick port at 0xe801
solo1: ddma base address: 0xe000
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
uhci.c: root-hub INT complete: port1: 588 port2: 495 data: 2
usb_control/bulk_msg: timeout
usb.c: USB device not accepting new address=3 (error=-110)
uhci.c: root-hub INT complete: port1: 588 port2: 491 data: 2
<CUT>
==================
So, I think there's something wrong. But what exactly I don't know. The
USB device is 'not accepting' his number???
Does anybody knows a solution for this?
Many thnx,
-Ben.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: can't map '/lib/libc.so.5'
Date: Fri, 15 Dec 2000 15:14:36 GMT
those files probably got corrupted during your power out... you need to
reinstall them somehow. To do that you will need a directory tree from
the original install and install the proper versions.. it could also be
problems with some of the links.
My suggestion: reinstall (you did have a separate partition for your
different system parts?) If not then it's a lot of work... otherwise if
there wasn't much important on your system then just do a complete
reinstall. I've been down the road of rebuilding a broke system... it's
a continuous circle... every time you fix one part in the serial you
find something else broke.... eventually you get it to work (sorta) and
then after finding more and more I ended up reinstalling anyway...
Log onto the drive with DOS, backup anything you need to back up, and
then reinstall...
In article <[EMAIL PROTECTED]>,
"Kurt Weber" <[EMAIL PROTECTED]> wrote:
> I try to boot up after a minor brownout. Everything goes fine until
it tries
> to run agetty. When it goes to that
> stage, I get the following error message, 7 times in a row:
> /sbin/agetty: can't map '/lib/libc.so.5'
>
> Then, it says:
> sbin/agetty: can't load library 'libc.so.5'
>
> Then, it shows the two error messages in order, one time each.
>
> I have not changed my system configuration since the last reboot.
>
> Obviously, since it can't run agetty I can't even log in; therefore,
it
> seems my options are pretty much limited to:
> a) reinstalling
> or
> b) since it uses a UMSDOS filesystem, booting to DOS and poking
around in
> the C:\LINUX directory (DOS loads
> without a hitch)
>
> --
> Regards,
> Kurt Weber
> [EMAIL PROTECTED]
> ROW Software and Web Design
> http://www.rowsw.com
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: RH & Keyboard
Date: Fri, 15 Dec 2000 15:08:08 GMT
You need to install the country specific fonts and then you'll have to
switch back and forth (kinda difficult) but I did see something on one
of the Linux sites about a new app for making multinational setups
easy. Can't tell you where... but search under multinational keyboard
setups for Linux.
In article <[EMAIL PROTECTED]>,
Davide Santo <[EMAIL PROTECTED]> wrote:
> This is a multi-part message in MIME format.
> --------------9AAE2942654AADCB05DCE06A
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Dear all,
> I am a ultra beginner in Linux and I have a basic question I am
sure
> most of you wise men out there could answer.
> I have RH 6.2 on a PC having an Italian Keyboard but when I write C
code
> I like to use the US keyboard map (I remember by heart where the keys
> are). So I learnt how to chenge keyboard mapping using linuxconf but
it
> worked on a normal Terminal not under the Xterminal or under any
editor
> that I can call under XWindow.
> Can anyone please teach me the trick ?
>
> Grazie
>
> Davide Santo
>
> --------------9AAE2942654AADCB05DCE06A
> Content-Type: text/x-vcard; charset=us-ascii;
> name="r54134.vcf"
> Content-Transfer-Encoding: 7bit
> Content-Description: Card for Davide Santo
> Content-Disposition: attachment;
> filename="r54134.vcf"
>
> begin:vcard
> n:SANTO;Davide
> tel;fax:+49.(0)89.92103-888
> tel;work:+49.(0)89.92103-116
> x-mozilla-html:FALSE
> url:www.motorola.com
> org:MOTOROLA SPS TSG DIS;Driver Information System Europe
> adr:;;Schatzbogen 7;Munich;;D-81829;Germany
> version:2.1
> email;internet:[EMAIL PROTECTED]
> title:System Engineer
> fn:Davide SANTO
> end:vcard
>
> --------------9AAE2942654AADCB05DCE06A--
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Route Command? What is wrong here?
Date: 15 Dec 2000 05:26:48 -0900
Quad <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I have 3 nics all on diff networks on a linux box. Its redhat 6.2 no
>updates (yet as I wanted to test, then patch OS/Kernel). Here is the
>route command I am trying to implement:
>
>route add -net 175.23.0.0 netmask 255.255.0.0 eth1
>route add -net 24.231.45.0 netmask 255.255.255.0 eth2
Assuming you have something like this listed in your
/etc/hosts file:
127.0.0.1 localhost
175.23.0.1 ifcooh ifcooh.yourdomain.com
24.231.45.1 ifcone ifcone.yourdomain.com
24.231.45.2 gwmain gwmain.yourdomain.com
Where ifcooh and ifctwo are the two NICs, and gwmain is a
gateway host accessable on the ethernet connected to ifcone.
And this in your /etc/networks file:
127.0.0.0 loopback
175.23.0.0 netooh
24.231.45.0 netone
You can use the ifconfig command like this
/sbin/ifconfig lo localhost broadcast 127.0.0.255
/sbin/ifconfig eth0 ifcooh broadcast 175.23.0.255
/sbin/ifconfig eth1 ifcone broadcast 24.231.45.255
Then you can use the route command, like this
/sbin/route add -net loopback netmask 255.0.0.0 dev lo
/sbin/route add -net netooh netmask 255.255.255.0 dev eth0
/sbin/route add -net netone netmask 255.255.255.0 dev eth1
You can also add routing for individual hosts:
/sbin/route add gwmain dev eth1
And you can use that as a default gateway,
/sbin/route add default gw gwmain dev eth1
Or, you can just default everything to that interface, and
hope that something on that ethernet will route it:
/sbin/route add default dev eth1
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
From: Richard Stevenson <[EMAIL PROTECTED]>
Subject: Configuring a Squid proxy server
Date: Fri, 15 Dec 2000 15:30:08 -0000
I have tried to setup a Squid proxy server version 2.3 STABLE4. But the
access speed of the internet connection is a lot worse than before I
connected the cache. The server I'am running the cache on is a P166, 96MB
RAM 2x4.3GB SCSI Hard drives, with the cache on the second drive. Our
internet connection is itself via a cache which we provides us with a
filtered service for education use. We have approx 60 pc's sharing this
internet connection (256K = 4 ISDN channels) normally only 20 of those
pc's would be connected to internet at any one time. When I look at the
access log I get quite a lot fo cache hits, but one the client pc's the web
pages appear blank for a very long time and sometimes time out.
Can anyone help?
Thanks in advance
Richard Stevenson
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: webbgroup <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: my list of RH7.0 bugs
Date: Fri, 15 Dec 2000 15:54:59 GMT
> > BTW, who needs xinetd.d ? What was wrong with inetd.d ?
>
I heard there were security issues with the old one, and xinetd was
more secure.
--
^*
0 0 Happy Holidays!!
( V )
Sent via Deja.com
http://www.deja.com/
------------------------------
Date: Fri, 15 Dec 2000 23:48:53 +0800
From: Auge Aluusqull <[EMAIL PROTECTED]>
Subject: udp port 1024
Dear All,
'netstat -na' show that one service ready for udp port 1024.
udp 0 0 *:1024 *:*
Would you know which service?
Following is the 'ps ax' result
[user@hostname dir]$ ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:05 init [3]
2 ? SW 0:01 [kflushd]
3 ? SW 0:10 [kupdate]
4 ? SW 0:00 [kpiod]
5 ? SW 0:01 [kswapd]
462 ? S 0:01 syslogd -m 0
471 ? SW 0:00 [klogd]
485 ? S 0:00 crond
499 ? S 1:30 named -u named
533 tty1 SW 0:00 [mingetty]
534 tty2 SW 0:00 [mingetty]
535 tty3 SW 0:00 [mingetty]
536 tty4 SW 0:00 [mingetty]
537 tty5 SW 0:00 [mingetty]
538 tty6 SW 0:00 [mingetty]
2418 ? S 0:05 sshd
8542 ? S 0:00 inetd
8883 ? S 0:00 in.telnetd: XXX.XXX.XXX
8884 pts/0 S 0:00 login -- user
8885 pts/0 S 0:00 -bash
8987 pts/0 R 0:00 ps ax
[user@hostname dir]$
Regards
Auge
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: What can I delete in /tmp?
Date: 15 Dec 2000 11:00:46 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>, Peter T. Breuer wrote:
> Do nothing, and file a bug report with your distro. It should be
> removing the contents of /tmp every day at 6am via a cronjob.
>
> tmp means tmp
Why do you want to remove my /tmp/.X0-lock, /tmp/.X11-unix, and /tmp/ssh-*?
--
Paul Kimoto
This message was originally posted on Usenet in plain text. Any images,
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************