Linux-Misc Digest #848, Volume #24 Sun, 18 Jun 00 07:13:02 EDT
Contents:
Re: Extraction Utility (Lew Pitcher)
Re: Delete File With Strange Chars (Lew Pitcher)
Linux 2.0.33
Re: Dammit... (Tom)
Re: How do you connect to an Intranet? (David Steuber)
Re: Creating a LAN router (Joeri Sebrechts)
Re: How do you connect to an Intranet? (Akira Yamanita)
Re: Fonts, Netscape and the upgrade to RH6.2 (Akira Yamanita)
Helix Gnome and C library (Patrick)
Re: Getting >2GB files under kernel 2.4.0-test1 (brian moore)
Re: Small Linux (Nicholas Murison)
Newbie: Shell Script (Alex Loew)
Re: How do you connect to an Intranet? (John)
Is this really possible? ("Thirsty McGuinness")
only 64 of 128MB RAM detected (Floris Hammer)
Re: only 64 of 128MB RAM detected (Joost de Heer)
duplex HDD lilo problem ("motti")
Re: pppd dies unexpectidely with Kernel Bug ("Daniel Wilson")
Downloading Mandrake 7.1 (Asrhaf)
Re: EMACS RPMs (Robert Schweikert)
Re: Newbie: Shell Script ("Andrew E. Schulman")
Re: screen shots (Robert Schweikert)
Re: Delete File With Strange Chars (Henjo)
----------------------------------------------------------------------------
From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Extraction Utility
Date: Sat, 17 Jun 2000 21:07:23 -0400
Fester wrote:
>
> I was wondering if there were any utilities that could be used to extract
> text from a large (600,000 line) text file, given start and end line
> numbers. Does such a thing exist?
There are many tools that will do what you need. The simplest way that
I can think of is to use 'sed' to print the selected lines. Try
sed -n -e 5,15P my.text.file
to print lines 5 through 15 of my.text.file
You can also use head and tail, or awk or perl or python or ...
It just depends on how complex you want to make this.
--
Lew Pitcher
Master Codewright and JOAT-in-training
------------------------------
From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: Delete File With Strange Chars
Date: Sat, 17 Jun 2000 21:11:28 -0400
[EMAIL PROTECTED] wrote:
>
> Henjo <[EMAIL PROTECTED]> wrote:
> > Okay, here's the problem:
> > Someone uploaded to my ftp server (linux server) a file with very strange
> > characters (the name) with strongly resemble some binary dump of a file.
> > The normal 'rm -R AAAA/' does not work. It just doesn't delete it.
>
> > I know there is a way to delete it by looking up it's inodenumber and
> > remove it .. but I don't know how exactly..
>
> You can usually delete files with funny names by using wildcards.
> The simplest way is probably:
>
> rm -i *
>
> This will ask you for a yes/no response to delete each
> file in the current directory. Just answer no to all the
> files except the one you want to delete. Of course this is
> a tad dangerous as a slip of the finger can remove something
> you didn't intend.
>
> If your file is really called AAAA/ then you can
> narrow it down a bit with something like:
>
> rm -i AAAA*
> OR
> rm -i AAAA?
This _might_ work. Remember, wildcards are expanded by the shell, so
if the filename starts with a program flag (i.e. -this-file) or
contains imbedded spaces (i.e. "My Programs"), then rm isn't going to
get the correct name
--
Lew Pitcher
Master Codewright and JOAT-in-training
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Linux 2.0.33
Date: Sun, 18 Jun 2000 06:30:07 GMT
Is linux 2.0.33 compatible with IIS 4.0
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Tom <"NOSPAM propsync"@ameritech.net>
Crossposted-To: comp.os.linux.setup,alt.os.linux
Subject: Re: Dammit...
Date: Sun, 18 Jun 2000 01:37:53 -0500
Michael Brailsford wrote:
> Will someone please respond?
>
> When installing Mandrake, I get half way through the install, and I get
> problems. I've searched high and low for an answer, but I can't find
> anything for my specific problem. Ok, here are the specifics. I downloaded
> Mandrake, and put the Mandrake directory on root on my c:\. I bought and
> installed a new 10.2 GB hardrive that I will be dedicating to Linux, that
> drive is d:\. When I create the boot disks I use hd.img, to install from
> the hardrive. When I reboot, everything works perfectly well. I have no
> problems creating the partitions on d: or anything like that(I have a "/",
> "/home", and swap partitions). Then when DrakX attempts to continue
> installing the packages, it gives me "depslist.ordered does not match
> hdlist" error. I think the problem may be that since the drive it is
> installing from is DOS the directories "RPMS", and "RPMS2" are in lowercase,
> and Linux needs them to be uppercase. I have tried to find "mv" to rename
> them, but I have had no luck. I can't just rename them in DOS since it is
> case insensitive. When I attempt to continue with the install I get other
> errors, but I am assuming that they are all a result of the first error.
> What do you think? Any help would be VERY greatly appreciated. BTW this is
> my first Linux install, so if possible I would like to stay with the
> graphical install as much as possible.
>
> Michael
Well, you probably solved your own problem, linux is case sensititve. I
haven't used microsoft in a while, why cant you rename things it caps?
------------------------------
Subject: Re: How do you connect to an Intranet?
From: David Steuber <[EMAIL PROTECTED]>
Date: Sun, 18 Jun 2000 06:59:58 GMT
[EMAIL PROTECTED] (John ) writes:
' I run SuSE Linux 6.3 and win95. I am
' able to connect to my University Intranet
' using Win95 through my isp. I was given
' instructions by my University on how to
' access their Intranet if you are using
' Win95. There was no instructions about
' if someone was using linux. My University
' uses NT as their server. Does any one
' know the procedure for setting up a connection
' to an intranet using linux.
What instructions were you given for Win95?
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
From: Joeri Sebrechts <[EMAIL PROTECTED]>
Subject: Re: Creating a LAN router
Date: Sun, 18 Jun 2000 07:35:44 GMT
If you want to make sure no unauthorized traffic moves over your network
(clients reconfiguring their machines to bypass your stuff), then you'll
need to place a PC between the hub and the network acting as a firewall
(with two network cards, one to the outside, one to the inside).
Firewalling is overly documented (for example in the howto's on
www.linuxdocs.org)
Then to get traffic from the client to the network you have two options
:
- Run a proxy on the firewall, this forwards only the traffic you want
and offers you finegrained control. But this means that for every
service you need to run a proxy, which can become tedious if you want to
allow much. You also need to configure every clientside program that
communicates to the outside world to use the proxy.
- Run a gateway on the firewall. This allows you to forward any and all
communications. It doesn't offer contentual based control (you can't
block that site, but not that site), but it does allow you to easily
open up (or close off) a lot of services. And you need to configure it
only once on the client side at an OS level, and all networking apps
will automatically connect to your gateway from then on forward.
If you want more finegrained control over http for example, but want to
still use the advantages of a gateway, then you can block http traffic
on the gateway, but also run a http proxy, thereby mixing the advantages
of the two.
more info in :
http://linuxdocs.org/Firewall-HOWTO.html
good luck,
Joeri Sebrechts
[EMAIL PROTECTED] wrote:
>
> Hi,
> I am the sysad of a Hostel with 15 computers connected in parralel
> to a 24 port hub which is in turn connected to the campus LAN.
>
> Now I want to make sure that I have some amount of control over the
> data transfer ( more specifically I want to create a proxy server
> firewall) . Now since the computers are connected in parralel , it will
> be a difficult to do this. But I was wondering if I could make one of my
> computers a router and thus accomplish this. For example , whenever a
> request for a http connection (through any web browser goes out ), I
> would be able to direct the request to a proxy server for
> authentication.
>
> Can anybody help me on this.
> Thanking you in advance
>
> Sandy
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: How do you connect to an Intranet?
Date: Sun, 18 Jun 2000 07:51:24 GMT
John wrote:
>
> I run SuSE Linux 6.3 and win95. I am
> able to connect to my University Intranet
> using Win95 through my isp. I was given
> instructions by my University on how to
> access their Intranet if you are using
> Win95. There was no instructions about
> if someone was using linux. My University
> uses NT as their server. Does any one
> know the procedure for setting up a connection
> to an intranet using linux.
>
> thanks
>
> john
It depends on what their instructions were for connecting via
Win95. How are you connecting? Just telnetting? VPN? What?
------------------------------
From: Akira Yamanita <[EMAIL PROTECTED]>
Subject: Re: Fonts, Netscape and the upgrade to RH6.2
Date: Sun, 18 Jun 2000 07:55:26 GMT
Robert Love wrote:
>
> I was running just fine with RH 6.0, including web browsing
> with Netscape. Last weekend I upgraded to RH 6.2 and everything
> is OK except fonts look funny in Netscape. Some large fonts
> are so coarse as to be unreadable. How do I recover from
> this? All advice appreciated.
Weird but.. OK. Try reading the XFree86 Font Deuglification Mini
HOWTO.
http://www.linuxdoc.org/HOWTO/mini/FDU.html
------------------------------
From: Patrick <[EMAIL PROTECTED]>
Subject: Helix Gnome and C library
Date: Sun, 18 Jun 2000 08:30:14 GMT
Hello All
I recently have tried to install helix Gnome. I have the the current GDK
installed, but when I go to install Helix I get the error GDK Locale not
supported by C library. I use Suse 6.3 and I have installed everything I
can find that relates to C and Still no go. Does anyone know where to find
the most current libraries, and which one I may be missing. I seem to run
into this problem everytime I down load a program.
Thanks in advance
Patrick
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Getting >2GB files under kernel 2.4.0-test1
Date: 18 Jun 2000 08:32:36 GMT
On Tue, 13 Jun 2000 16:49:19 -0400,
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> G'day, all.
>
> I've compiled and installed the linux-2.4.0-test1-ac14 kernel onto my
> Mandrake 7.0 system, as I was under the impression that this would give
> me the ability to create files greater than 2GB on this machine. It's
> a file server used mostly for backups.
>
> Well, the compile went exceedingly well and I chose to see if I could
> get away with not upgrading any of the recommended packages such as
> libc5... so I booted the new kernel. Viola! It works and there are
> only a couple of warnings during boot which I think I can live with
> for now.
>
> But the 2GB limitation still exists even with the new kernel. I'm
> using Samba to talk to the file server from a Win98 box which I'm
> attempting to backup, not using NFS. Is there something obvious that
> I've missed that would enable the larger file sizes? I'm at a loss as
> to what to do next; any help would be greatly appreciated.
>
> Thanks,
See http://www.scyld.com/software/lfs.html
--
Brian Moore | Of course vi is God's editor.
Sysadmin, C/Perl Hacker | If He used Emacs, He'd still be waiting
Usenet Vandal | for it to load on the seventh day.
Netscum, Bane of Elves.
------------------------------
From: Nicholas Murison <[EMAIL PROTECTED]>
Subject: Re: Small Linux
Date: Sun, 18 Jun 2000 10:57:30 +0200
Reply-To: [EMAIL PROTECTED]
dru wrote:
>
> Is there a Linux installation that will run on a 286?
The Linux kernel was written for the 386 architecture which is
drastically different from the 286 architecture in some ways, making the
kernel incompatible with the 286. So, no is the answer, unfortunately.
--
Nicholas John Murison
~~~~~~~~~~~~~~~~~~~~~
Don't mess with penguins
Registered Linux User #153895 http://counter.li.org
------------------------------
From: [EMAIL PROTECTED] (Alex Loew)
Subject: Newbie: Shell Script
Date: Sun, 18 Jun 2000 09:19:04 GMT
Hi,
I just installed Linux and have a little problem running shell
scripts:
When I try to run a script it only runs when I explicitly call the
shell which is used:
e.g. ksh <file>
although in the first line the shell to called is specified.:
#!/bin/ksh
What's going wrong? Do I have to configure something?
Alex
------------------------------
From: [EMAIL PROTECTED] (John )
Subject: Re: How do you connect to an Intranet?
Date: Sun, 18 Jun 2000 09:30:51 GMT
On Sat, 17 Jun 2000 21:58:19 GMT, [EMAIL PROTECTED]
(John ) wrote:
>I run SuSE Linux 6.3 and win95. I am
>able to connect to my University Intranet
>using Win95 through my isp. I was given
>instructions by my University on how to
>access their Intranet if you are using
>Win95. There was no instructions about
>if someone was using linux. My University
>uses NT as their server. Does any one
>know the procedure for setting up a connection
>to an intranet using linux.
>
>thanks
>
>john
The intructions I was given for Windows95.
1) Add Microsoft/Netbeui protocol
2) In control panel double-click Network, and then
chose client.
3) Add Microsoft/client for Microsoft Networks and click ok.
In its properties, check Logon to Windows NT Domain and type
domain name CIS.
4)In add/remove programs in Windows setup tab, check
communications/Virtual Private Networking and click OK.
To make the a PPTP connection to CIS network over the
Internet I have to follow these steps:
1) In Dial Up Networking make a new connection and specify
the Microsoft VPN adapter as a device you want to use.
2)Write down the server IP address of the CIS PPTP server:
146.191.165.1
3)Right click the VPN connection and choose properties
and on the Server Types Tab, check Log on to Network,
Enable Software compression and require encryted
password. Advanced options, also check Netbeui in
Allowed network protocols.
4)Dial your ISP and make your connection to the Internet.
5)When connected to your isp, dial the target CIS PPTP server to
establish the PPTP connection to CIS network.
6)When you are asked for a password and a login username,
use the one as if you were loggin in to the network at Pasiley
University. You might need them in twice (I did need them twice).
Once a message saying waiting for login script appears, cancel
it.
7)Then you can use Start Menu\Run to connect to \\cis8\your_username$
(your home directory) or \\cis4\class (Class dirs) or
\\cis8\common-students. you can also monitor the connection or
disconnect it by clicking on an icon in the right bottom corner.
------------------------------
From: "Thirsty McGuinness" <[EMAIL PROTECTED]>
Subject: Is this really possible?
Date: Sun, 18 Jun 2000 11:52:32 +0200
Hi,
I have the following configuration:
2 x 20GB HD EIDE
1 x 2 GB HD SCSI
SCSI-before-EIDE-booting capable BIOS
1.) I now want to make my SCSI-drive the boot-drive, putting LILO, /boot,
/home and swap on it.
I want to have Win98 on one EIDE-HD, the rest of Linux on the 2nd, or maybe
seperate Linux to both the first and the 2nd.
2.) I now read sth. about having to tell LILO explicitely to order of the
disks to have it work with this configuration.
But I also read that since Win98 wants to be booted from the first drive, I
have to swap the drive-numbers (0x81 to 0x80 etc.) in the specific
"others"-section in LILO for Win98.
So my questions are:
Is it possible to do both 1.) and 2.) without coming into trouble?????
Wouldn�t point 2.) lead to problems because the drive-numbers are different
from those specified in the BIOS, I mean BIOS specifies SCSI for 80h, first
EIDE for 81h etc., and then Win98 would start with settings 1st EIDE 80h,
...?????
At last I don�t want to come into troubles that force me to reinstall
everything sooner or later....
Thanks for any helpful ideas.
Bye, Frank
------------------------------
From: Floris Hammer <[EMAIL PROTECTED]>
Crossposted-To:
nl.comp.os.linux.overig,comp.os.linux,comp.os.linux.help,comp.os.linux.questions
Subject: only 64 of 128MB RAM detected
Date: Sun, 18 Jun 2000 11:53:58 +0200
Hello,
I've got 128 mb RAM, but linux detects only 64.
I heard that I can solve this by editing lilo.conf, but I don't know
which option I have to use.
I've already looked trough the docs, but I can't find anything about
it...
please help,
Floris
------------------------------
From: [EMAIL PROTECTED] (Joost de Heer)
Crossposted-To:
nl.comp.os.linux.overig,comp.os.linux,comp.os.linux.help,comp.os.linux.questions
Subject: Re: only 64 of 128MB RAM detected
Date: 18 Jun 2000 12:06:14 +0200
Floris Hammer <[EMAIL PROTECTED]> writes:
:I've got 128 mb RAM, but linux detects only 64.
:I heard that I can solve this by editing lilo.conf, but I don't know
:which option I have to use.
append="mem=128M"
Joost
--
I am your murdering Angel of Death [Infernal Chorus]
I will despise you until your last breath [ iQ ]
When I cut into you, will you not bleed?
Decidedly you will provide what I need
------------------------------
From: "motti" <[EMAIL PROTECTED]>
Subject: duplex HDD lilo problem
Date: Sun, 18 Jun 2000 13:21:56 +0200
since i've installed lilo on a 0.5 gb HDD on my computer that works with
another 6.4 GB,the two cannot be seperated from each ather.the computer
does not identify any of them in the P.O.S.T if it's each one on it's own.
i've tried fdisk /MBR,and maybe i used it wrong.Even after partitioning and
formating both HDD's they still act like siamic twins.
please help!
motti
[EMAIL PROTECTED]
------------------------------
From: "Daniel Wilson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: pppd dies unexpectidely with Kernel Bug
Date: Sun, 18 Jun 2000 02:14:15 +0100
denis <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> It has become very difficult for me to connect to Web. 4 to 8 tries are
> necessary. When it fails, I got a particular message from chat program
> about an "alarm". After that, either pppd dies or there is a Kernel
> bug. You may refer to the log behind my signature.
>
> I'm using kernel 2.3.43 with pppd 2.3.11. It was working fine for a long
> time, but for 3 to 4 days, I'm unable to log to Internet at the first
> try. Some of my ISPs are never reached.
>
> If you know anything about
> Jun 17 22:54:14 yoda chat[1097]: alarm
> such a message, please help.
>
> If you are able to debug kernel, perhaps logging in /var/log/messages
> will be useful for you.
>
> Any advice will be welcome.
>
> Thanks,
>
> Denis
<snip useful logs>
Might not be your chat failing there - might be your development kernel.
I'm running pppd 2.4.0b2 under 2.3.99-pre9 with no probs, try getting the
newest development kernel and see what happens...
********
Dan
------------------------------
From: Asrhaf <[EMAIL PROTECTED]>
Subject: Downloading Mandrake 7.1
Date: Sun, 18 Jun 2000 10:30:05 GMT
I started downloading mandrake 7.1 using absoluteftp 1.7 but some times it
give me error "failed downloading file" and continue the next .. that is
mean some files are missed
my Questions are :
what is the better way for downloading?
is there any site contains only one file to download?
note I have no Cd writer
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Robert Schweikert <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: EMACS RPMs
Date: Sun, 18 Jun 2000 06:48:47 -0400
I personally like Xemacs and the packages are
xemacs-21.1.4-2
xemacs-info-21.1.4-2
Happy Hacking.
Robert
Patrick Kong wrote:
> Hello,
>
> I have just installed a bare copy of RedHat 6.2, ie. no RPMS except
> IPCHAINS. Now, I want to install EMACS, could someone tell me which
> package I should install? I have installed the following package but no
> use:
> emacs-20.5-7.i386.rpm
>
> with the command
> rpm -ivh emacs-20.5-7.i386.rpm
>
> There are some other packages, ie:
> emacs-el-20.5-7.i386.rpm
> emacs-leim-20.5-7.i386.rpm
> emacs-nox-20.5-7.i386.rpm
> emacs-X11-20.5-7.i386.rpm
>
> Should I also install those packages? Or there are something else. I
> would like to install only the necessary packages. Thanks very much.
>
> Patrick Kong
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
[EMAIL PROTECTED] LINUX
------------------------------
From: "Andrew E. Schulman" <[EMAIL PROTECTED]>
Subject: Re: Newbie: Shell Script
Date: Sun, 18 Jun 2000 06:49:28 -0400
> Hi,
>
> I just installed Linux and have a little problem running shell
> scripts:
>
> When I try to run a script it only runs when I explicitly call the
> shell which is used:
>
> e.g. ksh <file>
>
> although in the first line the shell to called is specified.:
> #!/bin/ksh
>
> What's going wrong? Do I have to configure something?
Have you made your script executable? Try
chmod +x <file>
------------------------------
From: Robert Schweikert <[EMAIL PROTECTED]>
Subject: Re: screen shots
Date: Sun, 18 Jun 2000 06:54:59 -0400
Get the screenshooter applet
screenshooter_applet-0.9.7-1.i386.rpm
rpm -i screenshooter_applet-0.9.7-1.i386.rpm
and shoot away.
Happy Hacking,
Robert
[EMAIL PROTECTED] wrote:
> I am using RedHat 6.2 and I want to take sceern shots in gnome but I
> dont know how to do it can you help me about this...
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
[EMAIL PROTECTED] LINUX
------------------------------
From: Henjo <[EMAIL PROTECTED]>
Subject: Re: Delete File With Strange Chars
Date: 18 Jun 2000 11:02:03 GMT
Lew Pitcher <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>>
>> Henjo <[EMAIL PROTECTED]> wrote:
>> > Okay, here's the problem:
>> > Someone uploaded to my ftp server (linux server) a file with very strange
>> > characters (the name) with strongly resemble some binary dump of a file.
>> > The normal 'rm -R AAAA/' does not work. It just doesn't delete it.
>>
>> > I know there is a way to delete it by looking up it's inodenumber and
>> > remove it .. but I don't know how exactly..
>>
>> You can usually delete files with funny names by using wildcards.
>> The simplest way is probably:
>>
>> rm -i *
>>
>> This will ask you for a yes/no response to delete each
>> file in the current directory. Just answer no to all the
>> files except the one you want to delete. Of course this is
>> a tad dangerous as a slip of the finger can remove something
>> you didn't intend.
>>
>> If your file is really called AAAA/ then you can
>> narrow it down a bit with something like:
>>
>> rm -i AAAA*
>> OR
>> rm -i AAAA?
> This _might_ work. Remember, wildcards are expanded by the shell, so
> if the filename starts with a program flag (i.e. -this-file) or
> contains imbedded spaces (i.e. "My Programs"), then rm isn't going to
> get the correct name
> --
> Lew Pitcher
> Master Codewright and JOAT-in-training
It still doesn't work. The dir in question has a really long name with
about all strange chars I can think of (;\/-*)..
Doesn't anyone know what that method of getting the inode number and
deleting it with that?
Henjo
/-----------------------------------\
| http://glas.its.tudelft.nl/~henjo |
| http://www.sweetdesign.nl |
| ICQ# 18616700 |
\-----------------------------------/
------------------------------
** 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
******************************