Linux-Networking Digest #113, Volume #10          Fri, 5 Feb 99 01:13:44 EST

Contents:
  Re: [?] Very strange !!! Please Help Me; Reply-To: [EMAIL PROTECTED] (Luca Filipozzi)
  Re: route: netmask doesn't match route address (Jim Harper)
  Re: Red Hat 5.2 <-> Win98 Peer-to-Peer ([EMAIL PROTECTED])
  Re: Networking/Cable Modem ("Rahul Bhalla")
  Re: Need help with home network (Jim Harper)
  Re: GTE flamed linux for BillG (Stephen Carville)
  Re: Linux server on small network ([EMAIL PROTECTED])
  Re: Chat script (Jason Turner)
  Re: diald default route problems (Toshio Matsuda)
  Re: Connecting Linux with HPUX 9.05 ([EMAIL PROTECTED])
  Re: 2 modems - how do I multilink? ([EMAIL PROTECTED])
  Diald disconnects after packets stop ("Brady")
  Re: [?] Very strange !!! Please Help Me; Reply-To: [EMAIL PROTECTED] (Todd Ostermeier)
  Re: Configuring Netscape (Bob)
  Re: SYN Flooding (Bob)
  Re: Connecting Linux to USWest.net (Mike Horwath)
  From SRPMS to binaries (was Re: Tape file marks) (Ken)

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

From: [EMAIL PROTECTED] (Luca Filipozzi)
Crossposted-To: comp.os.linux.setup
Subject: Re: [?] Very strange !!! Please Help Me; Reply-To: [EMAIL PROTECTED]
Date: Thu, 4 Feb 1999 16:15:00 -0800

In article <79d3ot$mgv$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> If you can, please help me. I'm really  g o i n g   c r a z y !!!!
> 
> AS
> --
> Antonino Sabetta
> [EMAIL PROTECTED] (per rispondere rimuovere 'XXX')
It sounds like the path for root is different than the path for users. 
Often, the path for root does not include the current working directory 
for security reasons.

Avrei risposto in italiano, ma lo scrivo cosi infrequemente.

-- 
Luca Filipozzi <[EMAIL PROTECTED]>

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

From: Jim Harper <[EMAIL PROTECTED]>
Subject: Re: route: netmask doesn't match route address
Date: Fri, 05 Feb 1999 03:22:21 GMT

Craig Lucas wrote:
> 
> Jerry Guy wrote:
> >
> > Craig Lucas wrote:
> >
> > > when I run the /etc/rc.d/init.d/network start command I get a message
> > > saying "route: netmask doesn't match route address" and then some lines
> > > on Usage.
> > >
> > > can anyone help me with this?
> > >
> > > newbe
> > > [EMAIL PROTECTED]
> >
> > Show your route table. (netstat -nr) or route
> I have a single-homed (one NIC) system setup with a cable modem
> 
> cat /etc/sysconfig/network
> NETWORKING=yes
> FORWARD_IPV4=no
> HOSTNAME="c67809-b"
> GATEWAYDEV=eth0
> GATEWAY=24.1.24.1
> 
> That's it for the network file, should there be a netmask in there?
> 
> route -F
> Destination     Gateway     Genmask        Flags Metric Ref Use Iface
> 24.1.24.0       *           255.255.255.0  U     0      0   3   eth0
> 127.0.0.0       *           255.0.0.0      U     0      0   2   lo
> default         24.1.24.1   0.0.0.0        UG    0      0   4   eth0
> 
> ifconfig
> etho Link encap:Ethernet HWaddr (address is correct)
>    inet addr:24.1.24.38  Bcast:24.1.24.255   Mask:255.255.255.0
>    (all the other stuff here..................................)

I see you're on the @home network. Their netmask is 255.255.254.0 It is
on my end anyway.

In your /etc/sysconfig/network-scripts/ifcfg-eth0 file, add or change
the line for the netmask to:

NETMASK=255.255.254.0

This should get rid of the error for you.

-Jim

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

From: [EMAIL PROTECTED]
Subject: Re: Red Hat 5.2 <-> Win98 Peer-to-Peer
Date: 5 Feb 1999 04:18:41 GMT

Chris Chambers <[EMAIL PROTECTED]> wrote:
> Trying to set up a peer to peer network between red hat 5.2 and win98.  Have
> 10/100 cards in both, connected to 5 port 10Mb hub.

> Both cards (and hub) indicate live link.  TCP/IP set up properly on win98
> box.  When I try to ping my Linux box I can see activity on the hub, but no
> answer from Linux box.  When I try to ping PC from Linux, no activity on
> hub/activity and collision light lights up.

Read NET-3-HOWTO.  It sounds like the Win98 and Linux boxes do not agree 
about which network they are on.  The netmask on both Win98 and Linux 
must be the same (for example, 255.255.255.0) and the IP address in the 
netmask must be in the same on both computers (i.e.  192.168.1.XXX).

For samba, goto http://www.samba.org

-- 
Charles Rutledge    |    Liberty is a tenuous gift.  Hard to win, easy
[EMAIL PROTECTED]    |    to give away, and no will protect it for you.

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

From: "Rahul Bhalla" <[EMAIL PROTECTED]>
Crossposted-To: alt.solaris.x86,comp.dcom.modems.cable,sdnet.cablemodems
Subject: Re: Networking/Cable Modem
Date: Thu, 4 Feb 1999 23:15:30 -0500

I have the same set up at my house, that you are talking about works like a
charm, need more info. email me at [EMAIL PROTECTED]


Steven D. Nakhla wrote in message ...
>I am interested in getting a cable modem internet connection through the
>local cable provider here in Baltimore, Comcast.  However, there is more
>than one computer in the house, and if we want all of them to be wired to
>the cable modem, we need to setup a network.  Here is my question:  What
all
>is involved in that?  I'm a computer science major, so I've got a pretty
>decent understanding of the concpets, and all, but I've never setup a
>network.   Here is what I *think* is involved, please tell me if I'm right
>or way off:
>
>We buy a hub which hooks into the cable modem.  The modem acts sort of as a
>"server", to which each of the computers is connected as clients.  Network
>cards (ethernet I believe) run into the hub connecting each of the
>computers.
>
>Is this right?  Has anyone had experience with this type of connection who
>could lend me a hand with it?  Instructions?  Hardware/Software
>reccomendations?  Any help you can give would be REALLY appreciated!
>
>Also, I'm running Windows 98, Linux, and Solaris on my computer.  Can I use
>the cable modem connection with Linux and Solaris?
>
>please reply to:
>Steve Nakhla
>[EMAIL PROTECTED]
>
>
>



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

From: Jim Harper <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: Need help with home network
Date: Fri, 05 Feb 1999 04:23:57 GMT

nate wrote:
> 
> I have two PC's at home that I'm trying to network.
> One is named bipolar, and it is a triple boot NT4/RH5.2/FreeBSD 3.0 pentium.

First of all, I'd recommend therapy for bipolar and skitzo... then crank
up the triple boot machine, position yourself towards Redmond,
Washington, and pray to the Gods of Microsloth. Heh heh heh.... Kidding!

Post the output from "route -n" as well as the output from "ifconfig -a"

I'll see if I can help.

-Jim

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

From: Stephen Carville <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: GTE flamed linux for BillG
Date: 5 Feb 1999 04:19:31 GMT

Bob wrote:
> 
> Luca Filipozzi wrote:
> 
> > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> > says...
> > >     Bob> having windows. I have heard in newsgroups that GTE has
> > >     Bob> terminated ADSL service when they found out somebody was
> > >     Bob> running linux.
> > >
> > Does the contract actually say the Windows is required? Or simply that it
> > is the only O/S supported?
> >
> > My ADSL provider says I can use *nix but that they only support Windows
> > and Mac O/S. In other words, my problems are my own to fix.
> >
> > Luca
> 
> You and I know it's reasonable to say they don't hold hands or answer
> questions or support whatever OS. Far beyond that, one individual on
> the phone slandered and defamed linux by saying linux can't do dhcp.
> He went into an endless loop on windows can and linux can't, terminating
> the conversation with prejudice. In these newsgroups I've found out
> everything
> I need to know from people who run linux on GTE ADSL all the time, but
> nobody
> dares to say so when they're talking to the evil empire.
> 
> Actually if someone gets GTE ADSL, but an independent ISP, they don't hear
> that
> defamation of linux. For a mere 100% extra per month, I don't have to hear
> it!

You might want to check around a bit.  I am getting ADSL using GTE to move
bits but with an independent ISP.  The service level I signed for (Silver)
is $90 per month from GTE and $89.95 per month from the indie (both incluse
local loop charges)  Plus I get a fixed IP and a shell account!

I checked a few of the participating ISPs and most are charging way too
much but I didn't find _any_ that charge twice what GTE is charging for
residential service.  About the worst were Surf City and Impulse Internet
Services who want $135.00 and $115.00 respectively.  OTOH, Netquest
(http://www.netquest.net/dsl.html) and Flashcom
(http://www.flashcom.com/pricing2.html) were much more reasonable at $89.95
and $85 respectively.

-- 
Stephen Carville
[EMAIL PROTECTED]
====================================================
Management: The art of hiring intelligent, skilled individuals and then
ignoring their advice.

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

From: [EMAIL PROTECTED]
Crossposted-To: uk.comp.os.linux
Subject: Re: Linux server on small network
Date: Fri, 05 Feb 1999 04:21:03 GMT


>the linux
> machine sits across the other side of the room without a keyboard or
> monitor.

I am about to set up an old 586 to run Linux and I would like to do it without
a monitor. How does one go about doing this? Boot up and remove the monitor?
Hot swapping stuff is not my idea of doing things right but I saw an ace Unix
sytem admin do just that with monitors on Unix boxes without any problem. Is
this the way it's done? Don't mind leaving a $9 keyboard and mouse on it but a
monitor is somewhat more precious.

>telnet client

I have used the telnet client called EasyTerm from
http://www.arachnoid.com/ and the express purpose for which I used it was
BitchX. Look under programming resouces on the navigation frame on the left of
the page.

I would like to complement the users of this group on the highly civil and
useful threads that I am reading. IMHO, one of the problems with Linux has
been the mean spirited nature of the Linux usenet groups. Although, I
personally have found some very kind individuals to assist me on several
occasions. Thanks for any assistance.

david

--
[EMAIL PROTECTED]

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

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

From: [EMAIL PROTECTED] (Jason Turner)
Crossposted-To: uk.comp.os.linux
Subject: Re: Chat script
Date: 4 Feb 1999 20:19:16 GMT
Reply-To: ${usenet}[email protected]

Mike Bostock wrote:
>What I am trying to do is to use the BREAK sequence in some way to generate
>an alternate login sequence if the first fails ie if Bad Password is
>received instead of Protocol: then to go to <CR> login:  etc.....
>unfortunately the man page is not entirely clear on this point.

I don't think you can loop in chat, or do if...else stuff,
but you could try something along the lines of....

#!/bin/bash

/usr/sbin/chat .... \
'ABORT' 'BUSY'\
'ABORT' 'ERROR'\
'ABORT' 'NO CARRIER'\
'ABORT' 'NO DIALTONE'\
'' 'AT#Z'\
'OK' 'ATD01234-56789'\
'CONNECT' ''
[ $? -eq 0 ] || exit 1

for i in 1 2 3 ; do
  /usr/sbin/chat ....\
  'ABORT' 'Invalid Login'\
  'ABORT' 'Login incorrect'\
  'ABORT' 'Bad Password'\
  'ogin:--ogin:--ogin:' 'my_username'\
  'word:--word:--word:' 'my_password'\
  'otocol:--otocol:--otocol:' 'ppp'\
  'TIMEOUT' '5'\
  '~--' ''

  EXITCOD=$?
  if [ $EXITCOD -eq 0 -o $i -eq 3 ] ; then
    # Either OK, or three strikes and were out
    break
  elif [ $EXITCOD -eq 6 ] ; then
    # got a Bad Password, loop again
    continue
  else
    # Ermmm... what should we do on other errors ?
  fi
done
exit $EXITCOD

With your dodgy TA, that script, and a strong wind behind you,
it might just work :)

-Jason

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

From: Toshio Matsuda <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: diald default route problems
Date: Fri, 05 Feb 1999 13:29:57 +0900

I hope the following comment will help.

Chris Eng wrote:
> 
> hello ppp gurus:
> 
> i just installed diald and it ALMOST works... it will
> usually dial when it detects activity, but after it
> successfully dials in (using my ppp-on script) i have
> to do "route add -net 0.0.0.0 network 0.0.0.0 dev ppp0"
> (or an equivalent command) manually in order to get it
> to connect to anything.

If the default route is already added, then pppd will not
replace it. So if you want to make ppp0 the default route,
you shuould be sure that there is no default route.

> 
> i get the following message in the error logs:
> 
> Jan 29 22:03:16 cr pppd[386]: not replacing existing default route to sl0
> [0.0.\
> 0.0]
> 
> so i guess it's trying to route everything through the
> fake SLIP connection.  i have tried using the "addroute"
> option in /etc/diald.conf (which points to a script that
> basically executes the same "route add..." command as
> above, but that didn't seem to work either.
> 
> my /etc/diald.conf is as follows:
>  mode ppp
>  connect /sbin/ppp/ppp-on

This script must be a chat script, not a pppd command as is
used in a normal ppp conncection without diald.

>  disconnect /sbin/ppp/ppp-off

In a normal operation this is not needed, because diald will 
disconnect ppp when link becomes idle.

> also, how do i tell diald how long to wait before hanging
> up the modem automatically?  i sat around one time after
> it connected and it never seemed to hangup...

I think it works well, if you correct your diald.conf as
I described above, i.e. make pppd be started by diald,
not by ppp-on script.

> 
> thanks for any help.
> 
> chris

-- 
Toshio Matsuda <[EMAIL PROTECTED]>
Tokyo System Factory, Fuji Electric Co., Ltd.

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

From: [EMAIL PROTECTED]
Subject: Re: Connecting Linux with HPUX 9.05
Date: 5 Feb 1999 03:45:02 GMT

Gert Jan Veen <[EMAIL PROTECTED]> wrote:
> I'am trying to connect Linux with NT 4 and HPUX 9.05

> Linux with NT 4 is not such a problem with samba but HPUX .
> It must be easy to mount (?) or.......

You can mount HP/UX drives using NFS.  You must have NSF turned on on the 
HP box and add an entry for the filesystem you want to mount on Linux in 
the /etc/export file.  (This should be configurable using SAM on the 
HP.)

On the Linux box you want to mount the drive as normal under a mount 
point.  If the HP box is always on, you can add an entry in the 
/etc/fstab file to reconnect the NSF drive everytime you reboot and use 
the automounter program.  Check out the mount man page for details.

-- 
Charles Rutledge    |    Liberty is a tenuous gift.  Hard to win, easy
[EMAIL PROTECTED]    |    to give away, and no will protect it for you.

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

From: [EMAIL PROTECTED]
Subject: Re: 2 modems - how do I multilink?
Date: 5 Feb 1999 04:13:36 GMT

Dazza <[EMAIL PROTECTED]> wrote:
> I have 2 modems and have been trying to use them to dialin to my isp as an
> multilink connection. They both connect, but only one of them sends and
> recieves.

Your ISP must support this (and probably won't want to without you paying 
a higher fee).  EQL I'm told works with Livingston (Lucent?) Portmasters, 
but you will probably be SOL.

-- 
Charles Rutledge    |    Liberty is a tenuous gift.  Hard to win, easy
[EMAIL PROTECTED]    |    to give away, and no will protect it for you.

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

From: "Brady" <[EMAIL PROTECTED]>
Subject: Diald disconnects after packets stop
Date: Fri, 05 Feb 1999 01:33:04 GMT

As soon as I leave a program that diald has connected for, it disconnects
and I have to wait for it to dial again when I try to ftp to a different
server. Any suggestions?

Thanks,
Brady

diald.conf

mode ppp
connect /etc/ppp/connect
device /dev/modem
speed 57600
modem
crtscts
local 192.168.1.1
remote 192.168.1.2
dynamic
defaultroute
include /usr/lib/diald/standard.filter







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

From: Todd Ostermeier <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: [?] Very strange !!! Please Help Me; Reply-To: [EMAIL PROTECTED]
Date: Thu, 4 Feb 1999 21:35:46 -0600

On Thu, 4 Feb 1999, Luca Filipozzi wrote:

: In article <79d3ot$mgv$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
: > If you can, please help me. I'm really  g o i n g   c r a z y !!!!
: > 
: > AS
: > --
: > Antonino Sabetta
: > [EMAIL PROTECTED] (per rispondere rimuovere 'XXX')
: It sounds like the path for root is different than the path for users. 
: Often, the path for root does not include the current working directory 
: for security reasons.

and the way to fix that (in case the original poster didn't figure it out)
is to preface the script or executable with ./, as in
# ./script.name


________________________________

Todd Ostermeier                           
[EMAIL PROTECTED]                  
http://www.ews.uiuc.edu/~ostermer/index.html
ICQ UIN: 2253928                            
A-723
________________________________



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

From: Bob <[EMAIL PROTECTED]>
Subject: Re: Configuring Netscape
Date: Fri, 05 Feb 1999 00:46:17 -0500

[EMAIL PROTECTED] wrote:

> Hello...I have just purchased a book "SAMS Learn Linux in 24 hours", which contained 
>the
> RedHat 5.0 version of Linux. I tried to follow their instructions on how to
> install Netscape, but after using 'gunzip', I cannot get Netscape to install.
> What should I do? It shows up as a file directory under root when I enter the
> command 'ls'; which is, I find 'netscape' and 'netscape@' listed. How might I
> install this browser?
>
> thank you,
> ~Dan Brown

mv the.tar.gz /usr/local
cd /usr/local
then unpack it so it goes into netscape which is /usr/local/netscape

or since you have already unpacked it,

mv /netscape /usr/local

-Bob


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

From: Bob <[EMAIL PROTECTED]>
Subject: Re: SYN Flooding
Date: Fri, 05 Feb 1999 00:48:30 -0500

Tobin Fricke wrote:

> How does one protect a Linux machine from being SYN Flooded, or, in
> general, from other common denial of service attacks?
>
> Thank you,
> Tobin Fricke

After kernel recompile with syncookies enabled,

[ -f /proc/sys/net/ipv4/tcp_cookies ] && echo 1 >
/proc/sys/net/ipv4/tcp_cookies


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

From: [EMAIL PROTECTED] (Mike Horwath)
Subject: Re: Connecting Linux to USWest.net
Crossposted-To: mn.online-service
Date: Fri, 05 Feb 1999 05:25:49 GMT

In mn.online-service Eugene Strulyov <[EMAIL PROTECTED]> wrote:
: Look at that! They use FreeBSD on their servers but don't support anything but
: windoze. What a pile of crap!

Just because their servers are FreeBSD doesn't mean that the techs
know anything else than the most common platform, which is Windows.

Get a grip, dude.

-- 
Mike Horwath  Admin & Manager @ VISI.com   WORK: [EMAIL PROTECTED]
IRC: Drechsau     http://www.visi.com/     HOME: [EMAIL PROTECTED]
The only Minnesota ISP with public statistics: http://noc.visi.com/
         Garbage In -- Gospel Out. - berkeley fortune(6)

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

Date: Thu, 04 Feb 1999 21:51:55 -0800
From: Ken <[EMAIL PROTECTED]>
Subject: From SRPMS to binaries (was Re: Tape file marks)
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware

Jim Chisholm wrote:
> 
> Just a thought.. I don't know what distribution you're using but the
> mt-st tools in a stock RH5.2 distribution are (verifiably) whacked..
> I rpm -e'd them and built and installed mt-st-0.4-5.src.rpm and
> everything is working fine (Adaptec2940, HP SureStor).
> The stock 5.2 mt-st (mt-st-0.5-1) bombs on fsf commands and possibly
> others.

Might be what's biting me, then. I forgot to mention that I'm using
RH5.2 (Macmillan distribution). So you back-leveled to 0.4? Have to go
find out how to do that...

I just mounted the 2nd RH5.2 CDROM with the source RPMs and am trying to
figure out the sequence of steps to get from the mounted CD to "make
install". I got the mt-st sources and patches into
/usr/src/redhat/SOURCES and a file in /usr/src/redhat/SPECS. I figure
I'm supposed to gunzip the source and patch it, but the stuff in the
spec file looks like there's supposed to be some way to automate this.
What's my next step?

I'll mention that I just downloaded, patched, and built diald, so I know
how to do that. It's just the unpacking and installing of an RPM that
I'm clueless on. I think it's the source vs. binary thing that's
confusing me. The RPM chapter in the RH Installation Guide seems to
assume I'm installing a binary RPM.

I'm going to look at Maximum RPM on CDROM 3, but meanwhile maybe someone
will recognize my mental block and let me know what I'm missing here.

-- 
Ken
mailto:[EMAIL PROTECTED]
http://www.well.com/user/shiva/
http://www.e-scrub.com/cgi-bin/wpoison/wpoison.cgi (Death to Spam!)

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


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