Linux-Misc Digest #770, Volume #21 Sun, 12 Sep 99 00:13:09 EDT
Contents:
Re: DosLinux: No Reply? (Edward Westin)
Re: ifconfig question ("grater")
Re: Running A.OUT (libc.so.4) programs under RH 6.x - it works, but I have a
question (Paul Kimoto)
Re: C++ clear screen command ([EMAIL PROTECTED])
Re: SiS 620 problem (David M. Cook)
Re: ifconfig question (Clifford Kite)
Re: DosLinux: No Reply? (Edward Westin)
Re: Staroffice Aborts on startup.. (Carl Fink)
Re: Amiga, QNX, Linux and Revolution (Terrance Richard Boyes)
Re: Absurd Linux mentality ! (David M. Cook)
Re: ifconfig question (Michael Starkie)
Re: Partitioning for Linux ("Timothy")
Getting mail from Hotmail.... ("Timothy")
Re: Help!!! Canon BJC-6000 will not work! ([EMAIL PROTECTED])
Creating a ppp dial in server to my network (Oliver Batchelor)
Re: Please help. Installing software and connecting to the net. (Vernon)
Bogus ppp device after kernel upgrade? ("G. Georgiev")
Re: Bogus ppp device after kernel upgrade? (Clifford Kite)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Edward Westin)
Subject: Re: DosLinux: No Reply?
Date: 12 Sep 1999 01:14:09 GMT
On Sat, 11 Sep 1999 13:35:50 GMT, NF Stevens <[EMAIL PROTECTED]> wrote:
I don't know the specific details of the DosLinux distribution,
>but you could create another loop partition of the size you require
>and mount that new partition within your original file system.
>
>I suspect that most people here are running a full linux installation
>so have no experience of DosLinux. You could try emailing whoever
>put the package together for advice.
>
Norman,
I appreciate your taking the time to help out. Thanks to the group I
now have the information I need. As is sometimes the case, it was right
under my nose all along. :-) Thank you, ed.
------------------------------
From: "grater" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ifconfig question
Date: Sat, 11 Sep 1999 20:23:01 -0500
Don't bring your eth0 device down. All you need to do is delete the default
route for eth0 and add the default route for ppp0 when you make your ppp
connection ( ppp ip-up scripts would be a good place ). Then do the
opposite when you bring your ppp connection down ( ppp ip-down scripts ).
For example (add to /etc/ppp/ip-up.local if using RedHat distribution ):
/sbin/route del default eth0
/sbin/route add default ppp0
Then add the eth0 default route back:
/sbin/route add default gw "ip address of your gateway"
You might try just adding the ppp0 route, but if I remember correctly, I had
to remove the eth0 default route.
Michael Starkie <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> My default route is through my ehternet device ( eth0 ). When I want
> to connect to a private network using ppp, I must bring down my ehternet
> device so that my ppp device ( ppp0 ) is used as a default device. Must
> I do this? I can't ping any IP address inside the private network until
> I issue: "/sbin/ifconfig eth0 down". After this I can ping any host
> inside the private network. The ehternet device is configured with a
> dynamic IP address by DHCP as is the ppp device. After I finish using
> the private network by exiting ppp, I can't use the ethernet device by
> simply issuing" "/sbin/ifconfig eth0 up" because this command does not
> bind the original IP address that was once assigned to this device. How
> to I reconfigure the eth0 device with the original IP address?
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Running A.OUT (libc.so.4) programs under RH 6.x - it works, but I have a
question
Date: 11 Sep 1999 21:47:43 -0500
Reply-To: [EMAIL PROTECTED]
In article <7res87$2cl$[EMAIL PROTECTED]>, Kenny McCormack wrote:
> In order to run a.out binaries (QMAGIC or ZMAGIC), I have to (manually)
> insmod the binfmt_aout module. This is no big deal and I could simply put a
> line in rc.local to do it, but I am curious about something.
>
> In Debian, binfmt_aout is "automagically" loaded (by kerneld, no doubt) when
> I attempt to run a AOUT binary. In RH, I have to load it manually.
Do you have
alias binfmt-0064 binfmt_aout
in /etc/modules.conf?
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: C++ clear screen command
Date: Sun, 12 Sep 1999 01:39:47 GMT
In article <7rd6nh$s72$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Hello!
>
> I'm new in C++ programming and I'm using the g++ compiler with SUSE
> Linux 6.1
>
> I'm trying to make a clear screen command before starting my programs
> but I can't find how.
The following 'c' code example was posted (sorry, forgot the poster's
name) some days ago to this group.
// clearscr.c
/* Clear screen */
#include <stdio.h>
#include <stdlib.h>
#ifdef UNIX
#define CLRSCREEN() system("clear")
#else
#define CLRSCREEN() system("cls")
#endif
int main(void) {
CLRSCREEN();
puts("This should be on an otherwise clear screen");
return(0);
}
I haven't tried it because I don't use Unix. Try the code after
modifying it to CPP code(<iostream.h> etc). Hope this helps,
-- Shiva KB
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (David M. Cook)
Crossposted-To: comp.os.linux.hardware
Subject: Re: SiS 620 problem
Date: Sun, 12 Sep 1999 02:04:22 GMT
On Fri, 17 Sep 1999 11:08:01 -0800, Tao Xie <[EMAIL PROTECTED]> wrote:
>My PC is with the SiS 620.
What version of XFree86? 3.3.5 is supposed to have better support for that
card:
http://www.xfree86.org/3.3.5/RELNOTES4.html#4
Dave Cook
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.networking
Subject: Re: ifconfig question
Date: 11 Sep 1999 20:10:09 -0500
Michael Starkie ([EMAIL PROTECTED]) wrote:
> My default route is through my ehternet device ( eth0 ). When I want
> to connect to a private network using ppp, I must bring down my ehternet
> device so that my ppp device ( ppp0 ) is used as a default device. Must
> I do this? I can't ping any IP address inside the private network until
No, I think what you need to do is to remove the pppd defaultroute
option and use /etc/ppp/ip-up to create a network route for the private
network through the PPP interface. For example if the private network
is 192.168.0.0/24 and the PPP interface is ppp0 then
/sbin/route add -net 192.168.0.0 netmask 255.255.255.0 ppp0
in /etc/ppp/ip-up configures a specific network route for the private
network through the ppp0 interface. When the PPP interface is taken
down at the end of the connection then poof, the route disappears. You
get to keep the default route to the Internet at all times.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* On occasion you'll run into an attidude on usenet. They contribute
nothing, but vitriolicly criticize those that do. Instead of reasoned
argument and facts they belittle, demean, and ridicule, relishing the
replies that this generates. Please do not feed the attidudes. */
------------------------------
From: [EMAIL PROTECTED] (Edward Westin)
Subject: Re: DosLinux: No Reply?
Date: 12 Sep 1999 01:43:19 GMT
On Sat, 11 Sep 1999 08:12:42 -0600, bowman <[EMAIL PROTECTED]> wrote:
>> >On 6 Sep 1999 22:30:55 GMT, Edward Westin <[EMAIL PROTECTED]> wrote:
>> >
>> >Doesn't anybody know the answer to this query? Please help... :-(
>
>Yeah, anybody that read the docs that came with the distro.
Well, reading the docs is one thing, reading them well is another.
Unfortunately, this was in the How-to-Install-DosLinux file which I
searched using the keyword "size." The author used the word "space"
instead of "size" so the search was unsuccessful. I also did similar
proximity searches on deja. I missed it. My apologies.
>From : How To Install DosLinux 3-17-99
>
>"Look at the 'loopspace' script on DosLinux dor options to add space to the
>system.
>
># loopspace <For Help>
>
I certainly am grateful for your help in finding this. As another
person mentioned, there aren't too many people who are familiar with the
intricacies of this distribution. Best Regards, ed.
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: Staroffice Aborts on startup..
Date: 11 Sep 1999 23:38:28 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 11 Sep 1999 14:55:52 -0400 Adrian Hands <[EMAIL PROTECTED]> wrote:
>Or, run the script like this:
>
>$ bash -x /u04/Office50/bin/soffice
.
.
.
>$ export
>LD_LIBRARY_PATH=/u04/Office50/lib:/var/jdk/lib/i586/green_threads
>$ strace /u04/Office50/bin/soffice.bin
Well, except for the fact that the original poster is trying to run
StarOffice 5.1, not 5.0. And that the path starting with /u04 you
have above would seem to be idiosyncratic to your own computer.
--
Carl Fink [EMAIL PROTECTED]
"This fool wishes to reverse the entire science of astronomy."
-Martin Luther on Copernicus' theory that the Earth orbits the sun
------------------------------
From: [EMAIL PROTECTED] (Terrance Richard Boyes)
Crossposted-To: comp.os.qnx,comp.sys.amiga.misc
Subject: Re: Amiga, QNX, Linux and Revolution
Date: Sun, 12 Sep 1999 03:24:36 +0100 (BST)
Joe Cosby <[EMAIL PROTECTED]> wrote:
[snip]
> Jane starts up her computer. If she holds down both mouse buttons
> as it boots, she is given a screen allowing her to choose
> 'supervisor' or 'Jane'. Otherwise she boots into the 'Jane'
> workspace.
[snip]
Actually a lot of the corporate NT machines I've seen have
been setup in a similar but more complex way than that.
--
<URL:http://www.pierrot.co.uk/> Team AMIGA
Many aligators will be slain,
but the swamp will remain.
------------------------------
From: [EMAIL PROTECTED] (David M. Cook)
Subject: Re: Absurd Linux mentality !
Date: Sun, 12 Sep 1999 02:16:32 GMT
On 10 Sep 1999 17:17:41 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>My heading is a bit extreme - perhaps ?
Yes.
>Linux users who are proud that they learned what:
>" cd /home; tar cvpf - * | ( cd /newhome; tar xvpf - ) "
> means; don't yet realise that knowledge of this arbitrary syntax, will be of
> no use to them in 10 years time.
The above has been around for nearly 20 years, perhaps longer (I don't know
the history of tar). I don't see any reason it wouldn't be useful in
another 10 years.
Dave Cook
------------------------------
From: Michael Starkie <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: ifconfig question
Date: Sat, 11 Sep 1999 22:44:19 -0400
Clifford Kite wrote:
> Michael Starkie ([EMAIL PROTECTED]) wrote:
> > My default route is through my ehternet device ( eth0 ). When I want
> > to connect to a private network using ppp, I must bring down my ehternet
> > device so that my ppp device ( ppp0 ) is used as a default device. Must
> > I do this? I can't ping any IP address inside the private network until
>
> No, I think what you need to do is to remove the pppd defaultroute
> option and use /etc/ppp/ip-up to create a network route for the private
> network through the PPP interface. For example if the private network
> is 192.168.0.0/24 and the PPP interface is ppp0 then
>
> /sbin/route add -net 192.168.0.0 netmask 255.255.255.0 ppp0
>
What about domain name services? Right now I have two /etc/resolv.conf
files one for the internet and the other for the private network (
/etc/resolv.conf.default && /etc/resolv.conf.private ). I manually copy the
appropriate file to /etc/resolv.conf before connection establishment. How can
I configure my DNS list to include all domain name servers in both networks
if I am to use both networks simultaneously?
------------------------------
From: "Timothy" <[EMAIL PROTECTED]>
Subject: Re: Partitioning for Linux
Date: Sun, 12 Sep 1999 12:39:33 +1000
Using this advice, if I take a large hard disk (let's say 10 GB) and make 3
partitions:
1) 80 MB for the linux swap
2) 20 MB for the /boot
3) 9 GB for the /
everything will work out ok? Or is there a better way to partition a large
hard disk? Thanks...
Tim
Leejay Wu <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Excerpts from netnews.comp.os.linux.misc: 12-Sep-99 Partitioning for
> Linux by "Timothy"@ozemail.com.au
> > I've been reading quite a few posts in this newsgroup about using
> > different hard disk partitions for different parts of linux (eg.
> > /usr). When I installed linux I wasn't sure what to do so I used
> > one hard disk partition of 80MB for swap and 1.4 GB for the rest.
> > Are there any drawbacks to this, or should I separate the 1.4 GB
> > into smaller partitions and then reinstall everything? In fact,
> > I was going to get back another 3 GB from windows. Is it ok to
> > use one huge partition (eg. 4.4 GB) for everything? This is 'cos
> > I'm not sure how much space I should allocate to different
> > sections of linux.... Any hints would be very appreciated....
> > thanks! :)
>
> I'd advise you to check the Partitioning (mini-?) HOWTO. Some
> points to keep in mind:
>
> * The boot files (mostly, the kernel) should be kept within the first
> 1024 cylinders. On newish systems, this tends to mean w/n the first
> 8.4 GB, meaning that it can be a good idea if at least one partition
> lies completely within that range (typically a smallish /boot; 10MB
> is vast overkill for most).
>
> * With separate partitions, you'd better guess right as to space
> requirements. These requirements are going to be based on what
> you are doing -- how many users you have, whether you are going
> to be creating hordes of huge datafiles, whether you must have
> the latest, greatest and biggest office suites, etc; this can
> vary enormously.
>
> There are mini-distros that fit on a small set of floppy disks,
> and there are multi-CD distros where a *full* installation occupies
> gigabytes.
>
> * OTOH, with separate partitions, you can a) make some read-only,
> (typically /usr, although that may mean sym-linking into /var)
> to help reduce accidental errors/corruption... b) keep some even
> if you re-install (say, keeping /home separate, so that you keep
> that partition intact even if you switch distros or something)...
>
> * In a multi-user or networked system, it can be important to
> put stuff like /var as a separate filesystem so that damage from
> running out of space due to logs (caused by abusing the local
> daemons) won't interfere with the rest of the system.
>
> --
> | [EMAIL PROTECTED] | the silly student |
> |--------------------------| he writes really bad haiku |
> | #include <stddiscl.h> | readers all go mad |
>
>
>
------------------------------
From: "Timothy" <[EMAIL PROTECTED]>
Subject: Getting mail from Hotmail....
Date: Sun, 12 Sep 1999 12:41:56 +1000
Hi
When I was using windows, I had set up outlook express to get mail from my
Hotmail account so that I could read my mail offline. I was wondering if
there was a similar way of getting mail in Linux for a web-based mail
account. If not Hotmail, are there any other web-based mail accounts that
allow this? Thanks......
Tim
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help!!! Canon BJC-6000 will not work!
Date: Sun, 12 Sep 1999 03:02:34 GMT
Hi Shane,
Well, at my office we just bought one of such
machines and I am quite convinced it is a non
WinPrinter because:
a) There is a driver for WinNT for it.
b) Supposedly you can use it under MacOS
c) Most important, I used it with GhostView for
Win98 (a test) using the CDJ-800 device and worked
more or less ok... it printed the first page of a
multiple page document, or printed one page at a
time manually. The printing quality was
satisfactory to me. And, on a last note, it seemed
as if GSview bypasses the Win98 driver when
printing. That's a good symptom I believe.
What's next (this monday) is to try to use it
under Linux Slackware and see what happens. I
suspect it'll have a similar behavior but I am not
sure yet.
Anyways, I'll keep you posted about this. Let's
know what happens with you and your printer, I
think there's a good solution somehow.
Regards,
Miguel
In article <7rb3tq$c4f$[EMAIL PROTECTED]>,
Shane Blaufuss <[EMAIL PROTECTED]>
wrote:
> I hope someone can help me, or at least comfort
me by letting me know
> that they've experienced (and resolved) this
issue, too:
>
> In July I bought a Canon BJC-6000 because the
price was right and I was
> impressed with the print quality...And it works
wonderfully in
> Windows98 (it's connected to LPT1). The problem
is, when I installed
> the printer in Redhat 5.2, it didn't detect a
printer on lp0, like all
> my documentation said it should...but it did say
it thought I had a
> printer on lp1, so I tried that first. It
didn't work, and by "not
> work" i mean that the printer doesn't even TRY
to respond to print
> commands...So I reinstalled it, using lp0, which
did the same
> thing...Out of desperation, I tried lp2 and
received the same results.
>
> I read the Printing HOW-TO, and did some web
searching, and I do know
> that winprinters will not work without some
addtional software, and
> that various models work at various degrees
under Linux...Adding to the
> problem is that no where in my documentation or
on the web does Canon
> admit that their BJC-6000 is a winprinter, so
I'm assuming, with great
> optimism, that it isn't and i'm just doing
something wrong in Linux. I
> would appreciate any help on this matter, as I
would hate to have this
> beautiful printer and not be able to use it with
Star Office!!!
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Oliver Batchelor <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Creating a ppp dial in server to my network
Date: Sun, 12 Sep 1999 15:38:38 +1200
I would like to be able to create a dial in server to my network via the
modem on my linux machine. I would like windows machines to dial in and
allow them to access the ip numbers on my network(192.168.0.x) and to
assign them an ip address like that.
I have it up and working with the network and can dial in my isp (setup
with pppsetup)
I use slackware 3.6 (kernal 2.0.35)
Does anyone know how to do this or could give where to find detailed
information on how to do this ?
thanks,
Oliver Batchelor
------------------------------
From: Vernon <[EMAIL PROTECTED]>
Subject: Re: Please help. Installing software and connecting to the net.
Date: Sun, 12 Sep 1999 03:31:17 GMT
Syniq wrote:
> Brad:
>
> First, drop to xterm and try "kppp"...if that doesn't work, then you may
> not have installed KDE. To be sure, logout, then check the "Select" or
> "Options" button on the log-in screen...under "Session", you should be
able
> to select KDE, if not, we're looking at some reinstallation.
>
> To do this, you can either boot to Windoze (if you still have it
installed)
> and run the AUTOBOOT file, or mount the CD in RH and install the packages
> from there. For me, it's easier to run AUTOBOOT, but that's just me.
>
> Finally, I'm sure there's some other way to do it, but I don't have the
> slightest clue what it might be.
>
> Hope this helps...
>
> Syniq
> [EMAIL PROTECTED]
>
> Brad wrote:
> >
> > I have just installed Redhat 6.0. The documentation I am using says
that
> > to connect to the net I should use... "The KDE PPP cnnection tool,
found
> > in the KDE menu under 'Internet' .....".
> >
> > I have looked in the menu structure and it's not there. So my guess is
> > that if the thing is not there, then I didn't select it during the
> > initial install of Linux. And if that is the case then here is my
> > question. How do I install things like this? Things that I didn't
> > install when I first installed Linux. Can I re-run the setup? What do I
> > do?
> >
> > Brad
> >
> >
> >
>
>
> ------------------ Posted via CNET Linux Help ------------------
> http://www.searchlinux.com
If you put your CD back in, reboot from it, and choose "upgrade", you'll
get a chance to pick the modules you want installed. I had room, so I
installed everything. worked for me. (I'm a newbie, too)
================== Posted via CNET Linux Help ==================
http://www.searchlinux.com
------------------------------
From: "G. Georgiev" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Bogus ppp device after kernel upgrade?
Date: Sat, 11 Sep 1999 23:43:33 -0400
Hi,
I did move to kernel 2.2.11 from 2.0.30 and the ppp connection I
have on this PC to another one of my computers stooped working in quite an
unusual state.
When I dial from one comp. to another the serial link is
established OK, the ppp device appears in /proc/net/dev, but ifconfig does
not show it and it can not be accessed or included in the routing table.
pppd leaves a message 'ioctl(SIOCADDRT) device route: Network is down' in
the syslog and that's all. The result is the same on both machines I want
to connect. One is still with kernel 2.0.30, other is with 2.2.11, the
pppd is version 2.2.0, I do use slackware on both of them.
So, if the kernel opens the device why ifconfig does not recognize
it and why it may not function?
Thanks, George.
/var/log/messages:
Sep 12 01:47:17 gate pppd[651]: pppd 2.2.0 started by solex, uid 517
Sep 12 01:47:17 gate pppd[651]: Using interface ppp0
Sep 12 01:47:17 gate pppd[651]: Connect: ppp0 <--> /dev/ttyS3
Sep 12 01:47:21 gate pppd[651]: local IP address 10.0.0.1
Sep 12 01:47:21 gate pppd[651]: remote IP address 10.1.1.31
Sep 12 01:47:21 gate pppd[651]: IPCP terminated at peer's request
/proc/net/dev:
Inter-| Receive | Transmit
face |packets errs drop fifo frame|packets errs drop fifo colls carrier
lo: 102 0 0 0 0 102 0 0 0 0 0
ppp0: 11 0 0 0 0 12 0 0 0 0 0
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.networking
Subject: Re: Bogus ppp device after kernel upgrade?
Date: 11 Sep 1999 23:02:04 -0500
G. Georgiev ([EMAIL PROTECTED]) wrote:
> I did move to kernel 2.2.11 from 2.0.30 and the ppp connection I
> have on this PC to another one of my computers stooped working in quite an
> unusual state.
Read the Documentation/Changes file in the new kernel source tree. You
need to do this when you change kernels, particularly to a kernel in a
new series.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* 97.3% of all statistics are made up. */
------------------------------
** 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
******************************