Linux-Networking Digest #887, Volume #10         Fri, 16 Apr 99 21:13:43 EDT

Contents:
  Re: SIOCADDRT: Invalid argument (Brian McCauley)
  Problem compiling SSH-1.2.26 under Redhat Starbuck release 5.9.7... ("tester")
  How to do secure X11: NT Workstation SP4 (SecureCRT v2.4, Exceed v6.1), Redhat Linux 
5.9.7 [Starbuck]:  SSHD v1.2.26 ("tester")
  Re: routing over ppp (Brian McCauley)
  Re: ftp - 530 user xxx access denied (mist)
  Re: Mail server for Linux (Brian McCauley)
  Re: setting: how to send mail behind firewall ([EMAIL PROTECTED])
  simple gateway function ("Dieter Stueken")
  Re: Turbo 16/4 Token-Ring (PCMCIA) setup (Guenther Hutzl)
  POP3 port 110 not connecting ("Patrick")
  Re: Which way perform better? (Brian McCauley)
  Samba-network drives read only ("EFH")
  Re: Help, RH5.2, transmit timed out ("Curt")
  No connection without tcpdump... (David Kirschey)
  Re: Using Linux instead of NT Server in home environment.... ("Jan Johansson")
  Problem using Squid (David Kirschey)
  Re: Freenet and ppp ([EMAIL PROTECTED])
  Re: Can't See (Jim Roberts)

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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: SIOCADDRT: Invalid argument
Date: 16 Apr 1999 19:59:25 +0100

Javier Prieto <[EMAIL PROTECTED]> writes:

> Whenever I try to add a route ("route add -net 127.0.0.1"), I get that error
> message: "SIOCADDRT: Invalid argument".

Yes well that command is nonsensical.  "route add -net" attempts to
add a route to a network.  By a network we mean a range of 32-bit IP
addresses defined by having a given prefix (which must of course
thereforre be less than 32 bits long).  One thing we can be sure about
is that the network prefix can't have a 1 in the least significant bit.

Try:
route add -host 127.0.0.1

Or the preferred command which is:
route add -net 127.0.0.0

> Anyway the card seems to work perfectly.

What card?  We're talking about the loopback device here.  The
loopback device is a virtual device - there's no hardware.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: "tester" <[EMAIL PROTECTED]>
Subject: Problem compiling SSH-1.2.26 under Redhat Starbuck release 5.9.7...
Crossposted-To: comp.security.ssh,linux.redhat.misc,comp.os.linux.misc
Date: Fri, 16 Apr 1999 19:15:59 GMT

I get an error in login.c...  Anyone know how to fix this?

========
gcc -pipe -c -I.  -I./gmp-2.0.2-ssh-2 -I./zlib-1.0.4 -DHAVE_CONFIG_H 
-DHOST_KEY_FILE=\"/etc/ssh_host_key\"
-DHOST_CONFIG_FILE=\"/etc/ssh_config\"
-DSERVER_CONFIG_FILE=\"/etc/sshd_config\"
-DSSH_PROGRAM=\"/usr/local/bin/ssh1\" -DETCDIR=\"/etc\"
-DPIDDIR=\"/var/run\" -DSSH_BINDIR=\"/usr/local/bin\"
-DTIS_MAP_FILE=\"/etc/sshd_tis.map\" -g -O2 -I/usr/X11R6/include login.c
login.c: In function `record_login':
login.c:437: structure has no member named `ut_syslen'
login.c:441: structure has no member named `e_termination'
login.c:442: structure has no member named `e_exit'
login.c:454: `WTMPX_FILE' undeclared (first use in this function)
login.c:454: (Each undeclared identifier is reported only once
login.c:454: for each function it appears in.)
make: *** [login.o] Error 1

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

From: "tester" <[EMAIL PROTECTED]>
Subject: How to do secure X11: NT Workstation SP4 (SecureCRT v2.4, Exceed v6.1), 
Redhat Linux 5.9.7 [Starbuck]:  SSHD v1.2.26
Crossposted-To: comp.security.ssh,linux.redhat.misc,comp.os.linux.misc,comp.os.linux.x
Date: Fri, 16 Apr 1999 19:16:45 GMT

Topic sums up the configuration.. 
I SSH (3DES encryption) into the Linux box with SecureCRT 2.4b1, and export
DISPLAY to my NT Workstation.  

Now do I make X11 *secure*?




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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: routing over ppp
Date: 16 Apr 1999 19:45:42 +0100

"Tom Heyworth" <[EMAIL PROTECTED]> writes:

> Hi  I've got a redhat 5.2 box on the net as a quake server at my local ISP.
> I've setup mgetty to allow dialup access and configured it for ppp so as I
> can monitor and play games on it. what I'm after now is a way of getting
> internet access through this PC as well. I assign the IP address 192.168.1.1
> to the dialup connection.. is it just a case of putting some extra routes in
> the servers routing table or do I need to set IP masquerading?

You need masquerading.  (Probably). 

> .. since I
> have no access to other machines at the ISP to add in routes to my machine
> in there routing tables.

Actually you may be able to use ProxyARP.  Iff you have a spare
allocated IP address on the ISP's co-location LAN then you can assign
that IP address to the dialup client and put "proxyarp" in the PPP
options.  In this case you should set the IP address of the PPP
interface in the server to be the same as that of the NIC.  

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: mist <[EMAIL PROTECTED]>
Subject: Re: ftp - 530 user xxx access denied
Date: Sun, 11 Apr 1999 11:04:41 +0100
Reply-To: mist <new$[EMAIL PROTECTED]>

G.L. Grobe <[EMAIL PROTECTED]> scribed to us that -
>I've just installed wu-ftpd-2.4.2-beta-18 on linux 2.2.3.
>
>I've got a win98 box masq'ed to the linux box. Telnet'ing, browsing, etc... work 
>fine from the win98 box. I build the ftp deamon and installed it (although rpm -
>q still says package not installed - ???)
>
>When I ftp to my linux box I get the following (no matter who I try to log in 
>as):
>
>530 user xxx access denied
>Login failed.
>

Check the /etc/ftpaccess file.  Perhaps ftp is configured not to allow
proper user access remotely?

Do you get the same response from the linux box ftp-ing to localhost?  

Most ftp daemons are preconfigured to disallow certain users.
/etc/ftpusers is the file for that, I think.

-- 
Mist.

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

From: Brian McCauley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Mail server for Linux
Date: 16 Apr 1999 20:03:26 +0100

[EMAIL PROTECTED] (Luca Filipozzi) writes:

> sendmail is probably the hardest of the mail servers to set up.
> consider smail or qmail

As a sendmail->smail convert I can't comment on qmail but I think the
wealth of documentation available on sendmail means that in complex
situations it's actually easier to set up than smail.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: [EMAIL PROTECTED]
Subject: Re: setting: how to send mail behind firewall
Date: Fri, 16 Apr 1999 19:08:31 GMT

Hi,

I was wondering if anyone had solved this problem, because I am having it as
well.  We have an internal network of 10 computers set up with pop3 accounts
using WinX OS.  1 Linux firewall connected via a HDSL to the Internet.  3
portable computers with different ISP using POP3.  My Problem is that the
portables cannout email to addresses outside our [EMAIL PROTECTED]  It
returns the same responce as Lam states below.  We can email each other fine,
and one of the portables does work.  So I think it is a setting that I can fix
for the other two, but I'm not familar with linux and SendMail enough to find
the place I need to look.

Any help would take some heat of my back and would be greatly appreated.

Matt

In article <01be70da$cd422c40$[EMAIL PROTECTED]>,
  "Wilson Lam" <[EMAIL PROTECTED]> wrote:
> Hi,
> I am using redhat 5.2 (linux 2.0.36) and rinetd to setup a firewall
> and ip port forward.
> The email server is also a linux box in the private network.
>
> The situation is that:
> I can receive mail from the outside world.
> I can send mail out to outside within the email server.
> But I cannot send mail from a PC within the private network via
> the email server. The mail returned with error from the destination
> server:
> ======================
> Delivery has failed on the enclosed message for the following
> reasons reported either by the mail delivery system on the mail
> relay host or by the local TCP/IP transport module:
>
>    551 <[EMAIL PROTECTED]>... we do not relay
> ======================
>
> My /etc/rinetd.conf is:
> 0.0.0.0 25 192.168.1.8 25
> 0.0.0.0 80 192.168.1.8 80
>
> Where 192.168.1.8 is the email server.
>
> Is there anything that I am missing to set?
> Any suggestion is much appreciated!
>
> Wilson Lam
>

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

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

From: "Dieter Stueken" <[EMAIL PROTECTED]>
Subject: simple gateway function
Date: Sat, 17 Apr 1999 02:20:08 +0200

I installed two ethernet cards to connect two networks.
route -nr tells me:

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.2.4     0.0.0.0         255.255.255.255 UH    0      0        0
dummy0
192.168.2.0     0.0.0.0         255.255.255.0   U     0      0        5
eth0
192.168.3.0     0.0.0.0         255.255.255.0   U     0      0        1
eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        3
lo
0.0.0.0         192.168.2.1     0.0.0.0         UG    0      0        0
eth0

I am able to ping hosts on the 192.168.2.x net and on the 192.168.3.x
network from the central host (192.168.2.4). But hosts sitting on
different
networks can't see each other.
What gets wrong?

I'm using Linux 2.0.36 and enabled some kernel parameters like:
CONFIG_IP_FORWARD
CONFIG_FIREWALL
CONFIG_IP_FIREWALL
as they seemed to have anything to do with routing, although we don't
need any firewalling.

Do we really need some routed now? or something else beyond ifconfig
and route add -net ...?

Regards, Dieter.
-- 
Dieter St�ken, con terra GmbH, M�nster
    [EMAIL PROTECTED]         [EMAIL PROTECTED]
    http://www.conterra.de/     http://qgp.uni-muenster.de/~stueken
    (0)251-980-2027             (0)251-83-334974

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

From: Guenther Hutzl <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.networking.general,comp.os.linux.portable
Subject: Re: Turbo 16/4 Token-Ring (PCMCIA) setup
Date: Fri, 16 Apr 1999 19:43:39 +0000

Marc Hoppins wrote:
> 
> On Tue, 06 Apr 1999 23:57:45 GMT, Karl Buck <[EMAIL PROTECTED]> wrote:
> 
> >The TokenRing mini HOWTO on this mentions that it should run "fine"
> >after configuring using lanaidc, and gives the incorrect syntax for the
> >command. I think I've found the correct command (LANAIDC /MODE=AUTO16),
> >but pretty much everything having to do with networking freezes up if I
> >try to ifconfig up the tr0 interface.
> >
> >I'm very interested in talking to anyone that has successfully managed
> >to get this card working. Right now I'm using 2.2.x on RedHat 5.2 with
> >updates.
> >
> >Thanks! --Karl
> 
> I will second that...I have the same card and I have not yet got this
> to work.  I am attempting to communicate with some IBM bods to see how
> they are working it.  If you get a response sooner than I please email
> or post.

Hi,

I have an IBM Auto 16/4 Token Ring card (PCMCIA). I am not sure if this
also works
with the Turbo but you should give it a try. The card will only work
when you disable the high memory area for PCMCIA devices. Under RadHat
5.2 the high memory area is active by default, os maybe this is your
problem... .

Try to edit your /etc/pcmcia/config.opts and comment out or delete the
high memory area and you card may work then.

#
# Local PCMCIA Configuration File
#
# System resources available for PCMCIA devices
#
include port 0x100-0x4ff, port 0x1000-0x17ff
include memory 0xc0000-0xfffff  #, memory 0xa0000000-0xa0ffffff
#                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#

Good Luck!

Guenther.

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

From: "Patrick" <[EMAIL PROTECTED]>
Subject: POP3 port 110 not connecting
Date: Sat, 17 Apr 1999 00:28:48 GMT

If I try to make a POP3 connection to my Linux box (Redhat 5.2) the
connection fails. Trying to get in with Telnet to port 110 fails too.
It seems to timeout. Sendmail itself appears to be working, the pop
user's account is "enabled" in linuxconf, mail sent to the user's
account gets placed in the user's mailbox, there are no restrictions set in
/etc/hosts.deny or hosts.allow

Can anybody think of anything else to check?


Thanks in Advance

Patrick



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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: Which way perform better?
Date: 16 Apr 1999 20:11:48 +0100

"YC GUO" <[EMAIL PROTECTED]> writes:

> HI:
>     Which way network performs better?
>     compiling network driver into kernel or load network driver as modules
> in conf.modules?
> 

If there's any difference then the built-in driver has to be better.
I doubt the differnce would be measureable.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

From: "EFH" <[EMAIL PROTECTED]>
Subject: Samba-network drives read only
Date: Fri, 16 Apr 1999 20:33:48 -0400

I am setting up a home network with  a Linux server.  Samba is running great
with the one exception that my network directories are read only for any
user but root.  I have the following in the smb.conf file for the
directories I would like any user to access:
[public]
  path = path to directory
  public = yes
  writable = yes
  printable = no

My Windows machines can access the directories without a problem, but I must
create a "root" sign-on to write to the drive.  I have tried both
"writable=yes" and "read only=no" but still get read only access for all
users but root.  I'm sure I must be missing something simple (I've been
using Linux about two weeks) but I'm ready to rip out my hair.  Any help
would be greatly appreciated.



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

From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: Help, RH5.2, transmit timed out
Date: Fri, 16 Apr 1999 19:37:06 -0500

I'd probably try a different network card then.

MaiChen wrote in message <7f7eu6$65q$[EMAIL PROTECTED]>...
>It works before this message. It dosen't seem to be IRQ problem.
>Run ifconfig, get something like:
>TX packets: 1100 errors: 150 dropped:0 overrunds:87 carrier:0
>
>I leave the machine idle overnight and theconnection broke. Message like:
>eth0: transmit timed out: status 0090 command 0000.
>
>There is a hourly cron job running for news (nntp) which is set
>automatically
>during install.  Since there is no new server in my LAN, would it cause the
>problem?
>
>Also, it there is message "try restart transmitter ..." follow the
"transmit
>timed
>out", the connection is still there.  Any idea?  Thanks.
>
>
>
>Curt wrote in message ...
>>Does the network connection work before this message?
>>If not, I'd guess IRQ level used by the board differs from your setup.
>>Execute ifconfig and see if your getting only RX data and no TX data.
>>
>>Yanbin Ma wrote in message <7f5qfl$3u8$[EMAIL PROTECTED]>...
>>>My RedHat 5.2 linux box periodically popup message like
>>>"transmit timed out, status 0050 command 0000." and sometimes
>>>the network connection dropped and I need to reboot the system to resume
>>>the connection.  The network card is Intel EtherExpress 10/100 PCI.
>>>
>>>Anyone has any idea what's wrong?
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>



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

From: [EMAIL PROTECTED] (David Kirschey)
Subject: No connection without tcpdump...
Date: Fri, 16 Apr 1999 11:46:38 GMT
Reply-To: [EMAIL PROTECTED]

Hello,

for a new server I just installed SuSe Linux 6.0 ( AMD K6 350, 256MB,
GDT Raid 5 30GB, tulip NIC 100MBit) and have a severe problem
connecting through the lan: 

It is not possible to ping, from/to my linux server. Ping/Telnet from
another Computer don't work, too. 

Now I try to debug, and when I start "tcpdump -i eth0" on my new
server, everything works fine, everything works. But when I press
Ctrl- C to stop the tcpdump, it's all over... Nothing works any more.
All remote x-windows are dieing, telnet disconnects etc. 

I don't know, what's going on... Why do I have to start an "tcpdum -i
eth0 >/dev/null&" to work with the computer? 

Thanks a lot

David Kirschey
PS: After an amount of time "tcpdum -i eth0 >/dev/null&" fails with an
"Segmentation error". But the network still works...

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

From: "Jan Johansson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: Using Linux instead of NT Server in home environment....
Date: Thu, 8 Apr 1999 08:37:41 +0200

>Really? Why would they want it to be impossible to save your password
>unless a particular protocol was in place? It makes llittle sense to
>me... the dial up networking has nothing to do with the network
>protocol that it uses. Please explain this to me!



A "client" is not a "protocol" also, the MS Client for networks operates on
ALL carrier protocols.



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

From: [EMAIL PROTECTED] (David Kirschey)
Subject: Problem using Squid
Date: Fri, 16 Apr 1999 12:02:22 GMT
Reply-To: [EMAIL PROTECTED]

Hello, 

I have a Problem with the WWW- Access using Squid (SuSe 6.0).

Config 1 (without Squid)
1. Start netscape&
2. There in Proxy Config I enter the Proxy and Port (8080) of my ISP
3. Select a Internet Site (e.g. www.linux.org)
ISDN is dialing up and everything works.

Config 2 (with Squid running)
1. Start netscape&
2. There in Proxy Config I enter the Proxy and Port of Squid
(localhost)
3. Select a Internet Site (e.g. www.linux.org)
ISDN is dialing up but after a few seconds squid ends with an error
message ("Remote Server is down" or so)

I did not find, where to enter my ISP's proxy in, too (but this is not
so important I hope).

Maybe it's a small problem. Do you have an idea?

Thank you for any suggestions.

David Kirschey


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

From: [EMAIL PROTECTED]
Subject: Re: Freenet and ppp
Date: Sat, 17 Apr 1999 00:33:10 GMT

In article <[EMAIL PROTECTED]>,
  mongoose <[EMAIL PROTECTED]> wrote:
> Has anyone connected to Freenet.co.uk with PPP? Im failing miserably and
> would appreciate any help. I have no problem with Windoze(sigh!) and my
> (external) modem seems to hook up ok but then the protocol negotiations
> seem to fail . I have set resolv.conf as per Freenet specification
> (although they do not specify domain name - only nameserver addresses) I
> am running Slackware with a 2.2.2 kernel and ppd is at 2.3.5 .Any ideas?
I seemed to be able to connect quite well via freenet.co.uk, as I usually use
virgin, so I'd have this as a second logon.

I'm using 08453530000
195.89.137.2
193.164.160.2
l=guest2
p=London

It seems to run lots faster than virgin at the moment!

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

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

From: [EMAIL PROTECTED] (Jim Roberts)
Subject: Re: Can't See
Date: Fri, 16 Apr 1999 21:13:22 GMT

In article <[EMAIL PROTECTED]>,

> Cant see server from Windows98 Workstation.  TCP/IP is installed and
> fast ethernet connection
> 
> --
> Integrated Information Solutions    http://www.logosnet.net
> SmartWare 2000 PLUS!              You've tried the rest!
> Voice: (954) 360-0538                 Text: [EMAIL PROTECTED]
> 

What don't you see?  Do you mean that you can't telnet, ftp to
the linux box or do you mean that you don't see the linux box
in network neighborhood?

If the latter is what you mean then you are seeing exactlly what
you should see. You will need to install samba and configure it
before the linux box will show up in net neighborhood.

Wish you guys would give us a fighting chance to help!

-- 
Jim Roberts         Never enough time!
[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
******************************

Reply via email to