Linux-Networking Digest #242, Volume #12         Mon, 16 Aug 99 06:13:34 EDT

Contents:
  Re: samba question : NT client can't detect network (Thorsten Lau)
  dns over ppp (Hartmut Steffin)
  Re: Telnet source code (Kendel Banks)
  Re: multiple 3c509 ISA NICs ("George Georgakis")
  Slakware, DSL, dhclient & dhcpd ("bob")
  Re: Failed to see my NIC (Simon Pallister)
  Re: VMware - wow! (Mike Willett LADS LDN X7563)
  SEXY STUFF 60879 ([EMAIL PROTECTED])
  Re: multiple 3c509 ISA NICs (Tim Moore)
  Re: wu-ftpd u/d ratio (Kendel Banks)
  setting up linux box as loghost (Sean M Hollingsworth)
  Re: LinkSys EtherPCI LAN Card II (Sean M Hollingsworth)
  DHCP AND WINS ISSUES. Here an answer I have found... ("Chuck "PUP" Payne")
  Re: pppd in 'setuid-root' mode (Richard G Brown)
  Re: NE2000 ISA help (Tim Moore)

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

From: Thorsten Lau <[EMAIL PROTECTED]>
Subject: Re: samba question : NT client can't detect network
Date: Mon, 16 Aug 1999 09:04:20 +0200

Minh Giang schrieb:

> [global]
> ...
>    guest account = pcguest
> ...

If the guest account doesn�t exist, the samba-computer will not be
displayed in the network.

Thorsten Lau.


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

From: Hartmut Steffin <[EMAIL PROTECTED]>
Subject: dns over ppp
Date: Mon, 16 Aug 1999 09:43:32 +0200
Reply-To: [EMAIL PROTECTED]

i set up a dns on my linux box. it works internally and it works from
network connected clients. but i also want to use it for dial-in clients
via modem pppd.

the single line in the dial-in's .profile is:
exec /usr/sbin/pppd modem passive debug pppmaster:pppclient ms-dns
90.1.1.10

on the client-side i tried out both settings, get dns from server and
explicitely set it to 90.1.1.10

when connecting form nt4-cleint the messages log say:
Aug 16 08:59:43 support pppd[8021]: rcvd [IPCP ConfReq id=0x7 <addr
0.0.0.0> <ms-dns 0.0.0.0> <ms-dns 0.0.0.0>]
Aug 16 08:59:43 support pppd[8021]: sent [IPCP ConfNak id=0x7 <addr
90.1.1.48> <ms-dns 90.1.1.10> <ms-dns 90.1.1.10>]
Aug 16 08:59:43 support pppd[8021]: rcvd [IPCP ConfReq id=0x8 <addr
90.1.1.48> <ms-dns 90.1.1.10> <ms-dns 90.1.1.10>]
Aug 16 08:59:43 support pppd[8021]: sent [IPCP ConfAck id=0x8 <addr
90.1.1.48> <ms-dns 90.1.1.10> <ms-dns 90.1.1.10>]
Aug 16 08:59:43 support pppd[8021]: local  IP address 90.1.1.10
Aug 16 08:59:43 support pppd[8021]: remote IP address 90.1.1.48

which seems to be okay for me?! 

ipconfig/all also states 90.1.1.10 as dns. but e.g. web-browser don't
find the site by name, only by 90.1.1.0.
"nslookup" on the client does not start with 90.1.1.10 as default. i
have to give the command
server 90.1.1.10
first, then it works. is this right, that i have to do that? standard
software (www-browser, ftp-clients) obviously don't use the right dns
and fail to connect on names (ip okay).

any idea? what did i forget? any answer please as well to my address
mailto:[EMAIL PROTECTED]

thanx in advance
Hardy

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

From: Kendel Banks <[EMAIL PROTECTED]>
Subject: Re: Telnet source code
Date: Mon, 16 Aug 1999 08:01:08 GMT

As far as I know, telnet is a BSD copywritten thing without public source
code. NetCat accomplishes the same tcp connection + telnet handshake as well
as other features and is open source, search for nc110.tgz. Also an encrypted
shell session client already exists, it's called ssh and is widely used.

Kendel Banks

David Illsley wrote:

> I am planning to create an encrypted telnet client and server program as a
> school project, and, after a long search period, I have come to ask you
> wonderful guru's if you know which source files contain the telnet server
> and client.
>
> Thanks in advance.
> David Illsley


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

From: "George Georgakis" <[EMAIL PROTECTED]>
Subject: Re: multiple 3c509 ISA NICs
Date: Mon, 16 Aug 1999 08:08:06 GMT

Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>

Quit with the HTML, please.

George

Derek Shaw <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> I'm building a firewall, and I want to control which of two 3Com 3c509's
is
> assigned as eth0.  My first indication of a problem was that the Ethernet
howto
> at section 3.2 does not work as described.  Further research lead me to
(all
> praise) Donald Becker, who states on his WWW site:
> 
> > The 3c509 in ISA mode
> >
> > The 3c509 has a unique feature that allows truly safe probing on
> > the ISA bus. It's an activation mechanism that is similar to (and
> > predates) ISA Plug-and-Play. This is great, but unfortunately for
> > us this method doesn't mix well with the rest of the probes.
> >
> > The most noticeable aspect is that it's difficult to predict a
> > priori which card will be accepted "first" -- the order is based
> > on the hardware ethernet address. That means that the ethercard
> > with the lowest ethernet address will be assigned to "eth0", and
> > the next to "eth1", etc. If the "eth0" ethercard is removed, they
> > all shift down one number.
> >
> > A related aspect is that it's not possible to leave an "earlier"
> > card disabled, enable a card at an address or IRQ different than
> > the EEPROM setting, or enable a card at a specific address.
> >
> 
> Can anyone tell me if there is a workaround?  I am using the loadable
module,
> and have tried editing the conf.modules file to change the order in which
the
> cards are doled out.  It's not critical for this installation, but I'd
like to
> know if there is any control over which card is assigned as eth0. Also
I'd like
> to know if there is any interaction of this feature with other ISA NICs.
> 
> Please don't reply unless you have direct experience with such a
situation (or
> you are Donald Becker).
> 
> --
> Derek Shaw
> Business Information Systems
> Victoria, BC.
> voice: 250-885-2021   fax: 250-386-4060
> 
> 

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

From: "bob" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Slakware, DSL, dhclient & dhcpd
Date: Mon, 16 Aug 1999 02:06:02 -0700

Is there anyone out there currently doing dynamic IP assignment on a DSL
line using dhclient on linux-2.2.6 (Slakware). IP number being offered by
ISP being rejected by dhclient. Any clues?? Something in dhclient.log for
example?? Had circuit for 2 weeks now and still not able to get connected.
DSL on eth1.
LAN on eth0.

============================================================================
=======
send host-name "bat.bda.com";
send dhcp-client-identifier 0:A0:C9:82:C1:E8;
send dhcp-lease-time 3600;
supersede domain-name "bda.com";
prepend domain-name-servers 127.0.0.1;
request subnet-mask, broadcast-address, time-offset, routers,
 domain-name, domain-name-servers, host-name;
require subnet-mask, domain-name-servers;
timeout 60;
retry 60;
reboot 10;
select-timeout 5;
initial-interval 2;
script "/etc/dhclient-script";
media "-link0 -link1 -link2", "link0 link1";
reject 192.21.41.11;

alias {
  interface "eth1";
  fixed-address 192.168.2.1;
  option subnet-mask 255.255.255.255;
}

lease {
  interface "eth1";
  fixed-address 192.168.2.1;
  medium "link0 link1";
  option host-name "bat.bda.com";
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.2.255;
  option routers 192.168.2.1;
  option domain-name-servers 127.0.0.1;
  renew 2 2000/1/12 00:00:01;
  rebind 2 2000/1/12 00:00:01;
  expire 2 2000/1/12 00:00:01;
}

============================================================================
====================
# dhcpd.conf
#
# Sample configuration file for ISC dhcpd
#

# option definitions common to all supported networks...
option domain-name "bda.com";
option domain-name-servers bat.bda.com;

option subnet-mask 255.255.255.224;
default-lease-time 600;
max-lease-time 7200;

subnet 192.21.41.0 netmask 255.255.255.224 {
  option broadcast-address 192.21.41.255;
  option domain-name "bda.com";
  option routers bat.bda.com;
}

subnet 192.168.2.0 netmask 255.255.255.224 {
  option domain-name "bda.com";
  option routers bat.bda.com;
}

# The other subnet that shares this physical network
#subnet 204.254.239.32 netmask 255.255.255.224 {
#  range dynamic-bootp 204.254.239.10 204.254.239.20;
#  option broadcast-address 204.254.239.31;
#  option routers snarg.fugue.com;
#}

#subnet 192.5.5.0 netmask 255.255.255.224 {
#  range 192.5.5.26 192.5.5.30;
#  option name-servers bb.home.vix.com, gw.home.vix.com;
#  option domain-name "vix.com";
#  option routers 192.5.5.1;
#  option subnet-mask 255.255.255.224;
#  option broadcast-address 192.5.5.31;
#  default-lease-time 600;
#  max-lease-time 7200;
#}

# Hosts which require special configuration options can be listed in
# host statements.   If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.

#host passacaglia {
#  hardware ethernet 0:0:c0:5d:bd:95;
#  filename "vmunix.passacaglia";
#  server-name "toccata.fugue.com";
#}

# Fixed IP addresses can also be specified for hosts.   These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP.   Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
#  hardware ethernet 08:00:07:26:c0:a5;
#  fixed-address fantasia.fugue.com;
#}

# If a DHCP or BOOTP client is mobile and might be connected to a variety
# of networks, more than one fixed address for that host can be specified.
# Hosts can have fixed addresses on some networks, but receive dynamically
# allocated address on other subnets; in order to support this, a host
# declaration for that client must be given which does not have a fixed
# address.   If a client should get different parameters depending on
# what subnet it boots on, host declarations for each such network should
# be given.   Finally, if a domain name is given for a host's fixed address
# and that domain name evaluates to more than one address, the address
# corresponding to the network to which the client is attached, if any,
# will be assigned.
#host confusia {
#  hardware ethernet 02:03:04:05:06:07;
#  fixed-address confusia-1.fugue.com, confusia-2.fugue.com;
#  filename "vmunix.confusia";
#  server-name "toccata.fugue.com";
#}

#host confusia {
#  hardware ethernet 02:03:04:05:06:07;
#  fixed-address confusia-3.fugue.com;
#  filename "vmunix.confusia";
#  server-name "snarg.fugue.com";
#}

#host confusia {
#  hardware ethernet 02:03:04:05:06:07;
#  filename "vmunix.confusia";
#  server-name "bb.home.vix.com";
#}


TKSIA   bob

--
email - bklungle at ix dot netcom dot com



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

From: Simon Pallister <[EMAIL PROTECTED]>
Subject: Re: Failed to see my NIC
Date: Mon, 16 Aug 1999 18:48:48 +1000

Peter F Bradshaw wrote:

<snip>

> Hi;
>
> What type of 3Com card is it?

3C905C

> Have you looked at the Linux Ethernet HOWTO (at
> http://metalab.unc.edu/mdw/HOWTO/Ethernet-HOWTO.html)?

Have now, but the 3C905*C* isn't there :(

> What type of NIC did Windows report?

Windows knew there was a NIC but didn;t have drivers (strangely) so I got
updated ones from the 3COM site.


> Is it an ISA or PCI card?
>

PCI


>
> Cheers
>
> --
> Peter F Bradshaw        | http://www.nautronix.com.au/, [EMAIL PROTECTED]
> Nautronix Ltd.          | PGP public key at
> 108 Marine Terrace      | http://www.iinet.net.au/~pfb/public_key.html
> Fremantle, WA, 6160     | "Needs more salt" - Archimedes


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

From: [EMAIL PROTECTED] (Mike Willett LADS LDN X7563)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: VMware - wow!
Date: 16 Aug 1999 08:45:15 GMT

In article <[EMAIL PROTECTED]>,
        Luis Paulo <[EMAIL PROTECTED]> writes:
>
>
>Mike Willett LADS LDN X7563 wrote:
>> 
>>
>> It certainly is a WOW!! I'm still on 30 day trial.
>> So far I've set up a virtual partition with Win95 which vmware
>> uses to boot.  I've then got my Linux to Samba across my Win 95 D:
>> and E: drives which contains my applications and data respectively
>> I've got Samba to allow me to print.
>> 
>> Word, Excel & Powerpoint are ok. Access gives licence errors.
>> (Maybe ini files ?)
>> 
>> My only "complaints" are
>> i)   I only posses a 266MHz and 96Mb RAM,  which is fine for
>>      Linux OR Windows but not BOTH!!!  (Can't really blame vmware
>>      for that though - but if they could see their way to giving
>>      me some extra hardware I won't turn it down).
>> 
>> ii)  it takes about 4-5 times longer than normal to shutdown
>>      Windows. Why is that ?
>> 
>
>Are you using a raw disk (your real c: disk) or are you using a virtual
>disk?
>Raw disk virtual machines are very slow, a virtual disk is much better,
>and with your hardware
>and in virtual disk mode you should get about 50% to 80% of windows
>native performance.
>The shutdown time you describe is more typical for a raw disk.

I'm using virtual disks for c: and samba disks for d: and e:

>> iii) I can't use the floppy from Linux. Vmware takes control of it.
>>      use the cdrom either from Linux but I have a CD-Writer
>>      as well so I don't care
>> 
>
>I believe you can. In your virtual machine window, under "Settings", you
>can enable or disable
>the floppy and cdrom, thus allowing other VM's or Linux to control it.

ah but I can only alter those before I enter a sessions rather in 
mid-session.


>> iv)  Sync-ing my real C: drive with all those *.ini files and *.dll
>>      files is a pain in the ass!! Maybe I won't bother attempting it.
>> 
>> v)   I can't use it to play Tomb Raider !!!
>> 
>
>I don't see why not, but I suggest you have a look at vmware newsgroups,
>(news.vmware.com) where these matters are discussed in detail, and by
>people who knows more about it than me.
>

I thought Direct X wasn't supported ?

Mike


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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: SEXY STUFF 60879
Date: Sun, 15 Aug 1999 23:30:22 -0600
Reply-To: [EMAIL PROTECTED]

Free XXX:

http://207.240.225.250






XJu6)gHL

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

Date: Mon, 16 Aug 1999 00:47:56 -0700
From: Tim Moore <[EMAIL PROTECTED]>
Subject: Re: multiple 3c509 ISA NICs

append="ether=5,0x300,eth0 ether=15,0x280,eth1" in /etc/lilo.conf
> I'm building a firewall, and I want to control which of two 3Com
> 3c509's is assigned as eth0.  My first indication of a problem was
> that the Ethernet howto at section 3.2 does not work as described.

Well, what did you do?  What actually happened when you did it?

Given you're new no one really believes anything you say you did and/or
observed without colaborating evidence, like /etc/conf.modules or dmesg
output or pnpdump output.

> ...
> Please don't reply unless you have direct experience with such a
> situation (or you are Donald Becker).

Just a moment.  Mr. Becker's on the other line.  Oh, he hung up.  How
rude.

append="ether=5,0x300,eth0 ether=15,0x280,eth1" in /etc/lilo.conf  See
the LILO HOWTO.


-- 
timothymoore    "Everything is permitted.  Nothing is forbidden."
bigfoot                                            WS Burroughs.
com

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

From: Kendel Banks <[EMAIL PROTECTED]>
Subject: Re: wu-ftpd u/d ratio
Date: Mon, 16 Aug 1999 08:09:03 GMT

wu-ftpd is not made for that, get either glftpd (www.glftpd.org) or the much
simpler ftp4all (www.ftp4all.de).



Jeroen de Vries wrote:

> Hi, is it possibe to configure wu-ftpd so that I can give users
> upload/download ratios so they have to upload first a file before they can
> donwload something?
>
> With regards,
>
> Jeroen de Vries
> Email: [EMAIL PROTECTED]
>
> Member of the FormulaForce Team


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

From: Sean M Hollingsworth <[EMAIL PROTECTED]>
Subject: setting up linux box as loghost
Date: 16 Aug 1999 07:24:16 GMT

I have Redhat 6.0 box setup behind an OpenBSD masq (along with a couple
of other comptuers).  I also have a nameserver set up for the private
network, running on the masq.  I want the linux box to be the loghost
for my fake domain.  I have the /etc/syslog.conf file on the OpenBSD box
set up to log to a loghost and I have the nameserver setup with a CNAME
to the linux box as loghost.

The problem is that I'm not sure what I need to do on the linux box,
beyond running syslogd with -r, so that it will accept the log messages
from the masq.  Do I need to add an entry to inetd.conf for the syslog
service?  If so, is the line:

    syslog    dgram    udp    nowait    root    syslogd -r -m 0

and, if I do need to add an entry to inetd.conf, can i use tcpwrapper
with syslog.  If I don't need to add anything to inetd.conf, what do I
need to do for a loghost?

Thanks

Sean M. Hollingsworth


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

From: Sean M Hollingsworth <[EMAIL PROTECTED]>
Subject: Re: LinkSys EtherPCI LAN Card II
Date: 16 Aug 1999 07:09:48 GMT

Suresh Kumar wrote:

> I have a LinkSys EtherPCI LAN Card II, which was working under NT and
> Win95. I am planning to migrate the box to Linux5.2, I am not sure this
> card is supported? if yes where can I get the drivers
>
> Suresht

That card uses the ne2k-pci kernel module.  I have 2 of them and they work
fine under linux.  I have heard that Linksys has a linux support page on
their website now; you might want to check there, too.

And, not to be overly anal, but there is no such animal as linux 5.2.
There is a Redhat linux distribution that is at version 5.2.  Redhat !=
linux.  A distribution is just a collection of linux software and a linux
kernel and a nice installation program.  Linux itself is currently at
version 2.2.11 stable and 2.3.12 (??) unstable.


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

Date: Sat, 14 Aug 1999 10:31:33 -0400
From: "Chuck "PUP" Payne" <[EMAIL PROTECTED]>
Subject: DHCP AND WINS ISSUES. Here an answer I have found...

I posted a question earlier in the week,

I am able to issue IP, but my wintel box aren't able to login to NT Server.

=============

Everyone been telling me it a DNS problem, but it wasn't. I had to add to
more option lines to my dhcpd.conf file for WINS support.

You see all my wintel machine were getting IP and they were able to browse
the internet, but they weren't able to log in to the NT Server. The message
I was getting unable to find Domain to login to. So I try ping the NT box,
you could, but I could arp it.

So I sat down, print out the man page on dhcpd.conf and found that there are
options to add for WINS support. I try these two;

option ntp-servers
option netbios-name-servers

Some have say to just add the second line, but you need both. Wintel aren't
happy unless they see both.

Now my wintel boxes and happy cuz they can log in the network and surf the
internet, and they don't know that are using DHCP.

Thanks again.

Chuck

Oh, just in case you like to know how to print out a man, here the answer to
that.

man -t filename | lpr



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

From: Richard G Brown <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: pppd in 'setuid-root' mode
Date: Mon, 16 Aug 1999 10:50:01 +0100
Reply-To: Richard G Brown <[EMAIL PROTECTED]>

> >    I have been trying to get a small dock app ("wmppp") to work.  I am
> >very close but have run into 1 problem that I believe is my final road
> >block.
> 
> A First run everything as root, and make sure that it works.
> Then do
> chmod a+rx /usr/sbin/pppd /usr/sbin/chat
> chmod u+s /usr/sbin/pppd
> chmod +rw /dev/ttyS?
> 

I have a problem in a similar vein:

I have PPP set up for root - with ppp-on being used to call pppd and chat,
etc and it works fine.

However, I want ppp to be available to a specific group of non-root users,
namely the group pppusers.

Accordingly, I have done the following:

made pppd suid root, and owned by group pppusers
Made the relevant users members of the pppusers group

When I call ppp-on (or even just /usr/sbin/pppd /dev/ttyS1) from one of
these users' accounts, I get a permission error on /dev/ttyS1. i.e. even
though pppd is running as root, the system will not let it access the
modem.

/dev/ttyS1 is owned by root and has tty as its group.

The only thing I can think of is that pppd is calling a shell script
somewhere and so the kernel is revoking its suid status perhaps.

I can understand this if I call pppd from ppp-on, but not when it's called
by itself. Any ideas?

(Of course, I could always change the group ownsership of ttyS1 to
pppusers but then I would be giving them direct access to the port)

(I'm running Mandrake 6.0.)

Thanks,

Richard.



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

Date: Sun, 15 Aug 1999 23:56:15 -0700
From: Tim Moore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,redhat.hardware.arch.intel
Subject: Re: NE2000 ISA help

pnpdump(8), isapnp.conf(5), isapnp(8)

Also check that the card's IRQ matches the output from pnpdump.

[EMAIL PROTECTED] wrote:
> 
>    I'm installing redhat 6.0 and everytime in the installation it cant
> detect my network card. Even when I enter the IRQ and I/O it still doesnt
> find it. I have the diagnostic software for the card and do have it set up
> correcty. It also works fine in win98. Any suggestion? Thanx!

-- 
timothymoore    "Everything is permitted.  Nothing is forbidden."
bigfoot                                            WS Burroughs.
com

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


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