Linux-Setup Digest #972, Volume #20               Mon, 2 Apr 01 21:13:11 EDT

Contents:
  Re: graceful shutdown of connect-accounting (Michael Heiming)
  Re: ADSL - Connect to BTopenworld BUSINESS service ethernet router. ("urban junkie")
  Re: 2.4.3 kernel and khttpd ("urban junkie")
  Help: rh7 + WinMe problem (UVA Math Department)
  Re: backspace key in exceed? ("Trebor")
  Trying to setup connection from Linux PC to Router.... (Christopher Adams)
  Problem : ftpd - debian - apache, ftp transfer flag read for all not set ("Steve 
Mettraux")
  Re: rh7 ethernet card setup help ("Bill Wheaton")
  Re: Startx fails (chris)
  Re: Novice admin trying to secure a server (chris)
  Listening to multiple IP addresses from one ethernet card (Fil Sapienza)
  uninstall x-windows (maher)
  Re: Howto connect Win2k to Samba ? (Dean Thompson)
  Re: Re:this is  Bellsouth policy.     ("Moose")
  Re: Help: rh7 + WinMe problem (E J)
  Which RedHat to use: 6.2 or 7.0 ? (Clark L. Coleman)

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

Date: Mon, 02 Apr 2001 23:19:25 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: graceful shutdown of connect-accounting

Farid Hamjavar wrote:
> 
> Greetings,
> 
> rh 7 , kernel 2.2.17-14
> 
> I have a question in regards to system accounting and
> I am not referring to "process accounting." My question is
> about "connect accounting" i.e.  /var/log/wtmp  and
> /var/run/utmp
> 
> I am wondering if there is an "appropriate" [as there is in other
> Unix flavors] to "gracefully" shutdown connect-accounting?
> 
> When a script ,for example, is trying to rotate wtmp
> nightly, one can of course rotate and then empty
> the wtmp (i.e. cp /dev/null to it).  But that is somewhat
> not professional and forceful i.e.
> potential for corrupted records inside wtmp.

You should not try to edit nor clear wtmp/utmp.
> 
> Any ideas or just coping /dev/null after rotation is good enough?
> 
> Second question:
> In addition to GNU's acct 6.3.2 utilities if you know of
> any other set of tools geared toward
> process-accounting and/or  connect-accounting
> please let me know.

Check this one, I haven't used it myself, but someone reported
it would work quite well.

http://www.go.dlr.de/fresh/linux/src/.warix/clnwtmp-1.5.tar.gz.html

Michael Heiming

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

From: "urban junkie" <[EMAIL PROTECTED]>
Subject: Re: ADSL - Connect to BTopenworld BUSINESS service ethernet router.
Date: Mon, 2 Apr 2001 23:19:49 +0100


"colin griffiths" <[EMAIL PROTECTED]> wrote in
message news:2p6y6.15833$[EMAIL PROTECTED]...
> Thanks for your reply, sorry to confuse the issue but what I was after is
> something along these lines.  When you set up the router with a windows
> machine tcp settings are roughly - dynamic ip, no wins, no dns server, and
> no gateway.  You then check that you can ping the outside world.  Continue
> by running a browser and connect to 192.168.254.254 which is the router
> gateway.  The user is then prompted  to enter a username and password.
> After connection you can browse the web.
>
> If I leave the router turned on and connect it to eth1, in my Linux server
> which is setup to use dhcp and reboot, the server can ping the outside
> world, eth0 is setup to access my internal lan.  However I would assume
that
> if the router is powered off then I would need to re-logon after powering
> up.  I could perhaps use netscape from x-windows or is there a text based
> browser included with Rehat 7.0?
>
> What I am asking is has anyone documented the correct procedure to
configure
> a Linux machine and the BT router.  Starting from the basic steps of
> configuring the nic's , DNS cacheing etc.  Hence the post to a Linux
> newsgroup, it's the Linux setup I'm after.
>
> I have discovered the above by trial and error I would prefer to follow
more
> precise steps.
>
> Again thanks for your patience.
>


Hi Colin,

I've got an ethernet ADSL setup (I'm running through easynet, but it's all
pretty much the same kit).

You shouldn't need to login to the router after the initial setup is done -
it has your login info stored and uses it to connect into the BT cloud -
I've just off and on'ed my router, and that seems right.

Now, you've established that your router is acting as a DHCP server (ie
issuing IP addresses) because when you used a Windows PC, you set it up for
dynamic IP (ie getting its info from the DHCP server - the router).

So, for Linux, the easiest way would seem to be to run linuxconf, and set
eth1 to be enabled and use DHCP - all the necessary settings for DNS etc
should then come from the DHCP server. So, do this, and this should get it
all working.

You can then verify the settings you've been given by running "pump -s",
which gives a listing of all settings that have been assigned.

PS - lynx is the default text web browser, and I think it's installed as
standard - otherwise easy to install off the RH cd's.


Again, HTH, and if you have questions, or if I've misunderstood, post here !






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

From: "urban junkie" <[EMAIL PROTECTED]>
Subject: Re: 2.4.3 kernel and khttpd
Date: Mon, 2 Apr 2001 23:24:17 +0100


"Craig Kelley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> "urban junkie" <[EMAIL PROTECTED]> writes:
>
> > Hi all,
> >
> > Hope you can help, as I'm tearing my hair out on this !
> >
> > I'm trying to get khttpd working in the 2.4.3 kernel - I can't find the
> > option using "make menuconfig" in the Networking Options section, it
just
> > isn't there ! Using "make xconfig", I can see the option, but it's
> > unselectable. Searched using google and deja, but no luck.
> >
> > Any clues gratefully accepted !
>
> Prompt for experimental features?  Yes
>
Thanks - saved me many hours of fumbling around !



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

From: UVA Math Department <[EMAIL PROTECTED]>
Subject: Help: rh7 + WinMe problem
Date: Mon, 02 Apr 2001 18:13:01 -0400

Are there any known problems for coexistence of linux and Windows Me? I
tried to install rh7 (it works just fine), but no matter what I did,
windows crushes all the time while loading.

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

From: "Trebor" <[EMAIL PROTECTED]>
Subject: Re: backspace key in exceed?
Date: Mon, 02 Apr 2001 22:31:49 GMT

Donald,

Changing the 'shifted' mapping to be identical to the 'non-shifted' mapping
resolved the issue!

THANKS!
-Bob
 Andover, MA

"Donald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Trebor <[EMAIL PROTECTED]> wrote:
> : I'm experiencing a known problem with exceed 6.2 on W2K an redhat 7.0 in
> : which the backspace key won't work in xterm. Unfortunately, the remedies
I
> : have tried all fail, including the one on hummingbird's own support
site.
>
> : Are there any other workarounds - other than taking a hammer to my PC?
>
> : Here's what I've tried:
>
> : => (from hummingbird support site) In Xconfig>Input, clear the "Shifted"
> : mapping for the backspace key. This will restore the functionality to
the
> : backspace key.
>
> : RESULT: Now I get an "h" instead of a "~" when I press backspace.
>
> : => xmodmap -e "keysym BackSpace = 0x0008"
>
> : RESULT:
> : xmodmap:  commandline:0:  bad keysym target keysym 'BackSpace', no
> : corresponding keycodes
> : xmodmap:  1 error encountered, aborting.
>
> : thanks,
> : -Bob
> :  Andover, MA
>
> I don't know if you have tried this or not but this is what I did.
> In the hummingbird Xconfig>Input instead of just clearing the "shifted"
> mapping for the backspace key map it to the same thing as the non
> "shifted" mapping.  I think this is what I did and it works for me.
>
> BTW another thing you can do if you use gnome is use the gnome-terminal
> instead.  Before I corrected this problem my xterms were broken but
> the gnome-terminal still worked.
>
> Good luck
> -Donald



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

From: [EMAIL PROTECTED] (Christopher Adams)
Subject: Trying to setup connection from Linux PC to Router....
Date: Mon, 02 Apr 2001 23:28:46 GMT

Hello All -

I am a Linux newbie, and looking to learn more about the operating
system, having come from the "wonderful" (aargh) world of Windows - so
please bear with me....

I have a system with removable hard drives (slide out frames) for
which I have both Windows 98 and Linux configurations up and running.
However, while I can get the Windows 98 configuration to connect to
the internet (through my router), I am not able to get my Linux
configuration to connect using (what I think) are equivalent
internet/network card setup parameters.

I can (and have) set up my Windows 98 configuration two ways: First,
using DHCP to let the router assign the computer an internet address,
etc., and Secondly, har coding the internet address, DNS address, etc.
- and both configurations seem to work fine.   However, when I try to
do this in Linux, I am not even able to talk to the router's status
page (at 192.168.123.254 - a local address which my router will
respond to).  

My ethernet card is working ok in Windows 98, but it may not be
working in Linux.  

The key hardware on my system:

P-233, with 64 mb ram.
8+ gig Maxtor HD.
3Com Etherlink 3c905 (?) class ethernet card.

I have set up the system with both Caldera and SuSE distributions, but
with no avail.   What could I be doing wrong, and how can I check the
scenarios and fix them?  (How do I set up my Linux environment to do
what I want it to do?)

Thanks....

Chris


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

From: "Steve Mettraux" <[EMAIL PROTECTED]>
Subject: Problem : ftpd - debian - apache, ftp transfer flag read for all not set
Date: Tue, 3 Apr 2001 01:26:35 +0200

when a user send file via ftp, the permission for read to all is not set and
the weg pages are not available (forbidden access)...

(if I log with the user on the console, touch a file, there is not problem,
read flag for all is ok ; umask 022)

Thanks

steve



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

From: "Bill Wheaton" <[EMAIL PROTECTED]>
Subject: Re: rh7 ethernet card setup help
Date: Mon, 2 Apr 2001 19:28:07 -0400
Reply-To: "Bill Wheaton" <[EMAIL PROTECTED]>

I'm not going to pretend to know what I'm doing, but I got mine to work.
and never to be daunted by the blind leading the blind.......

I use Earthlink DSL.

Earthlink gave me a dsl modem which is a router with one port (they only
support one connection so why bother with more... ack).

The modem default ip address was/is 192.168.1.1, and so was the four port
linksys router I bought.

The Linksys is configured by pointer the brower to 192.168.1.1 after
connecting the cables.  It is a dhcp server, and assigned my eth0 the ip
address 192.168.1.100.  I went in and changed the routers ip to 172.16.1.1
and then did "ifdown eth0", "ifup eth0".  it then got the address
172.16.1.100.
Pointing the browser then to 172.16.1.1 I again got the admin screen for the
router on the new address.
It allows me to tell it that Earthlink will supply the ip address for the
wan side, and that I can enable PPPoE (which is disabled by default).  So I
check the radio button for that, and put in my earthlink account name and
password, and I check the "keepalive" button and save the configuration.
(all of this is still in a browser mind you).

Great.  Now I plug my modem into the browswer's WAN port and go to the
"Status" page on my router config and hit connect.  It does so, and even
assigns the two name server ip addresses to me.

works good.  no DHCP server or PPPoE to run on my linux system (thats
handled by the router).

I downloaded PMFirewall and installed it.  for the internal and external
interface I chose eth0.  works like a charm now.

earthlink          192.168.1.1
===============       ============         =================
| phoneline|-----|modem |-------|  router       |  172.16.1.1
===============       ============         =================
                                                    |    |     |     |
                                                    |    |     |     |
                                                   /                \
                                 -------------/
\--------------------------
                                | RH7 box|                    | wife's tosh
WinME|
                                --------------                    ----------
================
                         172.16.1.100                       172.16.1.101

I found out that this way, I don't have to depend on having redhat running
on my dual boot system
It works under windows too, without using their stupid PPPoE program (its in
the router)

it loves me long time.
hope this helps

btw, the modem is configurable too, via telnet.  Interesting, but I ran into
trouble when I turned on its own dhcp process, so I reset it and left it
alone (after days of trying to figure out its new ip address was so I could
telnet back in).

I have lots of grey hair now.


"Jeremy Paiz" <[EMAIL PROTECTED]> wrote in message
news:9a9u6c$jvm$[EMAIL PROTECTED]...
> i recently got my first linux system up and running.  also, i just got
adsl.
> unfortunately, my isp does not offer support for linux users.  i need to
> configure my ethernet card, and i have no idea where to begin.  i'm so
used
> to "plug & play", or should i say "plug & pray", and the linux how-to on
> networking confused me.  can someone give me some assistance.  i have a
3com
> 10/100 pci nic, model #3c450, and i connect using pppoe.  my ip address is
> not static.
>
> --
>
> ________________________________________________________________________
>
>   JEREMY M PAIZ
>    Software Engineer
>    Research & Development Division
>
>    Welding Technology Corporation
>    24775 Crestview Court
>    Farmington Hills MI  48335-1507
>
>     Email:  [EMAIL PROTECTED]
>       Web:  http://www.weldtechcorp.com
>     Phone: (248) 477-3900 x3362
>       Fax: (248) 477-8897
>    Mobile: (248) 568-1592
>
>
>
>



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

From: [EMAIL PROTECTED] (chris)
Subject: Re: Startx fails
Reply-To: [EMAIL PROTECTED]
Date: Mon, 02 Apr 2001 23:46:59 GMT

On Fri, 30 Mar 2001 20:53:47 GMT, Bob <[EMAIL PROTECTED]> wrote:

When you install/upgrage an RPM do:

        #rpm -Uvh foo.rpm

the 'v' is for verbose so RPM will print a list of packages it needs.
The 'h' prints hash marks '#' that show install progress.


>An unrelated question.  How can I tell what other RPMs are needed, when
>I load a particular package. I am trying to do this from a command line?
>
>Please help
>


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

From: [EMAIL PROTECTED] (chris)
Crossposted-To: comp.os.linux.admin
Subject: Re: Novice admin trying to secure a server
Reply-To: [EMAIL PROTECTED]
Date: Mon, 02 Apr 2001 23:57:16 GMT

You could also pick up a copy of "Linux Administration - A Beginner's
Guide" (ISBN 0-07-213136-5) it is quite helpful and should get you
going.  

On Sat, 31 Mar 2001 18:43:08 -0500, "David White" <[EMAIL PROTECTED]>
wrote:

>Hi, all.  Our church has its own RH 6.2 Linux box which serves as a mail
>server, web server, and internet gateway for a handful of Windows 95
>machines.
>
>This being a church and all, we don't have a paid sysadmin, so that job has
>fallen to me.  I have several years of general Unix and Linux experience
>(from a user standpoint), but not a whole lot of practice being an admin.
>
>Some of it I'll pick up as we go along, but at the outset, I want to at
>LEAST make sure I have a secure box that can withstand whatever attacks may
>come, while I try to get up to speed on all the rest.
>
>So I guess the questions are:
>
>1) What are the absolute *critical* things that an admin (particually an
>admin of a RH Linux 6.2) box should know about?  For instance, what kind of
>things should I be monitoring on a day-to-day basis?  What's the usual
>process for keeping up with newly discovered software flaws or backdoors,
>and keeping a system up-to-date?
>
>2) What's the easiest way for someone with a limited amount of time to get
>up to speed on sysadmin'ing?  Again, I know that it's a big job, so for now
>I'm wanting to get the most critical tools in my toolchest first, and worry
>about optimizing, running backups, etc. after that.  Are there any good
>books/websites that can take me from "newbie admin" to at least "moderately
>skilled admin" ?
>
>3) Is it possible to go straight from one version of RH (6.2) to another
>(7.0) without simply erasing the hard drive and reinstalling a fresh copy of
>7.0 ?
>
>Thanks to all who can help me get started.
>
>
>


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

From: Fil Sapienza <[EMAIL PROTECTED]>
Subject: Listening to multiple IP addresses from one ethernet card
Date: Mon, 02 Apr 2001 17:05:41 -0600

Greetings. I would like to set up a virtual host on my Linux box. Is it
true that
I can tell one ethernet card to listen to more than one IP address?
How do I set up Linux to recognize multiple IP addresses on one card?

Thank you.

Filipp Sapienza
[EMAIL PROTECTED]


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

From: maher <[EMAIL PROTECTED]>
Subject: uninstall x-windows
Date: Tue, 03 Apr 2001 08:36:27 +0500

Hi there,

I would to uninstall my x-windows.What is the packages name for
x-windows.Currently I'm running Redhat Linux.

thank you very much,

maher

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

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: 
alt.windows-w2k,comp.os.linux.networking,comp.os.ms-windows.networking,comp.os.ms-windows.nt.admin.networking,microsoft.public.windowsnt,nl.comp.os.ms-windows
Subject: Re: Howto connect Win2k to Samba ?
Date: Tue, 03 Apr 2001 10:42:29 +1000


Hi!,

Craig Kelley wrote:
> 
> "tu|sa" <tu|[EMAIL PROTECTED]> writes:
> 
>> Hi ...
>>
>>I've got samba running on SuSE 7.0 Pro as a fileserver/domain-controller.
>>Windows-clients (in this case 9x and ME) in my network use this
>>domain-controller to log on to the network domain; I've set the 'Client for
>>Microsoft Networks' to log on to a Windows NT domain. This works
>>like a charm.
>>
>>I want the Win2k-Pro machines to log on to my samba domain-controller
>>too, but I can't get it to work ... I don't now which properties to adjust
>>of the Win2k network-settings. When I try to make a Win2k machine a
>>member of my domain, the following error occurs:
>>
>>"... while attempting to join the domain "GODS":
>>The credentials supplied conflict with an existing set of credentials"
>>
>>The general idea is that user information (such as a user's favorites
>>folder,
>>My Documents and so on) is stored and administrated on the Samba
>>domain-controller and when a user logs on to any particular machine in
>>the network, their specific/personal info and files are
>>retreiveved/accessible
>>through the Samba-server.
>>
>> Any help is very much appreciated.
> 
> Windows networking won't allow you to login to the same server as
> different users.
> 
> Stupid?  Yes.

The correction to the above statement is that Win95/98 will not allow you to
connect to the system as a different user.  Windows NT/2000/XP all provide the
ability to connect to remote systems as different users from the one that is
logged in (just that you can't have two connections to the same server with
different identitys).

See ya

Dean Thompson

--
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

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

From: "Moose" <[EMAIL PROTECTED]>
Crossposted-To: 
ahn.tech.linux,alt.os.linux.mandrake,bellsouth.net.support.adsl,bellsouth.net.support.linux
Subject: Re: Re:this is  Bellsouth policy.    
Date: Mon, 2 Apr 2001 20:45:40 -0400

In the recent past, it was noted that customer's whose computer won't support the 
internal PCI or external USB modem would get the
free Ethernet modem.

What kind of computer would that be? A Mac!

So, tell them you have a Mac.

--


gosh <[EMAIL PROTECTED]> wrote in message news:R85y6.698$[EMAIL PROTECTED]...
unfortunately I do believe you will have to get  an ethernet modem
no choice here, the modem that BS supports and provides is the
Alcatel Speed Touch  Home   The unfortunate part is that BS only
gives these modems out on Pro-installs.  THEY DO NOT SHIP
ETHERNET MODEMS period no exceptions....  It can also be a frustrating
experience just getting bell south to ship a different modem...   The reason
that
you will have to go with the ethernet modem is that the only software
bellsouth has for
linux is NTS Ethernet 300 a third party dialer... so you can authenticate
one way with
ethernet 300 download it from ftp.bellsouth.net.. call the help desk
at 888-321-2375 or it might be 877 I forget option 2 to get the password to
DOWNLOAD the SOFTWARE...
 or you might say for the SOFTWARE DOWNLOAD.  Since a pro install costs $150
if it were me
I would buy a modem off the internet for cheaper if i could find it. Bell
south does not want you to do that of course and they will not support a
modem bought elsewere but then that's not a big deal since we don't support
linux anyway
Be careful of one thing if you do buy a modem on your own since modems that
are like the Alcatel 1000 and
the alcatel speed touch home (the 2 modems supported by BS)  are hard coded
no drivers to load you must be
carefull that  the vpi vci for bellsouth is set to 8:35  many isp's use 0:35
and there for many modems are set
to this.... of you have any other questions about using bellsouth dsl post
them i'll  answer them a better place to post for dsl specific q's is the
tech support news group fr bell south that you can get to on your bell south
news server...
side note:
no difference exsists AT ALL  between pppoe and pppoa on the host side....
the only difference is in the manner inwhich
a node authenticates-- ppoe=thernet300 .... pppoa=Dial up Networking or RAS
dialer or I forget what the mac dialer is
called..... any linux customer is going to be pppoe it does not matter what
it sys you are in the bell south data base


gosh




News Mail <[EMAIL PROTECTED]> wrote in message
news:6uDw6.2219$[EMAIL PROTECTED]...
> Help!!!
>
> We just got this ADSL and set up Linux Mandrake 7.2 but we can't get it
> connected. I did the "adsl-setup". Then "adsl-start" and get a "time-out"
> message. We are not sure but we may have an IRQ problem. What command can
we
> use to see the list of IRQs?
>
>
> meesh32
>
>





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

From: E J <[EMAIL PROTECTED]>
Subject: Re: Help: rh7 + WinMe problem
Date: Tue, 03 Apr 2001 00:39:02 GMT

I had a problem once when moving and resize windows 98 partition using
Partition Magic.
It does say to back your data!!!
I don't know if this applies to windows 98
Get out your Windows start up disk
Remove lilo temporarily.
fdisk /mbr
If windows still has problems, transfer the operation system from floppy
to the hard disk.
sys c:
If windows is doing ok, boot up with the linux boot disk created during
installation of linux.
issue the command
/sbin/lilo # to put lilo back to its original format.


UVA Math Department wrote:

> Are there any known problems for coexistence of linux and Windows Me? I
> tried to install rh7 (it works just fine), but no matter what I did,
> windows crushes all the time while loading.


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

From: [EMAIL PROTECTED] (Clark L. Coleman)
Subject: Which RedHat to use: 6.2 or 7.0 ?
Date: 3 Apr 2001 00:59:39 GMT


A while back, everyone was advising me to stick with Red Hat Linux 6.2
and kernel 2.2.x. There was a lot of bashing of RH 7.0.

I am currently in need of upgrading my kernel from 2.2.14. I can just
upgrade to 2.2.17 and the problem I am seeing will disappear (don't
ask, it is not really relevant to my question.) However, I am curious
about the current consensus on the 2.4.2 kernel and Red Hat 7.0 with
the latest fixes and RPMs. Is it time to get more current than RH 6.2
with 2.2.17 kernel?

Thanks for any advice.

Clark Coleman

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


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

Reply via email to