Linux-Misc Digest #837, Volume #26               Wed, 17 Jan 01 00:13:01 EST

Contents:
  Re: Can't Mount Swap file - SWAPON fails (Steve Withers)
  Re: RH7 and APC BackUPS ([EMAIL PROTECTED])
  Re: HELP!! Trying to install new hard drive... (Donald Arseneau)
  GNU equivalent to Solaris "ufsdump" (Harry)
  Re: Linus Torvalds is dead?!?! (John Hasler)
  Re: NIC shut down automatically ([EMAIL PROTECTED])
  Re: backup for NT and linux over the network ([EMAIL PROTECTED])
  Re: default permissions ([EMAIL PROTECTED])
  Re: HELP!! New hard drive install on Linux... (Noble Pepper)
  PostgreSQL table access (Peter Rodriguez)
  free long distance on linux? ("Sudhakar R.")
  Re: RH7 and APC BackUPS (Alex)
  RedHat7.0 & RedHat7J ? ("Tetsuhiko Takabatake")
  Re: free long distance on linux? ("Dan")
  linux2.4.0: VFS: can't mount root 03:05 (Steve Connet)
  Re: RedHat7.0 & RedHat7J ? (Linux User)
  Re: GNU equivalent to Solaris "ufsdump" (Pete Zaitcev)
  Re: fax-modem how? (Luben Tuikov)
  Re: How can I search file at midnight commander?
  Re: GNU equivalent to Solaris "ufsdump" (Linux User)
  Re: What is the community's favorite news reader (and why)?

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

From: Steve Withers <[EMAIL PROTECTED]>
Subject: Re: Can't Mount Swap file - SWAPON fails
Date: Wed, 17 Jan 2001 15:11:03 +1300

Dances With Crows wrote:
> 
> On Wed, 17 Jan 2001 02:59:58 +1300, Steve Withers staggered into the
> Black Sun and said:
> >I migrated an old system to a new disk.....and overwrite the base
> >config on the new disk. Now my system can't access any swap space.
> >I tried updating the /etc/fstab file....but swapon reports that
> >"/dev/hda6" is an "invalid argument".
> >"swapon -a" fails.
> >Eh????
> >How can i define a new swap file to my RH 6.1 system? I tried using the
> >control panel -> system configuration...resuolts above....
> 
> "fdisk -l /dev/hda" to make sure that /dev/hda6 actually exists before
> you go any further.  If it does, "mkswap" can be your friend, but make
> sure you don't have anything you want to keep on /dev/hda6 before you
> use mkswap on it.  If it doesn't exist, find a small partition you don't
> need or create one, *then* mkswap it, edit /etc/fstab, and swapon -a.
> 
> BTW, RedHat's "Control Panel" is not standard and not useful for really
> doing things.  Read up on the command-line utilities; they generally
> give better results and are faster once you've learned how they work.

Thanks! I discovered the "mkswap" command about an hour ago and it is
all now sorted. My problem was that I didn't know that command existed
and nothing I was reading about swap files said anything about it.....

I was using "Linux Unleashed" and "Unix Unleashed" as well as searching
through the docs on www.linuxdoc.org. 

I think I need to write a little item for the Linux FAQ that says: 

"If you cabbage your swap file and your system can't find it, do this: 

1. Make sure you have the name of the swap partition correct and that it
is a swap partition. 

fdisk -l /dev/hd?? (where "?" is the correct disk/partition number)

2. make sure your /etc/fstab file has "/dev/hd?    swap   swap default 0
0" in it
3. login as root and enter "mkswap /dev/hd?"
4. reboot

Simple, eh....but do you think I could FIND? :-) 

Thanks again. 
 




-- 
 Regards,

 Steve Withers
 [EMAIL PROTECTED]

 Registered Linux user #24688
 http://counter.li.org

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

From: [EMAIL PROTECTED]
Subject: Re: RH7 and APC BackUPS
Crossposted-To: comp.os.linux.help,comp.os.linux
Date: Wed, 17 Jan 2001 02:24:20 GMT

Alex <[EMAIL PROTECTED]> wrote:
> I have an APC simple UPS works great with RH 6.2. Do you have the right
> cable? You have to use a different cable for it.
>
> Different OS different cable.
> I don't have the cable number reight now.
> You can check out the APC's website.

I was not aware that you need different cables for different OS's. The
same ones that work HPUX and Solaris work with Linux at least, so
maybe NT is different?

I do know that the boxed Powerchute software I get at work has disks
for HPUX/Solaris/NT, and comes with a cable for BackUPS's and
SMartUPS's, and you can't switch them. I've never installed Powerchute
under NT BTW.

For the wiring differences between the SmartUPS and BackUPS cables,
see:

http://www.buchanan1.net/apc_ups_cables.html

-- 
Jim Buchanan        [EMAIL PROTECTED]     [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"Usenet is essentially Letters to the Editor without the editor.  Editors
 don't appreciate this, for some reason." -Larry Wall
========================================================================

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

From: Donald Arseneau <[EMAIL PROTECTED]>
Subject: Re: HELP!! Trying to install new hard drive...
Date: 16 Jan 2001 18:41:28 -0800

"James Ayton, Jr." <[EMAIL PROTECTED]> writes:

> I want to add a new 45 Gig drive as D: to the Ultra ATA66 controller.
> However, all drives connected to this controller are assigned drive letters
> before the IDE connectors on the mother board are.  So, if I have them all
> connected, all I see are the letters 'LI' when I start up.  Is there a way
> to tell the MBR that the Corel's Linux OS Loader is on drive E: now?

Unplug your new drive so you can boot Linux.

Boot Linux

Log in as root

cd /etc

cp fstab fstab_2disk

edit fstab, changing "/dev/hdb*" to "/dev/hdc*"
(If there are any /hdc entries already, change them to /hdd first.)

cp lilo.conf lilo.conf.2disk

edit lilo.conf, changing "root=/dev/hdb*" to "root=/dev/hdc*"

run /sbin/lilo

You might have some references to hdb in modules.conf or
auto.*, so edit those too.

Shutdown

Plug in new disk drive

Boot Linux.

(I hope I got that right)

Donald Arseneau                          [EMAIL PROTECTED]

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

From: Harry <[EMAIL PROTECTED]>
Subject: GNU equivalent to Solaris "ufsdump"
Date: Wed, 17 Jan 2001 02:48:32 +0000

Is there such a thing, or must we make do with tar/cpio?

Harry

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Linus Torvalds is dead?!?!
Date: Wed, 17 Jan 2001 01:47:10 GMT

Floyd Davidson writes:
> But can you trust a dead man to tell the truth?

Good point.  Also, notice that the message wasn't signed.  Suspicious, all
this coming right after the release of 2.4.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: [EMAIL PROTECTED]
Subject: Re: NIC shut down automatically
Date: Tue, 16 Jan 2001 11:44:29 GMT

Londonboy <[EMAIL PROTECTED]> wrote:
: Now, everything works fine, I can ping other machinese.  Now I unplugged the
: network cable. After several hours, I go back to the prompt and type
: "ifconfig", the "eth0" disappear again!!!!!!!!!!

: Try it yourself, I happened to my RedHat 6.1 before. I thought I upgraded to
: RedHat 7.0 will solve the problem but it didn't.

Don't know about Red Hat.

If you have compiled the driver for your NIC as a module, your 
setup may be such, that the module gets unloaded when it is not 
used for a certain time.

What does lsmod tell you?

You can either change the way the module is set up during boot, so
it stays loaded no matter what, or compile the driver directly into
the kernel.

Regards,
Friedhelm

-- 
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
===================================================================
Friedhelm Mehnert,  Berliner Allee 42,  22850 Norderstedt,  Germany
phone + fax: +49-40-5236562        email: [EMAIL PROTECTED]
===================================================================


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

From: [EMAIL PROTECTED]
Subject: Re: backup for NT and linux over the network
Date: Tue, 16 Jan 2001 11:54:30 GMT

Christoph Kukulies <[EMAIL PROTECTED]> wrote:
: I'm seeking for a network backup system allowing to
: backup NT, Win2k and Linux systems to a DLT tape.

: IBM ADSM? $?

SAMBA, smbtar, mt, cron and a few shellscripts. :)

Regards,
Friedhelm

-- 
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
===================================================================
Friedhelm Mehnert,  Berliner Allee 42,  22850 Norderstedt,  Germany
phone + fax: +49-40-5236562        email: [EMAIL PROTECTED]
===================================================================


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

From: [EMAIL PROTECTED]
Subject: Re: default permissions
Date: Tue, 16 Jan 2001 12:00:37 GMT

Sasha Voznesensky <[EMAIL PROTECTED]> wrote:
: Hello all,

: Our company runs a Mandrake 6.1 server with Samba and AppleTalk. When one of
: the users creates a directory on the share, it is by default has group write
: rights disabled (rwxr-xr-x). This is a pain, because often other people need
: to work in that directory. Is there a way to have rwxrwxr-x by default when
: the directory is created? This happens to both PC and Mac users.

Sure,

put "create mask = 002" into the section of the samba.cfg file,
that sets up the share. (Without the quotes).

Also make sure, that the linux permissions are setup right at the
server.

Regards,
Friedhelm
 
-- 
Microsoft is NOT the answer. Microsoft is the Question.
The answer is: "NO!"
===================================================================
Friedhelm Mehnert,  Berliner Allee 42,  22850 Norderstedt,  Germany
phone + fax: +49-40-5236562        email: [EMAIL PROTECTED]
===================================================================


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

From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: HELP!! New hard drive install on Linux...
Date: Tue, 16 Jan 2001 21:18:18 -0600

James Ayton, Jr. wrote:

> My set up is as follows...
> 
> I have an 18 gig hard drive with Windows 2000 and Windows 98 dual booting,
> this drive is C:\, and is connected to my Ultra ATA66 controller.
> 
> I have a 4 gig drive with Corel Linux that is connected to the IDE
> connector on the mother board.  The Linux controls the MBR, as Corel's OS
> loader pops up on start up, and I can select either Linux or Windows.  If
> I select Windows, it goes to Windows 2000 OS Loader to select between 2000
> and 98.
> 
> I want to add a new 45 Gig drive as D: to the Ultra ATA66 controller.
> However, all drives connected to this controller are assigned drive
> letters
> before the IDE connectors on the mother board are.  So, if I have them all
> connected, all I see are the letters 'LI' when I start up.  Is there a way
> to tell the MBR that the Corel's Linux OS Loader is on drive E: now?
> 
> Thanks,
> James Ayton, Jr.
> 
> 
> 
> 
> 
> 
If you get LI you must be using LILO. I believe LILO can only boot off the 
first two ide drives. http://www-scf.usc.edu/~vibber/linux may help some. 
There are other boot loaders that can boot off higher numbered drives but I 
have no experience with them.

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

Date: Wed, 17 Jan 2001 03:16:38 +0000
From: Peter Rodriguez <[EMAIL PROTECTED]>
Subject: PostgreSQL table access

I have posted the following to [EMAIL PROTECTED] also.

I have installed PostgreSQL 6.5.3 on my stand-alone i686-pc-linux-gnu
machine (RedHat 6.2), compiled by gcc egcs-2.91.66

I have created tables both using the interactive sql monitor and using
PGaccess GUI. The command "\dt" in the interactive monitor yields the
expected list of tables, but "select * from foo" yields "ERROR: foo:
Tables does not exist" for all tables created through the GUI, but is OK
with tables created in the interactive monitor. Using the GUI, I can
access all tables without problems.

The problem is the same either in an X-window terminal emulation or a
full screen. I realise that this may not be a Linux problem, but on the
other hand, maybe it is :-/

Any help much appreciated.

--
Peter Rodriguez
2/219, St. George Street, Papatoetoe
Auckland, NEW ZEALAND




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

From: "Sudhakar R." <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: free long distance on linux?
Date: Tue, 16 Jan 2001 22:11:15 -0500


With the increasing number of sites offering free long distance PC to
phone calls...I was wondering whether anyone has come across any such site
which supports Linux.

Then, I don't have to reboot to Windows just to make a call!

Any info will be highly appreciated.
Thanx in advance
-sud


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

From: Alex <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux
Subject: Re: RH7 and APC BackUPS
Date: Tue, 16 Jan 2001 22:48:48 -0500

[EMAIL PROTECTED] wrote:

> I was not aware that you need different cables for different OS's. The
> same ones that work HPUX and Solaris work with Linux at least, so
> maybe NT is different?
> 
> I do know that the boxed Powerchute software I get at work has disks
> for HPUX/Solaris/NT, and comes with a cable for BackUPS's and
> SMartUPS's, and you can't switch them. I've never installed Powerchute
> under NT BTW.
> 

Sorry that I wasn't clear about that.
Yes, Windows and *nix uses different calbes.

> For the wiring differences between the SmartUPS and BackUPS cables,
> see:
> 
> http://www.buchanan1.net/apc_ups_cables.html
> 
> --
> Jim Buchanan        [EMAIL PROTECTED]     [EMAIL PROTECTED]
> =================== http://www.buchanan1.net/ ==========================
> "Usenet is essentially Letters to the Editor without the editor.  Editors
>  don't appreciate this, for some reason." -Larry Wall
> ========================================================================

-- 
============================================
The Search for Extraterrestrial Intelligence
http://www.seti.org/

Registered with the Linux Counter. ID# 175126
http://counter.li.org/index.html

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

From: "Tetsuhiko Takabatake" <[EMAIL PROTECTED]>
Subject: RedHat7.0 & RedHat7J ?
Date: Wed, 17 Jan 2001 12:53:43 +0900

In Japan only RedHat7J is distributed.
Is this fully compatible with RedHat7.0?
Thank you for your kind information.

Tetsuhiko


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

From: "Dan" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: free long distance on linux?
Date: Wed, 17 Jan 2001 15:07:51 +1100

I would be surprised if you found one.
Have you considered using Wine?
The software can't be that complicated - just get some audio, compress it,
and send it. I'd try wine...

Dan

"Sudhakar R." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> With the increasing number of sites offering free long distance PC to
> phone calls...I was wondering whether anyone has come across any such site
> which supports Linux.
>
> Then, I don't have to reboot to Windows just to make a call!
>
> Any info will be highly appreciated.
> Thanx in advance
> -sud
>



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

Subject: linux2.4.0: VFS: can't mount root 03:05
From: Steve Connet <[EMAIL PROTECTED]>
Date: Wed, 17 Jan 2001 04:34:19 GMT

Hi,

I recompiled the linux kernel 2.4.0. I made sure I had all the latest
items from the Documentation/Changes file. I do.

I have RedHat7.0 and am currently using kernel 2.2.16-22.

When I reboot, I cannot exactly remember the message because it is not
logged anywhere. But it says something like:

Kernel Panic: VFS: cannot mount root filesystem 03:05
Check to make sure ROOT= is in startup 

Or something like that. I've done everything right as far as all the
latest software I need. I upgraded modutils and tune2fs and then
recompiled the kernel. 

I am using kgcc to recompile the kernel because gcc is version 2.96 in
RH7.0 and it is advised not to use it.

Has anyone else been able to succesfully use a linux 2.4.0 kernel with
RedHat7.0?

Could it be some of the options I am setting in xconfig? I have
minimal options, maybe that is the problem. Do I have to have NFS or
disk quotas? I have those turned off.

As far as the ext2 fs, I have that set to YES (not as a module).

Any ideas?
-- 
Steve Connet ([EMAIL PROTECTED])

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

From: Linux User <[EMAIL PROTECTED]>
Subject: Re: RedHat7.0 & RedHat7J ?
Date: Tue, 16 Jan 2001 20:45:10 -0800

Hello,

Yes it is. The "J" just means it is the Japanese language version of Redhat 
7.0.

Cheers,
        Jim H


Tetsuhiko Takabatake wrote:

> In Japan only RedHat7J is distributed.
> Is this fully compatible with RedHat7.0?
> Thank you for your kind information.
> 
> Tetsuhiko
> 



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

From: [EMAIL PROTECTED] (Pete Zaitcev)
Subject: Re: GNU equivalent to Solaris "ufsdump"
Date: Wed, 17 Jan 2001 04:53:41 GMT

On Wed, 17 Jan 2001 02:48:32 +0000, Harry <[EMAIL PROTECTED]> wrote:
> Is there such a thing, or must we make do with tar/cpio?
> 
> Harry

There is Tytso's dumpe2fs which is a very close equivalent,
in fact it can read ufsdump tapes and restore them.
Keep in mind though, that it provides very little advantage
over GNU tar or cpio. Both of them can handle special files,
and the speed differential probably does not exist.

-- Pete

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

From: Luben Tuikov <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: Re: fax-modem how?
Date: Wed, 17 Jan 2001 04:56:00 GMT

Great advice James.

I did that and found out that this winmodem doesn't show an I/O port in
Linux or WinNT4.0. No listing showed me the I/O port on both Linux and
WinNT4.0 -- all other information was consistent.

-- 
Luben


James Richard Tyrer wrote:
> 
> Luben Tuikov wrote:
> 
> > Hello, (RH7, 2.2.18)
> >
> > I have a pci fax-modem (3Com model 5690) and would like to set it up as
> > a fax.
> > It is recognized on the pci bus (/proc/pci).
> 
> The command:
> 
> lspci  -v  |  less
> 
> will get you more information.
> 
> [do all of this as root]
> 
> You should find something like this in the listing:
> 
> 00:12.0 Serial controller: US Robotics: Unknown device 1008 (rev 01)
> (prog-if 02)
>         Subsystem: Unknown device 12b9:00aa
>         Flags: medium devsel, IRQ 14
>         I/O ports at bc00
>         Capabilities: [dc] Power Management version 2
> 
> You need the I/O port and the IRQ
> 
> Then for the value above you would execute:
> 
> setserial  /dev/ttyS2  port 0xbc00  irq  14  autoconfig
> 
> {your I/O port and IRQ will be different}
> 
> Then execute:
> 
> setserial -g /dev/ttyS2
> 
> If this answers back including a UART type number then it worked, and your
> modem is set up as ttyS2.
> 
> JRT

-- 
Luben

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

From: [EMAIL PROTECTED] ()
Subject: Re: How can I search file at midnight commander?
Date: Wed, 17 Jan 2001 04:57:01 +0000 (UTC)

On Tue, 16 Jan 2001 18:01:05 GMT, Carfield 
Yim <[EMAIL PROTECTED]> wrote:
>if the default META is not ALT in MC, how can I set?

Go F1 for help; in there is a section called
Contents; in there is Learn Keys. This feature
can help you find out how your keys are mapped.
Read the instructions there to see if it'll help.

To get immediate access to the Learn Keys feature,
locate it in the Options pulldown menu on the top
bar of MC. 

Go F10 to get out of Help.

To jump to a file, you have many choices:

try F9, which allows you to select a pulldown
menu from the top bar in MC. Select the File
menu. On there is a feature "Quick cd" which
opens a little box where you can enter the file
to which you would like to jump. 

Or highlight the file on the main panel and
go F3 to view it. 

Or use the little command line right above the
lowest bar on MC's screen.

Or under the Command menu (F9, highlight Command
and go Enter to pull it down) & use the Find option.

MC is pretty self explanatory if you are willing
to spend any time on it. 

HTH
MP

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

From: Linux User <[EMAIL PROTECTED]>
Subject: Re: GNU equivalent to Solaris "ufsdump"
Date: Tue, 16 Jan 2001 20:57:47 -0800

Hello,

Look at the man pages for dump and restore.

Cheers,
        Jim H


Harry wrote:

> Is there such a thing, or must we make do with tar/cpio?
> 
> Harry



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

From: [EMAIL PROTECTED] ()
Subject: Re: What is the community's favorite news reader (and why)?
Date: Wed, 17 Jan 2001 05:09:44 +0000 (UTC)

On Tue, 16 Jan 2001 20:16:22 GMT, Matt 
O'Toole <[EMAIL PROTECTED]> wrote:

>"Arctic Storm" <-SpamShield-ArcticStorm
@usa.net-SpamShield-> wrote in
>message news:[EMAIL PROTECTED]...
>
>I still don't like Netscape's screen 
design or interface.

I found KNode buggy, and don't care for
Netscape's tiny convoluted mini-icons and flags
and clutter either.
  
>If you like console programs, slrn is really good.

Yep -- it's as simple or complex
as you want to make it, and no matter how fast
your GUI readers are, a text reader is gonna be
faster.

You can attach it to any editor you wish. The
default is usually vi/vim, which intimidate some
people, but you can change the default. You can
also dress up the screen with various 
background and text colors to your liking.

MP

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


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