Linux-Networking Digest #499, Volume #11 Fri, 11 Jun 99 21:13:46 EDT
Contents:
Re: changing TCP pkt data on the fly (Malware)
Re: setting up two ethernet cards (Malware)
Re: Please recommend a network rack that's affordable ("David H. Lipman")
Re: SuSE Linux 6.1 & PPPIOCGUNIT Operation not permitted (Dan Glover)
Re: Linux equiv of Network Neighbourhood? ("Guo Quin")
Re: Linux can't be a big role...???!!! ("Ian")
Re: Dns problem (gentili)
Re: dns setup? (George Dau)
Re: Linux can't be a big role...???!!! ([EMAIL PROTECTED])
Binding DHCPD to a particular interface in dhcpd.conf (Andrew Crouse)
Re: Ping remains silent! ("David Means")
Re: RH 5.2 ipfwadm ("David Means")
network setup problem - have a quick look! ("Gavin Clark")
modifying the resolv.conf that pump writes ("Peter Marks")
Re: Linux can't be a big role...???!!!
Re: Network printer always print trailer page (L J Bayuk)
----------------------------------------------------------------------------
From: Malware <[EMAIL PROTECTED]>
Subject: Re: changing TCP pkt data on the fly
Date: Fri, 11 Jun 1999 00:40:37 +0200
Hi Arun,
you wrote:
> I was wondering if anyone has any insight into
> manipulating TCP packets on a network.
>
> The pkg would run on a router and modify packets
> flowing thru it, i.e. change application data
>
> This would involve recalculating lengths, checksums etc.
>
> Is there an easy way to do this ? (using ip-chains,
> tcpdump etc. ?)
The easiest way would possible be to write it as an proxy.
If you want to have it transparent I see major problems. When changing
data in a way the length does vary you not only have to change the IP
header but also the TCP header. Even the TCP-header of each following
packet of this connection has to be tweaked then. This is because the
way acknoledgements are implemented in TCP - the acknoledgement numbers
are based on offset within the data stream.
Malware
------------------------------
From: Malware <[EMAIL PROTECTED]>
Subject: Re: setting up two ethernet cards
Date: Fri, 11 Jun 1999 00:45:34 +0200
Hi Seth,
you wrote:
> alias eth0 eexpress
> options io=0x300 irq=5
options eexpress io=0x300,0x310 irq=5,9
> alias eth1 eexpress
> options io=0x310 irq=9
delete above line
Malware
------------------------------
Reply-To: "David H. Lipman" <*[EMAIL PROTECTED]*>
From: "David H. Lipman" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.networking
Subject: Re: Please recommend a network rack that's affordable
Date: Thu, 10 Jun 1999 23:20:38 GMT
JDR MicroDevices...
www.jdr.com
FenderAXE wrote in message <[EMAIL PROTECTED]>...
>Hi
>
>I'm new to networking and need to buy an inexpensive network rack to
>hold the patch panel, a hub, a monitor and a few other things --
>nothing huge or expensive, just good and sturdy. A recommendation on
>where to purchase a rack would be terrific.
>
>Also, I need two 24 port patch panels, but I know nothing about them.
>Can you recommend a brand name and a place to buy them?
>
>Thanks!
>
>FA
>[EMAIL PROTECTED]
------------------------------
From: Dan Glover <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux,comp.os.linux.setup
Subject: Re: SuSE Linux 6.1 & PPPIOCGUNIT Operation not permitted
Date: Fri, 11 Jun 1999 23:02:00 GMT
Reply-To: [EMAIL PROTECTED]
In article <7jre6p$kcl$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
[scythe]
>The actual error is `ioctl(PPPIOCGUNIT): Operation not permitted'
OK, that's some sort of problem trying to talk to the serial port, as
has been said before.
>See the reset of the thread for more details.
I've looked, I don't think anyone suggested this yet:
> pppd[345]: Serial connection established
pppd detects that the chat script has completed successfully. I've
found that message in the pppd sources (main.c if anyone wants to check
further). It's what comes next which is giving the errors, in other
words it's the attempts by pppd to get the kernel to do things to the
serial port which are failing. A number of them have actually succeeded
by the time you get to this point:
> pppd[345]: ioctl(PPPIOCGUNIT): Operation not permitted
That comes from establish_ppp() (in sys-linux.c).
OK, here comes my diagnosis...
Somehow you've got a pppd executable which isn't fully compatible with
the driver in your kernel. My C skills aren't sufficient to get any
further than that, sorry.
Is the kernel you're now using the one which came with SuSE v6.1 or have
you compiled your own?
Did ppp-2.3.8 come as a binary or did you compile locally?
You could probably fix things by recompiling one or other (or both)
making sure that you have up-to-date kernel sources and *DON'T* do "make
kernel" when building pppd.
>I have actually done `rm /dev/cua1'
>because the `/etc/pcmcia/serial' script actually
>assume that if /dev/cua1 exist your kernel will default
>to /dev/cua*. This is nonsense for SuSE 6.1, because has
>a kernel 2.2.5. [...]
Which kind of suggests that they didn't test things all that thoroughly
before shipping...are there any updates to SuSE 6.1 which maybe you need
to apply?
Dan
--
Dan Glover ([EMAIL PROTECTED])
Today's Excuse:
temporary routing anomoly
------------------------------
From: "Guo Quin" <[EMAIL PROTECTED]>
Subject: Re: Linux equiv of Network Neighbourhood?
Date: Fri, 11 Jun 1999 23:09:54 GMT
Hello.
Try
VNC at www.orl.co.uk {free}
VMWARE at www.vmware.com {30days evaluation}
Kieu
Andy Mac <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I am looking for something functionally similar to Network Neighbourhood
> that runs on a linux system and is able to browse a Novell server and
> PCs running NT and Win95/98.
>
> Does such a thing exist? I have Samba working the other way around, and
> expect that it may be possible with smbclient to do what I want, but in
> a less 'easy' manner.
>
> Many thanks,
>
> Andrew
> [EMAIL PROTECTED]
>
------------------------------
From: "Ian" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux can't be a big role...???!!!
Date: Fri, 11 Jun 1999 11:23:50 +1200
Plus, if people are unaware of other alternitives, they arn't going to
complain.
Ask 10 people at random on the street and I doubt you would get more than
one that thinks the is anything else that can run on a PC and chances are
that one person will say there is only SCO.
Go into a big department store that sells PC's alongside washing machines
(in this country for twice the cost elsewhere) and some of the people you
meet looking for PC's haven't even heard of Windows.
If you are PC literate, chances are all the people you deal with on a day to
day basis at least deal with PCs fairly often. There are a lot of people out
there who only know PCs as something to play games on. They get no choice.
They go into a shop and buy a PC like a toaster. "Do you get free steak
knives with it?".
Mind you, those sorts of people would have more trouble installing Linux
than they would installing MS, but then if the PC comes pre-installed there
is no problem. Just the fact that there is more software available for MS
than for Linux, but people are working on this. There will NEVER be more
available for Linux than for MS unless MS goes belly-up, which probly won't
happen. However, if there becomes enough available then Linux will start to
build a little more momentum and it will be hard to slow it down.
If I can get a few good racing games on Linux, I can totally dump MS. Once a
few more mainstream companies start producing Linux versions of games I will
start recommending Linux to people as a desktop. At present for most people
Linux is not yet an alternitive, but it's coming.
Ian
[EMAIL PROTECTED] wrote in message
<7jpf56$l6s$[EMAIL PROTECTED]>...
>In article <[EMAIL PROTECTED]>,
>Yuki Taga <[EMAIL PROTECTED]> wrote:
>>On Thu, 10 Jun 1999 07:46:55 GMT, in article
>><P3K73.1416$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>>(Jeremiah) wrote:
>
>>How do you think they got 250-300
>>million units (conservative estimate) installed? Consultants? Tech
support?
>
>Most of those were sent from the vendor with windows preinstalled.
>And you would not have had the choice of not having it preinstalled (DOJ
vs. MS point)
>or even have installation media, with some of those systems.
>
>--
>James
>http://ssdd.conservatory.com
------------------------------
From: gentili <[EMAIL PROTECTED]>
Subject: Re: Dns problem
Date: Fri, 11 Jun 1999 01:29:25 +0200
bv wrote:
> I use 'sygate' for windows on a computer to connect my other computer to
> internet. (a program that provides a gateway and a dns-server). The gateway
> works just fine. But dns doesn't! (sygate is alright, but linux can't find
> any host names).
> Also when i try to ping MB (the gateway) it can't find the ip for MB. If i
> ping 195.195.195.75 (MB) it works fine. If i ping 207.155.248.4
> (ww.bleem.com) it also works
>
> What do i have to put in my resolv.conf?
/etc/resolv.conf
nameserver ip1
nameserver ip2
ip1 must be an address of a nameserver
you can specify at least 1 , till 3 nameserver
bye
------------------------------
From: [EMAIL PROTECTED] (George Dau)
Subject: Re: dns setup?
Date: Fri, 11 Jun 1999 22:41:09 GMT
"Lee" <[EMAIL PROTECTED]> wrote:
]Im trying to setup a dns server on my linux box redhat 6.0 for educational
]reasons. But am habing some problems I was wondering if someone could send
]me there config file named.boot and other relevant files just so i can see
]how its setup and works. I would appreciate it. Thanks
There is a "standard" named.boot, which you use if you are on the public
network. This file changes from time to time. Details of it, and how to get the
current one, are in the DNS-HOWTO. You can find this on http://www.linux.org
under "Support", or on sunsite.
There is also info in there on working on an internal intranet with no
named.boot file.
--
,-,_|\ George Dau - Unix (Solaris, DEC Unix, Linux), Oracle, Internet. __
/ * \ Home: [EMAIL PROTECTED] ! Views/opinions above need (00)
\_,--\_/ Work: [EMAIL PROTECTED] ! not be those of MIM or the ( \/ )
v WWW: http://www.pobox.com/~gedau ! Carpentaria Buffalo Club. W--W
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux can't be a big role...???!!!
Date: 10 Jun 1999 17:44:54 -0500
Reply-To: "J.L.M." <[EMAIL PROTECTED]>
In article <[EMAIL PROTECTED]>,
Yuki Taga <[EMAIL PROTECTED]> wrote:
>On Thu, 10 Jun 1999 07:46:55 GMT, in article
><P3K73.1416$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>(Jeremiah) wrote:
>How do you think they got 250-300
>million units (conservative estimate) installed? Consultants? Tech support?
Most of those were sent from the vendor with windows preinstalled.
And you would not have had the choice of not having it preinstalled (DOJ vs. MS point)
or even have installation media, with some of those systems.
--
James
http://ssdd.conservatory.com
------------------------------
From: Andrew Crouse <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Binding DHCPD to a particular interface in dhcpd.conf
Date: Fri, 11 Jun 1999 20:08:31 -0400
Does anyone know how to bind Dhcpd to a particular interface within the
dhcpd.conf file? It is simple to do on the command line, but I usually
start the server at boot up.
If there is no command for this, I see two ways of getting around the
problem. If I bring up the interface that I want dhcpd to run on before
I bring up my other interface then DHCPD works fine. Also, I guess I
could modify the dhcpd script in init.d. If this can't be done in
dhcpd.conf, perhaps someone could comment on the relative merits of
these two solutions or suggest another.
Thanks for your time.
Sincerely,
Andrew Crouse
------------------------------
From: "David Means" <[EMAIL PROTECTED]>
Subject: Re: Ping remains silent!
Date: Fri, 11 Jun 1999 17:24:22 -0700
There could be any of several things wrong here. Let's take them one at a
time.
1. Is there a default route out of your box ? To find out, do
#netstat -rn
and one of the lines returned should be like this:
0.0.0.0 {your PC's address} 0.0.0.0 UG .....
If not, you need to add a default gateway to your routing table. See
man route
for help.
2. Is the network interface up ? To find out, do
#/sbin/ifconfig
This should give you a report on each interface in your machine (probably
two:
one ethernet and one loopback). Both should say they are UP. If not, your
system may not have executed the right initialization script (mine is in
/etc/rc.d/init.d/network)
3. Is your netmask the same as that in use by other folks on the net ?
See your sysadmin to find out what the netmask in use is.
4. Do you know that your cable works right ? The easiest way to test
this is
to go find a PC that talks to the net correctly, and put your cable in place
of the
one it is currently using.
<[EMAIL PROTECTED]> wrote in message
news:7jr6jq$68p$[EMAIL PROTECTED]...
> Dear Madam/Sir,
>
> Well, just another mail from a newbie, struggling with basic network
access
> problems. Currently I'm trying to gain access to our local network from my
> Linux PC using ethernet(3Com Etherlink III, 3C5098 TPC!).
>
> I'm using the well-known ping command to check connections to other hosts
> on this network. Ping works fine when 'pinging' to the localhost. It also
> works fine when I use the ping command in combination with the IP address
> for my PC.
>
> But when I want to ping another host on the net I only get
>
> PING <IP-address> (IP-address): 56 data bytes
>
> and that's it! The ping doesn't come to an end.
>
> I suspect something is wrong with the routing, or with the network card
> itself, but don't know how to figure things out! Anybody out there who can
> assist in solving this problem? Thanks in advance!
>
> Greetings,
>
> Gerard
>
>
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
------------------------------
From: "David Means" <[EMAIL PROTECTED]>
Subject: Re: RH 5.2 ipfwadm
Date: Fri, 11 Jun 1999 16:54:55 -0700
<[EMAIL PROTECTED]> wrote in message news:7jrncd$nkt$[EMAIL PROTECTED]...
> I wish I could get the 2.2 kernal to compile....but for now I'll have to
> live with IP forwarding instead of IP Chains. (Not that I understand
> the differences anyway).
>
> I've got a little setup with my cable modem. Linux box as gateway
> (192.168.1.1)..and a few Win machines internally on 192.168.1.*. (IP
> Masq) I'd like to have an incoming ftp connection get forwarded to
> 192.168.1.2. I thought this would work:
>
> /sbin/ipfwadm -I -a accept -S 0.0.0.0/0 21 -D 192.168.1.2 21
>
> It doesn't. Why?
There are two reasons that this doesn't do what you want it to.
The first is that you really want port-forwarding, which takes an additional
module installed in your system. The second is that FTP uses two ports,
one for the command stream (21) and one for the data (20). So you would
really have to forward both ports to your internal machine. An alternate
that you might consider is to run NFS and mount (a part of) the file system
of your internal machine on the boundary Linux box, and continue to run
ftpd on the boundary machine, which is going to have to handle the packets
one way or another, anyway. This would avoid the hassle of setting up the
ipportfw stuff, while giving you a nice separation of functions.
> Could someone just tell me the commands I need to use
> (I guess to put in a script to be run from /etc/rc.d/rc.local)?
> [snip]
Well, no.
------------------------------
From: "Gavin Clark" <[EMAIL PROTECTED]>
Subject: network setup problem - have a quick look!
Date: Fri, 11 Jun 1999 17:20:52 -0700
I'm trying to setup a linux box as a fileserver but I can't seem to get the
configuration right.
I ping the linux box from another computer on the network and nothing comes
back but I get errors logged in /var/log/messages (see below)
I ping the other computer from the linux box and I get nothing back. but I
see the packets comming in with a packet monitor so packets are in fact
moving across the network.
In both cases the linux box is adding up RX packets. So packets are comming
in just not being seen.
Thanks for any ideas,
Gavin
The specifics
linux box
OS: linux - redhat 6.0 - 2.2.5 kernel
ETH card: D-Link DE-220P - ISA - NE compatible
Processor: 586 200MHz
here's a quick session:
root# ifconfig eth0
eth0 encap:ethernet
inet addr:192.168.2.1 bcast:192.168.2.255 Mask:255.255.255.0
UP BRODACAST RUNNING MTU:1500 METRIC:1
RX packets:34 error:10 others are 0
TX packets:29
collisions:0 txqueuelen:100
interrupt:3 base address:0x240
root# ping 192.168.2.2
root# 8 packets ,0 recieved, 100% loss
root# ifconfig eth0
eth0 encap:ethernet
inet addr:192.168.2.1 bcast:192.168.2.255 Mask:255.255.255.0
UP BRODACAST RUNNING MTU:1500 METRIC:1
RX packets:43 error:11 others are 0
TX packets:39
collisions:0 txqueuelen:100
interrupt:3 base address:0x240
root# route
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 UH 0 0 0 lo
root# ifdown eth0
root# ifup eth0
SIOCADDRT: Network is unreachable
SIOCADDRT: Network is unreachable
root# route
192.168.2.1 * 255.255.255.255 UH 0 0 0 eth0
192.168.2.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
/var/log/messages
kernel: eth0: mismatched read page pointers 60 vs. 4c
I downloaded some utilities that show the card at:
io=0x240 irq=3
/ete/conf.modules
alias eth0 ne
options ne io=0x240 irq=3
module NE loads
------------------------------
From: "Peter Marks" <[EMAIL PROTECTED]>
Subject: modifying the resolv.conf that pump writes
Date: Sat, 12 Jun 1999 00:38:55 GMT
Using RH6. After pump gets interface info from a dhcp server it re-writes
/etc/resolv.conf.
My machine has to get it's address with dhcp because it is connected to a
cable modem on one side. However, it is a dual interface machine and also
needs to know about our internal name server so I want another nameserver
line in resolv.conf.
In past versions of RH there was a script that did the re-write of
resolv.conf (dhcp-up or something). My question?
is there a way to alter the resolv.conf that gets written when dhcp does
it's stuff, or do I need to modify the source of pump?
Peter
------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux can't be a big role...???!!!
Date: Thu, 10 Jun 1999 18:17:37 -0700
On Fri, 11 Jun 1999 11:23:50 +1200, Ian <[EMAIL PROTECTED]> wrote:
[deletia]
>If I can get a few good racing games on Linux, I can totally dump MS. Once a
http://blackholesun.com/index.php3
>few more mainstream companies start producing Linux versions of games I will
>start recommending Linux to people as a desktop. At present for most people
>Linux is not yet an alternitive, but it's coming.
[deletia]
--
bash: the power to toast your registry in style... |||
/ | \
------------------------------
From: [EMAIL PROTECTED] (L J Bayuk)
Crossposted-To: comp.os.linux.setup
Subject: Re: Network printer always print trailer page
Date: 11 Jun 1999 23:54:07 GMT
[EMAIL PROTECTED] wrote:
>Hi,
>I have a network printer HP4v (using IP address) attached to our
>network and the printcap:
>##PRINTTOOL3## REMOTE laserjet 300x300 letter {} LaserJet Default {}
>hp4v:\
> :sd=/var/spool/lpd/lp0:\
> :mx#0:\
> :sh:\
> :rm=192.168.1.200:\
> :rp=hp4v:\
> :if=/var/spool/lpd/lp0/filter:
>
>It works but print a trailer page with just:
>User: xxx
>Host: xxxx.domain.com
>Class: xxxx.domain.com
>Job: testpag.ps
>
>How to suppress it?
I assume you have a JetDirect card in the printer. These
cards ignore the print job's preference not to do the extra
page. You have to telnet to the card's IP address, and use
a command to turn it off (ask for help with 'help' or maybe '?').
------------------------------
** 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
******************************