Linux-Setup Digest #609, Volume #20 Sun, 11 Feb 01 17:13:10 EST
Contents:
wanna buy a new $200 linux computer? (NetVAR)
wuFTP, why so long to connect? (BD)
Re: Distribution Decision (Jerry McBride)
Re: Linux as a gateway (Jerry McBride)
Re: network card setup question (Jerry McBride)
Re: Setting up user account on TurboLinux (Jerry McBride)
Re: I want to KILL caps lock, not swap it... (Michael W. Godfrey)
Re: setup redhat with cox cable (Kevin McCormick)
Re: Help with LILO (Tom Pfeifer)
Re: RH7.0 + Win2K dual boot problem! ("Jim Van Dooren")
rc.d question ("tin")
Re: simple aggrivation (Norman Levin)
Re: Mounting a zip drive throw a network ("FilipeMaia")
Linus, Apache, PHP, MySQL on LAN (Linus)
Re: Uploading to a TFTP server ("Sean Walberg")
----------------------------------------------------------------------------
From: NetVAR <[EMAIL PROTECTED]>
Subject: wanna buy a new $200 linux computer?
Date: Sun, 11 Feb 2001 19:55:14 GMT
Reply-To: [EMAIL PROTECTED]
email me and I'll tell you how to buy one.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: BD <[EMAIL PROTECTED]>
Subject: wuFTP, why so long to connect?
Reply-To: BD <[EMAIL PROTECTED]>
Date: Sun, 11 Feb 2001 20:51:01 GMT
We're using WU under RH7 and it takes about 30 secs or more once=20
connected, to bring up the UN/PW prompt. Any idea why?
TIA
------------------------------
From: [EMAIL PROTECTED] (Jerry McBride)
Subject: Re: Distribution Decision
Date: Sun, 11 Feb 2001 21:00:39 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (HockeyChief1) wrote:
>I was thinking about getting either Debian, Slackware, or Stormix. ( Maybe
>some others?) I already have redhat. Could you please tell me what you think
>about distributions and why they are better than other ones?
>Thanks.
I surveyed all the various distros and eventually settled on
Caldera Open Linux. In my humble opinion, it had the best mix of add-ons, best
possible commercial retail price and... well... it's nice and installed with
out so much as a hiccup on about 100 different laptops I have control over...
;')
That being said... Linux is such a sweet OS and easily and cheaply evaluated by
buying "lite" versions of the various distributions. Visit a place like
CHEAPBYTES and you can buy copies of "lite" versions of the various
distributions for something like buck each!
If you buy a lot of lan hardware... you sometimes get copies of linux server
distros for FREE. Even better yet, if you live in the USA, I'll send you a copy
of Caldera Open Linux eDesktop 2.40 for... the cost of material and shipping.
Just ask.
--
*******************************************************************************
* Registered Linux User Number 185956 *
*******************************************************************************
------------------------------
From: [EMAIL PROTECTED] (Jerry McBride)
Subject: Re: Linux as a gateway
Date: Sun, 11 Feb 2001 21:00:40 GMT
In article <95nfkn$c2c$[EMAIL PROTECTED]>,
"George" <[EMAIL PROTECTED]> wrote:
>Please help me with specific directions to set my linux box running Redhat 7
>( configured as eth0, lo, & ppp0 ) to act as the gateway for may windoz98
>network (1 box as my main networking computer, 1 box as my weather server &
>1 laptop ) to access the internet without using a proxy server setup. I'll
>worry about firewalling after I get the gateway up and working well.
>
>I know my ppp0 is working. I know that my windoz boxes see my gateway box
>via telnet and ping'ng.
>
Ok... here ya' go... Assuming you really HAVE IT ALL SETUP RIGHT...
The windows box should have the masq server set as the DEFAULT gatewate. All
your netmask's (on the clients and server) should be the same. Don't forget to
set the host and subnet address...
ON a liunx client, setting the default gateway is done via:
route add default gw 192.168.0.1. Edit this to reflect the ip address of your
masqing server. Hmmm... do not turn on ip-forwarding in the clients...
On the server machine... By simply connecting to the Inet via ppp, you will
already have the default gateway established to your isp. So, simply enable IP
forwarding and IP masqing... I use this script:
#!/bin/bash
# /etc/rc.d/rc.firewall
/sbin/depmod -a
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_always_defrag
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
echo "1" > /proc/sys/net/ipv4/ip_masq_udp_dloose
/sbin/ipchains -M -S 7200 10 160
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.3/32 -j MASQ
Once that is done... the client should be able to surf the net via netscape or
IE just by starting them...
The above script works AS-IS in a default install of Caldera Open Linux 2.40.
You may/will have to edit it for running on your distro.
If it still fails... write me via email, I'll go into greater detail for you
there.
--
*******************************************************************************
* Registered Linux User Number 185956 *
*******************************************************************************
------------------------------
From: [EMAIL PROTECTED] (Jerry McBride)
Subject: Re: network card setup question
Date: Sun, 11 Feb 2001 21:00:41 GMT
In article <[EMAIL PROTECTED]>,
Todd Ahlstrom <[EMAIL PROTECTED]> wrote:
>I have installed Red Hat 6.1 on my PII 400 system. My NIC is a realtec
>RTL8139. I have some problems getting it to work. It came with a linux
>driver, but it needs to be compiled. Being completely new to linux, I
>am having problems accomplishing this. It comes with a makefile, but I
>am unsure how to compile using the makefile. If someone could tell me
>the syntax, that would be great.
>
In the directory that the source code is located, do: less README
Normally, there's a readme file in source code packages that will DETAIL how
to compile and install the drivers or programs you desire.
This is a perfect case of: RTFM
Sorry, but I couldn't resist.
>Also, on another note, I was looking
>at a book and it talked about doing a "make xconfig" to edit the
>kernel. I tried doing this in the directory suggested, but xconfig
>doesn't appear to be there (/usr/src/linux/), or anywhere as far as I
>can tell. You can probably tell form this message I am a total newbie
>to linux, so please be patient with me if these are stupid questions. I
>am very thankful for all your help.
>
Well... you're not actually editing the kernel directy. What xconfig actually
does is allow you select the functions that you wish to have in a new kernel.
Once selected, the selection list is used by the compiler to produce a new
kernel. Becareful, dude... you're getting dangerous. :')
I highly suggest you visit a website dedicated to Caldera Open Linux and have
a look see at the step-by-steps listed there. Yeah, you don't run COL, but
it'll give you some great background material to build from... the url is:
http://linux/nf. Look for "recompiles".
--
*******************************************************************************
* Registered Linux User Number 185956 *
*******************************************************************************
------------------------------
From: [EMAIL PROTECTED] (Jerry McBride)
Subject: Re: Setting up user account on TurboLinux
Date: Sun, 11 Feb 2001 21:00:42 GMT
In article <961d6u$[EMAIL PROTECTED]>,
"News Reader" <[EMAIL PROTECTED]> wrote:
>I did sign on as root to run turbousercfg. The user was created. It just
>won't let me sign on as THAT user (or any other user besides root). I wonder
>if there's other privileges thing I need to setup before that account is
>active.
>
As you just found out, turbolinux isn't the best distro on the market... but it
was priced accordingly...
For what it's worth... as a totally freebie... it's well worth bumps and
crannies that you encounter when setting it up.
--
*******************************************************************************
* Registered Linux User Number 185956 *
*******************************************************************************
------------------------------
From: [EMAIL PROTECTED] (Michael W. Godfrey)
Subject: Re: I want to KILL caps lock, not swap it...
Date: 11 Feb 2001 20:44:56 GMT
Here's the xmodmap answer for those who are interested:
!Kill capslock key and replace it with ctrl
remove Lock = Caps_Lock
add Control = Caps_Lock
------------------------------
From: Kevin McCormick <[EMAIL PROTECTED]>
Subject: Re: setup redhat with cox cable
Date: Sun, 11 Feb 2001 15:25:20 -0600
ale wrote:
>
> how to setup redhat 6.2 to access internet via cablemodem (cox)?
> I use 2 NIC card one goes to cablemodem the other go to hub
I use Mandrake 7.1, but I think it would be the same with RH 6.2. In my
case, I attached the cable modem to eth0, the first network card
configured, and the second card was attached to the hub and assigned an
ip number such as 192.168.0.1. I forget some of the details, but I
believe the crucial aspect is the configuration files in
/etc/sysconfig/network-scripts/ifconfig-eth*
for ifconfig-eth0, you should have:
DEVICE="eth0"
IPADDR=""
NETMASK="255.255.255.0"
ONBOOT="yes"
BOOTPROTO="dhcp"
and for ifconfig-eth1, you should have:
DEVICE="eth1"
IPADDR="192.168.1.1"
NETMASK="255.255.255.0"
ONBOOT="yes"
BOOTPROTO="none"
You will probably be able to get most of this with the netconfig or
linuxconf programs. You should have the dhcp and dhcp-client rpm's
installed, and I would suggest updating these. Also, you should search
the web for Trinity OS and PMFirewall
(http://www.pmfirewall.com/PMFirewall/), and download the firewall and
IP Masquerade stuff they offer. The cable is not a secure network,
since your cable modem is on a subnet shared with other users, so
firewalling is recommended. Read the IPCHAINS and IP Masquerade how-to,
and the Network how-to's.
I believe cox cable uses a dynamic ip address assignment scheme. If you
use a firewall and your connection fails after working, it is possibly
because they have assigned you a new ip number on eth0, requiring
re-running of your ipchains script.
------------------------------
From: Tom Pfeifer <[EMAIL PROTECTED]>
Subject: Re: Help with LILO
Date: Sun, 11 Feb 2001 21:25:18 GMT
Eric en Jolanda wrote:
>
> > >
> > >I don't know if the following problem is limited to Red Hat or if it
> > >applies to SuSe as well.
> > >
> > >Red Hat's Linux is not able to boot if the boot record is contained in
> > >a partition that includes a cylinder count higher than 1024.
> > [snip]
> >
> > It's a limitation of LILO. The latest version of lilo does not have this
> > limitation.
> >
>
> No true.
> It's a limitation of the BIOS.
> The newer versions of LILO (v21.4.3 and above) use the extensions that
> BIOS'es nowadays have to overcome this limitation.
>
> Eric
Yes exactly, meaning that the limitation was due to Lilo not being
updated to use those Int 13 extensions. BIOS have had those for the past
few years now, but Lilo had not been written to use them until recently.
Tom
------------------------------
From: "Jim Van Dooren" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Re: RH7.0 + Win2K dual boot problem!
Date: Sun, 11 Feb 2001 16:34:37 -0500
>Install bootloader in first sector not MBR
"Ript" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] (Tom Lavier) wrote in
> <Mys56.4081$[EMAIL PROTECTED]>:
>
> >Win2K and Redhat7 dual boot perfectly for me. I use LILO to boot Linux
> >or DOS (Win2K).
> >
> >"Eric en Jolanda" <[EMAIL PROTECTED]> wrote in message
> >news:d0I46.8054$[EMAIL PROTECTED]...
> >> > With my previous installation of RH6.2 + Win2K, I was able to
> >dual-boot
> >> via
> >> > Windows 2000 boot loader. However, loading RH7.0, it overwrote the
> >> > MBR
> >> and I
> >> > can no longer access the Win2K partition.
> >> >
> >> > I can't seem to find the place during the RH7.0 install where I can
> >> specify
> >> > where LILO is placed (either in the MBR or within one of the
> >> partitions)...
> >> > I know I use to be able to specify this in the previous RH versions.
> >> >
> >> > How do I get both to cooperate?
> >> >
> >>
> >> Use LILO ?
> >>
> >> put an entry in the lilo.conf, just like you would for any other
> >> windows
> >OS,
> >> and run `/sbin/lilo -v`
> >>
> >> Have fun,
> >>
> >> PS: you could ofcourse run `/sbin/lilo -u` to restore the NT loader,
> >> but that's far less fun.
> >>
> >> Eric
> >>
> >>
> All the advice is great, but I use XOSL, its free, and its the BEST boot
> manager I'v seen do far.. Check it out http://www.xosl.org
------------------------------
From: "tin" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: rc.d question
Date: Mon, 12 Feb 2001 05:34:14 +0800
hi all:
i want to make a file call abc run on in level 3 and 5
after i add #chkconfig: xx xxx xx xxx in file abc
1. copy abc to /etc/rc.d/init.d
2. chkconfig --level 3 abc on
than have a error message
service abc does not support chkconfig
i'm doing work or missing something
------------------------------
Date: Sun, 11 Feb 2001 12:50:12 -0600
From: Norman Levin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: simple aggrivation
Marc Ulrich wrote:
>
> What causes bash not to recognize executables? I can compile a program,
> double check that the executable bit(s) are set, and then try to run it
> from an xterm. But, bash quaintly returns:
>
> bash: command not found.
>
> Now, how can that be? I know it is something simple to fix, but I just
> don't know where to look.
** if you are going to pretend that writing shell scripts is 'coding', then you have
to play the game of putting the directory containing the executable in the path.
Or, if you are just testing the shell script and you are
in the directory, enter " ./bash_file_name" and it will be found.
--
Norman Levin
------------------------------
From: "FilipeMaia" <[EMAIL PROTECTED]>
Subject: Re: Mounting a zip drive throw a network
Date: Tue, 6 Feb 2001 03:05:25 -0000
Reply-To: "FilipeMaia" <FilipeMaia*@portugalmail.com>
Thanks for the help!!
It works!! The problem is that i didn't had permission to write to files,
and the umask took care of that.
Now i have a small problem. When i copy files from the Win box to the zip
some filenames are changed. I am using vfat as the zip filesystem.
But characters like � and � are altered when i copy the file back to the Win
box. All the ~ on top of letters are ignored.
Is there a way to correct this?
"Rod Smith" <[EMAIL PROTECTED]> escreveu na mensagem
news:t8Gf6.321092$[EMAIL PROTECTED]...
> [Posted and mailed]
>
> In article <95n9od$pdm$[EMAIL PROTECTED]>,
> "FilipeMaia" <[EMAIL PROTECTED]> writes:
> > Is it possible to mount a zip drive so that it can be read/written by
> > everyone?
> > Or is there an easy way to mount it throw a graphic interface in a win
box
> > connected to the linux box?
> > I have samba installed and i want to share the zip drive in r/w mode,
but i
> > can't do it.
> > Can anyone help?
>
> You can just treat it like an ordinary share, and it should work WHEN
> it's mounted. The main problem is getting it mounted. You could use an
> auto-mounter or the Samba preexec and postexec options to get the server
> to mount and un-mount the share when a client connects to it.
>
> My hunch is that you're running into problems because of file
> permissions on FAT. You can specify a user and/or permissive permissions
> in the /etc/fstab file's options for the Zip drive. For instance:
>
> /dev/sda4 /mnt/zip auto user,noauto,uid=500,umask=0 0 0
>
> This will cause the system to mount the disk with ownership assigned to
> whoever has UID 500, and with a umask of 0 (which gives all files 777
> permissions).
>
> If this ISN'T the problem, please post a more complete description of
> the symptoms. "I can't do it" is a bit on the vague side. Include
> information like what sort of share definition you're using in smb.conf,
> what your /etc/fstab entry is, whether you can access the drive as
> various users in Linux, and precisely what failure symptoms you're
> seeing in Windows.
>
> --
> Rod Smith, [EMAIL PROTECTED]
> http://www.rodsbooks.com
> Author of books on Linux & multi-OS configuration
------------------------------
From: Linus <[EMAIL PROTECTED]>
Subject: Linus, Apache, PHP, MySQL on LAN
Date: Sun, 11 Feb 2001 21:53:18 +0000
Hello
I volunteer at a community centre in London, UK
<http://fitzrovia-centre.demon.co.uk> and we have recently been given
some old computers -- mostly 486s and some old Macs -- with some quite
large hard drives. Currently we are not networked but we use databases
quite a bit but on diffrent machines. Everything is a bit ropey as we
rely on donations and have bought new computers piecemeal, and I've
recovred the rest from what people have thrown out.
I've been learning MySQL and PHP for our website and had an idea that we
could use MySQL for our community database.
I propose putting together the best out of these second-hand 486s into
one unit to run Linux, Apache and MySQL to serve three or four computers
running either Win 3.1,95,98 and possibly a Mac (for our local print
newspaper) with a couple of old laser printers on a local TCP/IP
network. We'll be shelling out for network cards, unless I find any in a
skip (or dumpster if you're stateside) and string them together with
ethernet, I think, and sticky tape!.
Apart from pulling in some more volunteers to help me, is it a good idea
to run a HTTP server or should I set up some other network? My reason
for running a HTTP server is that I currently have a bit of knowledge
about that and not much else. I was considering using the Latest
Profession Edition of SuSE Linux, which has MySQL included and lots of
lovely manuals to pore over...
Any thoughts would be useful. And if you're in the London area, pop in
and help out ;-)
--
Linus
London UK
Beige G3 266 DT Mac OS 8.6
mailto: [EMAIL PROTECTED]
http://pages.britishlibrary.net/linusrees
------------------------------
From: "Sean Walberg" <[EMAIL PROTECTED]>
Subject: Re: Uploading to a TFTP server
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Date: Sun, 11 Feb 2001 15:57:51 +0600
> I have the TFTP daemon running on a Redhat 6.2 box. It is working
> fine,
> however, is there some reason why the only way I can upload files to it
> is if the files already exist. I've set the directory permissions to
> 777, but it still does not work, however if I 'touch' the file so that
> it exists I can then upload files with that file name to the tftp
> server. Am I missing something?
It's working as designed... As there is no authentication in TFTP, you
don't want people writing files arbitrarily to your machine.
RedHat 7 adds a -c flag (or is it -s?) that overides this behaviour.
Unfortunately uploading is pretty broken in that so you have to wait for
RH to update the rpm or grab the patches from bugzilla.redhat.com
Sean
--
Sean A. Walberg <[EMAIL PROTECTED]> http://www.ertw.com
Join the weekly brainbuzz.com Linux newsletter for news and resources!
Send a blank email to: [EMAIL PROTECTED]
------------------------------
** 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.setup.
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-Setup Digest
******************************