Linux-Setup Digest #428, Volume #21 Wed, 13 Jun 01 00:13:17 EDT
Contents:
Re: RH 7.1: piece of garbage? (Dave Uhring)
Re: RH 7.1: piece of garbage? (JZ)
Re: Need help with setting up linux and web server ("David Dorward")
Re: FTP Trouble ("David Dorward")
PPP HOWTO Fubar (Felix Miata)
newbie - Port 80 ("Bob Bourne")
HELP! What is the bare minimum for running Linux with InterBase 6.0 ("ftpdarkman")
Re: New kernel hangs at "Creating /var/log/boot.msg" ("Rod Brick")
Re: Shift Fx keys in RH Linux (Eli Zaretskii)
system.map files (hoffy)
ipmaqadm with portfw ("Trevor")
Re: Shift Fx keys in RH Linux (* Tong *)
----------------------------------------------------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: RH 7.1: piece of garbage?
Date: Tue, 12 Jun 2001 20:30:42 -0500
ne... wrote:
> On Jun 12, 2001 at 07:20, JZ eloquently wrote:
>
>>I just installed RH 7.1 in my laptop, looks cool initially. But bad
>>things happen:
>>
>>1. I instaalled FTP package in my laptop, but why 'ftp localhost'
>>doesn't work? Maybe security setting? I couldn't find any related
>>info, neither from RH web site. BTW, the 'firewall-config' from
>>'program->system' has nothing inside.
>>
>>2. Try to use my laptop's interface to install Oracle into another
>>Linux machine. Since Oracle installation requires X, so I do 'xhost +'
>>as root in both machines. But I still get the 'connection refused'
>>error. Of course it works when I try the same thing in another RH6.2
>>laptop.
>>
>>3. DON'T USE RH 7.1!!! RH 7.1 just messed up lots of stuff. Stick with
>>6.2 or slackware, of course you have to apply necessary patches.
>>
>>I just cannot find any docs about RH 7.1. No wonder RHAT drops like a
>>champ, it will be down to under $1.
> ......or maybe you just don't know what to do and
> don't know how to ask politely for help. Then again
> the docs are there and they do detail how to do stuff.
>
If you fail to read the RELEASE-NOTES on the install CD 1, you are not
going to install Oracle anywhere.
On the other hand, if you read the documentation which is available to you
perhaps you can solve some of your own problems.
------------------------------
From: [EMAIL PROTECTED] (JZ)
Subject: Re: RH 7.1: piece of garbage?
Date: 12 Jun 2001 18:51:04 -0700
"ne..." <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> On Jun 12, 2001 at 07:20, JZ eloquently wrote:
>
> >I just installed RH 7.1 in my laptop, looks cool initially. But bad
> >things happen:
> >
> >1. I instaalled FTP package in my laptop, but why 'ftp localhost'
> >doesn't work? Maybe security setting? I couldn't find any related
> >info, neither from RH web site. BTW, the 'firewall-config' from
> >'program->system' has nothing inside.
> >
> >2. Try to use my laptop's interface to install Oracle into another
> >Linux machine. Since Oracle installation requires X, so I do 'xhost +'
> >as root in both machines. But I still get the 'connection refused'
> >error. Of course it works when I try the same thing in another RH6.2
> >laptop.
> >
> >3. DON'T USE RH 7.1!!! RH 7.1 just messed up lots of stuff. Stick with
> >6.2 or slackware, of course you have to apply necessary patches.
> >
> >I just cannot find any docs about RH 7.1. No wonder RHAT drops like a
> >champ, it will be down to under $1.
> ......or maybe you just don't know what to do and
> don't know how to ask politely for help. Then again
> the docs are there and they do detail how to do stuff.
I don't care Red Hat at all. It has tried to be Microsoft in Linux for
a long time. Now I install Slackware 7.1, everything works pretty
well. God, I love it.
Just hate RH. It adds too much its own stuff. If every other companies
do the same thing as RH has done, take a look @ Unix right now:
Solaris, HP-UX, AIX....
BTW, RH tries hard to sell its Linux on Oracle edition which costs
$2500, that's truly garbage, any customers can get the similar package
@ less than $250.
What a joke!
------------------------------
From: "David Dorward" <[EMAIL PROTECTED]>
Subject: Re: Need help with setting up linux and web server
Date: Wed, 13 Jun 2001 02:52:59 +0100
It seems that on Tue, 12 Jun 2001 21:07:22 +0100, someone claiming to be
"Sven Anders" <[EMAIL PROTECTED]> typed this:
> Hi! I'm in the process of setting up a linux server -- but I don't know
> where to begin. I've never used linux before.
>
> What I want to do is make a web page with news content (database with
> news items that I can update via a web interface) and functions like
> forum, polls etc. The standard news site stuff.
>
> I've gathered that I need apache, php and mysql - but I really need some
> guidance. What do I have to get, and how do I manage to set up the
> server and create the code. Tips for books and online help would be much
> appreciated.
http://www.devshed.com/ should have everything you need.
--
David Dorward http://david.us-lot.org/
The only way to keep your health is to eat what you don't want, drink
what you don't like, and do what you'd rather not. -- Mark Twain
------------------------------
From: "David Dorward" <[EMAIL PROTECTED]>
Subject: Re: FTP Trouble
Date: Wed, 13 Jun 2001 02:53:47 +0100
It seems that on Tue, 12 Jun 2001 19:02:04 +0100, someone claiming to be
"Bill Britton" <[EMAIL PROTECTED]> typed this:
> We are trying to receive a 6gb file via FTP. The download stops at 2
> GTB. Filesystem is ext2. No quotas are set. Any suggestions?
AFAIK ext2 doesn't support files of greater then 2 gig, you would need to
make a parition and format it with a different file system, I expect (but
can't be sure) that reiserfs will do the trick.
--
David Dorward http://david.us-lot.org/
The only way to keep your health is to eat what you don't want, drink
what you don't like, and do what you'd rather not. -- Mark Twain
------------------------------
From: Felix Miata <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.ppp,comp.os.linux.networking
Subject: PPP HOWTO Fubar
Date: Tue, 12 Jun 2001 22:11:22 -0400
Jonadab the Unsightly One wrote:
> Section 14, setting up the ppp connection manually...
> # Now quit the communications software without resetting the
> # modem (ALT Q or CTL A Q in minicom) and at the Linux prompt
> # (as root) type
> # pppd -d -detach /dev/ttySx 38400 &
> # The -d option turns on debugging - the ppp connection start
> # up conversation will be logged to your system log - which
> # is useful if you are having trouble.
> That line should be as follows:
> pppd -d detach defaultroute /dev/ttySx 38400 &
I'd like to know where the 38400 comes from. That looks to me like a
holdover from 9600 modem days. I also had to add noipdefault and user
username to make it work.
Besides that, I'd also like to know how to debug ppp-on in a manner that
works. Mine failed immediately the first many times I tried it. Later I
managed to get a little farther, evidenced by syslog:
Jun 12 20:24:42 st21s kernel: registered device ppp0
Jun 12 20:24:42 st21s pppd[2175]: pppd 2.3.11 started by root, uid 0
Jun 12 20:24:43 st21s pppd[2175]: Connect script failed
Jun 12 20:24:44 st21s pppd[2175]: Exit.
Jun 12 20:30:47 st21s pppd[2183]: pppd 2.3.11 started by root, uid 0
Jun 12 20:30:48 st21s pppd[2183]: Connect script failed
Jun 12 20:30:49 st21s pppd[2183]: Exit.
Jun 12 20:32:20 st21s pppd[2187]: pppd 2.3.11 started by root, uid 0
Jun 12 20:32:21 st21s chat[2188]: timeout set to 3 seconds
Jun 12 20:32:21 st21s chat[2188]: abort on (\nBUSY\r)
Jun 12 20:32:21 st21s chat[2188]: abort on (\nNO ANSWER\r)
Jun 12 20:32:21 st21s chat[2188]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jun 12 20:32:21 st21s chat[2188]: send (rAT^M)
Jun 12 20:32:21 st21s chat[2188]: expect (OK)
Jun 12 20:32:21 st21s chat[2188]: rAT^M^M
Jun 12 20:32:21 st21s chat[2188]: OK
Jun 12 20:32:21 st21s chat[2188]: -- got it
Jun 12 20:32:21 st21s chat[2188]: send (ATH0^M)
Jun 12 20:32:21 st21s chat[2188]: timeout set to 30 seconds
Jun 12 20:32:21 st21s chat[2188]: expect (OK)
Jun 12 20:32:21 st21s chat[2188]: ^M
Jun 12 20:32:21 st21s chat[2188]: ATH0^M^M
Jun 12 20:32:21 st21s chat[2188]: OK
Jun 12 20:32:21 st21s chat[2188]: -- got it
Jun 12 20:32:21 st21s chat[2188]: send (ATDT277-2110^M)
Jun 12 20:32:22 st21s chat[2188]: expect (CONNECT)
Jun 12 20:32:22 st21s chat[2188]: ^M
Jun 12 20:32:42 st21s chat[2188]: ATDT277-2110^M^M
Jun 12 20:32:42 st21s chat[2188]: CONNECT
Jun 12 20:32:42 st21s chat[2188]: -- got it
Jun 12 20:32:42 st21s chat[2188]: send (^M)
Jun 12 20:32:42 st21s pppd[2187]: Serial connection established.
Jun 12 20:32:42 st21s pppd[2187]: Using interface ppp0
Jun 12 20:32:42 st21s pppd[2187]: Connect: ppp0 <--> /dev/ttyS0
Jun 12 20:32:43 st21s pppd[2187]: Warning - secret file
/etc/ppp/pap-secrets has world and/or group access
Jun 12 20:33:13 st21s pppd[2187]: LCP: timeout sending Config-Requests
Jun 12 20:33:13 st21s pppd[2187]: Connection terminated.
Jun 12 20:33:14 st21s pppd[2187]: Hangup (SIGHUP)
Jun 12 20:33:14 st21s pppd[2187]: Exit.
After restoring the original ppp-on script I can't even get that far any
more, getting the same result showed in the first several lines above.
Here's what I have now:
/etc/ppp/options
noauth
lock
name username
/etc/ppp/ppp-on
#!/bin/sh
TELEPHONE=277-2110 # The telephone number for the connection
ACCOUNT=username # The account name for logon (as in 'George Burns')
PASSWORD=password # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd debug lock modem crtscts /dev/ttyS0 38400 \
asyncmap 20A0000 escape FF kdebug 0 \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
The HOWTO says to get rid of the line that says:
$LOCAL_IP:$REMOTE_IP \
but this line actually says:
asyncmap 20A0000 escape FF kdebug 0 $LOCAL_IP:$REMOTE_IP \
so it is unclear whether the language means literally delete the whole
line, or to delete only $LOCAL_IP:$REMOTE_IP.
I tried remove just the language. AFAIR, that's what almost got it
working in the log above. Removing the whole line certainly didn't work.
the file I started with came with RHL 6.2, but is dated back in 1995 and
not found in /etc/ppp or /etc/ppp/scripts.
I really would like to make a logon script work. I can get on using the
HOWTO manual method, and using wvdial, and using the X dialer, but the
first is very clumsy, the second little better via telnet from my local
network machines, and the last impossible, if not horribly clumsy,
AFAIK via telnet.
--
A fool gives full vent to his anger, but a wise man keeps himself under
control. Proverbs 29:11 NKJV
RHL 6.2
Felix Miata *** http://mrmazda.members.atlantic.net/
------------------------------
From: "Bob Bourne" <[EMAIL PROTECTED]>
Subject: newbie - Port 80
Date: Wed, 13 Jun 2001 12:21:08 +1000
My ISP requires I enter this proxy address into WIN98 Exlorer ... options,
etc. -
proxy.sale.vic.australis.com.au - Port 80
My /etc/resolv.conf shows:
nameserver 210.10.81.196
nameserver 210.10.81.140
nameserver 210.10.81.141
nameserver 203.50.0.24
My question is mainly: how do I (or do I) enter Port 80?
I'm trying to get Lynx to work in x-windows. I'm on the net ok as the
pings below show.
Any help in this area would be greatly appreciated...
[dist: debian 2.2 R3 i386, 3cdrom set]
Bob Bourne
PS pings below:
ping 210.10.81.196 > ping_proxy_sale.txt
ping proxy.sale.vic.australis.com.au >> ping_proxy_sale.txt
PING 210.10.81.196 (210.10.81.196): 56 data bytes
64 bytes from 210.10.81.196: icmp_seq=0 ttl=254 time=105.4 ms
64 bytes from 210.10.81.196: icmp_seq=1 ttl=254 time=109.9 ms
64 bytes from 210.10.81.196: icmp_seq=2 ttl=254 time=110.0 ms
64 bytes from 210.10.81.196: icmp_seq=3 ttl=254 time=100.0 ms
64 bytes from 210.10.81.196: icmp_seq=4 ttl=254 time=100.0 ms
64 bytes from 210.10.81.196: icmp_seq=5 ttl=254 time=100.0 ms
--- 210.10.81.196 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max = 100.0/104.2/110.0 ms
PING proxy.sale.vic.australis.com.au (210.10.81.196): 56 data bytes
64 bytes from 210.10.81.196: icmp_seq=0 ttl=254 time=99.6 ms
64 bytes from 210.10.81.196: icmp_seq=1 ttl=254 time=100.0 ms
64 bytes from 210.10.81.196: icmp_seq=2 ttl=254 time=110.0 ms
--- proxy.sale.vic.australis.com.au ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 99.6/103.2/110.0 ms
------------------------------
Reply-To: "ftpdarkman" <[EMAIL PROTECTED]>
From: "ftpdarkman" <[EMAIL PROTECTED]>
Crossposted-To:
alt.binaries.warez.linux,alt.linux,linux.redhat.install,linux.redhat.misc,linux.samba
Subject: HELP! What is the bare minimum for running Linux with InterBase 6.0
Date: Wed, 13 Jun 2001 02:35:26 GMT
Hello all
I have never used Linux b4 and are currently swatting to resolve a prob.
I am trying to setup a Linux Redhat Server. The interface I would like to
use is TCP/IP for running InterBase as a server.
Can anyone advise on the smallest install and how to mapping the
server/drive.
Interbase has a management software called IBConsole. Can we run this
through windows on another machine...?
Thanking all in advance.
------------------------------
From: "Rod Brick" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: New kernel hangs at "Creating /var/log/boot.msg"
Date: Tue, 12 Jun 2001 21:53:53 -0500
Ah, I see where you're going. You may be onto something there. I don't,
offhand, recall even specifying a file system, unless it defaults to ext2.
I'll check it out. Thanks.
--
=================================================================
Rod Brick
HillCast Technologies, Inc.
Austin, TX
(512) 474-4644 ext. 6
=================================================================
"Craig Kelley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "Rod Brick" <[EMAIL PROTECTED]> writes:
> > "Craig Kelley" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > "Rod Brick" <[EMAIL PROTECTED]> writes:
> > >
> > > > I've just recompiled a 2.4 kernel. It hangs during startup at
"Creating
> > > > /var/log/boot.msg"
> > > >
> > > > I have no idea where the culprit lies here. Something missing in my
> > config?
> > > > Any help would be appreciated.
> > >
> > > Can it not mount the volume that /var/log is on? That is often a
> > > 'doh' situation that may or may not pertain to your problem.
> >
> > Currently, everything is mounted on the same partition. When I boot a
> > default kernel (SuSE), all is fine. It's this new kernel that's giving
me
> > trouble.
>
> Yes, but check that you have the filesystem that / is compiled into
> your new kernel (ext2?); that the drivers needed to access / are
> compiled into the kernel (scsi? ata?).
>
> --
> It won't be long before the CPU is a card in a slot on your ATX videoboard
> Craig Kelley -- [EMAIL PROTECTED]
> http://www.isu.edu/~kellcrai finger [EMAIL PROTECTED] for PGP block
------------------------------
From: Eli Zaretskii <[EMAIL PROTECTED]>
Crossposted-To: comp.emacs
Subject: Re: Shift Fx keys in RH Linux
Date: Wed, 13 Jun 2001 06:30:05 +0300
Toby Haynes wrote:
>
> On 12 Jun 2001, [EMAIL PROTECTED] wrote:
>
> > On 12 Jun 2001, Toby Haynes wrote:
> >
> >> Interesting. My Emacs suffers exactly the same problem - it
> >> interprets S-F1 as F1. If I bind S-F1 to my window manager, it
> >> (correctly) steals this key binding and Emacs doesn't see
> >> anything. Reverting the key to the unbound state in my shows that
> >> Emacs receives F1 for S-F1.
> >
> > Maybe Emacs is lying: it wants most keybindings to work even if you
> > have ShiftLock turned on, so when Emacs receives S-<X> and sees that
> > this is unbound, then it behaves as if you typed <X>. (With <X> any
> > normal or function key, optionally even with modifiers.)
>
> Interesting.
>
> > So maybe you type C-h c S-<f2> and see that Emacs thinks you have hit
> > <f2> without Shift. But then you do (global-set-key (kbd "S-<f2>")
> > 'compile) and then do C-h c S-<f2> again and Emacs suddenly sees the
> > Shift modifier!
>
> Bingo. Spot on.
>
> Actually this is even more involved than I thought. Here's my discoveries:
>
> If a keybinding exists for S-<Fn>, then C-h k S-<Fn> reports the binding for
> S-<Fn>. Otherwise it reports the keybinding for <Fn> *IF it exists*. If neither
> <Fn> or S-<Fn> are bound, then C-h k reports <Fn> or S-<Fn> as appropriate.
>
> So, to summarise: C-h k lies about the shift modifier on function keys *only*
> when the base function key is bound and the shifted form is not.
>
> Thanks Kai - good intuition there :-) Is this documented somewhere?
Yes, this is a standard Emacs behavior with shifted keys.
------------------------------
From: hoffy <[EMAIL PROTECTED]>
Subject: system.map files
Date: Tue, 12 Jun 2001 23:34:36 -0400
Anybody know what these are? Could they be the mapping of assembly code
to memory locations?
LILO can boot up several different kernels as long as you tell it which
one you want and are directing it to the correct kernel image. Doesn't
each kernel have its own system.map? In LILO I have a line
"map=system.map".
Lets say you have kernel_image1 and kernel_image2 in /boot together with
a system.map1 and system.map2.
In LILO:
*
*
*
"map=system.map".
*
*
*
image=/boot/kernel_image1
root=/dev/hda5
image=/boot/kernel_image2
root=/dev/hda5
Can both kernels use the same system.map file? or do you have to create
a symbolic link called "system.map" that points to either system.map1 or
system.map2 depending on which one you want to boot up. If this is the
case then you just can't outright reboot into another kernel until you
redirect this system.map link to the one you want to reboot into, right?
I have booted up kernel_image1 while this system.map link was pointing
to system.map2 and the kernel appeared to boot up and function normally.
So I wonder what role these map files play when you are switching back
and forth between a couple of kernels while using the same file system.
Maybe there isn't any difference between the two map files because they
were compiled under the same file system. Anyone know anything about
this?
Thanx,
hoffy
------------------------------
From: "Trevor" <[EMAIL PROTECTED]>
Subject: ipmaqadm with portfw
Date: Wed, 13 Jun 2001 03:42:12 GMT
Hi all,
I have set up an entry in my firewall script to port forward port 80 traffic
to an internal machine (web server). The problem is that the input is
rejected by the firewall instead of forwarded onto the web sever. It is as
if the Firewall does not "see" the forwarding line which is:
ipmasqadm portfw -a -P tcp -L (dynamic address) 80 -R 192.168.1.5 80
when I run: ipmasaqadm portfw -l to list the rule it show up correctly! I
am stumped. Any help would be appreciated.
Trevor
------------------------------
From: * Tong * <[EMAIL PROTECTED]>
Crossposted-To: comp.emacs
Subject: Re: Shift Fx keys in RH Linux
Date: 13 Jun 2001 00:59:13 -0300
Toby Haynes <[EMAIL PROTECTED]> writes:
> On 12 Jun 2001, [EMAIL PROTECTED] wrote:
>
> > What does `xev' say when you hit F1, and what does it say when you hit
> > Shift-F1?
> >
> > What does `xmodmap -pk | grep -w F1' say?
>
> Interesting. My Emacs suffers exactly the same problem [...]
Seems mine is much simpler:
$ xmodmap -pk | grep -w F1
67 0xffbe (F1) 0xffca (F13)
Why RH has such a special key translation? How can I fix it?
thanks
--
Tong (remove underscore(s) to reply)
*niX Power Tools Project: http://xpt.sourceforge.net/
- All free contribution & collection
------------------------------
** 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.setup.
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
******************************