Linux-Networking Digest #111, Volume #11 Tue, 11 May 99 05:13:46 EDT
Contents:
Re: Picking ip addresses for a ppp server (Clifford Kite)
RE:SOHOware Fast PCI Adapter from NDC (Chip Wiegand)
Re: Reliable (!) nic for 2.2 kernel? (bryan)
Re: IP masq problem (nate)
Re: Ethernet Card (bryan)
Ethernet error on boot. ("Kevin MacPherson")
Re: reading Ethernet card address (Victor Kwok)
Re: fetchmail works -- but so does sendmail (Graham Murray)
NT & Samba.... cannot connect ("rob")
Linux on Compaq AP400 (Satoshi Ohtsuka)
respawning mgetty only some of the time (Hal Sadofsky)
Re: PPP and dial-up connections (RH 5.2) (Chris Sherlock)
REQ: Configuration? ("Jan Verhaert")
Re: Problems with looking up hostnames after upgrade (Gambit32)
Re: RedHat-6.0 and port forwarding (John Morey)
Re: linux, netware & databases ("AnthonyO")
Re: Configuration? ("Jan Johansson")
----------------------------------------------------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Picking ip addresses for a ppp server
Date: 10 May 1999 19:56:00 -0500
Exit One Mile ([EMAIL PROTECTED]) wrote:
: I am trying to set up a ppp server for the first time to connect two
: separate subnets together. The network at location A uses 192.168.1.*
: and will be dialing into a network that uses 192.168.0.*. On the pppd
: man page it asks me to specify <local_IP_address>:<remote_IP_address>.
: These are unique, unused addresses that I just make up, right? Which
: subnet should they be in?
On the box running pppd on A the option can be 192.168.0.X:192.168.1.Y
where the addresses are unassigned and B has no address option. Or use
192.168.0.X: on A and 192.168.1.Y: on B. The main thing is that the
IP address that pppd uses as the local one on one network should be an
address that belongs to the other network.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Those who can't write, write manuals. */
------------------------------
From: Chip Wiegand <[EMAIL PROTECTED]>
Subject: RE:SOHOware Fast PCI Adapter from NDC
Date: Mon, 10 May 1999 22:23:17 -0700
I tried the SOHOware fast ethernet kit (two nic's, hub, cables) and
could not get it to work at all. After many emails with the SOHO people
and newer version of the tulip driver, it still wouldn't work. I finally
took it back to the store and exchanged it for a Linksys kit, which also
uses the tulip driver. But it worked with the standard driver included
with RH5.2 and no messing around. Could PnP be any easier?
Chip
------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: Reliable (!) nic for 2.2 kernel?
Crossposted-To: comp.os.linux.development.system
Date: Tue, 11 May 1999 01:34:00 GMT
In comp.os.linux.networking Johan Kullstam <[EMAIL PROTECTED]> wrote:
: bryan <[EMAIL PROTECTED]> writes:
: it's a `d-link dfe-904 4 port 10/100Mbps dual-speed hubby [sic]'
: there's a 10/100 switch which i have set to 100.
sounds like a single mode hub (choose 1: 10 or 100, and everyone on
the hub MUST speak that speed. right?)
: the manual claims it's a `multi-port repeater' or `repeating hub'. i
: am not sure what that means exactly
sounds like it has no buffering (not a bridge or 'switch'). it
asserts collisions rather than buffering frames. so that means you
should see collisions on your eth ports. it also means it slows
things down a bit (unless you only have 2 active stations on the hub
and they're both 100/full duplex mode).
, but it's a small box with not a
: lot of electronics in it.
hub/repeater chips are cheap and small these days ;-)
: still, it could be delaying signals a fair
: amount relative to what triggers your bug.
repeaters don't buffer, so there's insertion delay but no buffering
delay. and insertion delay is almost nill. run enough cable and the
cable adds more delay than the hub ;-)
: is 100Mbps supposed to work with a cross-over cable?
with cat5 wiring, it is.
: when i got my
: gear at a computer show, i was advised to get a hub for the fast
: ethernet.
for more than 2 stations, you need some kind of hub. unless you run
10base2 or other kinds of coax, in which case you can daisy chain the
cabling. but that's ancient history now ;-)
--
Bryan
------------------------------
From: nate <[EMAIL PROTECTED]>
Subject: Re: IP masq problem
Date: Mon, 10 May 1999 21:31:59 -0400
The IPCHAINS utility that works with the 2.2.x kernels (I think also with the
2.0.x kernels with a kernel patch) is supposed to make masquerading easier,
faster and have more sophisticated options.
I've only used it for firewalling, but it does far more than what I've used it
for.
Paul "Rusty" Russel is the author and maintainer of IPCHAINS, plus he manages a
mailing list on it.
Go to his home page at http://www.rustcorp.com/linux/ipchains/
What I would recommend is to shoot your question off to his mailing list, as he
answers almost every question on the list personally :)
Doug Pitek wrote:
> have a problem with Masq... it seems to stop responding after a
> certainperiod of time... This is my rc.firewall file.. I don't know is there
> any problems w/ it??
>
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> ipfwadm -F -p deny
> ipfwadm -F -a m -S XXX.XXX.0.0/16 -D 0.0.0.0/0
> ipfwadm -F -p masquerade
> /sbin/depmod -a
> /sbin/modprobe ip_masq_ftp
> /sbin/modprobe ip_masq_raudio
> /sbin/modprobe ip_masq_irc
> /sbin/modprobe ip_masq_quake
> /sbin/modprobe ip_masq_cuseeme
> /sbin/modprobe ip_masq_vdolive
>
> What's do you think???
--
Nate Campi | "My statements in this message are
| personal opinions which may
[EMAIL PROTECTED] | have no basis whatsoever in fact."
/ / (_)__ __ ____ __
/ /__/ / _ \/ // /\ \/ / . . . t h e c h o i c e o f a
/____/_/_//_/\_,_/ /_/\_\ G N U g e n e r a t i o n . . .
------------------------------
From: bryan <[EMAIL PROTECTED]>
Subject: Re: Ethernet Card
Date: Tue, 11 May 1999 01:40:54 GMT
its a TULIP card. try that driver.
Vitor Pedro Bonucci Pias <[EMAIL PROTECTED]> wrote:
: I have Netgear (Bay Networks) Model FA310 Tx 100Mb and i cannot work
:
: with it in may linux Box.
: I don't know if this card is suported by Linux ?
: Any help would be greatfuly apreciated
: Pedro Pias (Portugal)
--
Bryan
------------------------------
From: "Kevin MacPherson" <[EMAIL PROTECTED]>
Subject: Ethernet error on boot.
Date: Mon, 10 May 1999 21:42:12 -0400
I am trying to set up my Computer with Linux (And having fun) but I cannot
get the networking going on it.
I have tried to get my Compaq Netelligent PCI and DLink DE-220PT cards to
work but could not get my kernel to recognize them (RH 5.1).
I had then swithched to a spare LinkSys Ether16 combo card. I put my DLink
card into non-Plug and Play mode and set my Linksys card up. (DLink IRQ 3
I/O 240 and LinkSys IRQ 5 I/O 340) I had then reserved the resources in my
BIOS. When I booted up into Linux again it seemd to have recognized both
cards but I had the error "SIOCADDRT: Invalid Argument" Further
investagation revealed that both cards installed under Linux were the same
card??? They had the same IRQ and I/O and all attampts to change one would
also change the other. I finally removed my DLink card and removed Eth1 from
the configuration but the error still persists.
Any ideas or anybody know of a good troubleshooting book or web page to get
through this????
[EMAIL PROTECTED]
------------------------------
From: Victor Kwok <[EMAIL PROTECTED]>
Subject: Re: reading Ethernet card address
Date: Tue, 11 May 1999 14:29:27 +0800
Hi,
Sorry, I think I don't make it clear. I mean the ethernet address
on the ethernet card, which has the format of XX:YY:ZZ:WW:UU:VV. One of my
card has this address : 00:C0:DF:B1:77:97. Can any help?
Victor
Paul Nevin wrote:
> Victor Kwok wrote:
>
> > Hi,
> > I want to write a program to read the hardware address of my
> > Ethernet card. I know that I can read the address using ifconfig. Is
> > there anywhere I can find the source code of it? Or can anyone point
> > me to other method?
> >
> > Thanks!
> >
> > Victor
>
> try
>
> more /var/log/dmesg | grep eth0
------------------------------
From: Graham Murray <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,demon.ip.support.unix
Subject: Re: fetchmail works -- but so does sendmail
Date: 11 May 1999 06:04:37 +0000
In demon.ip.support.unix, [EMAIL PROTECTED] (Phil Hunt) writes:
> Would I want to put these in some file under /etc/rc.d/ so that they
> automatically run whenever I start Linux up?
Sort of. What you would probably want to do is manually setup your
ipchains to do what you want. Then when you have the configuration you
are happy with, you use the ipchains-save command to store the
configuration. Then you use ipchains-restore in one of your /etc/rc.d
files.
------------------------------
From: "rob" <[EMAIL PROTECTED]>
Subject: NT & Samba.... cannot connect
Date: Mon, 10 May 1999 22:04:05 -0400
I have a samba server with nt client. Server shows up in network
neighbourhood. I have yet to get into it. When I click on the server it says
incorrect username or password for //(servername). What do I need to
configiure to get this going?
------------------------------
From: Satoshi Ohtsuka <[EMAIL PROTECTED]>
Subject: Linux on Compaq AP400
Date: Tue, 11 May 1999 15:48:09 +0900
Hi,
Linux on the AP400 does not appear (sometimes) to honour the ethernet
inter-packet spacing. The resultant packet stream swamps the Cisco
Catalyst switch the AP400 is connected to and creates a ripple effect
throughout our network.
The AP400 is loaded, and only single boots, with the latest Linux Red
Hat 6, kernel version 2.2.5 and network driver eepro100 version 1.06 for
the on-board Intel EtherExpressPro 100 ethernet PCI controller. System
functionality elements loaded on startup include various NIS (attempting
to contact its configured NIS server to verify and authenticate its
domain eu.barcapint.com by means of RPC), NFS and SMB (mailslot browse
packets as a transient Samba server) daemons. This is the same
environment which existed at the time of the failure with no further
applications running.
If someone knows that problems, could you please help us?
Many thanks and kind regards,
Satoshi Ohtsuka
------------------------------
From: [EMAIL PROTECTED] (Hal Sadofsky)
Subject: respawning mgetty only some of the time
Date: 11 May 1999 00:48:49 -0700
This must be very simple, but I don't know how to do this. I wish to
have my modem receive incoming calls, but only _part_ of the day. So
I don't want to put this in inittab, since I'm not interested in
rebooting twice a day.
I'm interested in starting a getty on /dev/ttyS0, that will respawn,
at, say 5pm every day, and killing it at 8am in the morning (so the
computer _won't_ try to answer the phone during the business day, but
only after hours).
So a cron job seems like an obvious solution, but I don't know what
the simple way to do "respawn" outside of inittab is.
Thanks in advance if you can help me here.
Hal Sadofsky
Oh, FWIW, I'm using RedHat 6.0, kernel 2.2.5.
------------------------------
From: [EMAIL PROTECTED] (Chris Sherlock)
Crossposted-To: comp.os.linux,comp.os.linux.questions
Subject: Re: PPP and dial-up connections (RH 5.2)
Date: 11 May 1999 04:28:59 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 02 May 1999 19:14:13 +0200, RiverTonic <[EMAIL PROTECTED]> wrote:
:Try netcfg in X.
:It comes with Redhat 5.2
Well, here's a curly one then! I setuid'd pppd and tried running a script I made
called start-ppp as someone other than root. Yet it says that it can't run pppd
with the name option as anyone but root! can anyone help me out here?
Oh, and btw, even using netcfg with the option of letting any user (de)activate
the ppp interface doesn't help! What is going on here, somebody?
TIA, Chris S.
------------------------------
From: "Jan Verhaert" <[EMAIL PROTECTED]>
Subject: REQ: Configuration?
Date: Tue, 11 May 1999 10:46:14 +0200
I have a cable modem and an ethernet card.
I connect to internet trough a LAN.
I don't have a static IP address. It's given to me by the server (proxy).
But I can't get connected with Linux.
Does anyone know what the configuration is and how it is done?
------------------------------
From: [EMAIL PROTECTED] (Gambit32)
Crossposted-To:
alt.os.linux.slackware,comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.misc
Subject: Re: Problems with looking up hostnames after upgrade
Date: Mon, 10 May 1999 13:48:07 GMT
Could the be causing the problems with my homepage though?
On Mon, 10 May 1999 06:19:20 GMT, Hardave Riar
<[EMAIL PROTECTED]> wrote:
>I had the same problem with my 3.6 install, all the tcp wrapper logs in
>/var/log/messages were by ip, but once I setup my /etc/hosts.allow, and
>/etc/hosts.deny the hostnames were listed. I guess tcp wrappers doesn't
>do a dns check unless forced to do so.
>
>Hardave
>(remove no-spam. to reply)
>
>Gambit32 wrote:
>>
>> we recently upgraded from slackware 3.1 to 3.6, and now our machine is
>> having severe problems getting hosts from ips.
>>
>> TCP wrappers should give out the username@host when we connect to our
>> server, but that doesnt work. it gives usernam@ip.
>>
>> In my perl scripts and includes on my web page
>> (http://www.academic.marist.edu/carob/) it should be saying came from
>> host / ip but that doesnt work either.
>>
>> Even more peculiar, we have listings in /etc/hosts like
>> 148.100.215.108 area51.groom-lake.nv.us area51
>> When i connect to the machine, it used to say
>> "[EMAIL PROTECTED]" but it wont even do THAT anymore.
>>
>> I have no idea exactly where the problem is. Ive checked the kernel,
>> my perl scripts, ive recompiled my wrapper program. im just lost!
>>
>> PLEASE anyone who can help. PLEASE.
------------------------------
From: John Morey <[EMAIL PROTECTED]>
Subject: Re: RedHat-6.0 and port forwarding
Date: Mon, 10 May 1999 14:03:16 GMT
The command line on RedHat-6.0 should look something like this:
/usr/sbin/ipmasqadm portfw -a -P tcp -L 1.2.3.4 5631 -R 192.168.0.2
5631
Thanks for every ones help,
John Morey
John Morey wrote:
>
> Well I finally got this going. As you say I needed to get
> ipmasqadm from http://juanjox.linuxhq.com. Also the directions
> given in the HOW-TO needed changed a little bit because the
> shared library was changed. I can't get to the box right
> now (I'm at work) but I'll send an update tonight with
> the correct commands. I also did not need to apply any
> patches to RedHat-6.0 to get this to work.
>
> More later,
>
> John
>
> root wrote:
> >
> > John Morey wrote:
> >
> > > I am having trouble setting up port forwarding (?) on RedHat-6.0. I
> > > have
> > > read the applicable HOW-TOs but am left unsure as how to do it. In some
> > > places it seems that ipchains should be able to do what I want but in
> > > others it seems that it will not.
> > >
> > > Here is a better description of what I am trying to do:
> > >
> > > First the picture:
> > >
> > > Internet
> > > |
> > > | (1.2.3.4)
> > > firewall (RedHat-6.0 with two network cards)
> > > | (192.168.0.1)
> > > |
> > > ----------
> > > | |
> > > (192.168.0.2) pc-a pc-b (192.168.0.3)
> > >
> > > Now the description:
> > >
> > > I have a machine, my firewall, running RedHat-6.0 that has two network
> > > cards. Let's say its' external IP address is 1.2.3.4 and its' internal
> > > IP
> > > address is 192.168.0.1. Now on the inside I have pc-a, IP address
> > > 192.168.0.2,
> > > that is running PC Anywhere in host mode and I want to be able to access
> > > pc-a
> > > using PC Anywhere from the Internet. PC Anywhere uses ports 5631 and
> > > 5632.
> > > As the firewall is the only box that I have a valid Internet IP address
> > > for I
> > > need to set the firewall up to forward anything the comes in from the
> > > Internet
> > > to ports 5631 and 5632 to the same ports on pc-a. I have masquarading
> > > working so
> > > that both pc-a and pc-b have access to the Internet through the
> > > firewall.
> > >
> > > Now the questions:
> > >
> > > Should I be able to do this with ipchains?
> > >
> > > If so what would the setup commands look like?
> > >
> > > If not what should I be using?
> > >
> > > Thanks for any help and/or info,
> > >
> > > John Morey
> >
> > Hi John..
> >
> > I'm a professed newbie in the linux world, so take anything I say with a
> > grain a salt, but I'm trying to do the exact same thing..
> >
> > I haven't quite got it all down, but here's what i've found so far..
> >
> > I believe you need both ipchains and a program called ipmasqadm. ipchains
> > comes with you RH6 distribution, and ipmasqadm can be found at
> > http://juanjox.linuxhq.com.
> >
> > He doesn't really say that you need it, but he also has a kernel patch for
> > ip masq stuff.. I said what the heck,
> > and downloaded the latest kernel (2.2.7) the latest ac patch 2.2.7-ac2, and
> > and Juans ip_masq patch.
> >
> > I have his utility install, and was trying to install it when I stumbled
> > on your post.. In the past, I found a doc online that told you how to do
> > this with ipautofw. Apparently, ipmasqadm is the latest and greatest tool
> > to do this, and it does have an option called ipautofw. Unfortunatly I
> > can't find that document anymore. That's what I was looking for.
> >
> > He has a pretty good man page, but I was hoping to find the oneshot
> > answer.. But I guess I'll stumble along until I find it.
> >
> > I have been successfully using a utility called REDIR to do this for SMTP
> > and POP, but that doesn't work for UDP packets.. So if you want to work
> > with me, I'll let you know how it goes..
> >
> > If you find a the magic bullet in your wanderings, let me know also..
> >
> > Peter Van Doren
> > ^~[EMAIL PROTECTED]
> >
> > Strip the ^~ it's just there to keep the spammers away..
------------------------------
From: "AnthonyO" <[EMAIL PROTECTED]>
Subject: Re: linux, netware & databases
Date: Mon, 10 May 1999 15:19:11 +0100
William Stacy wrote in message <[EMAIL PROTECTED]>...
>In the setting of a small LAN (5 to 10 workstations) does Linux make
>Netware moot, or do they work together?
>
>Can a DOS database application running under Netware be run successfully
>under Linux if the engine has not been ported to Linux?
>
>TIA for any observations, advice or opinions.
>
>Bill
>
Bill,
My observations, for what they are worth, is that if you're asking these
questions you're probably not all that up on Linux, which means that
Netware - which is by far better supported and more orientated to the
'Windows' world would be a better bet for your NOS.
Linux and Netware will quite happily co-exist on the same network, and will
also communicate quite happily if - say - Linux is setup as a Netware
station or server. But linux certainly won't make Netware moot if you're
looking for file and print services, network organisation and
administration.
Linux can emulate the DOS environment with things like DOSEMU, but I guess
it depends on the database app as to whether it will run in that environment
AND connect to the LAN.
Anthony
------------------------------
From: "Jan Johansson" <[EMAIL PROTECTED]>
Subject: Re: Configuration?
Date: Tue, 11 May 1999 10:44:34 +0200
get "dhcpcd".
------------------------------
** 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
******************************