Linux-Misc Digest #801, Volume #27                Mon, 7 May 01 09:13:02 EDT

Contents:
  Re: Lost task bar at bottom of Gnome desktop ("Wayne Osborn")
  Re: ftp login delay from proxy (Dean Thompson)
  Panic: I've lost my Alt/Meta Key! (Torkil Grindstein)
  rev lookup of dns ("Wong Ching Kuen Frederick")
  Shell-Script question, please give me a hand ? ("Eric Chow")
  Re: news/mail clients (John Thompson)
  Re: serial port init(simple) ("Glitch")
  after RH upgrade htaccess not working ("Julie Dickerson")
  Sun Solaris IPC (vardhan)
  Re: Loading modules (Stephen Rank)
  Re: not enough RAM during RH 7.1  install (Robert Heller)
  Shutdown has hung
  Re: modifying filesystems to accomodate files >2GB ("Eric")
  Re: Problem starting ELF files (Robert Mischke)
  Re: apt-get on Redhat (wroot)
  Cracked It (Gavin McCord)
  Re: non-color xterm (Dances With Crows)
  ppp connection (Andy Rounds)
  Re: i can't change channels in xawtv! (Andy Rounds)
  Re: Quick question: how to copy files *and* directories? (Jason Green)
  recycling XF86Config (wroot)
  Re: Run SCO apps on Linux (Juergen Sauer)

----------------------------------------------------------------------------

From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: Lost task bar at bottom of Gnome desktop
Date: Mon, 07 May 2001 16:08:52 +0800

In article <7SmJ6.8136$[EMAIL PROTECTED]>,
"Will Cardwell" <[EMAIL PROTECTED]> wrote:

> Wayne, this was exactly what I needed! I have recovered what I need and
> learned about panels from your good reply. Thank you so much!
> 

That's great to hear, keep learning!

-- 
  Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
  Registered Linux User #212818.  [2.2.16-22-Win4Lin-686] [i686]
  4:00pm  up 17:51,  1 user,  load average: 1.49, 1.24, 1.58
  ..."If that makes any sense to you, you have a big problem."
                -- C. Durance, Computer Science 234

------------------------------

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: ftp login delay from proxy
Date: Mon, 07 May 2001 18:15:18 +1000


Hi!,

> A small number of my [human] clients, including myself, are experiencing
> login delays of nearly 30 seconds when attempting to login to wu-ftpd.
> The [ftp] clients vary from Unix to Windoze ftp client applications.
> 
> The delay occurs between the connect and the initial 220 message (after
> which the ftp client typically displays the login prompt) If telnet is
> used to telnet into the same server, no delay is seen.  Nor, was one
> seen with the stock ftpd that came with the RedHat 7,0 installation.  If
> one (experiencing this problem) uses telnet to connect with the ftp port
> (21) 30 seconds elapses before the 220 ftp server message is returned.
> 
[...]

> I've read other newsgroup posts that suggest wu-ftpd differs from the
> stock RH ftpd by performing an ident lookup on the incoming IP address.
> I've also read posts that suggest adding the -I server parameter to the
> /etc/xinetd.d/wu-ftpd script disables the ident lookups on login.
> However, my own testing suggests that the delay still occurs, under the
> above-mentioned scenario, even when the -I parameter is specified.

Make sure that you restart the xinetd server after you have made the changes
to the serviced description file.
> 
> wu-ftpd logs login attempts to syslog.  It does not, however, log
> connects.  I cannot determine from the logs what is going on during the
> 30-second interval.  Does anyone know a means by increasing the log
> output of wu-ftpd, so I can determine what is going on?  Or perhaps,
> someone already understands why this delay is incurred, and what I might
> do to correct this at the server end.
> 
> I really dislike having to ask my clients to change something in their
> proxy configuration, just to correct this delay, when they don't report
> seeing it from other sites or servers.

If you are still looking for work-arounds to the problem you can either
implement a DNS server to perform lookups for you, or you might want to enter
in the information into the /etc/hosts file if that is possible.  If both of
these are impossible to perform and you are not blocking identd requests, then
you might like to do a recompile of wu-ftpd and tell it not to do any DNS or
incoming connection validation tests.  There are a number of web sites out and
about which explain how you can disable DNS support in wu-ftpd through the
source code.

See ya

Dean Thompson

-- 
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

------------------------------

From: Torkil Grindstein <[EMAIL PROTECTED]>
Subject: Panic: I've lost my Alt/Meta Key!
Date: Mon, 07 May 2001 10:44:18 +0200

Hi.

I've just installed RedHat 7.1 (over Mandrake 7.2), and have the
problem that my ALT key does not behave like it should. For
instance, working in emacs I need the ALT key, which should serve
as my Meta Key. And I'm used to ALT-left for "back" in Netscape.
What happens is just that the selected window is deselected as
the button is pressed.

Furthermore, running Xemacs gives me the following warning:
(1) (key-mapping/warning) XEmacs:  Mode_switch (0x74) generates both
Mod2 and Mod4, which is nonsensical.

I really hope some of you folks could give me a hint before I 
toss my computer out the window...:)

Thanks,
Torkil

------------------------------

From: "Wong Ching Kuen Frederick" <[EMAIL PROTECTED]>
Subject: rev lookup of dns
Date: Mon, 7 May 2001 16:35:11 +0800

is it necessary for the primary dns to be "reversely lookupable"?! thanks.



------------------------------

From: "Eric Chow" <[EMAIL PROTECTED]>
Subject: Shell-Script question, please give me a hand ?
Date: Mon, 7 May 2001 16:07:24 +0800

Hello,

Would you please to teach me how can I split a file into different files in
shell script?

For example,

index.dat
========
001   12
002   25
003   08
004   12
005   25
006   08
007   02


content.dat
=========
001 aaaaaa AAAAA .....
001 bbbbb BBBBBB .....
001 cccccc CCCCCCC ....... some other contents
002 .... another content for 002 ....
002 ... 002 datas ...
003 ....... 003 .....
003 .. This is another 003 data ...
004 ..... 004 ....
005 ... 005 ...
006 .... 006 ....
007 ... 007 1 ...
007 ... 007 2 ...

result-12.dat
==========
aaaaaa AAAAA .....
bbbbb BBBBBB .....
cccccc CCCCCCC ....... some other contents
..... 004 ....

result-02.dat
==========
... 007 1 ...
... 007 2 ...


result-08.dat
==========
....... 003 .....
 .. This is another 003 data ...


result-25.dat
==========
.... another content for 002 ....
... 002 datas ...
... 005 ...


As the above example, there are two files. One is "index.dat" and another
one is "content.dat". Would you please to teach me how to write a
shell-script to produce the another 4 files, "result-12.dat",
"result08.dat", "result-02.dat" and "result25.dat" ?

In the "index.dat", the first column is a Sort-Key, and the second column is
Group-Key. In those result files, all the contents will be the combination
of Group-Key.

Let's see the "result12.dat", we can see that the Sort-Key "001" and "004"
contains the same Group-Key "12", so the content of the result file
"result12.dat" contains all the lines of Sort-Key "001" and all the lines of
Sort-Key "004".

Since I am fair in shell-script, would you please to show me a simple
example to do that ?

Best regards,
Eric




------------------------------

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: news/mail clients
Date: Sun, 06 May 2001 20:52:51 -0500

andi wrote:
 
> I'm in the process of a slow migration to linux - but I need
> recommendations regarding mail and news clients.
> 
> Mandrake 7.1 kernel 2.2.15-4 KDE desktop
> 
> On my windows box I am using, and am totally satisfied with Forte Free
> Agent for news, which newsclient would people suggest for my linux
> machine. The features of the Forte package I particularly like are the
> ease of navigation, the automatic expansion of threads, and the fact
> that I can mark threads for automatic download of message bodies when
> only downloading headers. 

If you like Free Agent it seems to run fine in linux under Wine.

-- 


-John ([EMAIL PROTECTED])

------------------------------

From: "Glitch" <[EMAIL PROTECTED]>
Subject: Re: serial port init(simple)
Date: Mon, 07 May 2001 03:37:29 -0400

In article <[EMAIL PROTECTED]>, "zaki" <[EMAIL PROTECTED]>
wrote:

> Hello,
> I use mandrake 8.0 and an external modem. My modem is in irq 4 but it is
> detected in irq 3 by default. So each time i reboot i have to use
> 'setserial /dev/ttyS3 irq 4' before i can use my modem. How can i make
> this change permanent so i dont have to re-type it after i reboot?
> Thanks.

put it in your bootup script. For RH it's rc.local (unless it's been
changed since 6.2 or so, very likely); for Suse its
boot.local

------------------------------

From: "Julie Dickerson" <[EMAIL PROTECTED]>
Subject: after RH upgrade htaccess not working
Date: Mon, 7 May 2001 04:44:30 -0500

Hi. After installing the newest version of Redhat, .htaccess doesn't seem to
be working for a (formerly) secure website. It doesn't even ask for a
password. The .htaccess file is pretty standard. I checked httpd.conf and
.htaccess is listed as the name of the file to use. Is there something more
to do to get it "started"?

Jeff Doran



------------------------------

From: vardhan <[EMAIL PROTECTED]>
Crossposted-To: 
comp.unix.questions,comp.unix.programmer,comp.os.linux.development.system,comp.unix.solaris
Subject: Sun Solaris IPC
Date: Mon, 07 May 2001 15:38:39 +0530


Hi,

I need to find information about the various UNIX
implementations/standards(?) for IPCs (message Queues, pipes, shared
memory), such as POSIX, ATT, SVR4, BSD etc. I need this for comparing
and listing the adv/disadv of each for a particular project, to find the
best IPC mechanism suitable for the project.

The project is based on a Solaris platform (version unknown) running a
SunOS (probably 5.6). I assume that the particular SunOS itself will be
using a specific Unix IPC standard. Please correct me if I am wrong. My
question is, in this case (Sun on Solaris) what are the options I have
for IPC, and where do I get the information to made a comparative study
most suitable for me? Specifically, where do I begin to get the
information I need? I am quite comfortable with basic UNIX IPC and sytem
calls.

Any suggestions in the form of book titles/we links are welcome!

thanks,
Vardhan

PS:  Please pardon if the question has been incorrectly framed, since I
am not yet quite comfortable with
different flavors of Unix.



--

Vardhan Walavalkar
email: [EMAIL PROTECTED]



------------------------------

From: Stephen Rank <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,comp.os.linux.help
Subject: Re: Loading modules
Date: 07 May 2001 12:03:54 +0100

Scott <[EMAIL PROTECTED]> writes:
[ ... ]
> When I do a kernel rebuild, and 'make modules' the modules
> are compiled, but not moved to /lib/modules/2.2.16/...
> Do I have to move them manually?  

Not quite: all you need is `make modules_install', and all the copying
will happen by magic.

HTH,

Stephen

-- 
989233375

------------------------------

From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: not enough RAM during RH 7.1  install
Date: 7 May 2001 11:26:02 GMT

  [EMAIL PROTECTED] (Grant Edwards),
  In a message on Mon, 07 May 2001 04:41:07 GMT, wrote :

GE> On Mon, 07 May 2001 01:48:13 GMT, Johan Kullstam <[EMAIL PROTECTED]> wrote:
GE> 
GE> >> Ten years ago running X in 16Mb was _painful_.  20Mb or better
GE> >> yet 32Mb made it reasonable (or, what was reasonable when a
GE> >> 486DX66 was about as good as it got without a second mortgage to
GE> >> do better).  I doubt in the years since that X or anything else
GE> >> has gotten smaller.
GE> >
GE> >i remember running X on sparcstation2 with 8MB of RAM.  that sucked.
GE> >X took all 8MB and left no room for any application.
GE> 
GE> I ran X in 4MB on Sun 4/60 with a 20Mhz (or was it 25?) 68020,
GE> and I was pretty happy with the performance.  [Back then SunOS
GE> didn't ship with X -- you built it yourself from sources.

M68K code is far more compact by something like a factor of 2 over i386.
Even more over RISC processors (Sparc, MIPS, Alpha, etc.).  VAX code is
also compact -- running X11 (DECWindows) on a VAXStation II with 6-8 meg
of RAM and NO local disk drive was not too horrible (this is a
boot-and-go X server -- no other O/S installed -- running with VMS and
local swap is slower).

GE> 
GE> -- 
GE> Grant Edwards                   grante             Yow!  Where's th' DAFFY
GE>                                   at               DUCK EXHIBIT??
GE>                                visi.com            
GE>                                                                                    
      






                                                       
-- 
                                     \/
Robert Heller                        ||InterNet:   [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller  ||            [EMAIL PROTECTED]
http://www.deepsoft.com              /\FidoNet:    1:321/153

------------------------------

From: <[EMAIL PROTECTED]>
Subject: Shutdown has hung
Date: Mon, 07 May 2001 11:30:04 -0000

While performing a shutdown, the system has hung. 
message reads - 

Unmounting NFS file systems smb_trans2_request: result -32, setting invalid
cannot MOUNTPROG RPC: RPC: Port mapper failure - RPC: timed out
mount2: device or driver busy 
[FAILED]
smb_retry: new PID=6612, generation=3
nfs: server 192.168.1.254 not responding, still trying. 

The server it refers to is no longer connected, so this is obviously 
causing the timeout. What do I do from here? I don't really want to pull 
the plug. Any help greatly appreciated - thanks in advance. 
[EMAIL PROTECTED]




--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: modifying filesystems to accomodate files >2GB
Date: Mon, 7 May 2001 13:33:19 +0200

> Yesterday I upgraded from Redhat 7.0 to 7.1, primarily so that I could use
> files >2GB.  E.g., I downloaded the file

That should be able to handle larger files (I don't know for sure though)

>   ftp://ncbi.nlm.nih.gov/blast/db/nt.Z
> which is slightly less than 1GB, but will expand to >2GB on a system which
> handles this properly.  I then typed:
>   zcat nt.Z >nt
> and got the error:
>
> Filesize limit exceeded (core dumped)

Might be the zcat program that can't handle the large files?
try make a large testfile with dd to exceed the 2G limit.
Just check if eg. dd/ls can handle these large files.
(dd if=/dev/zero of=./a_testfile bs=1M seek=2100 count=1)

If this works, you'll need a zcat that has support for this.

Eric




------------------------------

From: [EMAIL PROTECTED] (Robert Mischke)
Crossposted-To: linux.redhat,linux.redhat.misc
Subject: Re: Problem starting ELF files
Date: Mon, 07 May 2001 11:54:32 GMT

Hi,

thanks for the answers, the "./" did the trick. (I did not have "." in
my $PATH, though.) It's a bit unintuitive when you're used to DOS/WIN
environments :)

Robert

 

------------------------------

From: wroot <[EMAIL PROTECTED]>
Subject: Re: apt-get on Redhat
Date: Mon, 7 May 2001 08:13:34 -0400

Rob Hazlewood wrote:

> Aren't you better off just using debian?
> 
> I have very bad experienced with redhat..
> 

Frankly, I have very bad experiences with Debian, like not being able to 
configure X, dated software in "stable" is another one.

Wroot


------------------------------

From: Gavin McCord <[EMAIL PROTECTED]>
Subject: Cracked It
Date: Mon, 07 May 2001 13:36:11 +0100

Dances With Crows wrote:
> 
> You mean "alias block-major-11 sr_mod".
> 

That's already an alias, without having to include
it in /etc/modules.conf

> You do not need IDE-CD support at all if you have ide-scsi going.

Suggested in the CD-Writing-HOWTO, IIRC.

> you should "chmod 4755 `which cdrecord` " since it's a bad
> idea to do things as root when you can do them as a normal user.
> 

Well, if I really had to, I would use sudo for cdrecord.


Anyway, I found the solution. In /etc/modules.conf I changed

pre-install sr_mod modprobe -k ide-scsi

to

pre-install sr_mod modprobe -k scsi_mod
pre-install scsi-mod modprobe -k ide-scsi

and now success. Thanks for your help.

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: non-color xterm
Reply-To: [EMAIL PROTECTED]
Date: 07 May 2001 12:47:01 GMT

On Mon, 07 May 2001 00:41:19 GMT, Charles Herman staggered into the
Black Sun and said:
>Every xterm I open (wherther regular xterm, gnome terminal, color
>xterm) in RH 7.0 KDE, displays different colors for different types of
>files.  How can I disable this feature, ie, I want only one color for
>all files.

No, you don't.  You just don't realize how handy and useful the color
coding is yet...  But you can edit your ~/.bashrc and include the line
  alias ls='ls --color=none'
or if you already have an alias for ls that expands to 'ls $LS_OPTIONS',
then just do
  export LS_OPTIONS='--color=none'

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

------------------------------

From: Andy Rounds <[EMAIL PROTECTED]>
Subject: ppp connection
Date: Mon, 7 May 2001 10:05:01 -0400

I can't bring up my ppp connection on my server (mdk 8.0 with kernel 2.4.3) 
as a normal user.

[andrew@server]$ /usr/sbin/usernetctl ifcfg-ppp0 up
Users are not allowed to control this interface.

pppd permissions are as follows:-
-rwsr-xr-t    1 root     root       184796 Dec 10 07:15 /usr/sbin/pppd

What configuration parameters do I need to change to allow normal users to 
initiate the connection? 

Thanks

Andy

------------------------------

From: Andy Rounds <[EMAIL PROTECTED]>
Subject: Re: i can't change channels in xawtv!
Date: Mon, 7 May 2001 09:59:22 -0400

Sounds to me like your tuner is not loaded, or not loaded correctly. What 
type of card do you have, and what does lsmod say? 
/usr/src/linux/Documentation/video4linux is a good place to get the correct 
module parameters for your card. 


Eric Geordi wrote:

> I installed mandrake 8 and it installed xawtv with it, but I'm having a
> problem changing channels. The first time I loaded it, it started looking
> for channels. But when I change a channel, only the number changes. Does
> anyone know what's going on here ? Also, I'm not getting any sound. Any
> help would be appreciated.
> 
> Eric
> 
> 
> 


------------------------------

From: Jason Green <[EMAIL PROTECTED]>
Subject: Re: Quick question: how to copy files *and* directories?
Date: Mon, 07 May 2001 12:33:23 +0100

Floyd Davidson <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (3FE) wrote:
> >On Mon, 16 Apr 2001 11:19:52 +0200, Erik Veenstra <[EMAIL PROTECTED]> insisted:
> >> [EMAIL PROTECTED] wrote:

> >> > I want--in a single command--to copy a directory ***and all files and
> >> > subdirectories within that directory*** to another location.

> >> cp -a
> >
> >cp -R

> The upshot of using "cp -R" as opposed to "cp -a" is that
> neither hard links nor symbolic links will be correctly copied,
> nor will the original permissions, ownership, or timestamps of
> files be preserved.

How about copying two directories into one, while preserving links
(including hardlinks), permissions, ownership, and timestamps?

For example, say we have the following structure:

foo/aa
foo/sub/xx
bar/.hidden
bar/sub/yy

We could do:

$ rm -rf foobar
$ cp -a foo foobar
$ cp -a bar foobar

But that doesn't work, because it copies the 2nd directory _into_ the
destination directory.

This is better:

$ rm -rf foobar
$ cp -a foo foobar
$ cp -a bar/* foobar/

But it misses the hidden file.  Also, I think the 2nd copy won't preserve
hardlinks (could be wrong though - don't have immediate access to a 'nix
box to test this right now).

I think a regular exp is needed to match the contents of the 2nd
directory without matching . and .., but how?

> Read the man page for cp...

BTDT, and still scratching my head over this one.

Hmm, just had a thought - maybe I could do this with tar...

Anyone care to suggest a more elegant solution?

------------------------------

From: wroot <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.windows.x.i386unix
Subject: recycling XF86Config
Date: Mon, 7 May 2001 08:52:57 -0400

Hi,

I tried FreeBSD and different distributions of Linux. On some (RH6.0, 6.2, 
7.0, Mandrake 7.0, 7.2) I could configure and enable X without a problem, 
on others (several FreeBSDs and Debians as well as RH7.1 with the new X) I 
couldn't get X to work no matter how hard I tried.

I'm wondering if I could just reuse the XF86Config file from RH6.2 on  
FreeBSD, Debian and RH7.1 on the same hardware.

Thanks

Wroot

------------------------------

From: Juergen Sauer <[EMAIL PROTECTED]>
Subject: Re: Run SCO apps on Linux
Date: 7 May 2001 11:29:37 GMT

Paolo <[EMAIL PROTECTED]> schrieb
am Sun, 06 May 2001 22:29:33 GMT in comp.os.linux.misc:

> Hi.

> Forgive a newbie question.

> Is it possible to execute SCO binary applications on Linux systems ?
> Can anyone give me some pointer to related information ?
Short: mostly yes.
Search for iBCS and the additional howtos.
mfG
        Jojo
-- 
J�rgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED] **
** Das Linux Systemhaus - Service - Support - Server - L�sungen **
http://www.automatix.de to Mail me: remove: -not-for-spawm-     **

------------------------------


** 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
******************************

Reply via email to