Linux-Setup Digest #296, Volume #19 Tue, 1 Aug 00 15:13:15 EDT
Contents:
Re: Why is Athon 650 slower than P-II/400? (Jonathan)
setting up internal LAN ("TJ O Connor")
Very slow modem connection ("jlh news")
Re: Installing SUSE via FTP? (Kevin Croxen)
Re: Why is Athon 650 slower than P-II/400? (sideband)
Re: Why is Athon 650 slower than P-II/400? (Johan Kullstam)
Re: Partition Size Advice ("ne...")
Re: HELP!!! Backspace driving me crazy in bash (Axel Boldt)
Securing Gnome (John Ferreira)
Re: Partition Size Advice (Johan Kullstam)
Re: Please help!! Apache/Linux problem -- will not serve ("dale hites")
----------------------------------------------------------------------------
From: Jonathan <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Why is Athon 650 slower than P-II/400?
Date: Tue, 01 Aug 2000 17:25:06 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] () wrote:
> On Tue, 01 Aug 2000 08:35:22 -0600, James Knowles <[EMAIL PROTECTED]>
wrote:
> >> OK, here's another thought. Redhat stock kernels are optimized for
> >> pentium. Maybe you should recompile and specify your processor
type,
> >> etc.
> >
> >I think you sent the thought telepathically. I tried both the 2.2.16
> >kernel and the 2.4-pre5 kernel. Same results. *whimper*
>
> Are you sure about that?
>
> I thought it was only Mandrake that optimized their kernels
> (and the rest of the distro) for Pentia...
>
> --
> The term "popular" is MEANINGLESS in consumer computing. DOS3
> was more "popular" than contemporary Macintoshes despite the
> likelihood that someone like you would pay the extra money to
> not have to deal with DOS3.
>
> Network effects are everything in computing.
> |||
> / | \
>
Doh! You are right Mandrake!=Redhat
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "TJ O Connor" <[EMAIL PROTECTED]>
Subject: setting up internal LAN
Date: Tue, 1 Aug 2000 18:46:44 +0100
Hi all,
I am having a problem with setting up and tesing my network. I set
up my network within our LAN here at work.
internet-------outside Lan--------------|firewall
system|------------------internal LAN
/
\ \
192.168.1.38
192.168.2.1 192.168.2.2
.Where the firewall sits on the Linux box, is where all my smtp,www,and dns
will be controlled. The pc (192.168.2.2) can
ping the internal address(192.168.2.1)
From the firewall i can ping an Internet System.
Now I come to a problem.
When i turn off ip_forwarding i can't ping the outside address
of the firewall(192.168.1.38)
However when i turn on ip_forwarding i can't ping the outside address or
anywhere on the internet from 192.168.2.2
I think my problem is that these address are not valid on the Internet.
The Outside LAN is connected to the Internet Direct. How can I go about
giving the Firewall a valid address on the Internet on the outside to allow
the internal
addresses to access outside.
Any help would be very much needed
TJ
--
TJ O'Connor 2200 Cork Airport Business Park,
Sys Admin. Kinsale Rd., Cork, Ireland.
Comnitel Technologies Ph: +353 21 7305620
[EMAIL PROTECTED] Fax: +353 21 7305624
------------------------------
From: "jlh news" <[EMAIL PROTECTED]>
Subject: Very slow modem connection
Date: Tue, 1 Aug 2000 18:36:50 +0100
What can that be due to? OK my PC is only a P75 but the modem is a 56.6
Hayes Accura and under windows it worked just fine.
I'd like to download a wordprocessor and by my reckoning, WP 8.0 personal
would take ... 21 hours!
Hayes technical services say:
Had a look at the log file you sent, first thing i noticed was that the
atz string was still being used, check that it has been replaced with
at&f (not case sensitive). Nothing wrong with atz but we don't know what
the settings were previously. Maybe worthwhile dropping the port speed,
could be too fast for the port.
I've already changed ATZ to AT&F in my PPP0 settings.
If anyone can decypher what follows I'll translate his CV into French for
free!
QUOTE
Aug 1 15:11:22 localhost chat[986]: ATZ^M^M
Aug 1 15:11:22 localhost chat[986]: OK
Aug 1 15:11:22 localhost chat[986]: -- got it
Aug 1 15:11:22 localhost chat[986]: send (ATDT08453530121^M)
Aug 1 15:11:23 localhost chat[986]: expect (CONNECT)
Aug 1 15:11:23 localhost chat[986]: ^M
Aug 1 15:11:49 localhost chat[986]: ATDT08453530121^M
Aug 1 15:11:49 localhost chat[986]: CONNECT
Aug 1 15:11:49 localhost chat[986]: -- got it
Aug 1 15:11:49 localhost chat[986]: send (^M)
Aug 1 15:11:49 localhost pppd[985]: Serial connection established.
Aug 1 15:11:49 localhost pppd[985]: Using interface ppp0
Aug 1 15:11:49 localhost pppd[985]: Connect: ppp0 <--> /dev/ttyS2
Aug 1 15:11:51 localhost pppd[985]: Remote message: ^F
Aug 1 15:11:52 localhost modprobe: can't locate module ppp-compress-21
Aug 1 15:11:53 localhost modprobe: can't locate module ppp-compress-26
Aug 1 15:11:54 localhost modprobe: can't locate module ppp-compress-24
Aug 1 15:11:54 localhost pppd[985]: local IP address 212.49.254.244
Aug 1 15:11:54 localhost pppd[985]: remote IP address 212.49.224.161
Aug 1 15:21:27 localhost pppd[985]: Terminating on signal 15.
Aug 1 15:21:28 localhost pppd[985]: Connection terminated.
Aug 1 15:21:28 localhost pppd[985]: Connect time 9.7 minutes.
Aug 1 15:21:28 localhost pppd[985]: Sent 17616 bytes, received 75670 bytes.
Aug 1 15:21:28 localhost pppd[985]: Exit.
Aug 1 15:22:04 localhost modprobe: can't locate module
ao� 1 15:22:07 localhost ifup-ppp: pppd started for ppp0 on /dev/ttyS2 at
115200
Aug 1 15:22:07 localhost pppd[1146]: pppd 2.3.7 started by root, uid 0
Aug 1 15:22:08 localhost chat[1147]: abort on (BUSY)
Aug 1 15:22:08 localhost chat[1147]: abort on (ERROR)
Aug 1 15:22:08 localhost chat[1147]: abort on (NO CARRIER)
Aug 1 15:22:08 localhost chat[1147]: abort on (NO DIALTONE)
Aug 1 15:22:08 localhost chat[1147]: abort on (Invalid Login)
Aug 1 15:22:08 localhost chat[1147]: abort on (Login incorrect)
Aug 1 15:22:08 localhost chat[1147]: send (ATZ^M)
Aug 1 15:22:08 localhost chat[1147]: expect (OK)
Aug 1 15:22:17 localhost chat[1147]: ATZ^M^M
Aug 1 15:22:17 localhost chat[1147]: OK
Aug 1 15:22:17 localhost chat[1147]: -- got it
Aug 1 15:22:17 localhost chat[1147]: send (ATDT08453530121^M)
Aug 1 15:22:17 localhost chat[1147]: expect (CONNECT)
Aug 1 15:22:17 localhost chat[1147]: ^M
Aug 1 15:22:57 localhost chat[1147]: ATDT08453530121^M
Aug 1 15:22:57 localhost chat[1147]: CONNECT
Aug 1 15:22:57 localhost chat[1147]: -- got it
Aug 1 15:22:57 localhost chat[1147]: send (^M)
Aug 1 15:22:57 localhost pppd[1146]: Serial connection established.
Aug 1 15:23:05 localhost pppd[1146]: Using interface ppp0
Aug 1 15:23:05 localhost pppd[1146]: Connect: ppp0 <--> /dev/ttyS2
Aug 1 15:23:29 localhost pppd[1146]: Remote message: ^F
Aug 1 15:23:30 localhost modprobe: can't locate module ppp-compress-21
Aug 1 15:23:31 localhost modprobe: can't locate module ppp-compress-26
Aug 1 15:23:32 localhost modprobe: can't locate module ppp-compress-24
Aug 1 15:23:57 localhost pppd[1146]: local IP address 212.188.151.146
Aug 1 15:23:57 localhost pppd[1146]: remote IP address 212.188.159.186
Aug 1 15:24:02 localhost modprobe: can't locate module
Aug 1 15:24:03 localhost pppd[1146]: local IP address 212.188.151.146
Aug 1 15:24:03 localhost pppd[1146]: remote IP address 212.188.159.186
Aug 1 15:24:04 localhost modprobe: can't locate module
UNQUOTE
JL
--
============================================
Jean-Luc H�rin, MIL, MITI, French Technical Translator
39 Nassington Road, Hampstead, NW3 2TY, GB
Tel +44 (0) 20 7813 9550 - Fax +44 (0) 20 7435 9153
email: [EMAIL PROTECTED] - http://www.jlherin.co.uk
============================================
------------------------------
From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: Installing SUSE via FTP?
Date: 1 Aug 2000 17:53:14 GMT
SuSE is not very helpful at managing small-scale installations
compared with some other distros, but there should be no particular
reason you could not limit a server-based install via ftp from YaST1
to just the essential items from the A1/A2 and N1/N2 sets, which
would yield you a bootable text-mode system with networking, and
then load up other packages (individually or diskset by diskset)
over the course of time, either by doing additional small ftp-based
installs via YaST1, or by using a recursive ftp client to download
the sets and then installing them from a directory on your hard
disk.
But by the time we would get all this work done, it would be hard
to justify not just shelling out a dollar or two for the evaluation
distro on CD to save the time, money, and frustration that
would go into doing an install via slow dialup ftp.
I installed Slackware once via dialup. Ain't *never* gonna do that
again. And in sheer size Suse dwarfs Slack...
All the best,
--Kevin
In article <[EMAIL PROTECTED]>, Axel Boldt wrote:
>[EMAIL PROTECTED] () writes:
>
>> Boot the bootdisk and (using YaST1) load the module for your
>> particular NIC, either directly or from the modules diskette. From
>> the installation section of YaST1, prepare your target and swap
>> partitions as you would for any install of SuSE; choose FTP for
>> your installation source, then input the appropriate IP and path
>> information when prompted. And let it chug away. Not much to it, really.
>
>Would it also be possible to download some packages to the local disk
>first and then install from there? That way, it could be possible for
>56K modem users to install a downsized SUSE maybe. I imagine that your
>method installs the whole shebang?
>
>Thanks a lot for the useful information!
>
>Axel
>
>--
> Axel Boldt ** [EMAIL PROTECTED] ** math-www.uni-paderborn.de/~axel/
> Sponsor free software at the Free Software Bazaar visar.csustan.edu/bazaar/
------------------------------
From: sideband <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Why is Athon 650 slower than P-II/400?
Date: Tue, 01 Aug 2000 14:03:17 -0400
Well, a for-instance...
I've got two identical FIC motherboards, with the same amount and type of RAM,
Same vid card (essentially, one was a 3DXpression+PC2TV and the other had no
PC2TV) one with an AMD 233MMX, one with an Intel 233MMX... The intel was
faster.... MUCH faster...
Guess why?
I'd set the DRAM speed to FAST on the Intel, and left it at SLOW (the default) on
the AMD... I don't have any numbers to back this up, and I really don't want to
reboot either of them at the moment just to produce results, but the "feel" was
noticably sluggish on the AMD, until I found that little problem...
Now the machines perform roughly equal... Again, I don't have numbers, but the
feel is about the same, and if you ask me, the AMD feels a bit faster... but
only a little bit.
At any rate, the DRAM speed setting affected performance, making one of two
otherwise nearly identical machines perform very differently.
Of course, I could just be smoking crack...
-SSB
James Knowles wrote:
> > Uh.... Mebbe I'm smokin crack again, but I don't think it'd be really fair
> > to compare a dual-proceesing P-II-400 to a single Athlon.... First off, the
> > dual processors are going to push all IO faster. That will affect memory
> > access, hard drive access, etc.
>
> I'm not too sure about that. I've had long experience with SMP, longer
> with parallelism in general. In truth an SMP machine is going to have a
> slightly decreased memory access per processor due to bus contention.
> I/O is similarly affected. I/O that can be parallelised will see a
> benefit, but serialised I/O will see no benefit. I've seen a 5-10% drop
> in performance per CPU under Linux. Typically this is about 15-20% under
> WinNT from my experience.
>
> In this specific case disk access is faster due the to fact that I'm
> running RAID on SCSI and not IDE. This is a SCSI/IDE issue, not SMP.
>
> > Second, unless you've got both motherboards BIOS' set up identical (or as
> > close as possible) you're going to see performance differences anyway.
>
> I'd be curious to know specifics. I might believe a small difference
> could be achieved. What BIOS setting would cause a machine to run at 1/2
> or 1/3 of the speed that it aught?
>
> --
> Those who want by the yard and work by the inch aught to be kicked by
> the foot.
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Why is Athon 650 slower than P-II/400?
Date: 01 Aug 2000 14:00:29 -0400
[EMAIL PROTECTED] () writes:
> On Tue, 01 Aug 2000 08:35:22 -0600, James Knowles <[EMAIL PROTECTED]> wrote:
> >> OK, here's another thought. Redhat stock kernels are optimized for
> >> pentium. Maybe you should recompile and specify your processor type,
> >> etc.
> >
> >I think you sent the thought telepathically. I tried both the 2.2.16
> >kernel and the 2.4-pre5 kernel. Same results. *whimper*
>
> Are you sure about that?
>
> I thought it was only Mandrake that optimized their kernels
> (and the rest of the distro) for Pentia...
no, no, it's not pentia. that's plural. mandrake optimizes for *the*
pentium -- as in pentium classic.^1 this specifically excludes
pentiumpro, pentium-ii, celeron, pentium-iii &c. i586 != i686.
[1] ok maybe the old mmx classic version slips in there too.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
sysengr
------------------------------
Crossposted-To: comp.os.linux.hardware,linux.redhat.install
From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: Partition Size Advice
Date: Tue, 01 Aug 2000 18:17:22 GMT
On Aug 1, 2000 at 09:47, David Stackis eloquently wrote:
>Can I repartition my /home, and /usr once my system is up?
Yes but no advisable before you do a backup.
If you need to repartition, make sure you
backup first.
[...]
--
Registered Linux User # 125653 (http://counter.li.org)
An ounce of hypocrisy is worth a pound of ambition.
-- Michael Korda
2:15pm up 22 days, 17:22, 9 users, load average: 0.00, 0.00, 0.00
------------------------------
From: Axel Boldt <[EMAIL PROTECTED]>
Subject: Re: HELP!!! Backspace driving me crazy in bash
Date: 01 Aug 2000 20:18:54 +0200
"Mark E. Mason" <[EMAIL PROTECTED]> writes:
> When I bring up an Xterm, and I use the backspace key at the command line,
> it DOES NOT delete the character to the left of the cursor. In fact, it
> just beeps. If I press Ctrl-H, I get the desired behavior.
First, make sure that your X server generates the [Backspace] event if
you hit the Backspace key and that it generates the [Delete] event if
you hit the Delete key. You can check that with the utility xev which
you can start from any xterm. Start xev and then hit the Backspace and
the Delete key and look at the output. I'm pretty sure that the output
will be as you'd expect - that insures that all X programs (including
Emacs) will work correctly. (If however the Delete key sends
[Backspace] and Backspace sends [Delete], you need to fix that with
xmodmap first.)
If bash runs in an xterm, bash's input and output is connected to
something called a pseudo terminal. (It's called pseudo because Bash
thinks it is connected to a physical terminal, while in fact its input
is generated and its output is consumed by a program, xterm.) Every
terminal, pseudo or not, has an erase character used to delete the
last character. To find out what they erase character is in your case,
say
stty -a
and watch for erase. ^h means BS (Control-h or ASCII 8), ^? means DEL
(ASCII 127). You want ^? as your erase character. You can either say
stty erase '^?'
(type it in as you see it, caret followed by question mark)
or you can tell xterm once and for all what you want: put a line
like
XTerm*ttymodes: erase ^?
as root in your /usr/lib/X11/app-defaults/XTerm or in your personal
$HOME/.Xresources.
Now, if you hit the Backspace key in an xterm running bash, the X
server sends the [Backspace] event to the xterm program, and xterm in
turn translates that into some ASCII character or character sequence and
passes that on to the shell, via the pseudo terminal. You need to find
out what that character sequence is: type "cat <Enter>", then type an
"a" and hit the Backspace key, then type <Enter> and Ctrl-d or Ctrl-c
to get out of the cat program. There are two cases:
1) If the "a" went away, your Backspace key gets translated into the
terminal's erase character, which we just set to DEL. This is good.
Continue below.
2) If something like "a^h" or "a^[[3~" appeared on your screen after
the cat excercise, your xterm doesn't translate the Backspace key
correctly into our erase character ^?. We fix that by putting
XTerm*VT100*translations: #override <Key>BackSpace: string(0x7F)
as root in your /usr/lib/X11/app-defaults/XTerm or in your personal
$HOME/.Xresources. (0x7F is hexadecimal for 127).
Now that xterm is fixed, if the bash input line still doesn't behave
right, it's because your .inputrc is screwed up (bash, unlike some
other programs, ignores the setting of the erase character, it only
believes what it sees with its own eyes in .inputrc). So, delete
everything you have in .inputrc because there's likely a lot of cruft
in there by now, and insert the line
"\C-?": backward-delete-char
Then start a new xterm and it should work. If you want to use other
fancy characters in your bash, such as Delete, Home, End etc., follow
the same procedure: use cat to find out what sequence the key generates,
then bind that sequence to some function in .inputrc.
Sources:
http://www.linuxdoc.org/HOWTO/Keyboard-and-Console-HOWTO.html
http://electron.et.tudelft.nl/~jdegoede/fixkeys.txt
http://yebisu.ics.es.osaka-u.ac.jp/linux/mini/Backspace.txt
Cheers,
Axel
--
Axel Boldt ** [EMAIL PROTECTED] ** math-www.uni-paderborn.de/~axel/
Sponsor free software at the Free Software Bazaar visar.csustan.edu/bazaar/
------------------------------
From: John Ferreira <[EMAIL PROTECTED]>
Subject: Securing Gnome
Date: Tue, 01 Aug 2000 11:38:16 -0700
Hi
Is there any way of disabling the right click menus on the desktop
and panel for an individual user. I want to setup users that have
only a limited number of apps (via icons) available. I don't want
them to have the capability of changing the setup that I give them.
Thank You
John
------------------------------
From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,linux.redhat.install
Subject: Re: Partition Size Advice
Date: 01 Aug 2000 14:15:39 -0400
"David Stackis" <[EMAIL PROTECTED]> writes:
> Does anyone out there in Linux land have any advice on partition sizes?
>
> Here is what I have....
>
> 6.4GB Hd...
> /usr = 5GB
> /root = 500MB
> /home = 500MB
> /swap = 127MB
>
> Do I have too much for /usr?.....I am installing staroffice, and such in the
> dir, so I just I just thought that this would be the ideal dir to make
> larger than the rest.
i like
/boot 10-20MB *at front of disk*
/home 1-2GB or more as you've got space to spare
/ 4-5GB *including* /usr
<swap> 128MB
/boot is there to make the lame bios happy and let lilo load linux. i
use /home to store /etc and /usr/local (tar is good) during upgrade.
i let the / get totally clobbered during the upgrade. therefore, make
/home big enough to hold config stuff and other things you want to
survive the upgrade. the swap depends on memory and how much swap you
use, but 128 is probably a good starting point -- disk being fairly
cheap.
unless i have to (i.e., multiple physical disks), i don't bother with
more partitions because re-partitioning is a pain in the ass and if
you have a lot of small ones, some one of them is bound to get full
sometime.
i have tried the one huge ass parition. i have tried the many little
ones. this is what i've settled on as good for me.
> Does this layout seem to be a good one?......everything on my 6.2 box seems
> to be working great.....sound, modem, display....all cards were
> found.....though it took me three weeks to get everything working.....*s*
>
> I would hate to redo the partitions, but I want me Linux box to hummmm
> properly....
>
> Thanks for any advice...
>
> TIA!
> David Stackis
> http://www.stackis.com
>
>
>
>
> -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
> http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
> -----== Over 80,000 Newsgroups - 16 Different Servers! =-----
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
sysengr
------------------------------
Reply-To: "dale hites" <[EMAIL PROTECTED]>
From: "dale hites" <[EMAIL PROTECTED]>
Subject: Re: Please help!! Apache/Linux problem -- will not serve
Date: Tue, 1 Aug 2000 13:57:21 -0500
Mark,
Have you looked at the access log? Also, the regular log, error_log is set
this way in httpd.conf should have a message of httpd starting and stopping.
If there are no start/stop messages in the log then Apache is not responding
because its not running
Dale
------------------------------
** 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 (and comp.os.linux.setup) via:
Internet: [EMAIL PROTECTED]
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-Setup Digest
******************************