Linux-Networking Digest #884, Volume #10         Fri, 16 Apr 99 16:13:51 EDT

Contents:
  Samba, NT4.0 + lots of files problems ("Kent Nilsen")
  Traffic control with Linux ("Andreas Bj�rck")
  Re: Serial Port to TCP Port application (Andras Gefferth)
  Re: Linux running as gateway ("Jan Johansson")
  Printing to a Novell 4.11 server ([EMAIL PROTECTED])
  Re: 3com905b - help! ("*** S.B ***")
  Re: Running 2 version of Apache simultaneously (S P Arif Sahari Wibowo)
  Re: Routing problems ? (Cor Wood)
  Re: Serial Port to TCP Port application (Neil Cherry)
  Re: 'Network unreachable' Help! ("Daniel G. Hyams")
  Re: How to clear a hung port ("Michael T. Smith")
  Re: pptp masq & 2.2.5. kernel ("John Hardin")
  Re: Routing problem (Brian McCauley)
  Re: Can't See Samba Server on network (Jeremy Allison)
  Ethernet with CRYSTAL CS8900 chip (Olaf Erckmann)
  Re: Webmin IS GREAT!!!!!!!!!!!!!!!!!!!!!!!! (Ham Radio Op)
  Re: NT faster than Linux? (jedi)
  Re: 'Network unreachable' Help! (Krishna Venbakkam)

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

From: "Kent Nilsen" <[EMAIL PROTECTED]>
Subject: Samba, NT4.0 + lots of files problems
Date: Fri, 16 Apr 1999 12:28:26 +0200

Hello, I'm experimenting with a Linux fileserver in our company, and so far
things seem good, except that NT users have to type in their password to
reconnect to Linux shares that have been mapped as drive letters. We run
Novell 4.10 in addition to Linux, so we authenticate to those servers and NT
in one login box, then another for Linux, which is a bit annoying. Any
solutions to this?

Furthermore, I've created a software RAID0 on 2 18Gb Barracuda disks, and
shared it out for NT/95 users via Samba and Solaris via NFS. Performance
seems Ok (running 100Mbit), until we start copying lots of files to one
directory. One example is a dir with 9900 files (about 20K each). We then
unzipped a file with 9900 127byte files to the same directory (the reason we
do this is that we have a program that needs data stored this way). Whoa!
Winzip counted the files slowly, one by one while extracting it, which took
over 2 hours. CPU utilization was 100% all the time. When I do a ls -al on
the dir, it takes about 1 minute, CPU 100%. Any suggestions?

This is a bit important, because I'm planning to run a HUGE fileserver on
Linux, the specs I think I'll use are at the bottom

Please reply by mail: [EMAIL PROTECTED]

Finally info on my system:

RedHat 5.2, 2.2.4 kernel. Raidtools 0.41
Dual Pentium 200, 128Mb RAM
Adaptec 2940uw SCSI controller
2x2Gb IBM SCSI disk
1x9Gb Barracuda
2x18Gb Barracuda

Future system (if Linux can do this)

2xPII 450
512Mb RAM
10x23Gb Seagate Elite u/w SCSI disk
5x18Gb Barracuda
5x36 or 50Gb Barracuda
2 Dual-channel SCSI-controllers
2 PCI 100Mbit NICS (load balancing possible?)



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

From: "Andreas Bj�rck" <[EMAIL PROTECTED]>
Subject: Traffic control with Linux
Date: Fri, 16 Apr 1999 12:28:44 +0200

Hello,

I have a linux machine that routes ip traffic in through eth0 and out on
eth1.
I wonder if there is any software available that can limit the bandwidth
throughput depending on what ip the source/dest is using?

Like for example, if the maximum throughput is 2Mbit, one IP could
get 128kbit, another 512kbit, and a third would get 1Mbit.

Something like a bandwidth control program/patch.

Is this possible?

Sincerely,
    Andreas




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

From: Andras Gefferth <[EMAIL PROTECTED]>
Subject: Re: Serial Port to TCP Port application
Date: Fri, 16 Apr 1999 12:14:05 +0000

David Peavey wrote:

> I have an application that uses a device connected to my serial port.
> However, I need to "remote" this application.  I would like to connect my
> serial port to a TCP Port in my Linux machine.  This would allow me to
> remotely control my serial port "widget" through TCP/IP.  Is there an easy
> way to do this?  Has anyone done this before?  Sample C source code?
> Implications for the other (remote) end?
>

Hi!
I would suggest you to read the source for telnet, and the Serial-Programming
HOWTO
for more information. Anyway, I haven't dealt with any of them

Andras


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

From: "Jan Johansson" <[EMAIL PROTECTED]>
Subject: Re: Linux running as gateway
Date: Fri, 16 Apr 1999 12:52:24 +0200

if you are using 2.2.x just

ipchains -A forward -s 192.168.1.0/24 -d 0.0.0.0/0 -b -j MASQ

done. (above example assumes you are uisng the 192.168.1.x on your internal
network, with a 255.255.255.0 netmask)



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

From: [EMAIL PROTECTED]
Subject: Printing to a Novell 4.11 server
Date: Fri, 16 Apr 1999 17:37:48 GMT

Hello,

We have been successfully printing to a Novell 3.12 Netware server from
our Linux box for some time.  We are using RedHat Linux 5.2, kernel version
2.0.36, with IPX support.  However, over the weekend, the I.S. department
upgraded the server to 4.11, and now the print queue does not appear to exist
to the Netware clients.

Formally, the output of pqlist was:

[emptoris]$ pqlist -S FS-PURCH-01 -U myid -P mypasswd

Server: FS-PURCH-01
Print queue name                                    Queue ID
============================================================
PRT330_Q                                            340100C4
LASERB_T                                            9A0100F4
LASERA_T                                            9D0100B9
WHETSTONE                                           C4010043
PR1068_3726L                                        BA020018
PRT135                                              BC02007F
PRT332                                              D7030023
BARCODE                                             3E040023
...

Now, with the upgrade, and a change in server name:

[emptoris]$ pqlist -S OSSC2 -U myid -P mypasswd

Server: OSSC2
Print queue name                                    Queue ID
============================================================
No queues found


[emptoris]$ nwfsinfo -S OSSC2 -d -i

The server info now reads:
Novell
NetWare 4.11
August 22, 1996
(C) Copyright 1983-1996 Novell Inc.
All Rights Reserved.
Patent Pending - Novell Inc.

Fileservername    OSSC2

Version           4.11 Revision A
Max. Connections  74
currently in use  53
peak connections  55
Max. Volumes      255
SFTLevel          2
TTSLevel          1
Accountversion    1
Queueversion      1
Printversion      0
Virt.Consolvers.  1
RestrictionLevel  1

We can successfully print without problems to servers like these:

[emptoris]$ nwfsinfo -S RMH02 -d -i

Novell
NetWare 4.10
November 8, 1994
(C) Copyright 1983-1994 Novell Inc.
All Rights Reserved.
Patent Pending - Novell Inc.

Fileservername    RMH02

Version           4.10 Revision A
Max. Connections  3189
currently in use  2303
peak connections  2455
Max. Volumes      255
SFTLevel          2
TTSLevel          1
Accountversion    1
Queueversion      1
Printversion      0
Virt.Consolvers.  1
RestrictionLevel  1

We know that there are working print queues defined for OSSC2 because
we are printing to it from our Windows 95-based machines.

We are starting IPX services with the standard RedHat init.d network script:

...
 case "$IPX" in
          yes|true)
            /sbin/ipx_configure --auto_primary=$IPXAUTOPRIMARY \
                                   --auto_interface=$IPXAUTOFRAME
            /sbin/ipx_internal_net add $IPXINTERNALNETNUM $IPXINTERNALNODENUM
            ;;
 esac
...


Any help on this issue would be greatly appreciated.

Thanks,

Marcus Mascari ([EMAIL PROTECTED])




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

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

From: "*** S.B ***" <[EMAIL PROTECTED]>
Subject: Re: 3com905b - help!
Date: Fri, 16 Apr 1999 20:30:16 +0200

you have to set the 3com card in "nonPNP" mode ,then linux can see him very
well
cyberfiche heeft geschreven in bericht
<7f7ovt$1el$[EMAIL PROTECTED]>...
>Ok,
>I have a 3com905b network card but I can't get Linux to see it.  In fact
I'm
>not really sure how the conf.modules file should read.  What should the
>alias be for the eth0?  Considering all my other settings are correct for
>the network, finding the right alias should fix everything, right?
>
>



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

From: S P Arif Sahari Wibowo <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.rpm,comp.infosystems.www.servers.unix
Subject: Re: Running 2 version of Apache simultaneously
Date: Fri, 16 Apr 1999 13:54:46 -0500

On Mon, 12 Apr 1999 [EMAIL PROTECTED] wrote:

>Really, it's not that hard to compile a package.  there are step-by-step
>instructions included with the sourcecode, but the gist of it is this:

I am not worry of compiling. But if possible, everything consistently in
rpm, so it will be easier to manage - and especially to remove. Collecting
stuffs you put in different directories can be a pain. I've been in a
system with several httpd, with no clue which one is actually used.

Thanks.

                                   S P Arif Sahari Wibowo
  _____  _____  _____  _____
 /____  /____/ /____/ /____         [EMAIL PROTECTED]
_____/ /      /    / _____/          http://spas.8m.com/


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

From: Cor Wood <[EMAIL PROTECTED]>
Subject: Re: Routing problems ?
Date: Fri, 16 Apr 1999 12:15:32 GMT

In article <RHCR2.283$[EMAIL PROTECTED]>,
  "Curt" <[EMAIL PROTECTED]> wrote:
> Please post the output of 'netstat -nr'  or 'route' for both L1 and L2.
>
>

Ok , some more information :) First, I don't think it is important, but L1 is
the slakware machine, L2 is the Red Hat .

Second, we can reach about 90% of all websites from our win95/98 machines
(and maybe the fact that they are windows machines isn't relevant at all).
Only about 10% of the websites we visit have this problem

Here is the output of a route -n for L2

Destination     Gateway         Genmask        Flags Metric Ref    Use Iface
204.101.201.147 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:0
204.101.201.146 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:1
204.101.201.145 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:2
192.168.0.1     0.0.0.0         255.255.255.255 UH    0      0        0 eth0:3
204.101.201.142 0.0.0.0         255.255.255.255 UH    0      0        1 ppp0
204.101.201.144 0.0.0.0         255.255.255.240 U     0      0      177 eth0
204.101.201.128 204.101.201.142 255.255.255.240 UG    0      0       44 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0      231 lo
0.0.0.0         204.101.201.142 0.0.0.0         UG    0      0     2135 ppp0

and route -n for L1

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
204.101.201.130 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:1
204.101.201.131 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:2
204.101.201.132 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:3
204.101.201.142 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:4
204.101.201.136 0.0.0.0         255.255.255.255 UH    0      0        0 eth0:6
204.101.201.140 0.0.0.0         255.255.255.255 UH    0      0        1 ppp0
204.101.201.128 0.0.0.0         255.255.255.240 U     0      0     3205 eth0
204.101.201.144 204.101.201.140 255.255.255.240 UG    0      0      426 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0     1053 lo
0.0.0.0         204.101.201.141 0.0.0.0         UG    1      0    39869 eth0


Regards


Cor Wood
--
Cor Wood
[EMAIL PROTECTED]
                                Wolfhaven Solutions

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

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

From: [EMAIL PROTECTED] (Neil Cherry)
Subject: Re: Serial Port to TCP Port application
Reply-To: [EMAIL PROTECTED]
Date: Fri, 16 Apr 1999 14:39:10 GMT

On Fri, 16 Apr 1999 12:14:05 +0000, Andras Gefferth wrote:
>David Peavey wrote:
>
>> I have an application that uses a device connected to my serial port.
>> However, I need to "remote" this application.  I would like to connect my
>> serial port to a TCP Port in my Linux machine.  This would allow me to
>> remotely control my serial port "widget" through TCP/IP.  Is there an easy
>> way to do this?  Has anyone done this before?  Sample C source code?
>> Implications for the other (remote) end?

Check out the source to x10d.cm11.c or x10d.lynx.c on my home
automation page. There are other examples there such as the Heyu
code. The Heyu and x10d.cm11a.c talk to a cm11a (by x10) and the
x10d.lynx.c talks to a LynX-10 (by Marrick LTD).

To communicate with them you telnet me x10d (for example, see the
readme).  Works well, especially since my main box ran out of card
slots.  I use the slots on another machine to comunicate with 2
CM11A's and a weather station. I'm currently working on communicating
with my HCS II (Home Control System by Circuit Cellar).

-- 
Linux Home Automation           Neil Cherry             [EMAIL PROTECTED]
http://members.home.net/ncherry                         (Text only)
http://meltingpot.fortunecity.com/lightsey/52           (Graphics GB)
http://www2.cybercities.com/~linuxha/                   (Graphics US)

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

From: "Daniel G. Hyams" <[EMAIL PROTECTED]>
Subject: Re: 'Network unreachable' Help!
Date: Fri, 16 Apr 1999 09:42:47 -0500

On Fri, 16 Apr 1999, Jim Roberts wrote:

> > I receive "Network unreachable" message on ping
> > after I recompiled my kernel (without changing something in source)
> > 
> > I did it by next commands:
> > 
> >>make dep
> >>make clean
> >>make zlilo
> >>cp /vmlinuz /boot/vmlinuz
> >>reboot
> > 
> > I check my network configuration it seems to be o.k
> > 
> > What can be a problem ?
> > P.S i receive same message on ping to myself IP.
> > 
> 
> Without more information an answer is at best difficult. A guess
> is that you didn't "make config" for your kernel first to configure
> the hardware options and modules. 

Did you also recompile and install your kernel modules?

make modules
make modules_install
 




===========================================================
Daniel G. Hyams
email:  [EMAIL PROTECTED]
phone:  (601) 323-4198  
===========================================================


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

From: "Michael T. Smith" <[EMAIL PROTECTED]>
Subject: Re: How to clear a hung port
Date: Fri, 16 Apr 1999 12:13:21 +0000
Reply-To: [EMAIL PROTECTED]

"J. S. Jensen" wrote:

> "Michael T. Smith" wrote:
>
> > When I stop the listener it closes correctly.  If I then do a netstat
> > -na | grep 1521 then I get
> >
> > 0.0.0.0:1521
> >
>
> What is the STATUS of the port reported by netstat?
>
> --
> J. S. Jensen
> mailto:[EMAIL PROTECTED]
> http://www.Paramin.COM

The status is set to LISTEN


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

From: "John Hardin" <[EMAIL PROTECTED]>
Subject: Re: pptp masq & 2.2.5. kernel
Date: Fri, 16 Apr 1999 11:30:26 -0700


Jeroen J.W. van Oijen wrote in message <7f6v5p$gdr$[EMAIL PROTECTED]>...
>I am farly new to linux firewalling, and trying to build a pptp firewall.
>The vpn server is on the LAN with a private ip. Browsing the net I found
>tons of info regarding older kernels, but non regarding the 2.2.5 kernel.
>It has new options like GRE support etc.
>Does anyone know the steps I've to take to get it running on the 2.2.5
>kernel, or do I have to use an older kernel?
>
>Jeroen J.W. van Oijen


I'm working on getting up to speed on the 2.2 kernels... I had hoped to
produce something this week but that didn't happen.

Gordon Chaffee's 2.1.x patch has been migrated to 2.2, and if you're only
masquerading one client it will do the job.

See the VPN Masq page for links.

--
 John Hardin KA7OHZ                               [EMAIL PROTECTED]
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76
=======================================================================
  In the Lion
  the Mighty Lion
  the Zebra sleeps tonight...
  Dee de-ee-ee-ee-ee de de de we um umma way!




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

From: Brian McCauley <[EMAIL PROTECTED]>
Subject: Re: Routing problem
Date: 16 Apr 1999 20:06:53 +0100

J�n Gu�mundsson <[EMAIL PROTECTED]> writes:

> But according to "Running linux" (2nd edition) by Welsh&Kaufman the
> Gateway
> column should point at my own IP-adress (157.157.168.204) instead of
> 0.0.0.0
> But I dont know how to configure the system to do so.

This is true on BSD but AFAIK this has never been the case on Linux.

-- 
     \\   ( )  No male bovine  | Email: [EMAIL PROTECTED]
  .  _\\__[oo   faeces from    | Phones: +44 121 471 3789 (home)
 .__/  \\ /\@  /~)  /~[   /\/[ |   +44 121 627 2173 (voice) 2175 (fax)
 .  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37...
  # ll  l\\  ~~~~ ~   ~ ~    ~ | http://www.wcl.bham.ac.uk/~bam/
 ###LL  LL\\ (Brian McCauley)  |

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

Crossposted-To: comp.protocols.smb
From: [EMAIL PROTECTED] (Jeremy Allison)
Subject: Re: Can't See Samba Server on network
Date: Fri, 16 Apr 1999 19:33:05 GMT

Alexander Mattausch <[EMAIL PROTECTED]> writes:

>But now something new appeared: cannot find domain master browser. The samba
>server is not configured to be a domain master and I thought it wouldn't be
>necessary since the time samba was a domain master the problem was even worse,
>sometimes samba couldn't even be found with Find->Computers.

No, nmbd is just trying to be a good broswing citizen
and looking for a domain master browser in order to sync up its
browse lists.

>Perhaps some more information on the configuration might help:

At first glance it looks ok. I think you now need to start
learning *exactly* how much fun looking at nmbd
logs is :-). Put nmbd at debug level 10 and look at every
election packet nmbd sees. This will take a while but you'll have
a mucxh better understanding of what's going on....

Good luck,

        Jeremy Allison.
        Samba Team.

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

From: Olaf Erckmann <[EMAIL PROTECTED]>
Subject: Ethernet with CRYSTAL CS8900 chip
Date: Fri, 16 Apr 1999 16:29:30 +0200

Hi,

has anybody an idea about the existence of an ethernet driver for the
above mentioned chip?
Any hint, solutions and idea are welcome.

thanks
Olaf

--
Olaf Erckmann
MetaVision GmbH
Behringstr. 28a
D-22765 Hamburg
Tel: +49-40-39834 471
Fax: +49-40-39834 475

[EMAIL PROTECTED]




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

From: [EMAIL PROTECTED] (Ham Radio Op)
Crossposted-To: comp.infosystems.www.servers.unix,linux.redhat.misc,comp.os.linux.misc
Subject: Re: Webmin IS GREAT!!!!!!!!!!!!!!!!!!!!!!!!
Date: Fri, 16 Apr 1999 15:08:09 GMT

Yes and they constantly keep upgrading it.  It is definatly a great
addon for admins.....

For those interested visit http://www.webmin.com


On Fri, 16 Apr 1999 11:14:23 GMT, "Mackral" <[EMAIL PROTECTED]> wrote:

>I've been messing with this Webmin thing for the past few hours and I just
>love it!  It's much more comprehensive than Linuxconf!
>
>Web administration is the future!
>


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

From: [EMAIL PROTECTED] (jedi)
Subject: Re: NT faster than Linux?
Date: Fri, 16 Apr 1999 12:38:57 -0700

On Fri, 16 Apr 1999 14:48:39 GMT, Ian Payne <[EMAIL PROTECTED]> wrote:
>>I am willing to stake a tenner than no-one will be able to reproduce
>>that result if they run the same test on a machine of identical spec,
>>but this time bothering to configure the Linux set-up properly, using
>>the most appropriate software.
>
>How about a day's worth or your time?

        Even the apache source out of the box (er, tarball) is better configured. 
        
>
>>Bias warning: I am one of the system administrators for the Free
>>Software Foundation's machines at *.gnu.org.
>
>Seems to my that the people you work with would be an excellent group to
>rerun this benchmark, this time with a properly configured Linux system.

-- 

  "I was not elected to watch my people suffer and die     |||
   while you discuss this invasion in committe."          / | \

        In search of sane PPP docs? Try http://penguin.lvcm.com

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

From: Krishna Venbakkam <[EMAIL PROTECTED]>
Subject: Re: 'Network unreachable' Help!
Date: Fri, 16 Apr 1999 19:36:27 GMT



Michael Shtemler wrote:

> I receive "Network unreachable" message on ping
> after I recompiled my kernel (without changing something in source)
>
> I did it by next commands:
>
> >make dep
> >make clean
> >make zlilo
> >cp /vmlinuz /boot/vmlinuz
> >reboot
>
> I check my network configuration it seems to be o.k
>
> What can be a problem ?
> P.S i receive same message on ping to myself IP.

Normally, on my machine I use the following commands:
1. make dep; make clean; make boot
2. copy the newly compiled kernel to the /boot directory
3. suitably modify the /etc/lilo.conf file to execute the new kernel
4. run /sbin/lilo if the kernel is a new version for reintsalling lilo

Assuming that you are using an ethernet connection, sometimes the eth0
is not turned on while rebooting. This has happenned to me once while
recompiling the kernel on a laptop. The problem was temporarily
corrected by activating the eth0 device in the network configuration
menu(on X-windows term, run netcfg).

Hope this helps.

Krishna.


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


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