Linux-Networking Digest #14, Volume #11 Sun, 2 May 99 13:13:38 EDT
Contents:
Re: pppd 2.3.6 error!! (Todd Ostermeier)
Re: Networking Direction ("...Bob")
multihomed box trouble ([EMAIL PROTECTED])
Re: SIOCSIFBRDADDR: Cannot assign requested address (Mike)
Re: Virtual Server vs. Virtual Host ("Alan J. Flavell")
Re: PPP with PCMCIA (Clifford Kite)
more ip aliasing (Paul Marchildon)
Re: kicking specific users off (mist)
Re: 2 nic cards help!!! ("[EMAIL PROTECTED]")
Re: pppd: 244000 not supported ("Rocky Seelbach")
Re: Newbie--3c509b can't recognize (Charles Pouliot)
Re: kicking specific users off (Jeff Lasman)
Re: RealTek RTL 8029 PCI Ethernet Driver ("Paul S. Brown")
Re: Connecting Win98 to linux ("IBL")
----------------------------------------------------------------------------
From: Todd Ostermeier <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: pppd 2.3.6 error!!
Date: Sun, 2 May 1999 03:10:18 -0500
Did you have ppp working with your previous kernel? What this looks like
is you added the pap pppd option, which asks the server to authenticate
itself to you (which most servers won't do).
On Sun, 2 May 1999, Jack Zhu wrote:
: Linux kernal is 2.2.1. My old pppd is 2.2.0. I heard that pppd 2.2.0 doesn't
: work under kernal 2.2.1, so I download the 2.3.6 version PPPD. After compile
: and install, when I try to run "pppd" to connect to my ISP, the error
: message is:
:
: pppd: peer authentication required but no suitable secret(s) found
: pppd: for authentication any peer to us(ABCD)
:
: "ABCD" is my username for connect to my ISP.
:
: My ISP uses "PAP authentication". And I did add correct content in
: "pap-secret" file.
:
: So what's wrong? Any idea?
:
: Help me out!! Thanks a lot!!
:
: Pls email me!
:
: [EMAIL PROTECTED]
:
:
:
:
________________________________
Todd Ostermeier
[EMAIL PROTECTED]
http://www.ews.uiuc.edu/~ostermer/index.html
ICQ UIN: 2253928
A-723
________________________________
------------------------------
From: "...Bob" <[EMAIL PROTECTED]>
Subject: Re: Networking Direction
Date: Sun, 2 May 1999 08:12:00 -0400
Reply-To: "...Bob" <[EMAIL PROTECTED]>
Lew,
So, I should then just focus on Samba, and when that's fully grokked and
implemented, I can see if I need anything else for security and validation.
Nu?
Thanks for the pointer. :)
--
...Bob, NYC
(Newsgroup reply preferred)
Lew Pitcher <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Yes, you *could* do it like that, but you don't have to.
>
> On the software side, check out Samba (http://www.samba.org/)
> It provides server support for the SMB protocol which is the core
> of the "Microsoft Networks" and LanManager/LanServer protocols
> that Microsoft provides for Windows95/98/NT filesharing. The latest
> Samba can support most (if not all) the functions of an NT PDC, including
> user validation (WORKGROUP or DOMAIN logins), file share serving, and
print
> serving.
>
> NIS and NFS are well supported in the Unix world, but support in the
> Microsoft Windows world will cost you. Samba is available for free (GPL),
> and is supported in both the Unix and Windows worlds.
>
>
> On Thu, 29 Apr 1999 22:09:22 -0400, "...Bob" <[EMAIL PROTECTED]> wrote:
>
> >Greetings,
> >
> >I've got two Win98 boxes that use peer sharing for database access, and a
> >Win3.x and Win95 laptop that connect time to time to gather misc. files
from
> >each other. Now that I've got a Linux box, I'd like to utilize that,
> >instead of making a commitment to NT. I'd like Linux to validate user
> >shares on the Win98 boxes. I'd like to store the database data on Linux
> >(for better security?), with the Win98 boxes just running the dB front
end.
> >This is a mixed home-work environment, and I'm hoping this is the start
to
> >building a real, secure, network.
> >
> >My problem is, this is my first hands-on with networking. Near it, but
> >never really touched it. So, I need some advice - I'm a bit confused
with
> >the options. I believe I need NIS for password security. Then use NFS
to
> >allow Win98 to see allowed directories on the Linux box. Is that right,
and
> >later I can try to sort out DNS and Samba, or should I be focusing
> >differently?
> >
> >I know I have a lot to learn, but what to focus on first, second, etc.
is
> >the guidance I'm seeking.
> >
> >
> >--
> >
> >
> >...Bob, NYC
> >(Newsgroup reply preferred)
> >
> >
> >
>
>
> Lew Pitcher
> JOAT-in-training
------------------------------
From: [EMAIL PROTECTED]
Subject: multihomed box trouble
Date: 2 May 1999 13:19:04 GMT
I'm having a tad bit of trouble with a linux box I have multi home wiht IP
aliases with kernel 2.2.x. I'm using nettools 1.52 (latest).
I run the following commands..
ifconfig eth0 205.179.1.101 broadcast 205.179.1.255 netmask 255.255.255.0
ifconfig eth0:0 207.113.220.32 netmask 255.255.255.0 broadcast 207.113.220.255 up
ifconfig eth0:1 205.179.26.120 netmask 255.255.255.0 broadcast 205.179.26.255 up
route add default gw 205.179.1.252 netmask 0.0.0.0 metric 1
from what I've read in the Docs for the kernel I don't have to define the
route for eth0:0 and eth0:1 if I define broadcast and netmask with
ifconfig..
I can't connect (icmp,traceroute,telnet) to it every now and then.. I have
a squid proxy runnig on it and the problem is really noticible when I use
netscape. I have to click relead 3 or 4 times before it connects..
I don't have any type of firewall or router options turn on in the
kernel.. Any ideas??..
--
It's nice having Multiple Personalities! [EMAIL PROTECTED]
http://www.infinex.com/~gman Keeper of Bay Area
B.A.S.P: Shell
Linux => OS for the Computer-Literate! Providers List
(=E G-man, G-DoG, Archy, LoOoD, Gary B. from E.C and FoG CiTY
------------------------------
From: Mike <[EMAIL PROTECTED]>
Subject: Re: SIOCSIFBRDADDR: Cannot assign requested address
Date: Sun, 02 May 1999 09:22:17 -0400
I also run RedHat 5.2, kernel 2.2.4, 3c575 ethernet card, pcmcia-cs 3.0.9,
dhcpcd 0.70-2 out of the box. I am using a Linux server running dhcp 2.0b1pl6-2
also out of the box.
With this setup, I get the 'cannot assign requested address' and on the server
side running dhcpd interactively, I don't see any requests for an ip address.
The same laptop with the same card works fine with dhcp under win95.
What I had to do was find the latest dhcpcd (1.3.14-pl5) which I found here:
http://metalab.unc.edu/pub/Linux/system/network/daemons/!INDEX.html
After untar-ing, make & make install, the laptop will now actually request an
address from the server. For some reason, I have to execute this (which I found
in the dhcp-HOWTO) on the server to get it to send an address back:
route add -host 255.255.255.255 dev eth0
I hope this helps.
Mattias U wrote:
> I'm running RedHat 5.2, kernel 2.2.6 and having some problems hooking up my
> 3c575 card. When running 'ifup eth0' I get the following message:
>
> SIOCSIFBRDADDR: Cannot assign requested address
> SIOCSIFNETMASK: Cannot assign requested address
> Sending bootp request
> No bootp response recieved -- not configuring device eth0.
>
> Running 'ifconfig eth0' shows me:
>
> eth0 Link encap:Ethernet HWaddr 00:10:4B:7C:E8:45
> BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:18 errors:0 dropped:0 overruns:0 frame:0
> TX packets:1 errors:0 dropped:0 overruns:0 carrier:1
> collisions:0 txqueuelen:100
> Interrupt:11 Base address:0x400
>
> I'm using the pcmcia-cs 3.0.9 package, and the computer is an AST Ascentia
> P80, if that might be of interest.
>
> I REALLY hope someone has a clue what might solve my problem.
>
> / Mattias
------------------------------
From: "Alan J. Flavell" <[EMAIL PROTECTED]>
Crossposted-To: comp.infosystems.www.servers.misc,comp.infosystems.www.servers.unix
Subject: Re: Virtual Server vs. Virtual Host
Date: Sun, 2 May 1999 15:41:12 +0200
[f'ups narrowed to what seems to be the relevant group]
On Sat, 1 May 1999, Richard Brodsky wrote:
> If I set up a "Virtual Server" under Apache, what does that mean exactly.
Apache uses the term "Virtual host" for this function. I don't know
how you missed it when you checked the documentation before posting, it
seems to be clearly signposted from the main documentation page
http://www.apache.org/docs/ ->
http://www.apache.org/docs/vhosts/index.html
> Is
> it essentially just a Virtual Host (name based host)
Apache does not limit the use of this term to the name-based kind
of virtual host.
> or does it have its own set of config files and sendmail,
This isn't an either/or question. Both name-based and address-based
("IP-based") virtual servers need configuration data.
Apache _can_ read separate config files for each virtual server,
but they'd all be called out from the standard config files that
the server reads at startup.
> Also, can someone point me towards some documentation on
> "multiplexing" a Linux server into actual "Virtual Servers"
See above URL.
> like is done at
> http://www.vservers.com and http://www.iserver.com.
Don't know. Is it something special? There's a specific technique
documented at http://www.apache.org/docs/vhosts/mass.html
> Please respond via email.
No. You wouldn't like the fees that my employer charges for
consultancy. Welcome to usenet, the netiquette is at
news.announce.newusers
------------------------------
From: kite@NoSpam.%inetport.com (Clifford Kite)
Crossposted-To: comp.os.linux.portable
Subject: Re: PPP with PCMCIA
Date: 2 May 1999 09:30:28 -0500
Nathan Tawil ([EMAIL PROTECTED]) wrote:
: First, Linux doesn't seem to recognize the modem. I get an I/O error
when I enter "setserial /dev/ttys2 ...." (The modem shows up on COM3
under Windows.) I've tried to test the modem with minicom, but I can't
quite figure out how to make this work.
Well, you might try using the correct device file, probably /dev/ttyS2 .
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* The wealth of a nation is created by the productive labor of its
* citizens. */
------------------------------
From: Paul Marchildon <[EMAIL PROTECTED]>
Subject: more ip aliasing
Date: Sun, 02 May 1999 10:04:15 -0400
I want to set up a number of ip aliases on a server. I understand the
use of ifconfig and route. However, I cannot get linux to assign the
correct subnet mask at boot, in fact I get errors. I am using Red Hat
5.2. I used the utilities in XWindows to set the aliases.
One of the problems I have is that there are so many initialization
scripts, the I cannot find the script that initializes the aliases!
Can anyone help me?
------------------------------
From: mist <[EMAIL PROTECTED]>
Subject: Re: kicking specific users off
Date: Sun, 2 May 1999 15:10:54 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>
Martin Schwarz <[EMAIL PROTECTED]> scribed to us that -
>Rod Roark wrote:
>>
>> Moe Koenig <[EMAIL PROTECTED]> wrote:
>> >On Sat, 01 May 1999 13:01:27 -0400, jason <[EMAIL PROTECTED]>
>> >wrote:
>> >>
>> >>Kill their login shell? e.g.:
>> >>
>> >>% ps aux | grep ^bad_user | grep sh
>> >>bad_user 2197 0.0 0.7 1892 488 p4 S Apr 22 0:00 -tcsh
>> >>% kill -9 2197
>> >>% ps aux | grep ^bad_user
>> >>%
>
>> kill -9 `ps aux | grep ^$1 | sed 's/^$1 *//' | sed ' .*//'`
>>
>> Anyone got an aspirin? :-)
>
>Not yet. Could you explain that 's/^... stuff first?
IIRC, The first bit sed 's/^$1 *//' -
s/ means "substitute using "/" as a separator"
^$1 means "Occurrences of [argument $1] that are at the start of a line"
* means "Any number of spaces"
// means "with nothing"
So the whole bit means
Substitute occurrences of argument 1 at the start of a line followed by
any number of spaces with nothing
So that
username ......process info.....
becomes just
......process info.....
The second sed command replaces anything that has any number of any
character occuring after a space, so if the output from ps was
username pid blah blah blah
The first bit would strip username leaving
pid blah blah blah
and the second sed command would strip the blah blah blah leaving just
pid
Which is what you needed. 8-)
--
Mist.
------------------------------
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: Re: 2 nic cards help!!!
Date: Sun, 02 May 1999 14:52:44 GMT
Rob I finally got it working after following your advice and taking one look at
the ethernet howto. I must confess to not following precisely what the
documentation had said. But after your email message and carefully reading the
howto i was able to get eth1 up. My conf.modules looks like this now: ...
alias eth0 ne
alias eth1 ne
options ne io=0x300,0x340
thanks a bunch pal
Rob van der Putten wrote:
> Hi there
>
> On Sat, 1 May 1999, [EMAIL PROTECTED] wrote:
>
> > Which file are you reffering to Rob. Is it /etc/conf.modules or Append in
> > lilo.conf and did you have to give any options for irqs.
>
> It is in fact /etc/modules.
> /etc/conf.modules takes care of dependencies.
> On a RH box you probably need to set an option in /etc/conf.modules.
>
> Regards,
> Rob
>
> +------------------------------------------------------------------------+
> | http://www.sput.webster.nl/spam-policy.html |
> +------------------------------------------------------------------------+
------------------------------
From: "Rocky Seelbach" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: pppd: 244000 not supported
Date: Sun, 2 May 1999 08:19:52 -0700
chris wrote;
>This message appers in /var/log/messages when i try to use my new 56k
>modem. i edited my ppp-on script to use the new connect speed (and the
>new phone number). It turns out, actually, that 115200 (28.8 X 4) is the
>highest value that doesn't produce this error.
Sounds right. 115200 is the hi end of current serial ports. To get any
faster you usually have to get a high performance card.
>How can I find the speed at which I am transfering data?
Do an ftp from your ISP's server. That's probably as fast as it's gonna
get.
>Can I just ignore this message?
No, use 115200 in the ppp script. It needs to know the speed to use. I
think it defaults to 9600 otherwise.
>It does feel like a 28.8 connection, but it's been one day, and I
>haven't guaged the general vagaries of net congestion yet.
------------------------------
From: Charles Pouliot <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Newbie--3c509b can't recognize
Date: Mon, 19 Apr 1999 04:37:09 GMT
When I installed linux on a Gateway 486 with 3c509b, I didn't have any
problem, but the installation disks warned that 3c509b may not get
autodetected properly (Debian linux) and suggested that if I had problems, to
recompile the kernel with explicitly indicating a 3c509b, and not to
autoprobe/autodetect. Is that what you did when you say you redid the
kernel?
In article <7fe7d4$2pgo$[EMAIL PROTECTED]>,
"Kevin" <[EMAIL PROTECTED]> wrote:
> I can't get linux to find or recognize my ethernet card it's a 3c509b.
> It works fine in NT but I've tried to get it to go in Xwindows, no luck.
> I've redone the kernel and made sure it was enabled--nothing. When I go to
> ifconfig eth0 says it's not a device. It's listed as supported? I'm using
> redhat 5.2. Tthe book I'm using the guy is using the same card as reference.
> Please help. Email replies please to [EMAIL PROTECTED]
> Thanks
> Kevin
--
Charles Pouliot
Computing & Information Science Major
Saint Vincent College
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Sun, 02 May 1999 09:09:11 -0700
From: Jeff Lasman <[EMAIL PROTECTED]>
Subject: Re: kicking specific users off
Martin Schwarz wrote:
> > Is there a way to get rid of specific users (remote users) short of
> > logging off everyone?
>
> Disable their login just by putting for example an asterisk at the
> beginning of the password in /etc/passwd.
I don't think that's what he meant. That'll keep the from logging back
on using telnet and/or a local terminal. But according to the man page
for passwd(5) it won't stop anyone from using rlogin. There's another
issue, too, see the "notes".
$ man 5 passwd
Jeff
--
Jeff Lasman <[EMAIL PROTECTED]>
Internet Products Manager
Jatek Corporation
main office: (310) 375-7646 * fax: (310) 375-0892
Internet Products office:
(909) 787-8589 * fax: (909) 782-0205
24-hour Internet Products support:
(909) 787-8589 * fax: (909) 782-0205
------------------------------
From: "Paul S. Brown" <[EMAIL PROTECTED]>
Subject: Re: RealTek RTL 8029 PCI Ethernet Driver
Crossposted-To: comp.os.linux.hardware
Date: Sun, 25 Apr 1999 14:11:33 +0100
Moe Koenig <[EMAIL PROTECTED]> wrote:
> If nothing helps I suggest you search Altavista for "RTL 8029
> RealTek", I found a working driver for my RTL8139 (100mbit) that way.
> You will have to browse through some pages through, I got like 2 Pages
> full of black-hits and on the third one the driver.
> You might also want to try searching for rtl8029.c directly, might
> find you the driver quicker.
> Good luck!
The RTL8029 is supported by the PCI NE2000 driver and, to a lesser
extent by the ISA NE2000 driver.
Both of these are in the standard Kernel.
Paul
--
Paul S. Brown + E-Mail : [EMAIL PROTECTED]
Technical Director | Telephone: +44 (0) 1296 480 021
Newton Solutions Ltd. | Fax : +44 (0) 1296 480 026
+ Mobile : +44 (0) 7050 609 765
------------------------------
From: "IBL" <[EMAIL PROTECTED]>
Subject: Re: Connecting Win98 to linux
Date: Sun, 2 May 1999 18:27:21 +0200
Steve Wiltshire heeft geschreven in bericht ...
>I am having problems connecting a Win98 pc to a linux pc, they both have
PCI
>Ethernet adapters in them and can ping themselves but no each other. I
think
>that the network settings on the Win98 pc are wrong, could anyone advise
me.
>
>(If there is a file attached to this document then do not run it - I have
>had virus problems today, should be ok now)
>
hi steve,
first of, i can only give you some clues since you didn't give much info.
check the netmasks to see if the ip nr of one box isn't masked for the
other.
i'm presuming here you ping ip-nr and not names, coz that wouldn't work any
way.
you need tcp/ip configured on both boxes and once that's done you just have
to be able to ping each other. (unless masked) With only two boxes, i
suggest just choose two static ip-nr in the private range. (fixed) and make
a host-file on both machines. spares you the time to configure dns etc.
be carefull tho, i am presuming that your setup on the winbox was made
correctly for networking, so in your network properties, remove all stuff
for your internet and fill in your local settings.
internet settings should be set in the dial-up-adaptor.
it is after that, that for communications you will rely on SAMBA. after
you're done with that, even a ping on a name should work.
good luck
------------------------------
** 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
******************************