Linux-Networking Digest #808, Volume #9           Thu, 7 Jan 99 17:13:27 EST

Contents:
  Re: PPP/Online with Cwix.com ISP ("Tim Underwood")
  Re: Two ip addresses on one NIC (Hajo Simons)
  Re: Networked logon (Hajo Simons)
  Re: What is a proxy (Mark Cooperstein)
  Force pppd to report actual connection speed, instead of local port speed (Chee 
Choon Cheng (remove "removethis" to e-mail me))
  Digital UNIX <-> Alpha LINUX NFS performance ? (Kiyoshi Yoda)
  Routing question (plus a ppp problem) (JJ)
  Re: 2nd level DNS Server ("greyman")
  Re: Cannot login to samba server (Mark Cooperstein)
  dynamic addressing w/ Ethernet? ("Michael Wise")
  Re: Replace NetWare w/Linux? (Matt Cudworth)
  Re: PPP in RH 5.2 - revisited ("A.G.")
  Re: SIOCSIFFLAGS: Resource temporarily unavailable ("Danny Harvison")
  slow nfs (Amit Mehrotra)
  Re: need better info on settting up SAMBA (Jeffrey Greer)
  Re: Ipfwadm queries (Tom Elsesser)

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

From: "Tim Underwood" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: Re: PPP/Online with Cwix.com ISP
Date: Wed, 06 Jan 1999 14:03:40 GMT

I am having the same problem.  I have run minicom, and the only response you
get after connection is what appears to be a port id.
Something like:

(613456)

If you hit enter, you just get the same string sent back.  Seemingly any
other input terminates the connection with "host not found".

Timothy Buckelew wrote in message <[EMAIL PROTECTED]>...
>Draco wrote:
>
>> Hi,
>>     I am wondering about my ISP and Linux.  My ISP, Cwix.com, formerly
>> MCI2000.com, contains no tech support or anything related to Linux, as
>> do probably most ISPs.  When I try to connect through EzPPP in Linux, I
>> can't get on.  It never asks for a password or login name.  I have tried
>> using the terminal window and it still will not ask for that info. I was
>> wondering if anyone knows anything I should do, or should I just get a
>> new ISP??
>>             Thanks.
>>                 John
>
>  I suggest you analyze what the ISP is sending you, using minicom.
>See attached notes.
>Timothy Buckelew
>
>



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

From: Hajo Simons <[EMAIL PROTECTED]>
Subject: Re: Two ip addresses on one NIC
Date: 6 Jan 1999 22:52:31 GMT

Andrew Ip <[EMAIL PROTECTED]> wrote:
> Is it possible to do it?  As far as I know Mac can bind two ip on one card
> with VicomSoft's Internet Gateway.  Thanks.

ifconfig eth0 192.168.231.1
ifconfig eth0:0 192.168.231.2
ifconfig eth0:1 192.168.231.3
ifconfig eth0:2 192.168.231.4
ifconfig eth0:3 192.168.231.5
...

--
Hajo


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

From: Hajo Simons <[EMAIL PROTECTED]>
Subject: Re: Networked logon
Date: 6 Jan 1999 23:01:51 GMT

Adam Evans <adam@'working-hard'.cje.co.uk> wrote:

> I wish to have several Linux boxes on a network.
> A high powered system as the server, and the other systems as a sort of
> client. I would like to store all account information on the server. So that
> the other linux boxes won't need to be touched, and all updates will be made
> to the server.
> Can anybody tell if this is possible, and where to find out further info??
> I've searched but can't seem to find any info.

A good place to start is 
# apropos nis
or
# man ypserv

--
Hajo


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

From: [EMAIL PROTECTED] (Mark Cooperstein)
Subject: Re: What is a proxy
Date: Thu, 07 Jan 1999 02:03:35 GMT

In article <77085n$qdj$[EMAIL PROTECTED]>, "Alain Lussier" <[EMAIL PROTECTED]> 
wrote:
>Hello to all,
>
>What is a proxy server ? Anyone could tell me where to find technicals about
>it. I need to write some socket stuff but it has to work through proxy
>server.
>
>I am using ipfw with linux , Is it the same thing ?
>
>
>Thanks.
>
>Alain
>[EMAIL PROTECTED]
>
>
>
A proxy server is a kind of firewall.  I am familiar with Wingate proxy 
server, and am just delving into the Linux world, so I can tell you how 
Wingate works as a proxy server, which may help you to understand how proxy 
servers work, although this is definately not an authoritative response!

A proxy server provides different IP services.  It acts as a "go between" one 
network, and another: ie: the Internet and your LAN.  On your LAN
 you have a proxy server that is known to the Internet by some IP address.  In 
my case, its dynamically doled out from a pool of available IP's from my ISP, 
although it's possible to have a permanent "static" IP  to the Internet.  The 
proxy server is setup to listen to different TCP protocols, such as HTTP, FTP, 
SOCKS, POP3, SMTP to name a few.  On the local side of the network, your 
network client has to be "proxy aware" to communicate to the proxy server.  
Netscape and Internet Explorer can be setup to connect "directly" to the 
Internet, or through a proxy server.  If the latter, you need to let Netscape 
know the name (or IP address) of your proxy server, and what ports to use for 
its available protocols.  Usually, with most web browsers, you use the same 
port (80) for all services except SOCKS which uses 1080.  So, when your 
browser tries to talk to a web server on the Internet, it "channels" its data 
to the proxy server.  I suppose that what it really does is to talk to the 
proxy server, tell it what the destination IP is as well as what the local 
source IP is, and then the proxy server does the actual communication "out" to 
the Internet. In this way, the Internet is only aware of the proxy server, as 
that is all it sees, thus all clients on the otherside of the firewall (the 
local side) are hidden.  This makes it a firewall since you've shielded your 
LAN from the Internet side.  This explanation is probably overly simplistic, 
and I'm sure if you dig around you can find more thorough information.  You 
might try www.wingate.com for starters.  Although it is a Windows proxy 
server, the site might have some white papers describing the technology.

Hope this helps

**  Remove ".nospam" when replying or email will bounce back to you...

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

From: [EMAIL PROTECTED] (Chee Choon Cheng (remove "removethis" to e-mail me))
Crossposted-To: comp.os.linux.misc
Subject: Force pppd to report actual connection speed, instead of local port speed
Date: Thu, 07 Jan 1999 01:18:55 GMT

I noticed that pppd reports the local port speed which is set to
115200. May I know how to set it to report the actual line connection
speed? (which is not 115200, my modem is a 56K only)

Thx!


Choon-Cheng Chee
=========================
chee at mail-me dot com
Kuala Lumpur, Malaysia
=========================
* Watch my return address! Editing required !* 

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

From: [EMAIL PROTECTED] (Kiyoshi Yoda)
Subject: Digital UNIX <-> Alpha LINUX NFS performance ?
Date: 7 Jan 1999 01:57:14 GMT

Greetings, I would like to know NFS performance comparison for the
following three cases:

(1) Alpha LINUX <-> Alpha LINUX,

(2) Alpha Digital UNIX <-> Alpha LINUX, and

(3) Alpha Digital UNIX <-> Alpha Digital UNIX

I would appreciate any experimental results.

Thanks,
Kiyoshi

---
Kiyoshi Yoda,   [EMAIL PROTECTED]

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

From: JJ <[EMAIL PROTECTED]>
Subject: Routing question (plus a ppp problem)
Date: Thu, 07 Jan 1999 22:12:42 +0200


I've got a computer with two network cards. The goal is to use the
computer like
10baseT -> 10base2 mediaconverter with some extra features. I have 128
ip
addresses and the computer that i'm working on is in other ways fully
functional and
so are already other computers, routers and switches.

The computer (I'll call it Mir now on) is supposed to route all traffic
transparently
between the two physical network segments. There will be two computers
connected to coaxial cable and all the other computers are already
connected to a
3com totalswitch.

So.. IP addresses A and B should be connected to Mir which is connected
to the
switch. eth1 is the interface for the 10base2 segment and eth0 is
connected to the
10baseT segment.

I've added networking routes to Mir and connections from Mir and to Mir
work from
both sides of the network as expected. Then I tried to use ipfwadm to
tell the kernel
to forward packets (btw: ip forwarding is enabled) but it didn't work as
I had hoped.
Then I tried to use the 'arp' program but I don't fully understand it.
When I defined A
to use Mir as gateway A got no response from the server that i tried to
'ping' but
using tcpdump I found out that the server actually received the packets
but I think
Mir didn't route/forward the packets back to A. Unfortunately I didn't
check with what
settings it worked even that much (now A doesn't find even the IP
address of eth0..
only eth1 answers) and so i haven't been able to recreate even that
situation.
Have I been doing everything wrong? Is the kind of routing I'm trying to
implement
even possible?

I'm a beginner and i'm getting confused. help me!!!

----

ipppd tries sometimes to use eth1 instead of eth0 for proxyarp. Is there
a way to tell
ipppd which nic to use?


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

From: "greyman" <[EMAIL PROTECTED]>
Subject: Re: 2nd level DNS Server
Date: Thu, 7 Jan 1999 12:09:26 +1000

Simple. If you are using named v4.x or earlier, put the following in the
/etc/named.boot file:

    secondary       gmcs.com.au     203.46.81.130   named.gmcs.com.au
                                ^^^^^^^^^^           ^^^^^^^^^^^
^^^^^^^^^^^^
                            domain name    |   IP address of  |     filename
to store
                            you want to 2nd |   primary server|        zone
info retrieved

Greyman
[EMAIL PROTECTED]

Jan Stifter wrote in message <[EMAIL PROTECTED]>...
>there is something I do not understand:
>1. level DNS is the one, which has the zone info files ?
>2. level DNS is the one, which caches the 1. level dns and
>gives non-authoritative answers?
>
>how can I set up the 2. level dns? (since you need two to get accepted
>your domain....)




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

Crossposted-To: comp.protocols.smb,comp.os.linux.setup,linux.redhat.misc
From: [EMAIL PROTECTED] (Mark Cooperstein)
Subject: Re: Cannot login to samba server
Date: Thu, 07 Jan 1999 20:42:43 GMT

The problem most likely is due to the fact that Win98/WinNT and later releases 
of Win95 started using encrypted passwords.  Newer versions of SAMBA can 
accomodate this (don't know exactly which version off hand).  Look in 
/etc/smb.conf and look for "encrypt".  Also, there is a file in the Windows 
machines called network.txt found in c:\windows.  Look for "SAMBA" and it will 
tell you how to disable encrypted passwords in Windows.

Mark

In article <[EMAIL PROTECTED]>, S 
P Arif Sahari Wibowo <[EMAIL PROTECTED]> wrote:
>Hi!
>
>I just begin to use samba, I setup samba using linuxconf, and I get to the
>point where I can see the samba server icon in Windows' Network
>Neighborhood. However, when I try to open the icon (with double-click it
>or from Start->Run), I got a dialog box asking password (from Win95), or
>login name & password (from NT).
>
>If I enter a login name which exist in the linux machine (whether it uniq 
>to the linux machine or not), Windows give this error:
>
>\\<server-name> is not accessible
>The credentials supplied conflict with an existing set of credentials.
>
>If I enter a login name uniq for the NT Domain, the samba server just
>won't accept the password, wether it is true or not.
>
>Any help will be appreciated.
>
>Some info:
>Linux Redhat 5.1: 2.0.34 #1 Fri May 8 16:05:57 EDT 1998 i586 unknown
>linuxconf-1.13r1-1
>samba-1.9.18p10-5
>
>Thank you!
>
>                                    S. P. Arif Sahari Wibowo
>  _____  _____  _____  _____           [EMAIL PROTECTED] 
> /____  /____/ /____/ /____    http://www.uiuc.edu/ph/www/arifsaha
>_____/ /      /    / _____/
>

**  Remove ".nospam" when replying or email will bounce back to you...

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

From: "Michael Wise" <[EMAIL PROTECTED]>
Subject: dynamic addressing w/ Ethernet?
Date: Thu, 07 Jan 1999 02:49:09 GMT

I'm changing jobs.

Right now, I run Linux 2.0 on an Intel box with a 3Com Ethernet card; I
have a fixed IP address associated with my machine; our server is
Netware that my computer largely ignores, while mail and DNS are
controlled by boxes further upstream. I have had no problems with
Internet services, and I use these services (telnet specifically) to
run a 3270 emulator, where I do useful work.

In my future is a firm that has an NT server that dynamically allocates
IP addresses (all the above info being basically the same). I have used
dynamically-allocated IP through PPP, but never on an Ethernet network.
I have looked in the literature, but I have not seen anything to help
with this: either you're dialing in, and can take whatever address is
available, or you're physically connected and you have a specific
address. I can and will ask the company to allocate one or more static
addresses for me to use, but it seems there should be a way in Linux to
configure this. Any suggestions?
--
Surf Usenet at home, on the road, and by email -- always at Talkway.
http://www.talkway.com



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

From: Matt Cudworth <[EMAIL PROTECTED]>
Crossposted-To: linux.samba
Subject: Re: Replace NetWare w/Linux?
Date: Thu, 07 Jan 1999 15:56:44 +1300

Yep ... it all works fine. I'm currently replacing our Novell servers with
Samba on Solaris. Thats around 700 users from 3 Novell servers to 2
Sun servers one primary running file and email/cal services, one secondary
with print services and file. Each capable of running all services given
a failure. Total ~100Gb storage with >15min downtime in event of
hardware or software failure.

We are in the middel of the migration at present.

We have yet to find a feature that Novell or NT offers that we can do
better
or at least as well.

Take the above situation and replace Solaris with Linux ???

Yep why not ... that are a few issues though....

* Solaris is more stable than linux (we use 50/50 of both.)
* Sun Hardware is far superior to std Intel stuff.
* Lack of Linux security (no NIS+)
* Linux isn't as good at handling large disks for raid/mirror etc
* Linux can sometimes do strange things.

Reasons to use linux ..

* Cheaper, cooler :)

As far as the client side goes windows is much more stable without the
Novell client (In our experience anyways..), but it does have some
excellent features that you will miss. We have used Web interfaces to
access rights, print admin etc etc etc ... A Web interface requires to
setup
or installation as never breaks or crashes.

Netware for Linux ... = License costs though NDS is neat. Better than
Novell Netware
only cos Linux rocks, but why bother.
Using Samba some flavour of Unix requires a bit of imagination and playing,
but the
benefits are huge.

Matt Cudworth
IT Project Engineer
Tait Electronics Ltd
Email :- [EMAIL PROTECTED]

Josh Arnold wrote:

> Hello,
>     I would like to replace our NetWare server with Linux, however I'm
> not sure if Linux can do what we need.  The first thing it needs to do
> is be a fileserver - AFAIK this is no problem w/SAMBA (correct me if I'm
> wrong.)  Secondly, we need Windows user login.  That is, when our
> Windows machines first boot up they should have to enter a
> username/password to gain network access like our NetWare server
> currently does.  This is the part where I'm not sure if Linux can do it
> (at least without extra software, apparently Caldera has some kindof
> "NetWare for Linux"?)  Can Linux do this?  Also, can Linux do NT things
> like storing user profiles?  Thanks.




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

From: "A.G." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc
Subject: Re: PPP in RH 5.2 - revisited
Date: Thu, 7 Jan 1999 16:00:27 -0500

>RedHat puts its scripts into something like /usr/doc/ppp-xx.xx/scripts, for
>some strange reason, while the HOWTO suggests putting them in
>/etc/ppp/scripts. Although even looking at the ones in /usr/doc I haven't
>found any correlation between them and what I typed into linuxconf. I've
>given up using linuxconf for PPP and have been following the HOWTO, like
>yourself.


Exactly my point. I *successfully* configured my ppp. But I did it through
the config files. And I have no clue where RedHat's Controll pannel OR
Linuxconfig write the data entered by me in the interactive mode. It is
still there, all the settings etc., but these are not the settings from the
config files from HOWTO.

So what happens, I have in fact two ppp interfaces configured on the system:

1. Unfuctional one, that I configured through control panel. I KNOW EXACTLY
WHY it isn't working - because it's using wrong netmask. I need to specify
255.255.0.0, and it's using 255.255.255.0. If I only could fix this, then I
would have advantage of "activating" the interface using the intreractive
tools, and also configuring it later on. (I want to firewall Internet
through one of my Linux 'puters.)

2. The one I configured myself. IT WORKS. But to activate it I have to
launch script ppp-on, and I can't modify its settings using Linuxconfig or
Control Panel.

>Not that I've actually managed to connect successfully yet though...


Keep trying. =/ It took me more than a week to crack this one.

I'll reinstate the question: Which scripts do RH or Linuxconfig use for
THEIR ppp0? I know where RH installs sample ppp-scripts, but it isn't using
them. It's using some other scripts.

Sincerely,
A.G.



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

From: "Danny Harvison" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc
Subject: Re: SIOCSIFFLAGS: Resource temporarily unavailable
Date: Wed, 6 Jan 1999 18:08:47 -0800

I had the same exact error when I had an IRQ conflict between my SCSI card
and the network card. Look at /proc/interrupts.
Bernd Eckenfels wrote in message <76v0pp$ubn$[EMAIL PROTECTED]>...
>In comp.os.linux.networking A.G. <[EMAIL PROTECTED]> wrote:
>> SIOCSIFFLAGS: Resource temporarily unavailable
>
>> What does it possibly mean?
>
>Most likely that the NIC is not configured correctly in the kernel. Since
it
>is a PCI card it might be possible that the BIOS is set wrong.
>Have a look at the output of "dmesg" if the kernel has found your card.
>
>I think there are some details on
> http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
>
>Greetings
>Bernd
>



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

From: Amit Mehrotra <[EMAIL PROTECTED]>
Subject: slow nfs
Date: Thu, 07 Jan 1999 13:08:24 -0800

We are trying out desktop PC's
running Linux in our group. I am running Redhat 5.2 linux with 2.0.36
kernel. Our file servers and compute servers are predominantly alphas.
The user home directories are NFS mounted on my machine. My problem is
that I get extremely slow NFS performance compared to other alpha
desktops. A typical compile job (with some heavy duty file transferring
back and forth) has the following performance

local machine local disk
134.990u 20.800s 2:56.32 88.3%  0+0k 0+0io 156540pf+0w
wasted time (elapsed time - user time - system time) 20.530
local machine nfs
128.800u 27.840s 29:42.98 8.7%  0+0k 0+0io 154939pf+0w
wasted time 1626.34
alpha desktop1 nfs
130.770u 23.640s 7:44.97 33.2% 0+27k 4022+6910io 2pf+0w
wasted time 310.56
alpha desktop2 nfs
88.731u 17.376s 6:32.93 27.0% 0+26k 4251+6896io 2pf+0w
wasted time 286.823

The Linux NFS howto also recommends the following test:
time dd if=/dev/zero of=/users/mehrotra/foo bs=16k count=4096
and the response for the intel box running Linux is
4096+0 records in
4096+0 records out
0.030u 8.540s 13:14.65 1.0%     0+0k 0+0io 83pf+0w
while the response of the 400MHz alpha is
4096+0 records in
4096+0 records out
0.152u 1.804s 0:32.07 6.0% 0+4k 13+8193io 2pf+0w

The intel desktop is 200MHz pentium pro with 128M memory and Ethernet
Express100 pro ethernet card connection to 100 MB/s ethernet. The alpha
desktops are 400MHz and 600MHz respectively with 100 MB/s ethernet
cards.
The two alpha desktops and my desktop are on the same subnet.

Is there any way to speed up the pathetic NFS performance of the Intel
box?

Amit


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

From: [EMAIL PROTECTED] (Jeffrey Greer)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: need better info on settting up SAMBA
Date: Thu, 07 Jan 1999 03:25:11 GMT
Reply-To: [EMAIL PROTECTED]

Thanks for the info so far, but I'm not getting anywhere.

I tried samba.org, but I need info on how to set up the basics.  I can't even
ping between the two machines.    I can set the ip, but I have no idea how to
set dns, gateway, and routing. 

I have the network card recognized and set to eth0, ip address 223.223.223.1.
The nt box is set to ip 223.223.223.0.  I have the netmasks on both machines set
to 255.255.0.0.  NT won't accept a netmask of 255.255.255.0.  Do I need to
change the netmasks or ip's?

Do I need to run ypserv for dns, what about ypbind?

This is just a simple network between to computers connect through a hub with
rj-45 cable.

I've looked at all the how-to's that have been recommended to me.  They are
useless if you have no or very little practical knowledge setting up a network.
I've also been to the samba website.

I've checked these references:
- net-3-howto
- nis-howto
- Networking-overview-howto
- samba web site
- http://metalab.unc.edu/LDP/HOWTO/Networking-Overview-HOWTO.html
- The Network Administrators' Guide at
http://metalab.unc.edu/LDP/LDP/nag/node1.html
- home.tvd.be/ws35056/linux/samba.html
--
Jeff Greer, graduating senior, computer science
www.umr.edu/~jgreer
University of MO - Rolla
========================
FAA license A-27264 (license to jump out an airplane at >= 1000ft AGL)

// "If travelling by plane is 'flying' then travelling by boat is swimming. \\
\\  If you want to experience the environment, get out of the vehicle."     //

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

From: [EMAIL PROTECTED] (Tom Elsesser)
Subject: Re: Ipfwadm queries
Date: Thu, 07 Jan 1999 03:35:11 GMT

Hi Hajo,
  I had 3 lines in my original script that read
/sbin/ipfwadm -F -a m -S 192.168.0.1/255.255.255.0 -D 0.0.0.0 -P all
/sbin/ipfwadm -F -a m -S 192.168.0.2/255.255.255.0 -D 0.0.0.0 -P all
/sbin/ipfwadm -F -a m -S 192.168.0.3/255.255.255.0 -D 0.0.0.0 -P all

When I commented them out and put in what you offered, I can send and
recieve mail and news. WWW service is still not working. It hangs at
"Sending request to remote host...". I still think I have a dns
problem, and I have changed /etc/resolv.conf many times to try to sort
it out, but I can't seem to get it. I'm going to keep goofing with it,
but if there is anything more you could offer, I would appreciate it.

Thanks,
Tom
 


 On 6 Jan 1999 14:41:08 GMT, Hajo Simons <[EMAIL PROTECTED]>
wrote:

>Tom Elsesser <[EMAIL PROTECTED]> wrote:
>>   The W95 boxes have the same #'s in the TCP/IP setup as the linux
>> box. I have not set up DNS on the linux box, but from what I have
>> gathered from scouring newsgroups, I thought that pointing to my ISP's
>> nameservers in /etc/resolv.conf would do the trick.  Do I have to have
>> DNS setup to use ipfwadm? In ipfwadm, I am using just the IP
>> forwarding option. Do I need masquerading also? I have not been able
>> to discern the difference between the 2.
>
>Masquerading disguises all packets originated in your local network
>to the internet. It makes your ISP think that all internet stuff is
>requested by the Linux box, not the windos boxes.
>Assuming your local network is 1.2.3.x you might want to try this as 
>root:
>
># ipfwadm -F -i m -S 1.2.3.0/24 -D 0/0 


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


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