Linux-Networking Digest #315, Volume #11 Fri, 28 May 99 07:13:39 EDT
Contents:
Help with porting VPN client to 2.2.9 (Walter Hunt)
Windows NT to Linux over PPP and Samba (Karel Geeraert)
Re: eth0 interface stops working (Owen Lynn)
Help needed: Network card sending corrupt packets ? ("Carl Filpo")
Re: Windows NT to Linux over PPP and Samba (Karel Geeraert)
DHCPD troubles... ("Dani�l Verlouw")
ypserv 1.3.6 (Bjoern Gerhart)
ipfwadm : setsockopt error (Xavier Garcia)
Urgent help needed for GDM chooser and XDMCP (Raphael)
Re: Routing of ip-broadcasts possible? (Mark Evans)
Re: YOUNG BEAUTIFUL MODEL AVAILABLE (Wendell Craig)
LOGS / User problem (Richard T)
Re: Running 2 NICs in a server to increase bandwidth? ("W.A. Scheer")
Re: Linux read a win98 floppy? (Dang H. Nguyen)
Re: HOW-TO: PPP route? ([EMAIL PROTECTED])
Using Linux with IPChains to split a class C subnet and firewall one half ("Barry
Zubel")
Re: Will a SupraExpress 56i modem run under linux? (Jeff McWilliams)
Re: telnet fails with all network ports in use msg ("Jim St.Cyr")
----------------------------------------------------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Walter Hunt)
Subject: Help with porting VPN client to 2.2.9
Date: Fri, 28 May 1999 08:12:07 GMT
I'm trying to port a VPN client that was written for 2.0.36 to work under
2.2.9 (gotta be bleeding edge), and I've run into a few things I can't quite
figure out. The client basically takes a normal network packet, encapsulates
the whole thing in an AH protocol header, does some encrypt type stuff, then
passes it on to the regular net stuff.
First, this client needs a little extra data in skbuffs and sockets. So,
judging from what I see in the file already, the proper way to do this is to
define a CONFIG_* variable and #ifdef the private data at the end of the
structs in the include files (or in the protinfo union in net/sock.h). Is this
the right approach?
Second, the skbuff structure seems to have changed a lot between 2.0.36
and 2.2.9. The following fields in struct skbuff seem to have been renamed:
h.iph seems to have become h.ipiph
ipiph seems to have become nh.iph
The following fields seem to be missing in action:
link3
when
raddr
seq
end_seq
ack_seq
acked
proto_priv
free
arp
tries
lock
users
Should I worry about what used to be in these fields?
dev_free_skbuff seems to have lost an argument - is it important?
The select function in the file_operations struct seems to have been
replaced by a poll function. What is this function supposed to return?
The old driver refers to a (global?) intr_count to make sure it isn't
running inside some other interrupt - what is the proper way to do this now?
Also, how bad is it to load a module that causes a kernel oops? Should
that be automatic reboot time? 'Cause I forsee this happening a lot for a
while. :)
I would appreciate any help anyone can give me with these questions.
Thanks.
--
Walter Hunt
------------------------------
From: Karel Geeraert <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,comp.os.linux.setup
Subject: Windows NT to Linux over PPP and Samba
Date: Fri, 28 May 1999 10:03:49 +0200
Does anybody have a clue why I don't get any network traffic (e.g. when
using telnet, network neighborhood, hylafax client, ...) over ppp when I
connect from my NT to a Linux server installed with samba, ...
If I connect from Linux to the Linux server, I am able to communicate.
I am desperate. I presume it has something to do with my NT settings.
------------------------------
From: Owen Lynn <[EMAIL PROTECTED]>
Subject: Re: eth0 interface stops working
Date: 27 May 1999 19:31:24 GMT
Lorenzo Robles Jr. wrote:
>
> Hello,
> I have a p-pro 200 running kernel 2.0.36, with a 3c509. When I first
boot
> the machine up, everything works fine, I am able to ssh, use the web,
etc etc.
> After 15-20 minutes though it seems like the eth0 interface goes down
because
> I suddeny cant reach the outside world. I can ping the loopback, but
trying
> to reach anything local or past my gateway is imposible.
> Any program that tries to use the eth0 interface (netscape, ssh, ping)
will
> just sit there and never fail, but it wont return any info. No this is
where
> things get strange.
> If I "ifconfig eth0 down" and then back up, nothing changes. But if I
use
> RedHats network configuration program to disable then enable the
interface
> everything is great for another 15-20 minutes, but then it always dies
again.
> I have RTFM, many times, I have read the faq's, vendor specific info,
etc.
> But I dont know why thus just stops working. Could somebody help me out?
>
> --
> Lorenzo Robles Jr
> [EMAIL PROTECTED]
> ------------------------------------------------------------
> "One World, One Web, One Program" - Microsoft Promotional Ad
> "Ein Volk, Ein Reich, Ein Fuhrer" - Adolf Hitler
> Coincidence? I think not...
I get the same problem with a dual pair of 509B's in a IP masquerade
firewall. I'm running 2.0.33 though. I think this is a driver issue.
It only seems to happen if you put a big sustained load on the card.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
Reply-To: "Carl Filpo" <[EMAIL PROTECTED]>
From: "Carl Filpo" <[EMAIL PROTECTED]>
Subject: Help needed: Network card sending corrupt packets ?
Date: Fri, 28 May 1999 15:52:27 +0800
I have a problem with a Realtek 8029 based NIC.
After some time the eth0 interface stops responding and on the first
console window I get "transmit timed out" errors.
After a ping to or from this interface I get more of these errors.
Here is an extract from /var/log/syslog - Is the card faulty ?
I am running Debian 2.1 kernel 2.0.36
May 28 13:41:01 te1 kernel: eth0: Transmit timeout, status 0d 0000.
May 28 13:41:01 te1 kernel: eth0: Tx descriptor 0 is 10080586. (queue head)
May 28 13:41:01 te1 kernel: eth0: Tx descriptor 1 is 00080586.
May 28 13:41:01 te1 kernel: eth0: Tx descriptor 2 is 00080586.
May 28 13:41:01 te1 kernel: eth0: Tx descriptor 3 is 00080586.
May 28 13:41:01 te1 kernel: eth0: MII status register is 782d.
May 28 13:41:12 te1 kernel: eth0: Transmit timeout, status 0d 0000.
May 28 13:41:12 te1 kernel: eth0: Tx descriptor 0 is 00002000. (queue head)
May 28 13:41:12 te1 kernel: eth0: Tx descriptor 1 is 00002000.
May 28 13:41:12 te1 kernel: eth0: Tx descriptor 2 is 00002000.
May 28 13:41:12 te1 kernel: eth0: Tx descriptor 3 is 00002000.
May 28 13:41:12 te1 kernel: eth0: MII status register is 782d.
--
Carl Filpo
Computer Network Consultant
=================================================
Carl Filpo BSc(Curtin)
Computer Network Consultant
C&M Computer Solutions
26 Russell St
MORLEY WA 6062
Email: [EMAIL PROTECTED]
Phone: +61 08 9375 1144
Fax: +61 08 9375 1141
Mobile: 0407 396 316
=================================================
------------------------------
From: Karel Geeraert <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,comp.os.linux.setup
Subject: Re: Windows NT to Linux over PPP and Samba
Date: Fri, 28 May 1999 11:04:31 +0200
Further info:
I already figured out, that when the IP address for my ppp-client is
different from the IP address that I normally use for the ethernet
connection, I sometimes get a telnet connection, but not reliably.
Moreover, in any case, if I PING from the server to the ppp-client
IP-address, I get 100% packets lost and on the ppp-client, I get plenty of
CRC errors. So they seem to see each other, but refuse to communicate.
I hope this helps better to solve my problem
Karel Geeraert wrote:
> Does anybody have a clue why I don't get any network traffic (e.g. when
> using telnet, network neighborhood, hylafax client, ...) over ppp when I
> connect from my NT to a Linux server installed with samba, ...
>
> If I connect from Linux to the Linux server, I am able to communicate.
>
> I am desperate. I presume it has something to do with my NT settings.
------------------------------
From: "Dani�l Verlouw" <[EMAIL PROTECTED]>
Subject: DHCPD troubles...
Date: Fri, 28 May 1999 11:15:32 +0200
Hi everyone,
ever since I installed Debian 2.1 on a new system I can't get DHCPd for my
internal network to work. I had the same problems on my previous sys, but
when I installed netbase_3.14-3.deb the problems where gone. But not on this
system...As you can see below, it looks like the system gets a DHCP request,
but simply doesn't respond to it (using Linux or Win98 clients doesn't
matter). If I change the settings on the clients manually everything works
perfectly. So it's a DHCPd problem, as everything else works ok on the
system. Kernel 2.0.36 and 2.2.9 give the same results.
Anyone? Plz?
=============
/etc/dhcpd.conf:
server-identifier defiant.mydomain.nl;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "mydomain.nl";
option netbios-name-servers 192.168.0.1;
option netbios-dd-server 192.168.0.1;
option netbios-node-type 8;
default-lease-time 86400;
deny bootp;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.10 192.168.0.250;
}
host enterprise.mydomain.nl {
hardware ethernet 00:00:B4:91:E9:BD;
fixed-address 192.168.0.2;
option host-name enterprise;
}
host voyager.mydomain.nl {
hardware ethernet 00:60:08:43:86:F5;
fixed-address 192.168.0.3;
option host-name voyager;
}
=============
'tcpdump'-output during a DHCP request:
eth0: Setting promiscuous mode.
tcpdump listening on eth0
22:01:33.705127 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xb083b083
[|bootp]
22:01:39.705123 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xb083b083
secs:1536 [|bootp]
22:01:45.705123 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xb083b083
secs:3072 [|bootp]
22:01:51.715126 0.0.0.0.bootpc > 255.255.255.255.bootps: xid:0xb083b083
secs:4608 [|bootp]
4 packets received by filter
0 packets dropped by kernel
==============
Interfaces according to 'ifconfig':
eth0 Link encap:Ethernet HWaddr 00:A0:24:52:6E:88
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:33 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
Interrupt:11 Base address:0xd800
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
=============
'route -n' gives the following routes:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
255.255.255.255 0.0.0.0 255.255.255.255 UH 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
--
Dani�l Verlouw <[EMAIL PROTECTED]>
------------------------------
From: Bjoern Gerhart <[EMAIL PROTECTED]>
Subject: ypserv 1.3.6
Date: Fri, 28 May 1999 10:00:52 +0200
Hi,
I want to run a network with NIS. I already have accounted the users
locally on the server which should run ypserv (and they can login
locally).
Then I run /usr/lib/yp/ypinit -m (the nis-server is the only
nis-server). That seems to be ok. The *.by* - files are created in the
/var/yp/wiese - directory.
On the client, ypbind is installed. �ypcat -x� returns all nis-files
correctly. So the nis-domain should be bound :)
But when I try to log into the client with a nis account, it says �login
incorrect�.
So on the server I started ypserv with the debug option:
ypserv -d
So here�s what it typed after I typed my login name:
ypproc_match(): [From: 192.168.1.2:751]
domainname = "wiese"
mapname = "passwd.byname"
keydat = "loginname"
connect from 192.168.1.2
db_open("wiese", "passwd.byname")
-> Returning OK
Opening: wiese/passwd.byname (0) 8058F88
ypdb_close() called
-> Error #-3
ypproc_match(): [From: 192.168.1.2:752]
domainname = "wiese"
mapname = "passwd.byname"
keydat = "loginname"
connect from 192.168.1.2
Found: wiese/passwd.byname (0)
ypdb_close() called
-> Error #-3
I looked in "/var/yp/wiese/passwd.byname" and didn�t find one logical
word. Just cryptical signs which seem to make no sense.
My server runs RedHat 6.
Do you have any suggestion what goes wrong?
Thanks.
Kind regards
Bjoern
--
Bjoern Gerhart e-mail: [EMAIL PROTECTED]
TFH-Berlin University of Applied Sciences
------------------------------
From: Xavier Garcia <[EMAIL PROTECTED]>
Subject: ipfwadm : setsockopt error
Date: Fri, 28 May 1999 11:12:13 +0200
Hi,
Just a little question : when I try to use ipfwadm, it always says me
that setsockopt is not supported. I recompile my kernel with support for
forwarding, masquerading, firewalling, etc .. but I have the same error
with this new kernel.
So where am I wrong ? Do I need some other packages ?
thanx in advance
xg
------------------------------
From: Raphael <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.os.linux.setup
Subject: Urgent help needed for GDM chooser and XDMCP
Date: Fri, 28 May 1999 02:45:41 -0700
Reply-To: [EMAIL PROTECTED]
Help ... I am totally new to GNOME and desperately need help with GDM
config!!
I have went through the GDM chooser's documents, but somehow I can't get
it to work with XDMCP broadcast ... I need all the Linux boxes in my
office to be able to login to each other with a chooser starting first
before login, but after a days tinkering, I can only get the login
prompt to come up, while the chooser can't be loaded ... I had succeeded
to do this with xdm before, and I really don't know what I did wrong ...
can someone gimme some pointers at which files to look at (I know
gdm.conf for sure) or point me to some more documentation??
The systems in question are all on a 10BT network with RedHat 6.0
installed ... gdm chooser works executes perfectly when called from
xterm, but doesn't pop up when gdm is started ...??!!
Thanks in advance
Raphael
------------------------------
From: Mark Evans <[EMAIL PROTECTED]>
Subject: Re: Routing of ip-broadcasts possible?
Date: Fri, 28 May 1999 10:03:14 +0100
Levent G�ndogdu <[EMAIL PROTECTED]> wrote:
> If have two subnets (192.168.0.* and 192.168.1.*) which are connected
> via a Linux box. The ip forwarding works pretty fine. I can reach every
I have a similar situation, though somewhat more network segments.
(As well as the same kind of problem, apps which use directed broadcasts
cannot see other subnets.)
> computer on the other subnet. But: my workstations tries to find a specific
> service via IP-Broadcast. The service can be found on different computers.
> All services reply to this broadcast, except those on the other subnet.
> I assume, that Linux does not forward broadcasts to other subnets, because
> they are addressed to 192.168.0.255 (for example). Does anyone know, if
> I could configure my linux to relay all received broadcasts on one
> adapter (for example eth0=192.168.0.1) to another (eth1=192.168.1.1) ?
What appears to be happening is that when the Linux box sees 192.168.0.255
on eth1 (your example) it treats this not as an address to forward, but
as a packet addressed to itself.
The way it actually should work is on eth0 anything addressed to
192.168.0.1, 192.168.0.255, 192.168.1.1 or 255.255.255 should be treated
as addressed to the machine itself. 192.168.1.2-254 should be sent to
eth1 and 192.168.1.255 should be *both* sent to the local IP layer
(which is happening) and broadcast to eth1, which isn't.
If no one knows a work arround I'll probably have a look at the code
this weekend. (To see exactly what is happening.)
--
Mark Evans
St. Peter's CofE High School
Phone: +44 1392 204764 X109
Fax: +44 1392 204763
------------------------------
From: Wendell Craig <[EMAIL PROTECTED]>
Subject: Re: YOUNG BEAUTIFUL MODEL AVAILABLE
Date: Thu, 27 May 1999 20:39:17 GMT
> Anisha wrote:
>
>
>
> Hi!
> My name is Anisha.
> I am 24 yrs old beautiful model from Paris,
> I would like to accompany you (discerning gentlemen) for dining,
> entertainment and pleasure in Europe.
> I've long black hair and dark eyes,a slim good figure with beautiful
> face
> I am well educated, sociable, polite and fun to be with.
>
> If you'd like to arrange a liaison, you can contact me at :
>
> [Image]
Do you use C++?
--
Wendell Craig - [EMAIL PROTECTED]
The box said 'WIN95/98 or better.' so I installed LINUX!
HEAR MY VOICEOVER DEMO AT http://www.anncrman.com
OR BY TELEPHONE AT (212)595-0314
------------------------------
From: Richard T <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat
Subject: LOGS / User problem
Date: Fri, 28 May 1999 06:56:48 GMT
Hi Folks, I am running Redhat 5.2 and everything is going great -- one
problem though. It seems that my logs (ie the ones needed to run the
'last' command) isn't working (don't exist - it says that they are
either not there or the admin has removed them .. since I am the ADMIN
I Know I didn't do that), as well as when I type 'w' or 'top', I never
get any indication that there are any users connected (not even that I
am connected), the same problem arises when I try the talk command .. it
says that person X isn't log-ed in (the party isn't loged in..or some
jazz like that ).
I am really stumped as to WHY this is happeneing. And yes I am 100%
sure that there are mulitple users loged into my Linux box .. but for
some reason I can't see them (even as root) ..
Thanks for any help / suggestions.
Please reply to [EMAIL PROTECTED] as I won't be able to check back here
too frequently.
Richard
------------------------------
Date: Thu, 27 May 1999 23:50:24 -0700
From: "W.A. Scheer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Running 2 NICs in a server to increase bandwidth?
I'm sorry to report that this is possible (and quite easy to setup) under both
NT and Netware with certain NICs from Intel, IBM or Adaptec. It is also
possible to use software called 'NIC Express' from www.ipmetrics.com to load
balance up to 4 NICs at a time (any brand or even mixed brands) under NT.
My understanding is that IP Metrics is working on versions fro both Netware and
Linux. It is NOT open-source or even cheap (about $280/server) but it works
hella-good.
W.A. Scheer
_________________________
Mark Nyqvist Hjarding wrote:
> I would like to know if it is possible to use 2 NICs in a server to increase
> the bandwidth? The NICs are patched up to a switch. Would it require special
> NICs, certain drivers or what? We are talking about a large fileserver but I
> can't get the funds to upgrade to Gigabit.
>
> Regards
>
> Mark
------------------------------
From: [EMAIL PROTECTED] (Dang H. Nguyen)
Subject: Re: Linux read a win98 floppy?
Date: Fri, 28 May 1999 10:27:49 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 28 May 1999 02:22:00 -0400, "Dave" <[EMAIL PROTECTED]>
wrote:
>Is there any way to mount a floppy in RedHat 6 that will allow it to read a
>Win98 floppy?
>
>i've tried:
>
>mount /dev/fd0 /mnt/floppy to no avail....always says "define filesystem
>type"
>
>as well as
>
>mount /dev/fd0 /mount/floppy
>
>so i don't know....i'm a newbie..and could use a few pointers....also.....
>if you know anything about cdroms and mounting them.... the ones i make are
>ISO9660 and it worked for a while.....then i rebooted and now nothing works.
>
>Thanks,
>Dave
>
man mount
then do
mount /dev/fd0 /mount/floppy -t msdos
-t iso9660 for cdroms
etc...
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: HOW-TO: PPP route?
Date: Fri, 28 May 1999 10:53:12 GMT
In article <N%l33.132$[EMAIL PROTECTED]>,
"Curt" <[EMAIL PROTECTED]> wrote:
>
> I guess I don't understand what is going on here.
> All 4 systesm connected via the same ppp connection?
yup
> Are you just connecting 2 networks?
not exactly, just a single network with small part that will connect
via PPP dial-up instead ethernet.
With regards,
Serge.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Barry Zubel" <[EMAIL PROTECTED]>
Subject: Using Linux with IPChains to split a class C subnet and firewall one half
Date: Fri, 28 May 1999 12:05:16 +0100
If the above possible - if so, can anyone give me an idea of how difficult
this would be.
I've read the Net-3, IPMasq, Firewalling and Proxy, IP Subnetting and
Ethernet HOWTO - my initial thoughts are that this is possible, but I'm not
as clued up on subnetting as I would like to be.
If anyone has already done this, then a brief step-through of what they did
would be immensely useful.
TIA
--
Barry Zubel
Technical Manager
City Mutual Ltd
www.citymutual.com
------------------------------
From: [EMAIL PROTECTED] (Jeff McWilliams)
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.misc,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Will a SupraExpress 56i modem run under linux?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 28 May 1999 10:10:32 GMT
Mark,
If you were able to change the modem's IRQ under Win95/98 then you've
probably got your modem set up in ISA Plug N Play mode. Correct?
Does the 56Ki have jumpers that you can use to force the modem
to a particular COM port and IRQ? If not, you're going to have to
install isapnptools under Linux. You have to use this tool to
enable any plug and play devices under LInux and to assign appropriate
COM ports, IRQ's, etc to your ISA PnP cards.
What type of motherboard/BIOS do you have? If you have an Award BIOS then
I've also had very good luck setting "Plug and Play OS" to NO in the BIOS.
On my systems this tells the BIOS to set up PnP devices to appropriate
COM ports, IRQ's during boot instead of letting the OS handle it. If you
do this and it works you should not have to use isapnptools.
Jeff
--
Jeff McWilliams - Advanced Development Engineer, ACE Technologies
[EMAIL PROTECTED]
------------------------------
From: "Jim St.Cyr" <[EMAIL PROTECTED]>
Subject: Re: telnet fails with all network ports in use msg
Date: Fri, 28 May 1999 07:06:45 -0400
SG-
I had this same problem crop up after rebuilding a RH 6.0 kernel. In my case
I didn't
compile in support for /dev/pts. Once I rebuilt with that option selected all
was well.
http://www searchlinux.com has several posts that can provide more background
and
solutions.
Jim
Subhash Ghorpade wrote:
> I recently installed RH6 on a I486 and have most of the network stuff
> working correctly. However, I am not able to connect to the Linux box from
> another computer.
>
> If I try to telnet, even from the same machine (ie. telnet 0) I get the
> messages:
>
> Trying ...
> Connected to n.n.n.n
> Escape character is '^]'
> telnetd: All network ports in use.
> Connection closed by foreign host
>
> Similarly, when I try to ftp to the RH6, I get
>
> Connected to n.n.n.n
> 421 Service not available, remote server has closed connection
>
> Any ideas on whats missing from my setup?
>
> SG
------------------------------
** 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
******************************