Linux-Networking Digest #783, Volume #9           Tue, 5 Jan 99 11:13:46 EST

Contents:
  Emacs! Re: Easy UNIX editor (Ilya)
  Re: IP subnet problem : NETMASK 255.255.255.192 (Chris)
  default route question with dhcpcd (Chris)
  Re: Name lookup ("greyman")
  Need advice on what network cards to buy (Mars)
  Re: Apache Setup (Stuart Nuttall)
  Can I flush my TCP-buffers? (Bjorn)
  Re: Telnet login ("Bertie Price")
  nic card drivers needed (Your Name)
  IP Accounting (Torsten Blank)
  Is it possible to see Linux over network with Win 98? (Anton)
  changing nerwork??? ([EMAIL PROTECTED])
  Re: ADSL (Greg Weeks)
  Re: 3c905B running DHCP in Red Hat 5.1 (Mick Costa)
  Strange Networking problem (Joshua Ulery)
  Re: How to Determine if ifwadm is installed? (Giovanni Gigante)
  Re: IP forwarding (Giovanni Gigante)
  Telnet as root ("Bertie Price")
  Re: Apache 1.3.3 w/ssl user directory problems in SECURE RH5.2
  euro support in kernel 2.0 ("Colin Ling")
  Re: [ "${GATEWAY}" ] && (Kevin Martin)
  Re: Connecting Windows NT as Linux Server client ([EMAIL PROTECTED])
  server NFS not repsonding... (louvois)
  Help with automating fetchmail ("Jonas")
  Re: Samba:Can't write/create from Win95 ("Cherokee Health Systems")

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

From: Ilya <[EMAIL PROTECTED]>
Subject: Emacs! Re: Easy UNIX editor
Crossposted-To: 
comp.os.linux.misc,comp.os.linux.portable,comp.os.linux.powerpc,comp.os.linux.setup,comp.editors
Date: 4 Jan 1999 20:45:31 +0800

In comp.os.linux.misc CSO Visitor <[EMAIL PROTECTED]> wrote:


> > > N. Richard Caldwell wrote:
> > > >
> > > > In article <72clf2$[EMAIL PROTECTED]>,
> > > > >Lionel Parker wrote in message <72b2gi$om1$[EMAIL PROTECTED]>...
> > > > >>I have to go along with this. vi uses less keystrokes than any other
> > > > >>editor I know. As a ratshit typist this is most inportant to me.
> > > > >
> > > > >Well, actually there is one bug/feature in vi that drove me nuts:
> > > > >To insert *ONE* character you have to type *THREE* keys: "i", the character,
> > > > >and "ESC".
> > > >
> > > > Inserting one character is a worst case proposition for vi.  Whatever
> > > > time you lose in those rare instances is recouped 1000 times over
> > > > during normal use simply because it's so efficient in most other
> > > > respects.
> > > >

>         This is hardly a "rare instance"!  I spend a good fraction of my vi
> time doing it.  Is there a way to make a vi macro or somesuch to get
> around this problem?

He got a good point. But then he asked for "EASY" Unix editor, not the
most efficient one. The easiest one is emacs. Learn a dozen or two
easy commands and you are ready to do anything. I feel the learning curve
is flatter than for vi (and I used both for years.) Let me explain why.
Emacs has ONE mode. One. No escape / input / last line mode. It is always
in input mode. This is much friendlier to people from Windows world
whose editors are also in one mode always. 

When I have to write letters and email and whatnot non-computer, I use emacs.
It is great for spell-checking, justifying and other cool stuff.
When I have to do a lot of editing, I use vi. Like programming. I can move
in the buffer a bit faster and not take my hands off home row.
So I use both every day a lot.
Both have features I like and both have features that I hate.



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

From: [EMAIL PROTECTED] (Chris)
Subject: Re: IP subnet problem : NETMASK 255.255.255.192
Date: Tue, 05 Jan 1999 11:10:38 GMT

On Tue, 22 Dec 1998 18:08:49 +0100, Marc Houppertz
<[EMAIL PROTECTED]> wrote in comp.os.linux.networking:

>It is not working ! when I do route it take 5 min to give me a full
>route table of 4 lines :
>the 2 eth + localhost + defaultroute.

This usually means that there is an entry in the route table that is not
listed in the /etc/hosts or /etc/networks files, and the route program
cannot reach a nameserver to do a reverse lookup on the address to provide
a textual name.  Use:
        route -n
to get the raw (numeric) addresses from the route table.


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

From: [EMAIL PROTECTED] (Chris)
Subject: default route question with dhcpcd
Date: Tue, 05 Jan 1999 12:01:11 GMT


I am using the DHCP client to obtain IP information.  The ISP assigns
different gateways from time to time, and that information is written to
the hostinfo-ethX file in the ROUTER entry.

If I manually add that address to the route table as the "default gw"
address some www pages load much quicker than when I leave it out.  This
leads me to wonder what process the system uses to route packets when
there is no default route and the destination is not matched by any subnet
mask-- the packets seem to get there eventually, but it takes a long time.
Why?  If adding the gateway to the route list makes so much difference,
why doesn't dhcpcd do it automatically at the same time it is updating the
interface's address and netmask?


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

From: "greyman" <[EMAIL PROTECTED]>
Subject: Re: Name lookup
Date: Tue, 5 Jan 1999 21:30:20 +1000

Sean Connolly wrote in message
<[EMAIL PROTECTED]>...
>
>Are there any examples of how to setup named to comunicate with your (mine)
>isps dns servers ?.  The only examples I have seen provide a cache server
>for the root dns servers ?.
>


To get your DNS server to use the ISP's as a forwarder then in bind v4.x.x
you put the following in the /etc/named.boot file

options         forward-only        # optional line
forwarders      your.isps.dns.servIP

If you use bind v8.x.x then the following goes in the /etc/named.conf file

        forwarders {
                your.isps.dns.servIP;
        };

That's all there is to it. :-)
Greyman
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED] (Mars)
Crossposted-To: comp.os.linux.hardware
Subject: Need advice on what network cards to buy
Date: Tue, 05 Jan 1999 05:05:32 GMT

I will be buying another computer and want to network my existing one.
The new box will mainly be running linux (debian 2.0 kernel 2.0.36)
and the old box will be running win95.

I want to use thinnet network (10base2) because I don't want to buy a
hub for a 10baseT network.

I will be using the linux box as a gateway/router/proxy for a modem
connection to my ISP (via ip masqarading (sp?)) and in a not so
distant future i'll be getting (hopefully) a cable modem connection
with rogers@home.

Having said that what is a good, cheap or mid priced NIC card that I
could use with linux with this set up.  Should I go with 3com cards
(just for the brand name?) or some generic cheapo one.

Thanks,

Mars

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

From: [EMAIL PROTECTED] (Stuart Nuttall)
Subject: Re: Apache Setup
Date: Tue, 05 Jan 1999 12:53:18 GMT


>I am new to Apache and Linux so maybe this question might seem stupid.
>But here goes.
>
> I have installed RH5.2 and Apache from the same CD and verified the installation.
>
>1.)  The Apache directory has installed in /usr/lib rather than /usr/local; does this 
>matter?
>
>      And why would it install in that directory?

Jack,

As a more 'experienced' Linux user(!), I tend to have a fair idea of what
software will eventually end up on the particular box (in the most recent
machine build: Kernel 2.0.36, BIND-8.1.2, Apache-1.3.3, and XFree86 3.3.3),
so I don't install the software using RedHat's installation but instead get
the source distribution from wherever, and compile using my optimised setup.
All the software named above allows you to specify where the software is
installed to, so on my new machine BIND is under /usr/local/bind, Apache is
under /usr/local/apache and XFree86... well that's different!!  (It does
install under /usr/local/X11R6 if you want it to!)

I believe Apache is installed in that directory because of older location
conventions...


>2.) The httpd.conf is loaded at /dev/etc/httpd and when I attempt to "start" it with 
>httpd command
>
>       I get "httpd: cannot determine local host name.
>
>        use the ServerName directive to set it manually.
>
>I have tried to understand what command to use here to no avail.  Any help for this 
>ignorant
>sole would be appreciated.

A post previous to this one describes the network configuration process in
X, use netconf from a text console to achieve the same effect.

Make sure that reference isn't /dev/etc/httpd - /dev/ is for devices that
hang off your system, like mice, terminals, serial ports etc etc.


Stuart

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

From: Bjorn <[EMAIL PROTECTED]>
Subject: Can I flush my TCP-buffers?
Date: Tue, 05 Jan 1999 12:56:19 +0100

I'm not using STREAMS.

I tried several things, but nothing works :(

Bjorn

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

From: "Bertie Price" <[EMAIL PROTECTED]>
Subject: Re: Telnet login
Date: Tue, 5 Jan 1999 07:56:19 +0200

Hi Mike,

Telnet as normal user and do a "ps a" on the Linux box.
See what tty you came in on - eg ttyp0.
Now edit /etc/securetty and add your tty to the bottom of the file.
You should now be able to telnet as root.


mike dombrowski wrote in message <36915d55.38499388@wingate>...
>Hello LinuxPeople!
>
>When I try to telnet to my linux box and login as root it gives me the
>message "Login Incorrect". I am typing the right password. Is this
>some kinda security feature? I need to login as root from another box.
>I try using the su command but no luck. I need to halt the box for
>shutdown among other things.
>
>
>thanks
>mike dombrowski



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

From: Your Name <[EMAIL PROTECTED]>
Subject: nic card drivers needed
Date: Tue, 05 Jan 1999 05:03:06 -0800

I just purchased a fast ethernet starter kit from a company called NDC
Communications, Inc. Red Hat 5.1 didn't recognize the nic. If anyone out
there could help me get it working it would be appreciated.

more info about my nic:
http://www.sohoware.com/Products/FastKit.htm#Features

product line: SOHOWARE Networks 100mbps pci
company: NDC Commmunications, Inc.

thanks from a new red hat user,

nike10


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

From: Torsten Blank <[EMAIL PROTECTED]>
Subject: IP Accounting
Date: 05 Jan 1999 14:08:57 +0100


Hi!

I want to use the net feature of xosview with the Linux kernel 2.2. 
As for the kernels 2.1.x 'ipfwadm' doesn't work. Does someone know,
how to setup ip accounting with these kernels. 

    Torsten Blank

-- 

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

From: [EMAIL PROTECTED] (Anton)
Subject: Is it possible to see Linux over network with Win 98?
Date: Tue, 05 Jan 1999 05:54:51 GMT

I've set up a small network with a Linux RedHat 5.2 and a Win98
computer. It's possible with the Linux computer to send and get files
from the Win 98 computer with SMB. Linux sees all the Win 98 drives.
But the Win 98 computer doesn't see Linux. What is wrong here?

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

From: [EMAIL PROTECTED]
Subject: changing nerwork???
Date: Tue, 05 Jan 1999 05:58:04 GMT

I have linux machine with network address began with 128.1.1.???.
Unfortunately the network I have in my home is already setup with
126.xxx.xxx.xxx.  How can I change in linux my network address to be
126.xxx.xxx.xxx so it can talk with my existing network?

Please help! I am very new to linux. and networking also.  Currently I
have SCO unix and WIN95 networked together and they all talking fine.
and they began with 126.1.1.xxx.

thank you for your help in advance
-Sanjay Patel, [EMAIL PROTECTED]

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Greg Weeks)
Subject: Re: ADSL
Date: Tue, 5 Jan 1999 07:08:11 -0600

In article <[EMAIL PROTECTED]>,
        Eric <[EMAIL PROTECTED]> writes:
> I am looking  into using the 'Megabit' service that US West offers .
> Are there any special
> considerations for setting this up on when running  Linux 2.0.34 on a
> 686 machine?
> I have selected an ISP which provides ADSL service, and am scheduled to
> be hooked up
> with US West at the end of the month.  Have not run across any
> documentation or pointers to drivers at this point. I do not receive the
> 'modem' from them for another 3 weeks, but I would
> be interested in hearing from anyone who has set up this service.
> 
> Any suggestions appreciated, besides 'RTFM', since I am not aware of
> one.

RTFM <grin> This isn't specific to US West but has a lot of good DSL
info.
http://metalab.unc.edu/LDP/HOWTO/mini/ADSL.html

My experience with US West
http://www.users.uswest.net/~gdweeks/DSL-howto.html

www.dejanews.com is a good place also. There has been quite a bit of
discussion in the last few months about US West.

This place has ton's of DSL info, but it's not Linux specific.
http://www.tuketu.com/dsl/xdsl.htm

Greg Weeks
-- 
http://durendal.tzo.com/greg/


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

From: Mick Costa <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.os.linux.setup,rec.models.railroad,comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: 3c905B running DHCP in Red Hat 5.1
Date: Tue, 05 Jan 1999 08:58:57 -0500

While I am not using Red Hat, I had a somewhat similar problem.  When
you boot up your machine, check to make sure that the NIC is being
detected.  I *think* you will see something like 01:33:0F:21 (or some
combination like this).  If you see FF:FF:FF:FF, then I believe your
card is not being detected.  My solution was to power down the computer
and then bring it back up (cold boot).  When I warm boot from Win95, the
card isn't detected.

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

From: Joshua Ulery <[EMAIL PROTECTED]>
Subject: Strange Networking problem
Date: Tue, 05 Jan 1999 08:03:19 -0600

I've got two computers:

K6/233 with Win98, 64 megs RAM
P166 with Redhat 5.2, 48 megs RAM

Now, I used to have a good 486/100 with Redhat 5.1 that was used instead
of the P166.  No problems with it, so I know the setup should work.

The two computers are hooked together with a passthrough UTP cable with
the proper wires crossed.  This wire has worked for months, so I know it
works now.

The Linux box is setup and working, it has Samba setup and Apache
running.  Both are viewable from the 98 machine and work fast and fine.

When I try to telnet to the box from Win98 it takes no less than three
minutes for it to give me a login prompt.  When I FTP it says connected
but I get timed out before getting a login prompt.  Keep in mind that my
Apache server is lightning fast, as is the Samba server.   I can
transfer files with both apps at 10Mbit.  My only problems are
telnetting and FTPing to the Linux box.


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

From: [EMAIL PROTECTED] (Giovanni Gigante)
Subject: Re: How to Determine if ifwadm is installed?
Date: Tue, 05 Jan 1999 12:39:49 GMT


>>How do I determine if ifwadm is installed in RH5.1?

Excuse me, but wasn't it "ipfwadm" the right name?

No wonder you can't find it... :))

Giovanni Gigante

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

From: [EMAIL PROTECTED] (Giovanni Gigante)
Subject: Re: IP forwarding
Date: Tue, 05 Jan 1999 12:45:53 GMT

On Mon, 04 Jan 1999 05:45:47 GMT, "Bill Schisan"
<[EMAIL PROTECTED]> wrote:

>Hello Linux World!
>
>I am having a problem routing IP packets from my private network to my
>firewall network.  The router is a multi-homed RH 5.2 machine.  The
>firewall machine is RH 5.2 with diald.  When I ping the IP address of the
>firewall from the private network, no problem.  When I ping an address that
>is outside the private network address range the packets don't get accross
>the router.  I have the ipfwadm command set up in my /etc/rc.d/local file to
>masquerade packets from the pivate network.  I am fairly new to Linux and I
>am probably missing something really simple.  Does anyone have any advice?
>Please reply with an e-mail message as I won't be able to get back to the
>maling list for a while.  Thanks

I had a similar problem until I activated ipv4 forwarding, a step not
mentioned in the HOWTO that seems to stop many people (including me
:))

on rh 5.2, modify the file /etc/sysconfig/network, changing the line
FORWARD_IPV4=no
to
FORWARD_IPV4=yes

Hope this will help.
Giovanni

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

From: "Bertie Price" <[EMAIL PROTECTED]>
Subject: Telnet as root
Date: Tue, 5 Jan 1999 08:23:03 +0200

To telnet as root:
First telnet as a normal user -
Do a "ps a" on the linux box and see what tty you came in on.
 eg "ttyp0"
Now edit /etc/securetty and add "ttyp0" to the bottom of the file.
You should now be able to telnet as root.





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

From: <[EMAIL PROTECTED]>
Subject: Re: Apache 1.3.3 w/ssl user directory problems in SECURE RH5.2
Date: Tue, 5 Jan 1999 09:59:56 -0500

The chmod 755 on the directory and files does not resolve the problem. I
must add that the other non-secure server that I thought was RH5.2 is
actually a FREEBSD machine. So in short I am having the same user
directory problem with the apache that comes stock with 5.2 and  the 5.2
secure server $100. Did I really have to pay $100 for the secure server
for commercial sales? Is there any place to download it free? Anyways I'm
still having the user directory problem.

Thanks for any responses.

Art

[EMAIL PROTECTED]
http://www.acesales.com


On Mon, 4 Jan 1999, Eugene Blanchard wrote:

> set the ~user directory permissions to 755
> 
> Arthur Jovellas wrote:
> > 
> > The main site can be hit fine (ex: site.com/) however the user
> > directories can not (ex: site.com/~user).
> > Every time I try to go to the users web pages I get a forbidden error.
> > It says that I don't have permissiions to look at that file. I have
> > another 5.2 machine that is not the SSL verion and everything seems to
> > run fine. Whhat is the problem here?
> > 
> > I have not generated a cirtificate yet or anything like that on the
> > secure server. The user files are in /home/user/public_html as normal
> > but I can still only see the main site and not the /~user-space. I tried
> > to access the userspace with a trailing slash/ too and no luck. Am I
> > missing something in one of the conf files? I have my DNS name as the
> > ServerName as usual. What's up here?
> > 
> > Please email me directly.
> > 
> > Thanks for any replies
> > 
> > Art
> > 
> > [EMAIL PROTECTED]
> 


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

From: "Colin Ling" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.caldera,comp.os.linux.hardware,comp.os.linux.m68k,comp.os.linux.misc,comp.os.linux.powerpc,comp.os.linux.setup,comp.os.linux.x,uk.comp.os.linux
Subject: euro support in kernel 2.0
Date: Tue, 5 Jan 1999 10:47:16 -0000

Does anyone know if there is a patch for the Euro support in kernel 2.0 and
will it be supported in 2.2?
Thanx

Colin



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

From: [EMAIL PROTECTED] (Kevin Martin)
Subject: Re: [ "${GATEWAY}" ] &&
Date: Tue, 05 Jan 1999 15:24:42 GMT

In article <[EMAIL PROTECTED]>, it says Stef <[EMAIL PROTECTED]> 
wrote:
>The last line in /etc/init.d/network says:
>
>[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
>
>I don't understand, what this 
>[ "${GATEWAY}" ] && 
>at the beginning of the line does. Could anybody explain?

The left bracket is a synonym for the command "test".  In this case, it's 
saying 'if the variable "{GATEWAY}" exists' (then return a success value).  
(You can also use "[ -f filename ]" to see if a file exists -- try entering 
"man test" for more info on "test".  It's quite useful.)

{GATEWAY} with braces is peculiar to bash, tcsh, and csh.  It returns the 
expanded value of the string GATEWAY in a way that makes it useful with the 
"test" command -- it makes it "look like" a filename.  Try entering the 
command "echo ${GATEWAY}" to see what it returns, if anything.  

(Also try entering this command:  "echo file{5,6}"  You can feed that to 
other commands in a useful way.  If you wanted to fix a one-letter typo in a 
filename, you could just enter "mv file{5,6}.c" and it would rename (move) 
file5.c to file6.c.   Neat, huh?  This is from chapter 9.05 of O'Reilly's 
_Unix Power Tools_ -- I recommend this book!)

The double ampersand says "Do the next chunk of the command line only if the 
preceding chunk succeeded."

So what you have here is an elegant little one-line shell program, very much 
in the spirit of Unix.  "If GATEWAY has been defined, add the value 
associated with it to the routing table as the default gateway address."  
(If not, don't do anything).

-- 
Kevin Martin                   No-spam zone.  
<brasscannon            No prisoners. No warning shots.
            @usa.net>

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

From: [EMAIL PROTECTED]
Subject: Re: Connecting Windows NT as Linux Server client
Date: Tue, 05 Jan 1999 04:40:09 GMT

Actually you can create a DOMAIN controller using SAMBA. However, there is no
Backup domain controller(BDC) support for Samba at te moment. The new Samba
version 2.0 and above is going to incorporate this, but I think you must
wait Samba 2.2 for PDC, BDC support.

Please check out the Samba NT Domain controller FAQ in the Samba sites

In article <749l8m$u4t$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>,
>   "Jose Antonio C. Baduria" <[EMAIL PROTECTED]> wrote:
>
> On NT, are you trying to set the Domain or Workgroup?  If you are trying to
> set the domain, NT will look for a domain controller.  I think you need to
> switch from using the Domain to using the Workgroup.
>

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: louvois <[EMAIL PROTECTED]>
Subject: server NFS not repsonding...
Date: Tue, 05 Jan 1999 16:33:10 +0100

Hello,
I have installed a NFS server (redhat 5.2) sharing :
/usr
with 3 clients (Redhat 5.2 too) !
Everything is OK !
But some times, clients could not reach the server:
"NFS Server not repsonding"
And when I restart the server NFS, everything is fine !
Can anyone could help me ?

Server NFS: Memory = 32 MB RAM
Clients: Memory = 32 MB RAM


============== Client (df =k) =============== lokks like:=========
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/hda1             461529  178869   258823     41%   /
/dev/hdb1             494749  342495   125846     73%   /2home
fresnel:/usr          446868  350702    73085     83%   /usr
============= END =========================================





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

From: "Jonas" <[EMAIL PROTECTED]>
Subject: Help with automating fetchmail
Date: Tue, 29 Dec 1998 19:03:23 +0100

Hi

Me (and the users in my home LAN) have several accounts on several different
POP3 servers on the internet.
I've allready installed and configured sendmail on my RedHat 5.2 mashine so
the users can send massages to the internet and on the local net.
I've used fetchmail from the commandline to collect my mail from a server on
the internet and it works just fine. The problem is that I want to automate
(with cron) the process of collection of my mail (and the others) from the
internet and storing it in there ~/mail/. Then the users can collect there
mail over POP3 with netscape or outlook.
I tried to write a script for collecting mail from all the servers but when
I looked at man fetchmail I couldn't find options for password and where to
store the fetched mail (local user).
I got everthing working except the little part of fetching the mail from the
net. I can't use .fetchmailrc when I have several servers, userid and
passwords. (I think)
How can I solve this problem?

TIA /Jonas



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

From: "Cherokee Health Systems" <[EMAIL PROTECTED]>
Subject: Re: Samba:Can't write/create from Win95
Date: Tue, 29 Dec 1998 16:39:18 -0500

Please tell me how you set up your smb.conf file to view linux stuff in Win
networks.  I can see the machine, but nothing is there.  It tells me the
path is invalid, or something.


David Pineau wrote in message <7689m6$gqq$[EMAIL PROTECTED]>...
>I can view my Linux shares with Windows Explorer, but I can't make
>directories or copy files to them.  Arrrrgh!
>
>
>--



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


** 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.networking) 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-Networking Digest
******************************

Reply via email to