Linux-Misc Digest #71, Volume #25                 Sat, 8 Jul 00 07:13:02 EDT

Contents:
  Re: adjust clock on linux (Bev)
  Re: Remove interface? (Michael Felzien)
  Re: xaudio (fdi)
  Re: line number in vi (James Lee)
  Re: "Formatting swap space" never finishes! (Tony Neville)
  Re: Case sensitive (Otto Wyss)
  Re: REPOST: Shared RAID for mail/web server + load balancer? How do I do that? 
("Darren Mackay")
  mandrake 7.0 rescue disk not suporting scsi? (Psychic Donkey the Second)
  Please help: file system error ("Hyo Ahn")
  start up apps (Ron Nicholls)
  sbrk(0) on Linux? (Ron Hardin)
  Changing keymappings (Jordi Warmenhoven)
  NY Times Article ("Buck Turgidson")
  Problem with compilation (Slip Gun)

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

From: Bev <[EMAIL PROTECTED]>
Subject: Re: adjust clock on linux
Date: Fri, 07 Jul 2000 22:22:41 -0700

"David .." wrote:
> 
> Villy Kruse wrote:
> >
> > On Thu, 29 Jun 2000 19:06:36 -0400, Lily Fu <[EMAIL PROTECTED]> wrote:
> > >Hi,
> > >
> > >The clock on my linux (Red Hat Linux 6.1 Cartman, Kernel 2.2.12-20 on an
> > >i686)
> > >is one hour late. I want to adjust the clock to current.
> > >
> > >I did read HOWTO and man hwclock, I tried the following, but it didn't
> > >work:
> 
> Also can be done with "timetool"

or 'ntpdate timeserver.of.choice' (I use tick.ucla.edu)

-- 
Cheers, Bev
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(On going to war over religion:) "You're basically killing each other
to see who's got the better imaginary friend."           -- Rich Jeni

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

From: Michael Felzien <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.admin,comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Remove interface?
Date: Sat, 08 Jul 2000 06:30:50 GMT

ifconfig eth1 down
ifconfig eth1 up


Devon Harding wrote:
> 
> How can I remove my interface (eth1) clean, and reinstall it so it comes up
> on boot?  The system as two interfaces, eth0 is a ne2000 compatable and eth1
> is a 3Com 3c509b.
> 
> -Devon

--

=======================================================================
| Michael Neil Felzien         |                                      |
|  Process Integrated          | The supreme happiness of life is the |
|  Engineering Design (PIED)   | conviction that we are loved.        |
| http://www.pied.com          |                                      |
| [EMAIL PROTECTED]                 | - Victor Hugo                        |
=======================================================================

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

From: fdi <[EMAIL PROTECTED]>
Subject: Re: xaudio
Date: Sat, 08 Jul 2000 06:30:04 GMT



Robert A. Trifiletti, Jr. wrote:
> 
> 
> I have DL'ed the xaudio console MP3 player 
and it works well in RH 6.1.
> However I can only use it as root (SU).  When im logged 
in under my username
> trif (local or telnet from the computer next to it (too lazy to 
shift seats
> sometimes to turn a song on) it won'd let me, it says permission denyed. 
 Is
> this some kind a user permissions problem??
> 
> this is the ls -l readout on 
the program in /usr/bin
> 
> -rwxrwxr-x    1 root     root       170344 Apr 28  1999 
xaudio
> 
> don't ask about the date, computer changes the date every boot, i havn't a
> clue about that.
> 
> 
> Bobby
> 
> --
> 
> 
/******************************************************************/
> Robert A. 
Trifiletti, Jr.
> [EMAIL PROTECTED]
> Penn State University - Computer Science
> 
Berks-Lehigh Valley College
> AOL IM:  TrifPSU           ICQ UIN: 42005336
> "It is 
better to regret the things that you do,
>                      than to regret what 
you don't do.."
> 
/*********************************************************************/
> 
> 

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

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

From: James Lee <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.admin,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: line number in vi
Date: 8 Jul 2000 06:42:54 GMT

In comp.os.linux.misc C.J. <[EMAIL PROTECTED]> wrote:

> I'm not sure this question should have been posted in comp.os.linux.admin and 
> I definately don't think it's appropriate in comp.os.linux.networking.

He missed the main group where vi and emacs questions are often asked
and answered : comp.editors

> Newsgroups: 
>comp.os.linux.admin,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.questions,comp.os.linux.setup

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

From: Tony Neville <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Re: "Formatting swap space" never finishes!
Date: Sat, 08 Jul 2000 19:24:32 +1200

kev wrote:

> Hi,
>
> I'm installing Red Hat 6.2.
>
> I'm at the point where Disk Druid is formatting all the partitions. It
> has done several partitions and has now hit the swap partition. On my
> screen I have a dialog box which says "Formatting swap space on
> /dev/sda7", it has been there about two hours and shows no sign of
> finishing. It is of course the smallest partition (512Mb), but it seemed
> to successfully format all the other partitions (although perhaps slower
> than I expected, it didn't take anything like this length of time to
> format a 10Gb partition).
>
> Anyone had this problem before? What was the cuase and how did you fix it?

The mkswap command is used to initialise the swap partition.   I use
the word "initialise" rather than "format" because the swap area isn't
something one can associate with a  filesystem like ext2, minix, vfat..
etc.   I just place it under the What-The-Hell-Is-That?! category.

By the time RedHat is installed and running, the swap partition should
have been initialised and made active for you.

Cheers,
             Tony



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

From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Re: Case sensitive
Date: Sat, 8 Jul 2000 09:30:29 +0200

> >How can I make Linux not case sensitive (Samba is it already)
> >
>> You cant
> 
How could I make Bash not case sensitive?

O. Wyss

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

From: "Darren Mackay" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.networking,comp.os.linux.setup,comp.mail.sendmail
Subject: Re: REPOST: Shared RAID for mail/web server + load balancer? How do I do that?
Date: Sat, 8 Jul 2000 18:03:58 +1000

Hi,

Try www.missioncriticallinux.com

Started ex compaq engineer apparently.

Darren

--
The most comprehensive list of available Network Address
Translation (NAT) products can be found on:

  http://www.uq.net.au/~zzdmacka/the-nat-page/

Please delete the appropriate text from my e-mail address
to reply




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

From: [EMAIL PROTECTED] (Psychic Donkey the Second)
Crossposted-To: pcplus.linux
Subject: mandrake 7.0 rescue disk not suporting scsi?
Date: Sat, 08 Jul 2000 08:34:34 GMT

Hi, I wonder if anybody could help me please...

Basically I need to manually install lilo onto my scsi harddisk after
I ran out of space during an upgrade. My fault, I ignored the
warnings, just to see what would happen :-)

Problem is I can't get the rescue disk to recognise my SCSI adapter
(aha1542 w/ bios enabled). I've had a quick look for the right module
to load, but I haven't found //any modules at all//  on the filesystem
it's set up in ramdisk. Also the kernel doesn't seem to support
mounting my ide CDROM either,  'iso9660 not supported by kernel' --
now that is a useful omission for a recovery disk really, isn't it?

Any help would be appreciated,

psydii


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

Reply-To: "Hyo Ahn" <[EMAIL PROTECTED]>
From: "Hyo Ahn" <[EMAIL PROTECTED]>
Subject: Please help: file system error
Date: Sat, 08 Jul 2000 09:12:03 GMT

Today, I received the following message while booting:

/dev/hda8 contains a file system with errors.
/dev/hda8 UNEXPECTED Inconsistency; Run fsck manually
   (i.e., without -a or -p options)

I did "fsck" and nothing happen.  When I reboot, I receive
the same error message.  Please help!  Thanks.

Hyo



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

From: Ron Nicholls <[EMAIL PROTECTED]>
Subject: start up apps
Date: Sat, 08 Jul 2000 19:14:04 -1000

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
The specs are&nbsp; RH6.2 ,enlightenment and gnome.
<p>The file browser and help browsers both start up when the desktop
<br>starts.
<br>I have scanned the gnome user guide but I can't find a reference to
disabling
<br>them.
<pre>--&nbsp;
-
-
Regards
message ends</pre>
&nbsp;</html>


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

From: Ron Hardin <[EMAIL PROTECTED]>
Subject: sbrk(0) on Linux?
Date: Sat, 08 Jul 2000 10:00:34 GMT

Why does malloc() give me addresses higher than sbrk(0) says?

eg.,

$ cat temp.c
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <stdlib.h> /* god knows what you have to include these days */
main()
{
        void *p,*q,*r;
        p=sbrk((ptrdiff_t)0);
        q=malloc((size_t)(1000*1000*50));
        r=sbrk((ptrdiff_t)0);
        fprintf(stderr,"%x %x %x\n",p,q,r);
}
$ cc temp.c
$ a.out
8049620 40111008 8049620
$

sbrk is returning a 7 digit address, unchanged by malloc taking
50mb (and returning an 8 digit address for it).

The idea is to know how much memory has been allocated by following
sbrk(0), but apparently this doesn't work on Linux?
-- 
Ron Hardin
[EMAIL PROTECTED]

On the internet, nobody knows you're a jerk.

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

From: Jordi Warmenhoven <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Changing keymappings
Date: Sat, 08 Jul 2000 12:32:20 +0200

Hi,

Can someone perhaps explain how to change the keyboard mappings in X11?
I browsed through the documentation on loadkeys, XF86Config and so on.
But it is not clear to me how I can easily switch from my standard US
keymapping to say a French one. Do I need to change the fonts as well? I
guess I am more or less looking for something similar to the MS Windows
way of adding an extra keyboard in Control Panel|Keyboard and switching
witch Alt+Shift.

Thanks,
Jordi

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

From: "Buck Turgidson" <[EMAIL PROTECTED]>
Subject: NY Times Article
Date: Sat, 08 Jul 2000 10:52:23 GMT

July 7, 2000


Fearing Control by Microsoft , China Backs the Linux System
By CRAIG S. SMITH



============================================================================
----

HANGHAI, July 6 -- Janet Reno is not the only one worried about Bill Gates's
software monopoly. China's leaders are, too.

They are concerned that the country is growing overly dependent on the
Windows operating system, which controls computers running everything from
banks to President Jiang Zemin's e-mail box. But the Chinese government,
itself a master at monopoly, is taking its case against Microsoft not to the
courtroom but to the marketplace, albeit with a bit of administrative fiat.
It is backing the Linux operating system, which was created by a Finnish
university student in 1991 and is distributed free to anyone.

"We don't want one company to monopolize the software market," said Chen
Chong, a deputy minister of information industries who oversees the computer
industry in China. With Linux, "we can control the security," he added, so
"we can control our own destiny."

A growing number of Chinese have likened dependence on Microsoft to leaving
the keys to the country's increasingly computerized economy in the hands of
a potential enemy. Some warn that secret holes in Microsoft's computer code
might allow the United States access to Chinese networks or even enable it,
in time of war, to shut those networks down.

Such concerns were only heightened last year when a cryptographer for a
Canadian software firm working in the United States said he had found a
feature in Windows called an NSAKey -- as in National Security Agency, the
United States government agency that gathers electronic signal intelligence
worldwide. Though Microsoft said the key was innocuous and no support has
been found for any sinister explanation, "no one can guarantee that Windows
does not have back doors," said Liu Bo, a former Microsoft executive who is
now chief executive of Red Flag, a government-backed company set up to
create software based on Linux and to encourage a homegrown software
industry.

In addition, various arms of the government have been warning of the
security risk posed by the country's reliance on Microsoft. "Without
information security, there is no national security in politics, economics
and military affairs," declared an editorial in People's Liberation Army
Daily earlier this year.

Microsoft calls such fears nonsense and says it continues to enjoy a strong
working relationship with the government. "We have shared product
information with them," said Michael Rawding, Microsoft's regional director
in China, "and I believe that their comfort with our product information led
them to allow the launch" of Windows 2000, Microsoft's new business-oriented
operating system, in China last spring.

Unlike the Windows source code, which Microsoft keeps secret, the Linux code
is open for all to see and is freely distributed with the stipulation that
anybody can improve it as long as any modifications are shared with the rest
of the world. The almost communistic "from each according to his ability, to
each according to his need" approach appeals to China's Marxist leaders.

Despite the government's stand, no one is suggesting that Microsoft is
finished in China. Though it will not provide specific sales figures, the
company says its software sales in China surged 80 percent last year and
continue to grow. But the government's move to diversify reflects a broader
dissatisfaction with the company and its founder, Mr. Gates, who just a few
years ago was hailed as a hero by China's young technology enthusiasts.

The turning point in Microsoft's image was the introduction of its
Chinese-language Windows 95 operating system, which was programmed to
display references to "Communist bandits" and to exhort users to "take back
the mainland." Beijing, infuriated to learn that Microsoft had used computer
programmers in Taiwan to write the software, demanded that the company hire
mainland programmers to fix it.

Chief among the company's critics is its former general manager for China,
Juliet Wu, who has become a national celebrity with her withering,
best-selling expos&#0233;, "Up Against the Wind: Microsoft, I.B.M. and Me."
The picture she paints of Microsoft as an arrogant Goliath feeds into the
irritation many Chinese computer users feel toward the company.

Ms. Wu and other critics say Microsoft's pricing -- a software program can
cost as much as an average office worker's monthly salary -- forces users to
buy pirated copies of the company's software. (The Business Software
Alliance, a nonprofit trade group, estimates that as much as 95 percent of
all software in China is pirated, though the industry hopes China's expected
admission to the World Trade Organization will change that.)

Liu Dongli, an Internet entrepreneur in the southern province of Fujian, was
so enraged by having to pay $241 for Windows 98 that he sued the company for
unfair pricing. The suit was withdrawn when Mr. Liu realized that Microsoft
charges no more for its products in China than it does elsewhere. "But that
doesn't mean we lost the case," he fumed, vowing to bring suit again when he
has more evidence. "Monopoly is not a good thing."

The news media, meanwhile, have criticized Microsoft for suing a company
last year over the sale of pirated software. Microsoft, which was asking for
$200,000 in damages, lost the case because the Chinese court ruled that it
had sued the wrong company. The defeat only darkened Microsoft's ominous
silhouette in the eyes of many Chinese.

"Microsoft is a bully," said Hua Yuqing, a young Internet entrepreneur, who
complains that Microsoft's high prices and proprietary computer code squelch
creativity. He is building a business creating software programs that run on
Linux. "I don't want to feel that I'm subconsciously controlled," Mr. Hua
said, referring to the dependence on Microsoft that comes with using its
products.

============================================================================
----

Relying on Windows is likened to giving a potential enemy the keys to the
economy.

============================================================================
----




Mr. Hua and a half-dozen computer programmers peck away at their keyboards
here in a drab office empty except for computers, desks, chairs and a shelf
stocked with bottles of orange soda and boxes of chocolate milk. He and his
colleagues are using Linux to start a company that provides services to
subscribers over the Internet -- in this case, the use of accounting
software and sales-tracking software. The software stays on Mr. Hua's server
computer, and customers rent it rather than buy their own.

Microsoft's public relations disaster has been a boon for Linux. So far,
several companies -- including Red Flag, which is backed by President
Jiang's son, Jiang Mianhang, and TurboLinux, based in San Francisco -- have
introduced Chinese-language versions of the Linux operating system in China.
Many other companies have started to provide software and services for
China's Linux users.

The Chinese government tried for more than a decade to develop an operating
system of its own, but was unable to keep up with the fast-changing
industry. Linux gives the country the tools to build that system now -- and,
in the Chinese view, the fact that the Linux code is not privately held
assures that any security it wants to build into its computer systems will
not have undetectable vulnerabilities.

But even Linux enthusiasts profess ambivalence about the government's
interest. Linux developers in China say some overseas colleagues worry that
China may not play by the rules for collaborating and sharing and may adapt
Linux to create a proprietary system instead.

In any case, China represents a market potential of such size, and
government influence over the market is still so strong, that Beijing's
support can turn almost any product into an industry standard domestically.
By the end of next year, the country may well be the third-largest PC market
in the world, and software sales are expected to grow more than 30 percent a
year for the foreseeable future.

As China's economy becomes increasingly integrated with that of the region
and the world, much of Asia is likely to follow its lead.

Mr. Liu, the chief executive of Red Flag, says a third of the country's
Internet servers -- the computers that power Web sites -- are already using
Linux operating systems. He estimates that by the end of next year Linux
will run half of all servers in China and as much as a third of the
country's desktop computers.

Those estimates may be overblown; the technology research firm IDC
Asia-Pacific says its data shows less than 3 percent of all servers shipped
to China last year were loaded with Linux. But IDC expects the number to
more than double this year, and Linux's real market share is most certainly
higher because the operating system can be downloaded free from the
Internet.

"Linux, without doubt, has gained some headway among software developers in
China," Mr. Rawding said. "However, I have yet to see any mission-critical
organization deploy Linux because the truth of the matter is that in
businesses, you want the support and service to be available to you
instantly when something does go wrong."

Nonetheless, Great Wall Computer, one of China's biggest PC makers, has
already shipped 200,000 desktop computers loaded with the Linux operating
system, which looks much like Windows though it cannot yet match all of
Microsoft's features.

Ma Li, marketing chief at Great Wall, says his company shifted toward Linux
at Beijing's urging. "As a leading enterprise," he said, "we should respond
to the call of the government."







Copyright 2000 The New York Times Company



Advertisement


--
Remove 123xyz_ from address to reply



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

From: Slip Gun <[EMAIL PROTECTED]>
Subject: Problem with compilation
Date: Sun, 09 Jul 2000 00:02:34 +0100

Hi,
I have been using linux for about 2 years now, but one thing that seems
to mess up more often than not is compiling programs which I have
downloaded. I can compile the kernel fine, and have done so about 20
times over the past year. However, I always seen to get a problem when
compiling other progams. I am using gcc 2.95.2, kernel 2.2.14. I have
been using redhat up till recently, now I am giving mandrake a try.
An example of a typical problem is something I tried to do five minutes
ago. I am trying to install the latest stable version of isapnptools for
use with my sound card. When I type 'make' it tries to compile the first
module, but then simply replies:

pnpdump_main.c:64: initializer element is not constant

It then exits with error 1.
Any help would be greatly appreciated.
Cheers,
Ed


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


** 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.misc) 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-Misc Digest
******************************

Reply via email to