Linux-Networking Digest #377, Volume #10          Thu, 4 Mar 99 08:13:35 EST

Contents:
  Simple DNS setup question (Steve Shreeve)
  Re: remote login (Erik Hensema)
  Re: Direct (Null) Serial TCP/IP (Tobias Reckhard (jester))
  Re: IP forwarding with port mapping (Tobias Reckhard (jester))
  Re: modem unavailable after reset button pressed (Chris Beamis)
  Help with network card. (Phill Harvey-Smith)
  Re: IP Masq+Cablemodem, need 2 nics? (Kuo Sung Swei)
  Connecting WYSE terminals, How? (Master Luke)
  Kernel 2.2.2 and NNTP performance (Andreas Hinz)
  Re: Want to change IP address in RH5.2 ([EMAIL PROTECTED])
  Newbie - RH 5.2 & DaynaPort PCI Ethernet Card (Ken Agress)
  Re: dns and sendmail experts!  Please help! (Andrzej Filip)
  Need help with network config file (Darren Greer)
  Re: HELP!Any Support for US Robotics 56K Win Modem ([EMAIL PROTECTED])
  Re: 2 NICs in Linux (Doug Goldstein)
  Re: Ftp problem, root cannot login across telnet ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Steve Shreeve)
Subject: Simple DNS setup question
Date: Wed, 03 Mar 1999 20:48:07 GMT

I have a Linux box with an officially assigned DNS name. On this machine, I'd 
like to install it's own DNS server (bind/named) so that it can serve up 
authoritative data for other domains.

I have read the DNS Howto's etc, but still have a few questions. First, I am 
running RedHat 5.1 on a PII-400 box and have installed bind without any 
problems. I understand that I need at least 4 files to get everything running 
properly. These are:

/etc/named.boot
/var/named/root.cache
/var/named/localhost
/var/named/ [zone file for other domain ] (in this case s2s.org)

The name of my machine is: 'medweb.med.uci.edu' and the name of the domain I'd 
like to setup is 's2s.org'. I only have one IP address, but I want both 
medweb.med.uci.edu and s2s.org to point to 128.200.234.2. Here's what I have:

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

/etc/named.boot is:
=====
directory       /var/named
cache           .                       root.cache
primary         s2s.org                 s2s.org
primary         0.0.127.in-addr.arpa    localhost


/var/named/root.cache is:
=====
[ just a copy of the file at ftp://ftp.rs.internic.net/domain/named.root ]


/var/named/localhost is:
=====
@       IN SOA  medweb.med.uci.edu. shreeve.medweb.med.uci.edu. (
                        1998030316      ; Serial, today'sdate + version
                        10800           ; Refresh after 3 hours
                        3600            ; Retry after 1 hour
                        604800          ; Expire after 1 week
                        86400 )         ; Minimum TTL of 1 day

        NS      medweb.med.uci.edu.

1       PTR     localhost.


/var/named/s2s.org is:
=====
s2s.org.        IN SOA  ns.s2s.org. shreeve.s2s.org. (
                        1998030316      ; Serial, today'sdate + version
                        10800           ; Refresh after 3 hours
                        3600            ; Retry after 1 hour
                        604800          ; Expire after 1 week
                        86400 )         ; Minimum TTL of 1 day

s2s.org.        NS      ns
s2s.org.        MX 10   mail
s2s.org.        A       128.200.234.2

ns              A       128.200.234.2
mail            A       128.200.234.2
www             A       128.200.234.2
ftp             A       128.200.234.2

localhost       A       127.0.0.1

============================================================
Does this look okay? Are there any errors with this?

Steve Shreeve
UC Irvine

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

From: [EMAIL PROTECTED] (Erik Hensema)
Subject: Re: remote login
Date: Wed, 3 Mar 1999 21:44:19 +0100
Reply-To: [EMAIL PROTECTED]

john xu wrote:
>All:
>I want to remote login as a superuser and reboot machine. However,
>when I try root username and password, linux just does not allow me
>login. Then I tried login as a normal use and su root. This time, it
>works
>but I can not shutdown machine. The system says that coomand  not found.

Try "su -" in stead of "su".

-- 
Erik Hensema ([EMAIL PROTECTED])


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

From: [EMAIL PROTECTED] (Tobias Reckhard (jester))
Subject: Re: Direct (Null) Serial TCP/IP
Date: Wed, 03 Mar 1999 18:08:37 GMT

On Sun, 28 Feb 1999 15:56:19 +0000, Robert Logan <[EMAIL PROTECTED]> wrote:

>I want to sit in my garden with my laptop and connect to the
>net from inside the house. My main Linux box can sit and do 
>the dialup and masquerading, but I cant work out how!
>
>Do I need some kind of getty/SLIP thing, or is it much simpler.
>Im using Linux on the laptp inicdentally. A serial cable is
>the only practical option I have for the connection to my housebound
>Linux PC. My laptop doesnt have a network card facility ....
>
>Hints anyone?

You should be able to install a PPP server on the stationary Linux
gateway, that probably requires a getty as well, and have the laptop
be a PPP client. I haven't done it myself, but I wouldn't imagine it
to be more difficult than setting up a dial-in server. You'll probably
need a null-modem cable, though, not a pure serial one.

Tobias

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

From: [EMAIL PROTECTED] (Tobias Reckhard (jester))
Subject: Re: IP forwarding with port mapping
Date: Wed, 03 Mar 1999 20:45:42 GMT

On Tue, 02 Mar 1999 14:21:48 GMT, rick <[EMAIL PROTECTED]>
wrote:

>ipfwadm is what you would use. add a forwarding ruleset to it
>
>Hans wrote:
>
>> Hi, i'm new with the IP forwarding thing.
>> I have 2 computers on my small network, I would like to map incoming
>> telnet connections on the 192.168.0.1 port 8023 (computer connected to
>> internet) to the computer 192.168.0.2 port 23.
>> I've tried everything with ipfwadm with no success at all. Do you have
>> any suggestions?

No, ipfwadm can't do that sort of redirection, all it can do, if I'm
not mistaken, is redirect to a local port, but not to a different
machine. You want to use ipautofw or ipportfw. I have had success with
the latter and ipautofw is nice because it is dynamic, but in the
short time I gave it it wouldn't work for me, but that was probably
me. In your case, since you have a static setup anyway, ipportfw
should be fine. I don't have a binary, I prefer to 'make' everything
on my own machine anyway, but here's a link:

http://www.ox.compsoc.net/~steve/portforwarding.html

HTH
Tobias

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

Crossposted-To: comp.os.linux.setup
From: Chris Beamis <[EMAIL PROTECTED]>
Subject: Re: modem unavailable after reset button pressed
Date: Wed, 3 Mar 1999 19:18:49 GMT

Clifford Kite wrote:

> 
> I had something similar happen recently when I did something foolish (I've
> forgotten which foolish thing it was :) .  It turned out that there was
> an interface that hadn't been properly taken down, either sl0 or ppp0.
> 
> The problem went away when the interface was manually taken down with, e.g.,
> "ifconfig ppp0 down".

Thanks for the help, but still no luck.
ifconfig kept telling me that there was no interface called ppp0.
I tried a bunch of variations on the theme with no luck.
When I tried ifconfig with either no args or the -a argument it didn't
say anything about any ppp interfaces or anything like that.
I found something on the ssc.com website which said there is a down
script to shutdown the connection called
/etc/sysconfig/network-scripts/ifdown-ppp
/etc/sysconfig/network-scripts/ifcfg-ppp0

I'm not sure if this is the right approach, however.  Is going after
the ppp process or daemon or whatever its called the right thing to
do here since it seems to be my modem which is hung?  Or are the two
equivalent?  Will I ever use my modem again?

Thanks,
Chris Beamis

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

From: Phill Harvey-Smith <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.redhat.install
Subject: Help with network card.
Date: Thu, 04 Mar 1999 12:02:22 +0000

Hi I wonder if anyone can help me. I am running RedHat 5.2, installed
off the Cheapbytes disk, on a homebrew AMD-K6 300 system. The problem is
I can't get the ethernet card to work. The Ethernet card is an
SMC8013EBT, the card is detected correctly at bootup with the correct
settings for IRQ/IO/Shared memory (7/0x280/0xc8000), but when I try and
access the network I cannot, on checking the card settings with
IFCONFIG, it seems that the kernel now thinks that the card is at 0x290,
and not 0x280 as detected (I have seen this problem once before, and
changing the card solved it, in this case it did not).

Does anyone have any idea how I could solve this problem, or indeed what
is causing it !

The Kernel is 2.0.36, also in the system I have :-
Sound Card, Modem, TV capture card, SCSI card. I have disabled the
printer port as I am using Int 7 for the network.

Thanks for any help you can give, can you CC replies by mail as I don't
always get to check news.

Phill.


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

From: Kuo Sung Swei <[EMAIL PROTECTED]>
Subject: Re: IP Masq+Cablemodem, need 2 nics?
Date: Wed, 03 Mar 1999 14:30:04 -0600

Plus you will have a security hole.  One card for the cable modem and one
for your internal network.  You can have to different IP address and have
the linux also act as a firewall.  I don't think this feature is available
if you have the cable modem hooked up to the hub.

Nate Case wrote:

> Hi.  I'm using MediaOne for my cablemodem service and I'm trying to
> setup IP Masqerading to allow my other computer to share the
> connection.  I understand IP Masqerading fairly well, but what I'm
> trying to figure out is if I need to get a 2nd ethernet card for my
> linux box in order for it to function correctly.  Most people do use 2
> ethernet cards, but I think it's possible for me to not have to use one,
> and here's why:
>
> The cablemodem is a surfboard 1200 (sb1200), eth0 is permanantly
> assigned with 192.168.100.2, even while connected (which poses problems
> with some apps, but i've learned to deal with it).  Currently, I have
> the cable modem plugged directly into the hub, along with my other
> computers.  Right now, I can access the Internet, as well as services on
> my LAN with my Linux box.  So, I don't think I need a second ethernet
> card, but maybe i'm missing something.
>
> The reason I ask is because I've tried to get it to work this way
> already, but was unable to.  Either I was doing something wrong while
> setting up IP Masqerading, or I indeed need another ethernet card.
>
> Thanks in advance




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

Subject: Connecting WYSE terminals, How?
From: [EMAIL PROTECTED] (Master Luke)
Date: Wed, 03 Mar 1999 21:27:57 GMT

I recently accquired some WYSE terminals from a company throwing them out.  
Does anyone know how and if it is possible to use linux to activate the 
terminals and use them off of one linux box?  Unfortunately the only docs with 
it were MS-dos and they were no help at all with what I want to do.

Any help or pointers to help would be appreciated.

Thanks

[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED] (Andreas Hinz)
Subject: Kernel 2.2.2 and NNTP performance
Date: Wed, 03 Mar 1999 21:27:59 GMT

I have a performance problem after upgrading my system to kernel 2.2.2.
I have upgraded the system as suggested in the Changes file.

My system is a Slackware 3.4 upgraded with kernels up to 2.0.36 and now 2.2.2
too.

If i use slrnpull (or suck) under kernel 2.0.36 i get about 11.500 bytes pr.
second. Booting kernel 2.2.2 on the same system gives me max 3.200.

Using an Zyxel Prestige 100 router via a NE2000 compatible PC-Card net adapter.

Pcmcia version 3.0.8.

I have tried an other news server and i get the same speed difference.


FTP, HTTP and mail runs at full speed under both kernels.


Any suggestion are very welcome.
-- 
Med venlig hilsen / Best regards

Andreas Hinz

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

From: [EMAIL PROTECTED]
Subject: Re: Want to change IP address in RH5.2
Date: Wed, 03 Mar 1999 21:23:35 GMT

In article <7bi1ul$s72$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> I am a new user to linux and have previously reconfigured IPs under Solaris.
> How do I do this in RH Linux 5.2?
>
> Cheers Mal
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own
>
This can be resolved by modifying the
/etc/sysconfig/network file which contains information on default gateways and
/etc/sysconfig/network-scripts/ifcfg-eth0 which has fields
for IPaddr, broadcast, netmask ect. Once you have modified these files then do
an init 6 to reboot and then you should be able to ping other
machines on the network.

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: [EMAIL PROTECTED] (Ken Agress)
Subject: Newbie - RH 5.2 & DaynaPort PCI Ethernet Card
Date: Wed, 03 Mar 1999 20:00:00 GMT

Help!  I'm installing Linux in my lab at home to get some learning
time without hurting any production systems.  I've got a Dayna 10/100
Ethernet card, and I've no clue which driver I should be trying to use
to get the silly thing running under RedHat 5.2.  I've searched driver
databases on the web, searched the newsgroups with DejaNews, and
haven't had any luck locating a driver.

Is anyone aware of a driver I can download anywhere?  Or a compatible
driver I can use?

Thanks in advance for the help.

Ken Agress


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

From: Andrzej Filip <[EMAIL PROTECTED]>
Subject: Re: dns and sendmail experts!  Please help!
Date: Thu, 04 Mar 1999 13:53:55 +0100

Your sendmail is unable to find better MX for seaview.se than itself
and it is not configured to treat seaview.se as "local"


1) add seaview.se to /etc/sendmail.cw file (or Cwclass in /etc/sendmail.cf)
It will make sendmail deliver email for "[EMAIL PROTECTED]" to "user" mailbox

2) restart sendmail

--
"Andrzej (Andrew) A. Filip" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] (backup)


"Joakim Langlet (admin)" wrote:

> I use fetchmail-4.6.0 to fetch mail from my ISP to allow local distrubution
> from a
> single user account at the ISP (multidrop mailbox). The multidrop mailbox is
> connected to the domain: seaview.se by the ISP.
>
> In my local network, I want the faked "domain name" to be the same (maybe
> this is a mistake).
>
> By using the localdomains option of fetchmail, I would like sendmail to make
> a mail destinated to [EMAIL PROTECTED] be delivered to
> [EMAIL PROTECTED]
>
> I tought that since the local "seaview.se" and local "mail.seaview.se" in
> fact are at
> the same IP address, sendmail would not complain!
>
> But it does not work! I am new to "bind" and "sendmail". I get the following
> to postmaster when fetchmail puts the mail on the smtp port.
>
> Why does sendmail complain about the mail "being looped back"?
>
> I would be very, very happy if someone can explain....and maybe even tell me
> how to fix this!
>
> best regards
>    Joakim Langlet
>
> --------
> The original message was received at Sun, 28 Feb 1999 22:00:28 +0100
> from root@localhost [127.0.0.1]
>
>    ----- The following addresses had permanent fatal errors -----
> <[EMAIL PROTECTED]>
>
>    ----- Transcript of session follows -----
> 553 seaview.se. config error: mail loops back to me (MX problem?)
> 554 <[EMAIL PROTECTED]>... Local configuration error
> -------
> ************** My /var/named/named.seaview file ***********************
>
> ; type domain source file
> @    IN     SOA     seaview.se root.seaview.se. (
>                                 1999022401 ; Serial
>                                 604800 ; Refresh
>                                 86400 ; Retry
>                                 2419200 ; Expire
>                                 604800) ; Defualt TTL
>                 NS        ns
>                 MX      10 seaview.se.
>
> localhost         A     127.0.0.1
> router              A     192.168.19.1
> seaview.se.   A      192.168.19.20
> ns                    A       192.168.19.20
> central            A       192.168.19.20
>                        HINFO "Pentium 133" "Linux 2.0"
> mail                A       192.168.19.20
> ftp                  CNAME seaview.se.
> www              CNAME seaview.se.
> ; Workstations
> far                  A        192.168.19.21
>                       MX 10 mail
>                       HINFO "K6-2/333MHz" "NT4SP3"
> mor               A         192.168.19.22
>                      MX 10 mail
>                      HINFO "K6-2/333MHz" "Win98"
> son               A         192.168.19.23
>                      MX 10 mail
>                      HINFO "486/66MHz" " "
> dotter          A          192.168.19.24
>                     MX 10 mail


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

From: [EMAIL PROTECTED] (Darren Greer)
Subject: Need help with network config file
Date: Wed, 03 Mar 1999 21:39:59 GMT

Sorry for the re-post...but I forgot to put the subject in the last
one.

Howdy all....Im getting a SIOCADDRT error at bootup...and I have
narrowed my problem down to my netowrk config file.  I have looked at
previous posts on this subject and have tried some of there
solutions...but to no avail.  So Iam going to post the content of my
network file...and I would appreciate any feedback. Here is the file:

#! /bin/sh
ifconfig lo 127.0.0.1 netmask 255.0.0.0
route add -net 127.0.0.0 netmask 255.0.0.0 lo
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
BROADCAST=192.168.1.255
GATEWAY=
ifconfig eth0 ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
route add -net ${NETWORK}
[ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1

I am running kernel 2.2.2, and am using a generic NE2000 card.
Any thoughts would be greatly appreciated.

Darren Greer
-= Xafloc =-


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

From: [EMAIL PROTECTED]
Subject: Re: HELP!Any Support for US Robotics 56K Win Modem
Date: Wed, 03 Mar 1999 19:35:25 GMT

On 3 Mar 1999 03:11:39 GMT, [EMAIL PROTECTED] (Ellen603) wrote:

>I'm new to the LINUX env.  I have just installed Linux Slackware 3.5.  I have
>been reading some documents regarding incompatiable modems, which from what
>they say Linux doesn't support any WIN modems.   I have a US Robotics 56 Win
>modem, is there anyone out there that is using this type of modem with LINUX. 
>I would deeply appreciate any assistance.
>
>Please e-mail me at work: [EMAIL PROTECTED]
>
>Thanks,
>JD

WINMODEMS are NOT real modems.  They have no serial port.  some of
them have no firmware.  Linux doesn't have modem firmware in it like
the win dirvers for that modem.  The windows drivers also emulate a
serial port to connect the modem to.  its called a WINmodem for a
reason.  They are designed to work ONLY in windows.  hard luck man
sorry


tng

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

From: Doug Goldstein <[EMAIL PROTECTED]>
Subject: Re: 2 NICs in Linux
Date: Wed, 03 Mar 1999 21:43:39 GMT

Try /sbin/ifconfig eth1 This probably won't give you anything. Linux will
auto detect only 1 NIC card. You need to manually tell Linux to find the
other. Editing the /etc/lilo.conf file then /sbin/lilo will do the trick.
The following line is an out take from mine. Need to put it after the
install line.
install=......
append="ether=10,0x4080,eth0 ether=11,0x330,eth1"

You must also specify both cards here. The syntax for it is.
append="ether=IRQ,I/O ADDR,eth0 ether=IRQ,I/O ADDR,eth1"

Hope that works.

Doug Goldstein



Jette wrote:

> I have 2 NE2000 Compatable Network Cards in the Linux system
> connecing with two network separately. They are
> eth0 10.67.69.69
> eth1 192.168.1.1
>
> I can ping both of them in the PC which they are located. I also can
> ping the system conneted with eth0. However, I found that I can't ping
> the system connect with eth1.
>
> What is the problem? Is that the problem of routing?
> Pls help me. Thanks a lot.
>
> Jette.


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

From: [EMAIL PROTECTED]
Subject: Re: Ftp problem, root cannot login across telnet
Date: Wed, 03 Mar 1999 19:21:33 GMT

On Tue, 02 Mar 1999 23:51:41 +1100, Deb Bhakta <[EMAIL PROTECTED]> wrote:

>I am new in Linux. Have managed to set up Linux 5.0.
>I can telnet to it from Win98. I can also see and use linux directories
>shared using Samba, after fixing the security problem.
>
>But I cant get the ftp to work.
>
>I also can not login as root on a telnet session (I keep getting "Login
>incorrect" message, I can login as root on the console.
>
>With ftp I first get the message "Connected to hostlx" and then the very
>next line after a second "Connection closed by remote host". The user
>name and password for microsoft networking on Win98 is same as an
>existing user name/password on linux.
>
>After each ftp attempt in /var/log/secure file I get two entries saying
>"hostlx in.ftpd[475]: connect from 200.1.1.1" and "hostlx in.ftpd[476]:
>error: cannot execute /usr/sbin/in.ftpd: No such file or directory".
>
>Looking at file list, there is no /usr/sbin/in.ftpd.  But there is one
>/usr/sbin/in.tftpd. So I soft-linked /usr/sbin/in.ftpd to
>/usr/sbin/tftpd.

tftp is different than ftp.  tftp requires NO username or passwd. and
is insecure. Supports no commands so you cannot get a dir listing.
cannot create files with it only update existing ones and only if they
are world writable. useful for saveing equipment configs like routers,
terminal servers and such.

Check to see if there is a wu.ftpd.  if so, change the line in your 
/etc/inetd.conf or create a symlink called in.ftpd to wu.ftpd
this should solve the problem

>
>But this only stopped the second error line in /var/log/secure file.
>Nothing else changed.
>
>I am probably doing something silly, but sure need help.
>
>Thanks in advance guys.
>


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


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