Linux-Networking Digest #51, Volume #10 Sat, 30 Jan 99 02:14:03 EST
Contents:
Re: LINUX PPP on a SPARC10 (Bill Unruh)
Re: help with script to temporarily reconfig net (Arthur Corliss)
How to enable IP forwarding on SuSE Linux 6.0 ("Volker Kalthaus")
Re: I know it's been asked a million times... (Scott Alfter)
Linux and ADSL are biting me! (Joe Nardone)
Slow PPP link ([EMAIL PROTECTED])
Re: Which 'flavor' of Linux best for a M$ Separatist ("Michael 'BeLFrY' S. E. Kraus")
mgetty (Josh Gentry)
Re: dialing out while mgetty is at work (Josh Gentry)
Re: identifying a NIC ("GV Morgon")
Samba shares and different Workgroups (Mehrdad Ravanbod)
Newbie:LAN setup advice needed ("Christopher J. Mark")
Re: POP3 ("Jonas")
Re: Can I "tune" my PPP connection to reduce disconnects? (Chris Plachta)
Re: networking with MS-Windows and MS-DOS ([EMAIL PROTECTED])
Newbie Q: Linux Box as Router, Server, Gateway? (Cyrus Mehta)
Re: UUCP over TCP logins ("Michael Faurot")
Re: Problem in using uugetty/PPP server ("Simon Annetts")
Re: DHCP Server setup - Complete rookie need help please ([EMAIL PROTECTED])
Re: help: ftp daemon for ftp accounts??? (John Thompson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To:
comp.os.linux.setup,comp.os.linux.misc,comp.os.linux.hardware,alt.os.linux,comp.protocols.ppp,linux.redhat.install
Subject: Re: LINUX PPP on a SPARC10
Date: 29 Jan 1999 08:10:54 GMT
In <78qsci$k8u$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Moe) writes:
>I'm trying to connect via PPP to the University of Wisc PPP server. The modem
>connects and then I see garbage chars (in /var/log/messages that is).
>What would I see if they're assuming I'm going to start using PPP right away?
>And how do I login?
You would see exactly that. The user authorisation will then be done via
PAP (probably) or CHAP. Your username and password then go inot the
/etc/ppp/pap-secrets or /etc/ppp/chap-secrets file.
So, have the chat script finish after it sees the CONNECT message, and
let pppd take over. Look in /var/log/messages for a
<auth pap> or <auth chap> in one of the lines. That will tell you
which.
------------------------------
From: [EMAIL PROTECTED] (Arthur Corliss)
Subject: Re: help with script to temporarily reconfig net
Reply-To: [EMAIL PROTECTED]
Date: 28 Jan 1999 22:31:16 -0900
On Thu, 28 Jan 1999 15:59:07 -0600, jamie <[EMAIL PROTECTED]> wrote:
>(Slackware 3.6, kernel 2.0.36, no Xconfiguration utils like redhat)
>
>Normally, I have eth0 connected to cable modem, and eth1 to my home net.
>eth0 uses 10baseT connector and eth1 uses BNC connector. I'm leisurely
>setting up a new linux box to replace my current linux box, and the
>ethernet card it came with has only a 10baseT connector.
>
>I need to write a script to temporarily unconfigure both eth0 and eth1,
>so that I can temporarily configure eth0 to the home lan to transfer
>lots of files. I know how to undo routing and ipfwadm, but I'm somewhat
>unclear on how to undo ifconfig commands.
>
>Does "ifconfig eth0 down" undo the other ifconfig commands as well
>bringing it down? or do I have to undo each ifconfig command
>separately?
Why switch what device eth0 and eth1 is attached to? Perhaps I'm missing
something, but it would seem that if you're just insisting on using certain
addresses for certain traffic you could use ifconfig and the route command to
swap the addresses.
--Arthur Corliss
Bolverk's Lair -- http://www.odinicfoundation.org/arthur/
"Live Free or Die, the Only Way to Live" -- NH State Motto
------------------------------
From: "Volker Kalthaus" <[EMAIL PROTECTED]>
Subject: How to enable IP forwarding on SuSE Linux 6.0
Date: Fri, 29 Jan 1999 08:44:58 +0100
Hello all,
i have a SuSE Linux 6.0 box "running" as a router.
2 Nics are installed. Every NIC on a different subnet.
Here�s my problem:
i can ping every NICs IP Adress from both subnets. But i CANT ping
Clients residing in the different subnet. It seems that there is no IP
forwarding enabled. I checked the Kernel with make menuconfig, but it tells
me that ip forwarding has been enabled and installed.
can any1 help ?????
Volker Kalthaus
([EMAIL PROTECTED])
------------------------------
From: [EMAIL PROTECTED] (Scott Alfter)
Subject: Re: I know it's been asked a million times...
Date: 29 Jan 1999 00:12:35 -0800
In article <[EMAIL PROTECTED]>, Jay Copeland <[EMAIL PROTECTED]> wrote:
>We have two linux boxes in our house....
>
>I have been trying for about a week to get IP Masquing (sp?) to work....
>
>aaa.bbb.ccc.32 voyager.qx.net voyager
>aaa.bbb.ccc.33 defiant.qx.net defiant
Try setting up your machines on a private network (192.168.[1-254].x).
IIRC, you need to do this with IP masquerading (the whole point is to hide
an entire network behind a single IP address).
_/_
/ v \
(IIGS( Scott Alfter (salfter at (yo no quiero spam) delphi dot com)
\_^_/ http://people.delphi.com/salfter
------------------------------
From: Joe Nardone <[EMAIL PROTECTED]>
Subject: Linux and ADSL are biting me!
Crossposted-To: comp.dcom.xdsl
Date: Sat, 30 Jan 1999 01:21:52 GMT
I am in routing hell, and I don't know why.
Got my ADSL link a few days ago, and (to appease the BellAtlantic
geniuses) had them set it up via W95. Everything worked ok, so
the first troubleshooting issue is solved: the link physically
works.
Now, drop out the W95 box for the Linux box. Go to set up the
routing, and here's where it looks like Bell is lying to me:
IP: 151.200.17.173 (fine)
Gateway: 151.200.16.1 (hmm.. same subnet still?)
Subnet mask: 255.255.255.0 (what??? how can this be?)
Because of Win95's braindead TCP/IP, this works somehow despite
the fact that the subnet mask should conceivably make the gateway
"invisible". But it works.
Linux won't let me define this gateway with this subnet mask
(assuming a broadcast of 151.200.17.255). Attempts to try to
guess the "real" subnet mask and broadcast don't work either--
I figured, with 16 and 17 in the subnet, that it would be safe
to define:
Subnet mask: 255.255.224.0
Broadcast: 151.200.31.255
I can add the given default gateway route now, but nothing actually
gets routed. It's like I'm completely cut off. I can ping myself.
That's it.
Given the info above, does anyone have any idea how to get this
machine alive on the network?
Frustratedly yours,
Joe
--
+---------------------------------------------------------------------------
| Joe Nardone <[EMAIL PROTECTED]> http://www.patriot.net/users/nardone
| The most beautiful thing we can experience is the mysterious. It is the
| source of all true art and all science. He to whom this emotion is a
| stranger, who can no longer pause to wonder and stand rapt in awe, is as
| good as dead: his eyes are closed. - Einstein
------------------------------
Date: Sat, 30 Jan 1999 00:33:16 -0500
From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Slow PPP link
I configured PPP on my RedHat 5.1 Linux and it works fine with my ISP.
But
the response is very very slow compared to Windows Internet connection.
(I have 56K V.90 Zoom external modem)
I tried different values for MRU & MTU but could not get any better
response.
How can I configure my machine to get a better response from my Internet
connection on Linux ?
Thanks,
Karunakar.
------------------------------
From: "Michael 'BeLFrY' S. E. Kraus" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera,comp.os.linux
Subject: Re: Which 'flavor' of Linux best for a M$ Separatist
Date: Sat, 30 Jan 1999 16:21:13 +1100
G'day...
> that, too. Debian is nice, but very intimidating to new people and can
> seem extremely complex (flexible?).
Complexity != flexibility. RH is *extremely* flexible.
All the best...
Michael.
------------------------------
From: [EMAIL PROTECTED] (Josh Gentry)
Subject: mgetty
Date: Fri, 29 Jan 1999 16:04:16 -0800
See my document on setting up a Linux dialin server (using mgetty) at
http://www.swcp.com/~jgentry/dialin2.html
*** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ***
------------------------------
From: [EMAIL PROTECTED] (Josh Gentry)
Subject: Re: dialing out while mgetty is at work
Date: Fri, 29 Jan 1999 16:18:29 -0800
Thanks, Michael. Not sure how I missed that in the documentationhe first
time.
Josh
*** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ***
------------------------------
From: "GV Morgon" <[EMAIL PROTECTED]>
Subject: Re: identifying a NIC
Date: Fri, 29 Jan 1999 21:16:38 -0800
If there is a FCC id number on the card, you can do a manufacturer lookup
from the FCC's website (Your tax dollars finally at work). The address is:
http://www.fcc.gov/oet/fccid/
Glenn
Maddog wrote in message <[EMAIL PROTECTED]>...
Just wondering if there is any type of programs that help identify a
NIC? I got them without drivers and i cant find any info on them.. They
are full of jumpers.. im hoping once i can get them somewhat detected i
can get the jumpers figured out my self...
thanks for any info
Dave.
------------------------------
From: Mehrdad Ravanbod <[EMAIL PROTECTED]>
Subject: Samba shares and different Workgroups
Date: Tue, 26 Jan 1999 17:26:24 +0100
Hi!
I am trying to setup a samba server which serves three shares to several
different workgroups, Can this be done??
The docs say yhat one must specify a workgroup for a share, how does one
associate a share with one workgroup and another share with another
workgroup etc.
Any advice would be appreciated!
/Thanx
------------------------------
From: "Christopher J. Mark" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Newbie:LAN setup advice needed
Date: Fri, 29 Jan 1999 01:37:03 -0500
Reply-To: [EMAIL PROTECTED]
Hi all:
I'm a relative Newbie, having only installed Linux (SuSE 5.3) in the
past month. I'm starting to get comfortable with it now, and would like
to start experimenting with networking. The problem is, I have all kinds
of old, weird hardware, and need some advice on which would be the best
way to approach it.
I have Linux running on 2 machines now: a Pentium 133 w/16 MB of RAM,
and a 486/33 with 20 MB. I also have a Toshiba 486/75 laptop (8 MB) and
could cobble together a 386 (up to 8 MB, maybe) out of spare parts. I'd
rather not start messing with the Pentium (my main box, and if I screw
it up, I'm up a creek) until I have a pretty good idea of what I'm
doing. I also have 3 ISA Ethernet cards (2 Etherlink III and one
Etherlink II) I could install.
I'd be most comfortable setting the 486 up as the server and linking one
of the other boxes to it as a client. I have about a GB of disk space to
play with there, and considerably less on the other 2.
Problem #1: Installation. The Toshiba has a really off-brand PCMCIA 2x
CD-ROM. I bought it overseas and can't even find Win95 drivers for it.
The company that made it (TXC) has no web presence as far as I've been
able to determine. The DOS drivers are made by Oak Technologies and when
I wrote them, they said to contact the OEM. The 386 wouldn't have any
CD-ROM at all, and at best two 40 MB HD's.
Am I better off trying to get the CD-ROM working on the Toshiba, or
installing a minimal Linux from floppies on either box and then doing
the rest over a network connection? I could be willing to spring for a
PCMCIA NIC for the Toshiba, but don't want to spend any more until I
know what I'm doing (and what I want to do in the near future).
I also have a SyQuest EZflyer 230 MB parallel port drive. I could try to
do an installation off that too, but they filed Chap. 11 in Nov. so
tech. support there isn't going to be too easy to come by. I haven't
even tried to get it mounted on either of the working boxes yet.
This is getting a little long, so I'll hold other problems for a future
post.
An e-mail repy would be appreciated as I don't get onto the newsgroups
as often as I'd like.
--
Christopher J. Mark
Mathematician, Tutor, and Webpage designer
http://www.math.umd.edu/~cjm
"Time flies like an arrow, but fruit flies like a banana."
------------------------------
From: "Jonas" <[EMAIL PROTECTED]>
Subject: Re: POP3
Date: Fri, 29 Jan 1999 12:04:05 +0100
If you are using RedHat you have to install imap rpm
then restart or "killall -HUP inetd". Now you got a POP3 server.
/Jonas
------------------------------
From: Chris Plachta <[EMAIL PROTECTED]>
Subject: Re: Can I "tune" my PPP connection to reduce disconnects?
Date: Fri, 29 Jan 1999 22:33:10 -0800
Stuart R. Fuller wrote:
> :
> : I was wondering if there are settings that I can tinker with to try and
> : make this connection more robust?
>
> The first step in troubleshooting any problem is to determine what the problem
> is. You can tinker, but there's no guarantee that there is a setting that
> will make the connection more robust.
>
> So, start with the basics:
>
> - why the the PPP disconnecting?
>
> Look at /var/log/messages for clues. Some reasons that I've seen for
> disconnects include:
>
Unfortunately, not much info in the log:
Jan 29 22:06:24 localhost pppd[626]: Hangup (SIGHUP)
Jan 29 22:06:24 localhost pppd[626]: Modem hangup
Jan 29 22:06:24 localhost pppd[626]: Connection terminated.
Jan 29 22:06:24 localhost pppd[626]: Exit.
> - crappy modem
> - crappy phone line
> - crappy ISP modem
> - crappy ISP
> - Call-Waiting enabled on the modem phone line
>
I'm pretty sure that I've got me a crappy phone line. I've had the same ISP and
modem for years, but I just got the noisy phone line recently.
But what's interesting is...I wasn't having as much trouble since I've "upgraded"
to Redhat 5.1. I actually did a re-install, from scratch on a new hard drive. I
have my old drive backed up, so I could pull any old config files off of the
backup. I just don't know what to look for.
I'm wodering if there are any settings that can be adjusted that make the ppp
connection more robust for noisy lines, such as error checking parity or
something.
Chris
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: networking with MS-Windows and MS-DOS
Date: Fri, 29 Jan 1999 11:33:51 GMT
In article <78ovqn$5at$[EMAIL PROTECTED]>,
"Erik Colson" <[EMAIL PROTECTED]> wrote:
> Hi !
>
> I would like to know if other people here did install a Linux server (LAN)
> to share files, printers and a single mail-adress on a dialup ISP to
> MS-WINDOWS and MS-DOS clients ?
>
> Was it difficult ? time consuming ? stable ?
> What are encountered or should-know problems ?
>
> Thanx !
> Erik
>
>
read samba.howto
answers most questions
not too dificult or time consuming after that
works stable for me
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Cyrus Mehta <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Newbie Q: Linux Box as Router, Server, Gateway?
Date: 30 Jan 1999 06:34:13 GMT
Hi,
I have tried to lurk to find the answer, but here goes:
I want(hope??) to build a Linux Box for a home network connected to the net by
Cable Modem with IP masquerading with a possiblity of web hosting.
I intend to have a number of WinNT/9X PCs connected by Samba to the Linux Box which
has the
cable modem connected to it. I know Samba does the file/print sharing for
Linux/Windows.
The Win PCs will have NICs, but do I need a hub to connect to a NIC on the LInux Box?
Or can I add more NICs to the LInux BOX to become a router, with direct wire
connections
from the other NICs. Can (and intend to) use 10/100 NICs all around, hoping for 100.
And if the above is possible, obviously I am limited by the # of NICs I can put in a
Linux
box, can I then add a small 4 port hub with one port to the Linux Server.
Yes, it sounds like a lot of work just to eliminate one piece of hardware, but with a
small
home network and access to cheap NICs, this seems like a legit question to me.
If the above is possible, what software components do I need, I know I will need the
following:
Recent Linux Distribution with all Relevant Hardware Drivers (DUH)
Samba 2.0
IP Masquerading
Apache
Cyrus
------------------------------
From: "Michael Faurot" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: UUCP over TCP logins
Date: 30 Jan 1999 04:44:23 GMT
Jim Seymour <[EMAIL PROTECTED]> wrote:
: I've been trying all night to get UUCP-over-TCP login to work
: on my RH5.0 Linux box.
: The problem seems to be in uucico - I can't seem to get it to
: accept a valid login. I've been through every FAQ and HOWTO
: I can find.
: I created an account for the calling machine. Then did a
: grep <host> /etc/passwd >/usr/lib/uucp/passwd. And edited
: the resulting file to make it "host password". According to
: everything I've been able to find, this *should* work.
uucico need to be run out of inetd, with an entry in /etc/inetd.conf
that looks like this:
uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
Be sure to send a "kill -HUP PID" to the running inetd process after
updating /etc/inetd.conf.
Depending upon how Taylor UUCP was compiled, you may need to setup
the password file as /etc/uucp/passwd. Be sure that user "uucp" has
permissions to read the file.
You can verify that things are working by doing a "telnet hostname
540" from the remote machine to verify that the changes you've made to
inetd are working and that you can login with the username and password
specified in the uucico password file.
If you can login okay you should get an "Shere" prompt.
BTW: This question really belongs in comp.mail.uucp.
--
+---------+-----------------+------------------------------------------------+
| Michael | mfaurot | I'm a dyslexic agnostic. |
| Faurot | phzzzt.atww.org | Is there a dog? |
+---------+-----------------+------------------------------------------------+
------------------------------
From: "Simon Annetts" <[EMAIL PROTECTED]>
Subject: Re: Problem in using uugetty/PPP server
Date: Mon, 25 Jan 1999 17:52:21 -0000
You don't say if you need to login in to your server first using an account
which fires up ppp in non silent/passive mode
or whether pppd just runs on your server on each serial port all the time.
I have a way of doing ppp without using mgetty+autopp or uugetty but just
the plain minimal agetty.
It works with linux clients or win95 clients dialing in!!
Here our two modem ras server has these entries in inittab:
d0:345:respawn:/sbin/agetty -h -i -I 'AT&F0E0Q1&D2&C1S0=1\015' -n -l
/etc/ppp/pppstart 57600 ttyR0
d1:345:respawn:/sbin/agetty -h -i -I 'AT&F0E0Q1&D2&C1S0=1\015' -n -l
/etc/ppp/pppstart 57600 ttyR1
replace ttyR1 with ttyS0 or S1 etc....
the pppstart script does only this:
#!/bin/sh
#
#
/usr/sbin/pppd
What happens is that init runs agetty which configures the modem
The response from the modem is enough to trick agetty into thinking it needs
to run the login program
but in this case is replaced with pppd.
Now use an options file like this:
# debug
disconnect "chat -- +++ OK ath0\r OK"
netmask 255.255.255.0
asyncmap 0
crtscts
lock
modem
silent
lcp-echo-interval 30
lcp-echo-failure 4
ipcp-accept-remote
bsdcomp 0,0
deflate 15,15
require-pap
# these options for win95 dial in clients only!!
ms-dns x.x.x.x
ms-dns y.y.y.y
ms-wins z.z.z.z
replace the x,y,z with ip addresses.
For each modem we assign ip addresses in options.ttyXx
local:remote
Now you can dial in from a win95 pc!!!
Just put in pap-secrets:
username servername password *
servername=hostname part of your server
username=win95 ras username or user in options on client
To dial in now as well using linux on the client machine use the normal
ppp-on scripts but have an options file like this:
x.x.x.x:0.0.0.0
-detach
connect "/usr/sbin/chat -v -f /etc/ppp/chatconnect"
lock
defaultroute
modem
/dev/cua1
57600
crtscts
# debug
asyncmap 0
bsdcomp 0,0
deflate 15,15
noauth
user [put a username here which must be in pap-secrets on the server. equiv
to username on win95 ras.]
and make a pap-secrets file on the client like the one on the server.
x.x.x.x is the ip you want or put 0.0.0.0 if you'll accept one from the
server.
The chatconnect script is like the ppp-on-dialer script but it doesn't need
to login.
i.e.
TIMEOUT 60
ABORT ERROR
ABORT BUSY
ABORT "NO CARRIER"
ABORT "NO DIALTONE"
"" "+++AT&F0H0L0"
OK "ATDTnumber"
TIMEOUT 75
CONNECT ""
You will need IP forwarding in the kernel on both machines and you will need
to set up your routing in the ip-up script on the server and possibly the
client if your feeding a small LAN.
Hope this helps
Simon
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: DHCP Server setup - Complete rookie need help please
Date: 29 Jan 1999 14:44:40 GMT
GV Morgon <[EMAIL PROTECTED]> wrote:
> daemon is version 2.0b1pl6. I noticed that in the /sbin directory the
> dhcpcd program is in there, but when I type "dhcpcd" at the prompt, I get a
> "Command not found" error. For that matter I cant even get the games to
try this on the shell prompt
/sbin/dhcpcd
instead of just
dhcpcd
The reason might be that :.: (current directory) is not on your search path
for security reasons...
Cheers,
Nuno Sucena
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: help: ftp daemon for ftp accounts???
Date: Thu, 28 Jan 1999 21:33:23 -0500
[EMAIL PROTECTED] wrote:
> Is there a Linux ftp daemon that will allow me to set up ftp accounts that
> will NOT show up in /etc/passwd? I want to allow clients to ftp but NOT give
> them entries in /etc/passwd.
You mean like anonymous ftp?
--
-John ([EMAIL PROTECTED])
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (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
******************************