Linux-Networking Digest #280, Volume #12         Thu, 19 Aug 99 00:13:42 EDT

Contents:
  Ping Timeout? (Bill Pitz)
  Re: ppp compression missing (IceLava)
  Re: C++ templates:  More than Turing Complete? (Davin McCall)
  Re: ppp-isp-dns--Help! (sandrews)
  Re: yes!! samba! (sandrews)
  Re: ALSA (Bryan)
  Re: Samba: Linux and NT ("Kai Leibrandt")
  Re: Now that I have IP Masq running.... (Chris)
  using the ray_cs module, webgear's aviator2.4 completely crashes the machine 
(JEFMedmax)
  Re: Home network problems revisited (Lloyd Parsons)
  Re: Tulip.c (Dm.Ch.)
  Samba's last stand! ("Hiawatha Bray")
  Re: PPPD and ioctl(PPPIOCGUNIT):Operation Not Permitted (Clifford Kite)
  FTP PACKETS ("atreides")
  FTP PACKETS ("atreides")

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

From: Bill Pitz <[EMAIL PROTECTED]>
Subject: Ping Timeout?
Date: Thu, 19 Aug 1999 01:37:05 GMT

Ok, I'm really puzzled here.  Is there a simple flag to add onto the
Linux (specifically, RH 6.0) to make it timeout after a given amount
of time?  What I really want to do is run it with, say, '-c 3' and
time out on each one if there is no response after 2 seconds.  It
does time out on its own if you don't specify a number of packets,
but then it keeps on running (which I don't want, because I'm writing
it into a script).

Even the windoze ping program has a timout flag which is why I'm really
hoping that there is one for Linux.

TIA,

Bill

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

From: IceLava <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: ppp compression missing
Date: Thu, 19 Aug 1999 01:03:18 +0000

Don't worry abt it?  I thot in Linux u hada worry & take care of
everything
anyway it works thanx alot!

that's 1 problem off my list (taller than me).  now on to investigate
the other mysteries....

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

From: [EMAIL PROTECTED] (Davin McCall)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: C++ templates:  More than Turing Complete?
Date: Thu, 19 Aug 1999 02:18:03 GMT

Functionally equivalent is certainly possible - even if your assembly
is just a script interpreter with the script builtin. But I would go
one step further and say that it ought to be possibly to write an
algorithmically-identical (or algorithmically-very-similar) program.
Situations that the compiler couldn't handle might have to be handled
explicitly,  but I don't think it would be too big of a problem.

Incidentally, if a C++ compiler couldn't compile the example given to
demonstrate "why not all C++ programs can be compiled to finite
assembly code" (although some that can't could be run as a script), it
is a problem with the compiler design rather than any logical
impossibility.

eg

==== begin ====

template <class t> func(T x, int i)
{
        if( i > 0 ) func(&x, i - 1);
}

main()
{
        int i;
        func(i, 10);
}

===== end ====

This ought to be compilable, as it is algorithmically identical to the
following C program:

func2(void *x, int i)
{
        if(i > 0) func2((void *)&x, i - 1);

func1(int x, int i)
{
        if( i > 0 ) func2((void *)&x, i - 1);
}

main()
{
        int i;
        func1(i, 10);
}

==== end ====


The key is that func2 handles all the cases where 'x' is a pointer
sufficiently. As it never dereferences a pointer, and int * and an int
****** can be treated the same way.

Davin.


On Wed, 18 Aug 1999 18:01:19 -0700, David Schwartz
<[EMAIL PROTECTED]> wrote:

>
>> In fact, given any script which terminates (in any scripting language)
>> it should be at least *possible* to produce an equivalent assembly
>> program (or equivalent C program or whatever) of finite length and
>> complexity, should it not?
>
>       This question only seems interesting because you are not being precise
>in your use of the word 'equivalent'.
>
>       DS

__________________________________________________________
       *** davmac - sharkin'!! [EMAIL PROTECTED] ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/

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

From: sandrews <[EMAIL PROTECTED]>
Subject: Re: ppp-isp-dns--Help!
Date: Wed, 18 Aug 1999 21:46:27 -0400

On Tue, 17 Aug 1999, Marc Warren wrote:
>I have RH 6.0 installed and am trying (still) to get a "proper" internet
>connection . I have what appears to be a good ppp connection- the ISP
>accepts my PAP name and password, and gives me local and remote IP's,
>which can then be found with ifconfig. I have my ISP's dns IP addrresses
>in /etc/resolv.conf (?) as 2 lines--nameserver x.x.x.x (cr) nameserver
>y.y.y.y.
>I can even get thru to one or two sites with ftp and telnet if I use a
>good ip address. But I cant ping Anything! Nslookup hangs and eventully
>gives me a message to the effect that it cant get a response from either
>dns address, and server name not found.
>Netscape hangs forever, and tends to totally lock up the system.
>Another question-- one of my configuration files (/etc/hosts.conf?) has
>a line like "order hosts,bind" -- I've got the O'reilly book "DNS and
>Bind" and I still don't quite get what bind is-- or where it is. Can't
>find it in any of my directories, and the man page seems to refer to
>some kind of C function or something. Is this significant?
>Sorry if this post is a little weak on detail-- I'm still using someone
>else's Winbox... Thanks mw

Is the default route set??

You may also install a cacheing DNS server on your box and point your resolver
to 127.0.0.1 (localhost).   It will lookup inet sites without using your ISP
DNS servers.  You may find it is faster browsing that way for sites yuo use a
lot because your DNS server already has the info and need not go to the net to
resolve the ip.

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

From: sandrews <[EMAIL PROTECTED]>
Subject: Re: yes!! samba!
Date: Wed, 18 Aug 1999 21:45:00 -0400

On Wed, 18 Aug 1999, Lindoze 2000 wrote:
>I got windoze to see samba for the first time yesterday by accident!
>Today I got windoze to see files on my linux box via. samba by accident!
>now how can I add and remove shares on my linux?
>
>so say I want to add /home/thisguy and /mnt
>
>Later I decide to not show /mnt
>
>how would I do this? 
>
>

edit smb.conf

Your mileage may vary

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

From: Bryan <Bryan@[EMAIL PROTECTED]>
Subject: Re: ALSA
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Date: Thu, 19 Aug 1999 01:44:21 GMT

In comp.os.linux.development.apps Timo Tossavainen <[EMAIL PROTECTED]> wrote:
: I still wonder why they
: can't release the programming specs, what do they have to lose ?

fear on the part of the hardware vendors.  by describing the 'giftpaper
wrap' they think folks will be able to guess what kind of goodies are
inside the box.

of course you could have an ugly api that gives NO hits about how the
asics work.  and a clean one that implements to bad asics underneath.
but vendors don't want to risk letting ANYTHING out too soon.  aka,
paranoia...

-- 
Bryan, http://www.Grateful.Net - Linux/Web-based Network Management
->->-> to email me, you must hunt the WUMPUS and kill it.

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

From: "Kai Leibrandt" <[EMAIL PROTECTED]>
Subject: Re: Samba: Linux and NT
Date: Fri, 13 Aug 1999 10:07:08 +0100

This is a multi-part message in MIME format.

=======_NextPart_000_003D_01BEE573.9A1045B0
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


>I think you probably need to share the folders properly in Linux, not =
just in Samba.  I had this problem, but solved it by going into KDE (or =
Gnome or >whatever), browsing to the folder using file manager, then =
right clicking and selecting properties.  Check out who "owns" the =
folder and what group >owns it, too.  Make sure the permissions are set =
so that you can access the folder from other machines as a specific user =
or group member, then >give it another shot -- it'll probably work!


I don't think this is the problem. Have a look under <sambaroot>/docs, =
there is a file called NT4_PlainPassword.reg, this is a registration =
file for NT that will disable encrypted passwords on NT. Just ftp over, =
then double click.

HTH,


Kai.

=======_NextPart_000_003D_01BEE573.9A1045B0
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&gt;I think you probably need to share =
the folders=20
properly in Linux, not just in Samba.&nbsp; I had this problem, but =
solved it by=20
going into KDE (or Gnome or &gt;whatever), browsing to the folder using =
file=20
manager, then right clicking and selecting properties.&nbsp; Check out =
who=20
"owns" the folder and what group &gt;owns it, too.&nbsp; Make sure the=20
permissions are set so that you can access the folder from other =
machines as a=20
specific user or group member, then &gt;give it another shot -- it'll =
probably=20
work!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>I don't think this is the problem. =
Have a look=20
under &lt;sambaroot&gt;/docs, there is a file called =
NT4_PlainPassword.reg, this=20
is a registration file for NT that will disable encrypted passwords on =
NT. Just=20
ftp over, then double click.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>HTH,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DTahoma size=3D2>Kai.</FONT></DIV></BODY></HTML>

=======_NextPart_000_003D_01BEE573.9A1045B0==


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

From: [EMAIL PROTECTED] (Chris)
Subject: Re: Now that I have IP Masq running....
Date: Thu, 19 Aug 1999 01:55:58 GMT

On Thu, 19 Aug 1999 01:34:17 GMT, [EMAIL PROTECTED] (Eric Rouse)
wrote:

Are you trying to log in as root?  I don't think you can login as root
through a telnet session.  You can however su to root once you are in
the system.
Good Luck.

>I tried to connect to the gateway machine via telnet... I was
>presented with the login screen as I expected but the system wouldn't
>let me log in...  I didn't change anything other then the settings in
>the How-To I was following.
>
>
>Any thoughts?
>
>Regards,
>Eric
>


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

From: [EMAIL PROTECTED] (JEFMedmax)
Subject: using the ray_cs module, webgear's aviator2.4 completely crashes the machine
Date: 19 Aug 1999 02:09:47 GMT

When I start up pcmcia services using the ISA PC-card adapter that's given with
the Aviator2.4, sometimes it will work perfectly (on rare occasions), but
sometimes it crashes the machine with a stack trace and the only thing I can
see is this:
lots of stuff like [<c0107b75>] etc., and then:
Code: 89 50 04 b8 01 00 00 00 eb 03 90 31 c0 c7 41 04 00 00 00 00
Aiee, killing interrupt handler
Kernel panic: Attempted to kill the idle task!
In interrupt handler - not syncing

And then the machine freezes, can't type, can't do anything, not even
ctrl-alt-delete, have to use the reset button.

Anyone had this problem before?

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

From: Lloyd Parsons <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,alt.solaris.x86,comp.os.ms-windows.networking,microsoft.public.win98.networking
Subject: Re: Home network problems revisited
Date: Wed, 18 Aug 1999 21:30:40 -0500

"Steven D. Nakhla" wrote:

> Okay, after spending 3 hours with the tecnical support people today, I
> managed to get a great deal of the problems with my network straightened
> out.  Just to recap, I have a cable modem account and ordered another IP
> address so as to network 2 computers together.
>
> I am using a SOHOware 10/100 autosensinv 5-port hub.  It has ports numbered
> 1-5, as well as an uplink port to which the modem is connected.  The
> computers are connected on ports 1 and 2, however only my computer (the
> original IP which came with the service) is able to connect to the internet.
> The customer support people told me my account is flagged for multiple IP
> addresses, which means the problem lies with my computer setup/
>
> Could SOMEONE please tell me how to set this thing up!  My computer is able
> to connect through the hub to the internet.  However, the other computer is
> not.  Could you please tell me anytthing I might need to know regarding
> cabling, setup, software, etc.  ANYTHING!!!!  PLEASE!!!!
>
> Please reply to:
> Steve Nakhla
> [EMAIL PROTECTED]

This may  not be the issue, but here goes.  From my personal experience with
10/100 autosensing hubs, if one computer is running at 10mbit and another at
100mbit, the computers may not see each other.  This problem usually shows up
in the cheap small autosensors.

So, to test this, set both computers to 10Mbit, your cable modem is already at
10mbit by design.  This may work.  Unfortunately, I don't know enough about
Solaris to tell you how to control the speed on the card.

Lloyd



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

From: Dm.Ch. <[EMAIL PROTECTED]>
Subject: Re: Tulip.c
Date: Thu, 19 Aug 1999 03:08:36 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Ben W.) wrote:
> Hi.
>
> Does the tulip.c probe at io ports 0x6200 or greater for PCI network
> cards?
>
> I have a  PCI NIC using the Macronix 98715 PMAC Adapter, reported at
> io port 0x6200 from "cat /proc/pci".  I, however, have been very
> unsuccessful at getting the driver for this card installed using the
> "modprobe" program.   Just to be sure, I have also tried installing
> the ne.0, ne2k-pci.o, and de4x5.0 modules as well, none of which has
> detected the network card, yet.  I have turned off PnP OS in the BIOS
> as well.  The card is a generic Plug and Play 10/100 Mbps Faster
> Ethernet Adapter.
>
> Any other ideas are greatly appreciated.
>
> Thanks.
>
>

I have the problem like that too.
My card reported under W95 as NDC 10/100 FastEthernet PCI Adapter.

I trying to use tulip module.
Result is next:
tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED]
eth0: Macronix 98715 PMAC at 0xfc00, 00 80 c6 f9 2d 5d, IRQ 7.
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...
eth0: transmit timed out, status e4260000, CSR12 000050cc, resetting...

I found two additional program for debug, they reported:

tulip.c:v0.88 4/7/98 [EMAIL PROTECTED]
eth0: Macronix 98713 PMAC at 0xfc00, 00 80 c6 f9 2d 5d, IRQ 7.
VFS: Disk change detected on device fd(2,0)
tulip-diag.c:v1.12 7/31/99 Donald Becker ([EMAIL PROTECTED])
Index #1: Found a Macronix 98715 PMAC adapter at 0xfc00.
 Port selection is 10mpbs-serial, half-duplex.
 Transmit started, Receive started, half-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Waiting for Tx to finish'.
  The transmit unit is set to store-and-forward.
 Use '-a' to show device registers,
     '-e' to show EEPROM contents,
  or '-m' to show MII management registers.

pci-config.c:v1.06 7/24/99 Donald Becker ([EMAIL PROTECTED])
Device #3 at bus 0 device/function 13/0.
  053110d9 02900087 02000020 00004208 0000fc01 fffbfc00 00000000
00000000
  00000000 00000000 00000000 00000000 00000000 00000044 00000000
38080107
  00000000 92110001 00000000 00000000 00000000 00000000 00000000
00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
  Base Address 0: I/O at 0000fc00.
  Base Address 1: Memory at fffbfc00.
  Address 0 is I/O at 0000fc00, decoded bits are 000000fe.
  Address 1 memory at fffbfc00, decoded bits are 000000ff.
  BIOS ROM at 00000000, decoded bits are ffff0000.
  Extended capabilities, first structure at offset 0x44.
  Extended PCI capability type 1 at 0x44, next 0.
   Power management entry: Capability 9211, Ctrl 0000, Event 0000.
  Extended capabilities, first structure at offset 0x44.
  Extended PCI capability type 1 at 0x44, next 0.
   Power management entry: Capability 9211, Ctrl 0000, Event 0000.
  Waking up an ACPI device.  Currently powered up, I/O 0xfc01 IRQ 7.
  Updating the power state of 0000->0000.


Did anybody find a way to resolve a problem?


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: "Hiawatha Bray" <[EMAIL PROTECTED]>
Subject: Samba's last stand!
Date: 18 Aug 1999 20:21:44 PDT

Okay...I'm almost there.  But a new problem has arisen.  When I go to my
Windows machine and click on the Linux icon, it asks for a password.  I type
my root password on the Linux box--the only one I have on it--and it says
incorrect password.  I don't get it.  How do I log into my own computer?
Help!



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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: PPPD and ioctl(PPPIOCGUNIT):Operation Not Permitted
Date: 18 Aug 1999 21:49:50 -0500

Sean Costella ([EMAIL PROTECTED]) wrote:

:     I'm having problems setting up my PPP connection and have searched the
: web regarding this error.  What I have found on the net is that for most
: people this is a permission problem on their pppd and scripts calling pppd
: not being set with the suid bit.  However, in my case, I've checked by
: ppp-go, ppp-off, and pppd scripts and all have the suid bit set, and I'm
: trying to run it as root and I still get the Operation Not Permitted error
: message.  Currently I'm running Linux 2.2.6 and pppd 2.3.   I think I'm
: going to try and upgrade PPP to the latest version and see if it helps.  If

You have to set the device file permissions to  crw-rw-rw unless the
device filename is provided from a privileged source.  Check the pppd
man pages.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Microsoft is a great marketing organization.
 * It _has_ to be */

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

From: "atreides" <[EMAIL PROTECTED]>
Subject: FTP PACKETS
Date: Thu, 19 Aug 1999 11:06:49 -0400

Hi,

I would like to get my hand on a document that list the structure of an FTP
packet and the list of control commands that client/server send to each
other ... (i.e. what a connection request look like and the answer from the
server....)

Thx in advance.....

Hans St-Pierre
[EMAIL PROTECTED]




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

From: "atreides" <[EMAIL PROTECTED]>
Subject: FTP PACKETS
Date: Thu, 19 Aug 1999 11:08:30 -0400

Hi,

I would like to get my hand on a document that list the structure of an FTP
packet and the list of control commands that client/server send to each
other ... (i.e. what a connection request look like and the answer from the
server....)

Thx in advance.....

Hans St-Pierre
[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
******************************

Reply via email to