Linux-Networking Digest #401, Volume #11 Fri, 4 Jun 99 06:13:40 EDT
Contents:
dsl and linux R.H-5.2 (PeAcE^)
Ping the network ("Francisco Caceres")
Re: Telnet ( no ssh answers please) ("Erik Graversen")
Re: How do I see the internet from our class C network ("Erik Graversen")
Howto Change Apache Layout? ("NOspam Mackraz")
Re: PCAnywhere (Brian Rectanus)
ip_rt_advice: redirect to 192.168.1.4/00 dropped (Green Screen)
Re: Linux: ICMP Redirect, IP Source Routing unterdruecken (Wolfgang Zweimueller)
Question about Directed Broadcast on Linux ([EMAIL PROTECTED])
Proftpd help needed ("Matt Goebel")
Re: Making an ICQ server ("Jan Johansson")
Re: pump, dhcpcd, and redhat 6.0 ("Matt Goebel")
Re: 3com-ing a netwerk (Wienux)
Re: Samba passwords - I need help! (Villy Kruse)
Re: Making an ICQ server (Radovan Garabik)
Re: DNS - Some resolve, some don't! (Eric LEMAITRE)
loop back disappearance (Adam Vukich)
Re: tcp/ip transfer rate (Flavio Curti)
Re: How to setup Samba in Redhat 5.2 (HellNo)
ICMP error (Charly)
----------------------------------------------------------------------------
From: PeAcE^ <[EMAIL PROTECTED]>
Subject: dsl and linux R.H-5.2
Date: Thu, 03 Jun 1999 12:39:18 -0400
==============CFACA91394BC93E7A7FEBD3F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello group
Having trouble setting up my dsl with linux.
my network allocation is 198.168.1.0/24
netmask 255.255.255.240
192.168.1.2 this will be the address for the linux box
192.168.1.3 this will be the address for the win95
gateway is 192.168.1.1
nameservers 198.7.0.1/198.7.0.1
Im using a netopia 12 user router problem is, is that windows work and linux
don't. This is my routing table for linux.
ifconfig eth0 192.168.1.2 netmask 255.255.255.240 up
route add -net 192.168.1.0 netmask 255.255.255.240 eth0
route add default gw 192.168.1.1 eth0
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.240 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Plz is the anyone who can help me get my network up.
Thanks in advance. ;)
--
=====PeAcE GEEK CODE BLOCK=====
Version: 3.1
GO dpus: a C++ UL++++ P L+++ E---- W+ N+ o-- K w M- PS PE-- Y
PGP- t 5 X+ R* tv+ b-- DI- D+ G e h---- r+++ z++**
=====END OF GEEK CODE BLOCK====
==============CFACA91394BC93E7A7FEBD3F
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EF" VLINK="#51188E" ALINK="#FF0000">
Hello group
<PRE>Having trouble setting up my dsl with linux.</PRE>
<PRE>my network allocation is 198.168.1.0/24</PRE>
<PRE>netmask 255.255.255.240</PRE>
<PRE>192.168.1.2 this will be the address for the linux box</PRE>
<PRE>192.168.1.3 this will be the address for the win95</PRE>
<PRE>gateway is 192.168.1.1</PRE>
<PRE>nameservers 198.7.0.1/198.7.0.1</PRE>
<PRE>Im using a netopia 12 user router problem is, is that windows work and linux</PRE>
<PRE>don't. This is my routing table for linux.</PRE>
<PRE>ifconfig eth0 192.168.1.2 netmask 255.255.255.240 up</PRE>
<PRE>route add -net 192.168.1.0 netmask 255.255.255.240 eth0</PRE>
<PRE>route add default gw 192.168.1.1 eth0</PRE>
<PRE>Kernel IP routing table
Destination
Gateway
Genmask Flags Metric
Ref Use Iface
192.168.1.0
0.0.0.0 255.255.255.240
U 0
0 0 eth0
127.0.0.0
0.0.0.0
255.0.0.0 U
0 0 0 lo
0.0.0.0
192.168.1.1
0.0.0.0 UG
0 0 0
eth0</PRE>
<PRE>Plz is the anyone who can help me get my network up.</PRE>
<PRE>Thanks in advance. ;)</PRE>
<PRE>--
=====PeAcE GEEK CODE BLOCK=====
Version: 3.1
GO dpus: a C++ UL++++ P L+++ E---- W+ N+ o-- K w M- PS PE-- Y
PGP- t 5 X+ R* tv+ b-- DI- D+ G e h---- r+++ z++**
=====END OF GEEK CODE BLOCK====</PRE>
</BODY>
</HTML>
==============CFACA91394BC93E7A7FEBD3F==
------------------------------
From: "Francisco Caceres" <[EMAIL PROTECTED]>
Subject: Ping the network
Date: Thu, 3 Jun 1999 14:00:43 -0300
Ok now I manage to do ping to other ip's on my network but is awfully slow
and iam getting packet loss, what could this be?
Francisco
------------------------------
From: "Erik Graversen" <[EMAIL PROTECTED]>
Subject: Re: Telnet ( no ssh answers please)
Date: Fri, 04 Jun 1999 06:48:43 GMT
One reason I can think of why su is (marginally) better is that most
sniffers do not capture (and log) the entire stream of bytes traveling.
Many sniffers are protocol (port) specific and only log the first few
packets in a connection - which is where telnet and ftp username and
passwords travel - in the clear.
/erik
[EMAIL PROTECTED] wrote in message <7j2ljj$cdi$[EMAIL PROTECTED]>...
>In article <g%_43.10435$%x.8678@wards>,
> "Hugh Saunders" <[EMAIL PROTECTED]> wrote:
>> As long as you can live with the big security hole, [...]
>> Alternatively, you could telnet onto the box as a normal user and 'su'
>> to root.
>
>Please explain how telnetting in as root is a "big security hole", but
>`su`ing over a remote unsecure connection is not.
>
>--
>-Bill Clark
>Systems Architect
>ISP Channel
>http://locale.ispchannel.com/
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
------------------------------
From: "Erik Graversen" <[EMAIL PROTECTED]>
Subject: Re: How do I see the internet from our class C network
Date: Fri, 04 Jun 1999 07:30:02 GMT
Well if the PC can see the internet when you boot into NT then it
sounds to me as if you only need to let linux know that the router
is it's default gateway. (this will send all traffic that is not for
the local subnet - as determined by your IP & netmask - to the router.
If you already have done that and you still cannot access (ping) e.g.
www.oracle.com then maybe you have not told linux how to convert the host
names to IP addresses? Go into "/etc/resolv.cfg" (or something like that)
and add the IP address of the nameserver.
You should be able to get the default gateway and nameserver (DNS) ips
from NT's Network properties for the TCP/IP protocol.
Hope this helps,
/erik
TwoSheds wrote in message <7j626p$2rjb$[EMAIL PROTECTED]>...
>I've installed RH6 on an NT workstation (LILO to dual boot). I've created a
>network interface so that it can see the machines on our LAN (class C
>private network). We have a leased line and a router.
>
>How do I now make my machine see the internet. Do I need to create another
>network interface? Do I need to implement IP masquerading?
>
>What's the next step?
------------------------------
From: "NOspam Mackraz" <[EMAIL PROTECTED]>
Subject: Howto Change Apache Layout?
Date: Fri, 4 Jun 1999 00:30:40 -0700
I'm running RedHat 5.2.
I figured I should learn how to build Apache from sources, so mod_perl etc.
could be gotten directly without looking for RPM's. That I did, using
Apache's default layout (everything under /usr/local/apache)
Now I have to figure out how to get the new version of httpd started (before
I "rpm -e apache"). But I don't really know how Linux starts up stuff, in
general.
I found a scary script /etc/rc.d/init.d/httpd, plus some other httpd stuff
under rc.d, but I don't want to hack the pathnames in that script unless I
know what the heck is going on.
I'm looking for:
- pointer to information on how linux starts up daemons (and the role of
rc.d)
- suggestions on how to run an httpd I built from sources
- perhaps an APACI "layout" configuration that matches redhat 5.2
- general guidance
Many thanks,
Jim Mackraz
------------------------------
From: Brian Rectanus <[EMAIL PROTECTED]>
Subject: Re: PCAnywhere
Date: Thu, 03 Jun 1999 13:38:17 -0400
Use VNC instead. It is similar to PCAnywhere, but cross-platform
capable and free.
http://www.uk.research.att.com/vnc/
-Brian
Indra Nusantara wrote:
>
> Hello All,
>
> I am really new to this Linux world. I have just succesfully setup a RedHat
> 5.2 box.
>
> I have several NT servers that I usually administer from my Win98 PC through
> PCAnywhere.
>
> Is there a way to do that in Linux ? I mean, can I remotely connect to my NT
> PCAnywhere hosts from the LInux machine ?
>
> I really appreciate any sugestions. Thanks.
>
> --
> Regards,
>
> Indra Nusantara
> [EMAIL PROTECTED]
------------------------------
From: Green Screen <[EMAIL PROTECTED]>
Subject: ip_rt_advice: redirect to 192.168.1.4/00 dropped
Date: 4 Jun 1999 07:22:38 GMT
ip_rt_advice: redirect to 192.168.1.4/00 dropped
got this in /var/log/debug as a result of trying to telnet, ftp, etc (any
tcp/ip app it appears) to this box from another one on the local subnet.
have no problems with any other boxes on the subnet... setup is as
follows:
192.168.1.1 this box Linux 2.2.6
192.168.1.2 another box Linux 2.2.6 no problems connecting
192.168.1.3 yet another box Linux 2.2.6 no problems
192.168.1.4 new slackware4.0 install, Linux 2.2.6, can ping just fine,
tcp/ip apps do not work to .1 (this box), message mentioned above appears
in /var/log/debug on this box.
trying to connect from 192.168.1.1 to 192.168.1.4 does the same thing,
only .4 doesn't log anything in debug.
any help at all is appreciated... thanks
Lint^^
btw: followup postings are nice, e-mail would be even better
([EMAIL PROTECTED])
------------------------------
From: Wolfgang Zweimueller <[EMAIL PROTECTED]>
Crossposted-To: de.comm.internet.routing
Subject: Re: Linux: ICMP Redirect, IP Source Routing unterdruecken
Date: 04 Jun 1999 09:32:23 +0200
Bernd Eckenfels <[EMAIL PROTECTED]> writes:
> SAP Router sind keine Router sondern Application Level Proxies.
Ich weiss das! Auch ich kriege manchmal Dinge au�erhalb meines
Tellerrandes mit ;-)
Darum wunderte ich mich (insgeheim) ja etwas �ber Detlefs Ausf�hrungen
zu dem Thema in Verbindung mit dyn. Routing.
cu, Wolfgang.
------------------------------
From: [EMAIL PROTECTED]
Subject: Question about Directed Broadcast on Linux
Date: Fri, 04 Jun 1999 06:31:29 GMT
Hi.
I have a question about directed broadcast (RFC1122-3.3.6).
When I wrote sample program and tried to send directed broadcast
message using UDP,
MAC address for destination was set to default router's, so other
hosts which are
on local net couldn't receive broadcast.
Then I tried to run the same program on other operating systems (NT,
Sun),
but their behavior were different.
They handled the address as BROADCAST ADDRESS, so they set destination
MAC address
to BROADCAST (0xFFFFFFFFFFFF).
I investigated why there is a difference by looking up RFC documents and
found some specification sheets (Sorry, but I do't know if it is
obsolete).
According to RFC894(A Standard for the Transmission of IP Datagrams
over Ethernet Networks),
it says any broadcast packet's destination MAC address should be set to
FF-FF-FF-FF-FF-FF.
Should ip_chk_addr() in /net/ipv4/devinet.c return IS_BROADCAST for
this type of
destination IP-address? (ip_get_mask() should return actual netmask but
not class standard netmask).
Does anybody know about this?
FYI:Configuration of my environment is as follows.
A: Linux-1
{
Kernel:
2.0.36 (comes with RedHat 5.2)
NIC:
3Com 3C905 (for 1st Try)
NIC: Intel EtherExpress Pro 100 (for 2nd Try)
Host IP address:
10.1.1.10 (netmask 255.255.255.0)
Address used for Direct Broadcast:
10.255.255.255
Result:
A packet was sent to default router but was not broadcasted to local
net.
}
B: Linux-2
{
Kernel:
2.0.36 (comes with RedHat 5.2)
NIC: 3Com 3C905
Host IP address:
10.1.1.10 (netmask 255.255.255.0)
Address used for Direct Broadcast:
10.1.1.255
Result:
A packet was sent as broadcast packet.
}
C: Sun
{
OS:
SunOS 5.6
Host IP address:
10.1.1.11 (netmask 255.255.255.0)
Address used for Direct Broadcast:
10.255.255.255
Result:
Broadcast packet(Dest-Mac-address=0xFFFFFFFFFFFF) was sent to local
network.
}
Thanks
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Matt Goebel" <[EMAIL PROTECTED]>
Subject: Proftpd help needed
Date: Fri, 4 Jun 1999 03:39:05 -0400
Reply-To: "Matt Goebel" <[EMAIL PROTECTED]>
I've just uninstalled wu-ftpd and installed proftpd. Now, I have no idea
how to configure it. Is there some site out there with a easy to follow
guide of how to setup proftpd? (Don't say the www.proftpd.org website
please) Or can anyone give me a quick how-to version of how they set it up?
Any help would be great.
------------------------------
From: "Jan Johansson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Making an ICQ server
Date: Fri, 4 Jun 1999 10:30:20 +0200
>My recommendation is that you replace squid with socks5, which you can
[snip]
Why _replace_? Let them coexist, Squid is a chaching web/ftp proxy which is
good for performance.
------------------------------
From: "Matt Goebel" <[EMAIL PROTECTED]>
Subject: Re: pump, dhcpcd, and redhat 6.0
Date: Fri, 4 Jun 1999 03:57:54 -0400
Reply-To: "Matt Goebel" <[EMAIL PROTECTED]>
Sounds like you need the pump patch. ( something like 0.6.7? Available on
Redhat's webpage) Pump works fine for some people's ISP, but it didn't work
for mine at first. After I undated it it works great. There shouldn't be
any need to go back to using dhcpcd.
------------------------------
From: [EMAIL PROTECTED] (Wienux)
Subject: Re: 3com-ing a netwerk
Date: Fri, 04 Jun 1999 17:39:29 GMT
That's right.
CAT5 is specificaly designed to transport data over a larger distance
with higher speed.
CAT5 is designed to cope with more then 100 Mbit but you will only use
100Mbit.
For a 5 PC network a HUB will suffice but if you have the money, you
could buy a SWITCH.
A SWITCH has it's own CPU and all poorts on it will get an equal
amount of CPU time, thus making it faster.
WIENUX
"Damon J. Rygiewicz" <[EMAIL PROTECTED]> wrote:
>In order to run the network at 100Mbps/sec speed, you will have to use CAT5
>cable and a hub. BNC coax cable simply won't run faster than 10Mbps/sec.
>Damon
>[EMAIL PROTECTED] wrote in message <7j3phi$oqm$[EMAIL PROTECTED]>...
>>How does the 3C905 (B to be exact) react to linux (at 100?) ? Any bad
>>experiences?
>>
>>I'm new to building networks, so forgive the ignorance. What is the
>>reasoning behind using cat5 and a hub, vs coaxial going machine to
>>machine. My network will max out at 5 or 6 boxes (at home in the same
>>room), so the most obvious problem with coaxial really doesn't bother
>>me.
>>
>>
>>Sent via Deja.com http://www.deja.com/
>>Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Samba passwords - I need help!
Date: 4 Jun 1999 10:20:18 +0200
In article <7iefnt$8o5$[EMAIL PROTECTED]>,
Mike Dion <[EMAIL PROTECTED]> wrote:
>I can't get passwords to work with Samba. I'm connecting from a WIN95
>client and can only see the shared services when my SMB password is set to
>"NO PASSWORD". After scanning numerous Linux discussion groups and reading
>the documentation found in /usr/doc/samba-n.n on my server, I'm still
>stumped!
>
>As documented, I created my smbpasswd file by:
>cat /etc/passwd | mksmbpasswd.sh > /usr/local/samba/private/smbpasswd
>
And you also ran smbpasswd for each user, not? mksmbpasswd.sh can only
copy the user information to the samba password file and a non-valid
pasword. It has no way for extracting the actual cleartext password
from the passwd file or the shadow file. With the current version
of samba it is actualy easier to call cmbpasswd with the -a option
for each user to populate the smbpasswd file, and skip mksmbpasswd.sh
entirely.
mksmbpasswd -a joe
mksmbpasswd -a jane
and so on.
Villy
------------------------------
From: [EMAIL PROTECTED] (Radovan Garabik)
Crossposted-To: comp.os.linux.misc
Subject: Re: Making an ICQ server
Date: 3 Jun 1999 18:28:35 GMT
In comp.os.linux.misc Azfar Kazmi <[EMAIL PROTECTED]> wrote:
: Hi,
: Is there any ICQ daemon available? I looked at freshmeat.net but found
: none stable. How can I make an ICQ box?
there is an ongoing development... look at http://phantom.iquest.net/icq/,
there was some discussion about it
: I have provided a cache server to users and they connect to Internet
: through that. Since they wish to use ICQ and Squid doesn't allow that
By cache server you mean http caching proxy?
And by "they connect to Internet" you mean "they browse www" ?
: therefore I thought why I don't make my own box an ICQ server. Is that
: possible? I have never used ICQ though. I even don't know how the client
: works.
it is (will be) certainly possible, but it is not what your users want. Such a server
would not be connected to mirabilis network, and therefore useless (for
intended purpose at least)
Is your server acting as gateway? Then there is no problem, users can just
connect to icq servers without problems. If it acts as firewall, you need to
allow access to port 4000. And there is a kernel module to allow use of icq
through ip masquerading (somewhere on fresheat...)
: I am using Redhat 4.1 kernel 2.0.34
upgrade :-)
--
-----------------------------------------------------------
| Radovan Garabik http://melkor.dnp.fmph.uniba.sk/~garabik |
| __..--^^^--..__ garabik @ fmph . uniba . sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
------------------------------
From: Eric LEMAITRE <[EMAIL PROTECTED]>
Subject: Re: DNS - Some resolve, some don't!
Date: Fri, 04 Jun 1999 10:33:58 +0200
Hi !
I am no expert, but I spent many many hours trying to set my own DNS before
complete success.
All your domains seems handled by a primary DNS machine named ns1.filetron.com
and a secundary DNS machine named ns1.pbi.net.
All your domain services (www, ftp, ...) seem handled by the same machine at
the same IP adress 206.171.92.29, as the Web server named www.linuxstart.com at
206.171.92.29, BUT your machine at fr.linuxstart.com is at a different alone
single IP adress at 206.171.92.46.
Perhaps you should deal the whole "linuxstart.com" domain including "fr"
machine all with the same machine at IP adress 206.171.92.29.
But a little advice too : I would prefer a single IP adress definition for your
domain-dealing machine, with proper ALIASES for all other machine names. This
should be much tidier, I believe.
Bye !
------------------------------
From: Adam Vukich <[EMAIL PROTECTED]>
Subject: loop back disappearance
Date: Thu, 03 Jun 1999 15:29:08 -0400
I was trying to give my computer a new ethernet address, mask, and
gateway. I entered all of the new info and rebooted. When the machine
rebooted ifconfig showed eth0 with the new info., but lo wasn't there
anymore. In the control-panel, lo doesn't have an ip address associated
with it and it says that it is inactive. Pressing activate does nothing
and it won't let me edit. If I type in ifconfig lo up it says active,
but I still can't communicate with the network and it doesn't come up
upon reboot. Is there a way to fix this problem?
Adam Vukich
------------------------------
From: Flavio Curti <fcu@NOSPAM{futurecom.ch}>
Subject: Re: tcp/ip transfer rate
Date: Thu, 03 Jun 1999 09:24:44 +0200
> Flavio Curti <[EMAIL PROTECTED]> wrote:
> > it seems, that the transfer rate is too low. at max. i have 5.2kb/s.
>
> what rate are you expecting? isdn is only around 7 KB/s, no?
yeah, that's what i heard too, like to have 7kb tooo...
> depends on what MTU you have set. if you're using 576, for instance,
> 10% is about right (especially if you consider acks, etc.) if you're
> using 1500, it sounds high.
think a don't have a setting on this yet... what's the default ???
so what are the pro's and con's of setting it to 1500 ??? i'll do that,
if it gives me only some bytes :-)
------------------------------
From: HellNo <[EMAIL PROTECTED]>
Subject: Re: How to setup Samba in Redhat 5.2
Date: Thu, 03 Jun 1999 17:24:27 GMT
I am new to linux myself and just started looking at SAMBA. You will
soon realise that samba has to be tailored to your needs and no one has
*the* configuration you need.
It all varies on the network you have, if you have NT servers or
not, ...
It's great fun though so don't give up. Just prepare to read a lot on
security and interactions between NT domains...
Good luck.
Ed.
In article <[EMAIL PROTECTED]>,
Eastern Commerce - Library 1 <[EMAIL PROTECTED]> wrote:
> I am new to the Linux world. Can someone post their successful
> configurated smb.conf here? I really need your help.
>
> [EMAIL PROTECTED]
>
>
--
HellNo
e-mail: [EMAIL PROTECTED]
ICQ: 21535717
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Charly <[EMAIL PROTECTED]>
Subject: ICMP error
Date: Fri, 04 Jun 1999 11:19:08 +0200
Hi all,
With my kernel (2.2.5) on my redhat linux box,
I got always an 'xxx.xxx.xxx.xxx sent an invalid
ICMP error to a broadcast'.
To fix it I saw that a file in /proc get a value that I
would change. This value is surely fixed with some
configuration tool. I tried linuxconf, I tried to change
the options in the kernel but nothing work.
Can someone tell me how can I fix the problem ?
Thanks.
Charly
------------------------------
** 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
******************************