Linux-Networking Digest #80, Volume #12 Sun, 1 Aug 99 20:13:45 EDT
Contents:
O2 Micro pcmcia bus - HELP ("Carl Spies")
IPCHAINS firewall multimedia streaming (Amir Malik)
Re: Port scanner, etc. (root)
Endian conversion routines (David Boosalis)
Program to find optimal MTU? ("Steve Snyder")
Re: Program to find optimal MTU? (machine)
CHAT SCRIPT (dkwok)
Re: resolv.conf ("Don Wahl")
modem dialin speeds (Bill West)
Netscape Problems (Alan Connell)
Re: DHCP problems with REDHAT (Doug O'Leary)
SB1000 Cable modem & Redhat 6.0? ("Jim Orfanakos")
Trouble with RH Linux 6.0 and PPP/chat (Matt Denny)
Re: DHCP problems with REDHAT ("Andrew H. George")
Re: trouble with ftpd ("Jeff")
Re: Program to find optimal MTU? (Jeff Workman)
connecting to internet
ipautofw ("Michael Pastushkov")
X Server config problem ([EMAIL PROTECTED])
IPFWADM firewalls and Quicktime 4 ("Brave Sir Robin")
Re: DHCP problems with REDHAT ("Andrew H. George")
----------------------------------------------------------------------------
Reply-To: "Carl Spies" <[EMAIL PROTECTED]>
From: "Carl Spies" <[EMAIL PROTECTED]>
Subject: O2 Micro pcmcia bus - HELP
Date: Sun, 1 Aug 1999 21:59:24 +0200
Hi there
I'm trying to get redhat 6.0 to see my pcmcia network card.
no joy
Apparently redhat 6.0 doesn't support the O2 micro pcmcia cardbus yet ...
Please HELP
Warm Regards
Carl Spies
------------------------------
From: Amir Malik <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,redhat.networking.general
Subject: IPCHAINS firewall multimedia streaming
Date: 1 Aug 1999 21:30:33 GMT
Hello,
I have set up my firewall with IPMASQ and it works:
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ
Here is my LAN:
192.168.0.2 = webserver, firewall, gateway to the net, redhat 6
192.168.0.4 = multimedia server, WinNT
I want all incoming connections on port 1755 on the firewall machine to be
redirected to the multimedia server (also port 1755), and i want those
connections to go out on any random port (selected by the Windows Media
Streamer, on the multimedia server) between 1024 and 5000. Basically,
I want to stream media from 192.168.0.4 to the Internet via the .2
firewall machine.
Here probably something to get you starter:
# /sbin/ipchains -A input -p tcp -j MASQ -s 0.0.0.0/32 -t eth0 -d 0/0 1755
# /sbin/ipchains -A output -p tcp -j MASQ -s 0.0.0.0/32 -t eth0 -d 0/0
1024-5000
Thanks very much,
Amir
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: Re: Port scanner, etc.
Date: Sun, 01 Aug 1999 16:56:05 -0400
Max wrote:
>
> Hi,
>
> I organize a lan-party for about 150 computers,
>
> I want to make sure that none tries to use port-scanners, back orifice,
> nukers, etc.
> Are there any good scripts or utils i can use to find out which ip in the
> network makes those things ?
>
> The problem is that most parts of the network are switched, and i can't
> receive all packets ...
>
> I use two 3com 3300 SWITCHES and some 1100 for the clients, additionally i
> use some 100MBit HUBs.
>
> Any suggestions ?
>
> (Sorry for my bad english !!!)
>
> Max
> [EMAIL PROTECTED]
Check out this site for some admin utils
http://www.dark-secrets.com/unix/html/downloads.html. As for Back
Orifice Try going to Mcafee licensed site: User: licensed,
Password:321. And from there you can download their linux virus
scanner.
------------------------------
From: David Boosalis <[EMAIL PROTECTED]>
Subject: Endian conversion routines
Date: Mon, 19 Jul 1999 12:12:51 -0700
This is a multi-part message in MIME format.
==============B5B89A72CE38A2532D99AA3A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sorry if this is the wrong group.
Does anybody know of a API library that will help me convert little
endian to big and vice versa. I am porting some client code from an SGI
to Linux. The server code is on an SGI, and I do not have access to
it, so I can't convert all to the XDR format.
Thanks for any help.
David Boosalis
==============B5B89A72CE38A2532D99AA3A
Content-Type: text/x-vcard; charset=us-ascii;
name="dboosalis.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for David Boosalis
Content-Disposition: attachment;
filename="dboosalis.vcf"
begin:vcard
n:Boosalis;David
x-mozilla-html:TRUE
org:NASA / Ames Research Center
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;fax:650-604-4036
tel;work:650-604-1083
adr;quoted-printable:;;Ames Research Center=0D=0AMS 269-4;Moffett
Field;CA;94035-1000;USA
x-mozilla-cpt:;0
fn:David Boosalis
end:vcard
==============B5B89A72CE38A2532D99AA3A==
------------------------------
Crossposted-To: comp.os.linux.misc
From: "Steve Snyder" <[EMAIL PROTECTED]>
Reply-To: "Steve Snyder" <[EMAIL PROTECTED]>
Subject: Program to find optimal MTU?
Date: Sun, 01 Aug 1999 20:27:51 GMT
Is there a program to identify the optimal MTU for a given interface
under Linux v2.2.x? If so, where might I find it?
Thanks.
***** Steve Snyder *****
------------------------------
From: machine <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Program to find optimal MTU?
Date: Sun, 1 Aug 1999 23:39:41 +0200
Steve Snyder wrote:
> Is there a program to identify the optimal MTU for a given interface
> under Linux v2.2.x? If so, where might I find it?
>
> Thanks.
use ping.. set the "no fragment" flag .. then ping some host using
increasing packet sizes.. the size u get an error about the packet being
too big u got your mtu..
J. Emans aka machine@IRCnet
PGP Public Key: http://www.xs4all.nl/~machine/DSSkey.html
--
If a 6600 used paper tape instead of core memory, it would use up tape
at about 30 miles/second.
-- Grishman, Assembly Language Programming
------------------------------
From: dkwok <[EMAIL PROTECTED]>
Subject: CHAT SCRIPT
Date: Mon, 02 Aug 1999 08:05:36 +1000
I connect to my ISP using stocked ppp-on and ppo-on-dialer. However, I
could not get it work in the last 2 weeks. After doing some diagnostic
with log messages. I know what the sympton is but I don't have the
answer.
In the chat script the following are expect and send pairs:
OK ATDT84480500
CONNECT ''
ogin:--ogin: dkwok
assword: 99909
The problem is that after it is CONNECT. The ISP send out the connection
speed details, "52000/V90/V42BIS". This is not anvisaged in the expect
and send pairs. After the connection details, ISP also send out "Welcome
to bigpond" and then 23 return before sending out login prompt.
I have tried to pause in the script after CONNECT:
CONNECT /d
It does not work.
CONNECT ''/c
Then I put '' /c. It works at home but does not work when I do the same
trick in my office. The messages in the system log are follows:
...
^M
ATDT84480500
CONNECT
-- got it
send (^M)
expect (ogin:)
5200/V90/V42bis^M
^M
then repeated 23 times
Welcom to Telstra
^M
^M
login:
The above is what happened when it is working. When it is stuck, the
error appears when you see the following:
...
5200/ARQ^M
script failed
It is then stuck there.
How can I structure the expect and send pairs for the connection details
and welcome messages which are received preceding the login prompt.
------------------------------
From: "Don Wahl" <[EMAIL PROTECTED]>
Subject: Re: resolv.conf
Date: Sun, 1 Aug 1999 17:21:29 -0400
> I can't seem to get a nameserver configured. I can ping the nameserver
from
check nsswitch.conf to have
...
hosts: files dns
It didn't help, the name lookup still hangs for awhile and then fails.
------------------------------
From: Bill West <[EMAIL PROTECTED]>
Subject: modem dialin speeds
Date: Sun, 1 Aug 1999 16:31:24 -0500
I have several modems on a few machines that are setup for ppp dialins. All
the modems are USR's with the majority being 33.6 externals with 1 being a
56K external and a 33.6 internal. The problem is that the fastest connect
speed I seem to be able to get out of any of them is 28.8 no matter where
my users or me dial from. I have mgetty set at 115200 speed in /etc/inittab
and the /etc/mgetty config files with no differance. I have also tried
setting the spd_vhi flags with setserial with no success. As far as the
settings of the modems, they are factory default except for the autoanswer.
Anyone have any idea how to get full speed connections from these modems or
ran across the same thing?
remove nospam to reply direct
------------------------------
From: Alan Connell <[EMAIL PROTECTED]>
Subject: Netscape Problems
Date: Sun, 01 Aug 1999 22:24:57 GMT
I just installed red hat 6.0 and I'm setting up my modem. I can dial
and connect to my ISP, bellatlantic. I can ping them, and ftp files to
my web site, but netscape can't find that or any other site. Any ideas?
------------------------------
From: [EMAIL PROTECTED] (Doug O'Leary)
Crossposted-To: comp.os.linux.setup
Subject: Re: DHCP problems with REDHAT
Date: Sun, 1 Aug 1999 16:40:17 -0500
[This followup was posted to comp.os.linux.networking and a copy was sent
to the cited author.]
I've been having this same problem with various versions of Redhat &
Mediaone's cable modem. I'm making progress, although I'm not there yet.
One thing I found out recently is to make sure the Linux system is
actually talking to your NIC correctly. Mediaone (and, presumably, other
cable modem suppliers) installs the NIC in PnP mode with which Linux
apparently has major problems.
Check out the NIC via the windows 95 control panel->system->device-
>network interface; note the interrupt & memory base I/O address.
Then, get back into Linux and check out what Linux thinks it's using.
Mine was using interrupt 10 and base I/O of 300 when the card is
operating at interrupt 9 and base I/O of 0x210. If it's not using the
right address, add the configuration to the /etc/conf.modules file as
follows:
============================
alias eth0 3c509
options 3c509 io=0x210 irq=09
============================
To eliminate the PnP mode, I had to download the drivers from 3com's web
site, then reconfigure the NIC out of PnP mode. That forced a
reinstallation of the NIC in Windows, but that turned out pretty easy.
Once done, Linux is now talking to the NIC at the right irq and base I/O
address. I'm still not getting a valid DHCP server from MediaOne, but I
am a step closer.
HTH;
Doug
--
==============
Douglas K. O'Leary
Senior System Admin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
==============
------------------------------
Reply-To: "Jim Orfanakos" <[EMAIL PROTECTED]>
From: "Jim Orfanakos" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: SB1000 Cable modem & Redhat 6.0?
Date: Sun, 01 Aug 1999 22:46:17 GMT
Does anyone have a SB1000 cable modem working with Linux? If so what
version?
The SB1000 is a hybrid system that requires a phoneline for the upstream,
and uses the TV cable for the downstream.
I have SB1000 and I am trying to get it to work under Redhat 6 (2.2.5-15
Kernel). I downloaded the SB1000-1.1.2 drivers but I cannot install them.
When I do a 'make' I get the following error:
"macro `dev_kfree_skb' used with too many (2) args"
I looked inside the SB1000.c file and `dev_kfree_skb' is always passed two
arguments...either (skb, FREE_READ) or (skb, FREE_WRITE). Now what? I
tried removing either the skb or the FREE_READ/FREE_WRITE...but that just
makes things worse.
The readme states that this was tested with Linux 2.0.33. I suspect that
the problem is that the drivers don't work with the new kernel.
My ISP is Adelphia Cable. I have downloaded and read the following files
but still no luck:
/usr/doc/HOWTO/mini/Cable-Modem (the section on my ISP is basically blank)
adelphia_powerlink_linux_mini_HOWTO.txt
adelphia_powerlink_linux_mini_quickstart1.txt
Thanks.
Jim.
------------------------------------------------------
Jim, Monika and Sophia Orfanakos
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.orfanakos.com
------------------------------------------------------
------------------------------
From: Matt Denny <[EMAIL PROTECTED]>
Subject: Trouble with RH Linux 6.0 and PPP/chat
Date: Sun, 01 Aug 1999 17:41:14 -0400
Reply-To: [EMAIL PROTECTED]
I've been having some strange problems with my PPP and chat connections,
and I was wondering if anyone could help. I recently installed RedHat
6.0, and I am currently running that distribution's version of the
kernel and pppd (although I did recompile the kernel with PPP as a
module and support for APM). When I set up my PPP connection via netcfg
(just as I had on my RH 5 box), everything seemed to work normally,
except the system log showed the following messages:
Aug 1 16:19:34 dennyman modprobe: can't locate module ppp-compress-21
Aug 1 16:19:34 dennyman modprobe: can't locate module ppp-compress-26
Aug 1 16:19:34 dennyman modprobe: can't locate module ppp-compress-24
before I get my IP address assigned, and
Aug 1 16:19:35 dennyman modprobe: can't locate module ppp0:0
Aug 1 16:19:35 dennyman modprobe: can't locate module ppp0:1
...
Aug 1 16:19:35 dennyman modprobe: can't locate module ppp0:49
immediately after. However, since I only get these messages when PPP
was working fine, I ignored them. Unfortunately, if I do not use the
PPP interface and leave my box on for awhile, I am unable to use PPP to
dial my ISP. Although APM seems to have some other strange effects on
my box, I seem to get this problem after an extended period of time
regardless of whether or not APM kicks in. I checked the system log,
and the problem seems to be that the modem does not respond after
^MATZ^M is sent. Since I have a USR V.90 non-WinModem internal modem
(and the init string worked fine a few hours ago!), I'm fairly certain
this is the correct command. I read the FAQ that talks about forcing
the modem to switch to command mode if it doesn't respond, and using
such commands didn't help me. The strange part of the problem is that
when I try to use minicom to manually dial up my ISP, the modem dials
fine! Both programs are using the same device to dial out on
(/dev/modem). At this point, I'm really confused; Is there something I
should/should not recompile into the kernel to make chat work, am I
missing something in a config file, or have I stumbled across a bug?
Any help would be greatly appreciated.
thanks,
Matt Denny
------------------------------
From: "Andrew H. George" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: DHCP problems with REDHAT
Date: Sun, 01 Aug 1999 22:18:00 GMT
thanks, i tried that, but it didn't work.
i think the most alarming thing is that even when i boot off of the RedHat
6.0 cd-rom and try to do an ftp/install using DHCP -- it doesn't return an IP
address, it times out as well. i've tried using rrdhcpcd which is available
over the web, here is the error message in /var/log/messages:
August 1 14:15:02 localhost dhcpcd[1083]: ioctl SIOCSIFRDADDR (ifConfig):
Cannot assign requested address
this was the error message i used to get with regular dhcpcd before i did the
fresh install, now it just times out.
i know the ethernet card is installed properly, it detects fine. giving the
correct I/O and IRQ, and realizing that it is a PCI NE2000 clone.
at this point, i'm starting to give up hope on Red Hat being able to handle
my situation. any thoughts? :)
Andrew
Stephen Satchell wrote:
> First, get the absolute latest version of pump from the Red Hat Errata
> site.
>
> Then go in and manually edit /sbin/ifup script to add the hostname
> request to the call to pump(8). I coded mine:
>
> if /sbin/pump -i $DEVICE -h `hostname` ; then
>
> adding the "-h `hostname`" to the command.
>
> The DHCP server I was talking to insisted on the hostname. I found this
> out when using tcpdump(8) and comparing a Windows 95 DHCP session and a
> Red Hat 6.0 session.
>
> [EMAIL PROTECTED] (Andrew H. George) wrote in
> <[EMAIL PROTECTED]>:
>
> >hi, i was totally unable to get dhcpcd to work with a previous
> >installation.
> >so, i did a clean install of Red Hat 6.0
> >when i try to run dhcpcd, it pauses for a while and times out
> >the actually error message in /var/log/dhcpcd.log:
> >
> >Aug 1 11:04:18 localhost dhcpcd[577]: timed out waiting for a valid DHCP
> >server response
> >
> >the connections works perfectly in win95, so i know it's "alive".
> >alarmingly, i can't get an IP even when i boot off of the boot/rook
> >disks and try to do a Red Hat ftp/install. it says that it can't get a
> >valid response.
> >
> >when i try to run "ifup eth0" it says that it is detering the IP
> >address and then outputs
> >"Operation Failed". i can't seem to get this working.. the ethernet
> >card works fine, i used to have it on an ethernet network -- which is
> >why i did a total clean install. i thought that previous ethernet
> >configurations maybe interfering, but that's not the case.
> >
> >i'm using RoadRunner in Fairfax, VA --- many other people have been able
> >to get it working, especially "out of the box". do you have any
> >suggestions?
> >Thank you.
> >
> >Andrew George
> >[EMAIL PROTECTED]
> >
> >
> >
------------------------------
From: "Jeff" <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: trouble with ftpd
Date: Sun, 1 Aug 1999 19:26:30 -0400
Well I was able to ftp to him using ftp from the command line but with
netscape I was unable to connect. So I think the problem may lie in how
netscape handles ftp connections.
I dunno
Raphael Mankin wrote in message <7njnvo$6ri$[EMAIL PROTECTED]>...
>In comp.os.linux.networking Nick Kew <[EMAIL PROTECTED]> wrote:
>: I have one of those inexplicable problems.
>
>: I have a server (at 193.82.129.78 - until the Internic finally propagate
>: my domain updates) - which *should* permit anonymous FTP.
>
>: Now, if I use plain-old-ftp, all is fine:
>
>[snip]
>: Anyone seen this? Any clues?
>
>One is a ftp from youself to yourself, the otehr is a ftp from
>outside. It looks as if you ahve not set up hosts.allow
>to permit ouside connections.
>
>RTFM hosts_access(5). the answer is nearly always RTFM ;-)
>--
>--
> Politics: The conduct of public affairs for private
advantage
> Ambrose Bierce
>Raphael Mankin
>E-Mail: [EMAIL PROTECTED]
>----------------------------------
------------------------------
From: Jeff Workman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Program to find optimal MTU?
Date: 01 Aug 1999 18:32:24 -0400
IIRC, if you enable PATH_MTU_DISCOVERY when you compile your kernel, Linux will
do this for you automatically.
Jeff
------------------------------
From: <[EMAIL PROTECTED]>
Subject: connecting to internet
Date: Sun, 1 Aug 1999 14:52:01 -0700
I am an extreme newbie and would appreciate any help on how to configure
linux for signing on to the internet.
------------------------------
From: "Michael Pastushkov" <[EMAIL PROTECTED]>
Subject: ipautofw
Date: Sun, 1 Aug 1999 18:07:40 -0500
Hi Everybody
I'm trying to find a source (or i386 bin) for ipautofw / ipportfw. The ftp
address in kernel's help doesn't contain anything. Where is it ? Please
point me email (if it's not very big) to [EMAIL PROTECTED]
Thanks a lot
Michael
------------------------------
From: [EMAIL PROTECTED]
Subject: X Server config problem
Date: Sun, 01 Aug 1999 23:38:21 GMT
Does anyone have X running on a Thinkpad 760ELD? The
X server runs and the colors look good, but the fonts in the
the applications (netscape, but loaded HTML pages look okay??)) dont
look that great. Which
part of the config file controls the application font
settings? The fonts in terminal windows looks good thoughj.
Thanks - Gammo
(Mandrake 6.0)
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Brave Sir Robin" <[EMAIL PROTECTED]>
Subject: IPFWADM firewalls and Quicktime 4
Date: Sun, 1 Aug 1999 16:13:54 -0700
Anyone out there know how to enable Quicktime packet transfer for
ipfwadm? The Apple site mentions that it uses port 554 for RSTP/TCP
packets and ports 6970-6999 for RTP/UDP packets. I have been unable to
determine if these are supported in ipfwadm. Help?!
Jim Beck
Firewall Newbie
------------------------------
From: "Andrew H. George" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: DHCP problems with REDHAT
Date: Sun, 01 Aug 1999 23:06:03 GMT
all i need is to be able to get the Red Hat 6.0 boot disk to be able to
obtain an IP address via DHCP, that's it. once i can get that, i should be
alright.
i've tried bootnet.img and it doesn't work either...
Doug O'Leary wrote:
> [This followup was posted to comp.os.linux.networking and a copy was sent
> to the cited author.]
>
> I've been having this same problem with various versions of Redhat &
> Mediaone's cable modem. I'm making progress, although I'm not there yet.
>
> One thing I found out recently is to make sure the Linux system is
> actually talking to your NIC correctly. Mediaone (and, presumably, other
> cable modem suppliers) installs the NIC in PnP mode with which Linux
> apparently has major problems.
>
> Check out the NIC via the windows 95 control panel->system->device-
> >network interface; note the interrupt & memory base I/O address.
>
> Then, get back into Linux and check out what Linux thinks it's using.
> Mine was using interrupt 10 and base I/O of 300 when the card is
> operating at interrupt 9 and base I/O of 0x210. If it's not using the
> right address, add the configuration to the /etc/conf.modules file as
> follows:
>
> ============================
> alias eth0 3c509
> options 3c509 io=0x210 irq=09
> ============================
>
> To eliminate the PnP mode, I had to download the drivers from 3com's web
> site, then reconfigure the NIC out of PnP mode. That forced a
> reinstallation of the NIC in Windows, but that turned out pretty easy.
> Once done, Linux is now talking to the NIC at the right irq and base I/O
> address. I'm still not getting a valid DHCP server from MediaOne, but I
> am a step closer.
>
> HTH;
>
> Doug
>
> --
> ==============
> Douglas K. O'Leary
> Senior System Admin
> [EMAIL PROTECTED]
> [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
******************************