Linux-Networking Digest #798, Volume #11          Tue, 6 Jul 99 12:13:46 EDT

Contents:
  USB Modems and LINUX? ([EMAIL PROTECTED])
  FTP from browser (Susan Hess)
  Re: ip_masq_ftp (Flavio Curti)
  Re: FTP from browser (Flavio Curti)
  Re: Network Programming ("Matt")
  Re: Re Proxy Server (Flavio Curti)
  Re: Diald 0.99 + RedHat 6.0 (Villy Kruse)
  Re: proxy server configuration (Flavio Curti)
  Re: !connecting to Netware LAN using Linux (Mark Evans)
  how to get local IP address (root)
  Re: Diald 0.99 + RedHat 6.0 (Mike Jagdis)
  Re: Linux to Win98 running WinProxy (Gerd Roethig)
  Eth0 sending but not recving ([EMAIL PROTECTED])
  Re: !connecting to Netware LAN using Linux ("Karl Brian Barnes")
  Re: ip_masq_ftp ("W. den Boer")
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (De Messemaeker Johan)
  Re: How to get 2 NICs working together (Geert Altena)
  Re: eth0 default interface - eth1 can't be used ("Bob Glover")
  Re: Modem drops connection 2 sec after start (Clifford Kite)

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

From: [EMAIL PROTECTED]
Subject: USB Modems and LINUX?
Date: Tue, 06 Jul 1999 12:25:06 GMT

Howdy,

I saw Diamond's SupraExpress 56k modem suggested
as one of the best externals for Linux so I
went out and bought one.  However, I got a USB one
instead of a serial port one and I have not
found any literature on USB compatibility with
Linux.

Does anyone know if USB modems are compatible with
LINUX and where else I might go for
information on USB and LINUX?

Thanks,
    Rene


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

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

From: Susan Hess <[EMAIL PROTECTED]>
Subject: FTP from browser
Date: Tue, 06 Jul 1999 09:21:32 -0400
Reply-To: [EMAIL PROTECTED]

We recently setup a Linux box running Redhat.  We have FTP sites our
users can access via any FTP client suchas Voyager however we have not
been able to figure out how to provide access to the FTP accounts via a
web page. 

For instance, it would be nice to be able to log onto the web page and
select the correct user account - type in the user ID and password and
then gain access to the directory and files, to be able to
download/upload the same way you do when you download software from an
Internet site.  Any help would be very much approeciated. Thank you.

Any help would be very much

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

From: Flavio Curti <[EMAIL PROTECTED]>
Subject: Re: ip_masq_ftp
Date: Tue, 06 Jul 1999 15:21:37 +0200

> Does anyone know where I can find Fred Viles's FTP server patch for IP
> Masquerading?
> I need to recompile my kernel with it, otherwise my FTP-server won't
> work.
the file is included in the kernel source... do a "make modules && make
modules_install" after kernel-compile, and it gets compiled....

greetz

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

From: Flavio Curti <[EMAIL PROTECTED]>
Subject: Re: FTP from browser
Date: Tue, 06 Jul 1999 15:31:44 +0200

> We recently setup a Linux box running Redhat.  We have FTP sites our
> users can access via any FTP client suchas Voyager however we have not
> been able to figure out how to provide access to the FTP accounts via a
> web page.
> 
> For instance, it would be nice to be able to log onto the web page and
> select the correct user account - type in the user ID and password and
> then gain access to the directory and files, to be able to
> download/upload the same way you do when you download software from an
> Internet site.  Any help would be very much approeciated. Thank you.
> 
> Any help would be very much
just type ftp://ftp.server.com in your web-browser... 
or ftp://username:[EMAIL PROTECTED] to log in with username. if
you want a REAL web interface for your FTP, maybe you have to code it
yourself...

greetz

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

From: "Matt" <[EMAIL PROTECTED]>
Subject: Re: Network Programming
Date: Tue, 6 Jul 1999 08:25:39 -0500

Beej's Guide to Networking Programming
http://www.ecst.csuchico.edu/~beej/guide/net/

[comp.unix.programmer] Unix-socket-faq for network programming
http://www.cis.ohio-state.edu/hypertext/faq/usenet/unix-faq/socket/faq.html

BSD Sockets Intro
http://www.ecst.csuchico.edu/~chafey/prog/sockets/sinfo1.html

BSD Sockets: A Quick and Dirty Primer
http://world.std.com/~jimf/papers/sockets/sockets.html

The Network Book
http://www.cs.columbia.edu/netbook/

Introduction to network functions in C
http://homepages.stayfree.co.uk/zed/net/

Client Server Course
http://pandonia.canberra.edu.au/ClientServer/

Temple University socket programming intro
http://joda.cis.temple.edu/~ingargio/cis307/readings/unix4.html

Spencer's Socket Site
http://www.lowtek.com/sockets/

Unix Socket Programming in C FAQ
http://www.ntua.gr/sock-faq/html/unix-socket-faq-1.html

An Intro to Socket Programming
http://www.uwo.ca/its/doc/courses/notes/socket/



Michael Koops <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> does some documentation exist in the net about network programming ? If
yes,
> where can I get it ?
>
> Thanks,
> Mike
> -------------------------
> [EMAIL PROTECTED]
>



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

From: Flavio Curti <[EMAIL PROTECTED]>
Subject: Re: Re Proxy Server
Date: Tue, 06 Jul 1999 15:24:49 +0200

can't help you with squid, my advice: use apache-proxy... it's easy to
setup, just uncomment the proxy lines in the httpd.conf...

my five cents, greetz

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Diald 0.99 + RedHat 6.0
Date: 6 Jul 1999 15:31:06 +0200

In article <[EMAIL PROTECTED]>,
Mike Jagdis <[EMAIL PROTECTED]> wrote:



>Presumably "ifup ppp0" is something RedHat provide for configuring
>a ppp interface. You need to use diald scripts with diald. See the
>documentation and examples that come with diald. Or ask RedHat
>what to do.


As redhat has chosen not to provide diald with redhat linux there
is little chance the Redhat company will answer any diald questions.

There is, or used to be, a diald rpm package available on
ftp://contrib.redhat.com and its mirrors.  Same place a diald
configuration package.



Villy

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

From: Flavio Curti <[EMAIL PROTECTED]>
Subject: Re: proxy server configuration
Date: Tue, 06 Jul 1999 16:28:41 +0200

hi

> The NT machine uses a product called Proxy+ to allow dial up access from
> the other machines. The Linux machine is able to access HTTP and FTP
> through Netscape only, as Netscape has a proxy setup page; any services
> What files need to be configured in order to use the proxy services on
> the NT box for FTP, Lynx, Pine, etc...?
none, coz i'ts not possible... at least not with the nt-proxy server.
for you, the solution would be NAT, which is (imho) not implemented in
NT 4... but... kick the nt-machine and put a linux router on, it will do
NAT (via ip-masquerading) for your whole subnet, and almost every
service... 

hope this helps...

greetz


remove SPAM from email to email:)

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

From: Mark Evans <[EMAIL PROTECTED]>
Crossposted-To: comp.os.netware.misc
Subject: Re: !connecting to Netware LAN using Linux
Date: Tue, 6 Jul 1999 14:59:30 +0100

Karl Brian Barnes <[EMAIL PROTECTED]> wrote:

> After spending a substantial amount of time on setting up samba on a
> Mandrake box, I feel confident is saying that there is no SIMPLE
> documentation for Linux... :)  I only got it working because I happened to
> hit upon a combination of 5 or 6 documents in various places that gave me
> enough clue to put it together...

Unless the task involved is simple it is difficult to have "simple"
documentation, without it also being *incomplete*.

-- 
Mark Evans
St. Peter's CofE High School
Phone: +44 1392 204764 X109
Fax: +44 1392 204763

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

From: root <[EMAIL PROTECTED]>
Subject: how to get local IP address
Date: Tue, 06 Jul 1999 09:55:17 -0400

This is a multi-part message in MIME format.
==============0ED2B55678B21406BBCAB2B1
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I wote a GUI based FTP client application in Java1.2. Works fine in
Windows 95/98 but has problems when it runs on Unix/Linux. Java has a
built method to return the IP address of the local host. In Win 95/98
this works fine but in Linux (not networked -- using a PPP connection
with a dynamically assigned IP address) or on my school Unix  acount
this method returns 127.0.0.1 . In order to retreive files from a FTP
server I have send a PORT command that includes the IP address to get to
my machine from the outside world.   I can get this on Linux (logged in
as root) by running ifconfig  ppp0  and doing the appropriate string
parsing.  I know there must be some better way i.e more general to get
the local IPAddress. I can't find any way to do this on my Unix account
because I don't have root privledges. Netscape and other programs seem
to be to able to do this.  Any help would be greatly appreciated.

==============0ED2B55678B21406BBCAB2B1
Content-Type: text/x-vcard; charset=us-ascii;
 name="budh.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for root
Content-Disposition: attachment;
 filename="budh.vcf"

begin:vcard 
n:howell;clewell
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:clewell howell
end:vcard

==============0ED2B55678B21406BBCAB2B1==


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

From: [EMAIL PROTECTED] (Mike Jagdis)
Subject: Re: Diald 0.99 + RedHat 6.0
Date: 6 Jul 1999 13:15:24 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Martin Ewing wrote:
>
>I have been looking at Diald 0.99 to set up demand dialing on RH 6.0,
>but it is not obvious how to fit it together with 'ifup ppp0' management
>that I am using now.  Are there other ways to do this without rewriting
>all the ppp scripts?

Presumably "ifup ppp0" is something RedHat provide for configuring
a ppp interface. You need to use diald scripts with diald. See the
documentation and examples that come with diald. Or ask RedHat
what to do.

>Is there a place to go to get configurations (even RPMs :) appropriate
>for RH 6.0?

RedHat?

                                Mike

-- 
    A train stops at a train station, a bus stops at a bus station.
    On my desk I have a work station...
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:[EMAIL PROTECTED]   |
|  Roan Technology Ltd.         |                                      |
|  2 Markham Mews, Broad Street |  Telephone:  +44 118 989 0403        |
|  Wokingham ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

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

From: [EMAIL PROTECTED] (Gerd Roethig)
Subject: Re: Linux to Win98 running WinProxy
Date: Tue, 06 Jul 1999 23:16:20 GMT

Hello,

Am Wed, 30 Jun 1999 13:59:58 -0400 "Fomer" <[EMAIL PROTECTED]>
wrote:


>Got a problem here.  I have a WinDoze 98 machine running WinProxy and a
>Linux (OpenLinux 2.2) box connecting through the 98 machine to the Internet.
>Everything works  fine for browsing, downloading, email, etc. but when it
>comes time to do anything else I get a "network unreachable" error.    I was
>thinking that it has something to do with not being able to resolve the
>names of the servers I am trying to reach,  any suggestions?
>
>One other thing....I can't ping my IP DNS server from the Linux box....it
>gives me the "network unreachable" error.

That is due to the way a proxy is working. It does not transparently
translate your datagrams to another IP address. What you needed in
this case was a program like NAT32 (http://www.nat32.com/index.htm).
Whan using a proxy, you will _not_ be able to ping, telnet or ftp to
hosts outside your LAN unless the proxy program supports that. Most
proxies require special application setup or commands. Refer to the
manual that came with the proxy for details.

>I can't connect to Seti@home or RC5Des servers....I get "network
>unreachable" in Seti@home and "unable to resolve..." in RC5.

In SETI@home you should be able to set up a connection using your
proxy. With programs that do not have such a feature you are a little
bit out of luck. Sometimes the proxy program supports mapping or
bridging for special TCP/IP ports but then you are only able to
connect to one certain host outside the LAN.

If you want to avoid fiddling around with the proxy settings either
use something like NAT32 on the Windows box or the Linux box as
Internet gateway itself.

Cheers

Gerd

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

From: [EMAIL PROTECTED]
Subject: Eth0 sending but not recving
Date: Tue, 06 Jul 1999 13:10:58 GMT

I've got RedHat 6.0 that I'm setting up on my
computer with a 3c509 card connecting to a cable
modem.  My problem is that I can't get the card
to receive data.  I can tell that it is sending
OK because if I try to ping a remote address I
can see the lights flashing on the cable modem
for both send and receive but Linux shows 100%
packet loss.  Can anyone offer a suggestion?  If
so please email me at [EMAIL PROTECTED]
(remove the NO_SPAM) because I don't have easy
access to a good usenet server.

Thanks.


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

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

From: "Karl Brian Barnes" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.netware.misc
Subject: Re: !connecting to Netware LAN using Linux
Date: Tue, 6 Jul 1999 11:00:16 -0400

Mark Evans <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Karl Brian Barnes <[EMAIL PROTECTED]> wrote:
>
> > After spending a substantial amount of time on setting up samba on a
> > Mandrake box, I feel confident is saying that there is no SIMPLE
> > documentation for Linux... :)  I only got it working because I happened
to
> > hit upon a combination of 5 or 6 documents in various places that gave
me
> > enough clue to put it together...
>
> Unless the task involved is simple it is difficult to have "simple"
> documentation, without it also being *incomplete*.
>

Agreed, however one of the drawbacks that I have been running into with
Linux is that documentation is often incomplete. i.e. going to 5 or 6
different sources to get enough information to setup Samba. Now, don't get
me wrong, I'm fairly impressed with the o/s and, as a lotus notes shop, we
may well be using it in the near future, depending on how the winds blow at
IBM. We will always be NetWare shop as our primary NOS, but I'm always
willing to learn, integrate & support anything that makes our environment
more dynamic for our users.

Of course, since NT documentation amounts to using a Ouija board and a
Scrabble set, I should be used to this sort of thing by now.

--
k.
[EMAIL PROTECTED]
remove the . between zz and app to get the real e-mail address.
==========
"MOM!!! Kitty's being a dildo!!!"
"Well, then I know a certain kitty kitty who's sleeping with mommy
tonight." - Cartman & Mom





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

From: "W. den Boer" <[EMAIL PROTECTED]>
Subject: Re: ip_masq_ftp
Date: Tue, 06 Jul 1999 15:46:35 +0200



Flavio Curti schreef:

> > Does anyone know where I can find Fred Viles's FTP server patch for IP
> > Masquerading?
> > I need to recompile my kernel with it, otherwise my FTP-server won't
> > work.
> the file is included in the kernel source... do a "make modules && make
> modules_install" after kernel-compile, and it gets compiled....
>
> greetz

Thanks,
Wouter





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

From: De Messemaeker Johan <[EMAIL PROTECTED]>
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark?
Date: Tue, 06 Jul 1999 16:47:22 +0200

Gene Heskett wrote:

> I could point out the spelling error, but if I did, then you'd point out
> mine...

I'm busy learning English :-)) I have read quite a few English books (quite
easy) but it's not so easy to write it. So i'm practicing here. I know i make
lots of mistakes but the only time i have to write here is between two
compile-sessions. You know how it is :-)

>  For the most part, I have to agree with you.  The courts have
> systematicly taken our educational system apart, in the name of
> seperating religious freedom from education, and in making sure all
> students have equal opportunities, in my opinion equal to the lowest
> common denominator.  Far more money is wasted on the lower IQ child than
> on the higher IQ one.  Anything that attempts to be better is screamed
> about in court, usually successfully, because 'their' kid can't cut it.

Same here in Europe. We (Belgium) supposed to have 'the best level of education
in the world'. This was stated by English, French en American research teams.
Meanwhile, they are 'reforming our education system'. And i can tell you, it
looks like crap. Did you know they want to cancel history ? And geografy ?

> Sorry, you pulled my trigger, I was a victim of such attitudes, unspoken
> but prevalent, even 50+ years ago.

I'm sorry if i pulled your trigger but i like a good discussion :-) I'm not
trying to offend you ...


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

From: [EMAIL PROTECTED] (Geert Altena)
Subject: Re: How to get 2 NICs working together
Date: 6 Jul 1999 15:51:17 +0200

"Carl Filpo" <[EMAIL PROTECTED]> writes:

>I am trying to get 2 NICS to work together at the same time - kernel 2.0.36.
>eth0:     203.38.101.229/30  (registered ip)
>eth1:     192,168.0.30/24 (private)
>I have a network on the private lan with 192.168.0.x addresses and
>I can't ping the 192.168.0.30 NIC.  The other 192.168.0 PCs can
>ping each other but I get nothing to/from the 192.168.0.30 in the linux
>host.
>From the linux host I can ping 192.168.0.30 (the NIC inside the linux host)
>but no other 192.168.0.0 hosts.
>I think I have configured eth1 wrong with ifconfig but I'm not sure.  A host
>on the eth0 network (203.38.101.230) can ping 192.168.0.30 (eth1).

A host on the _outside_ NIC can ping the _inside_ network, ie. a IP# in the
192.168.x.x range??? That sounds fishy as normally the packets in the
192.168.x.x range aren't allowed to leave via the outside NIC, unless
they are masqueraded...

>Here is how I configure the 2 NICs - /etc/init.d/network (debian 2.1)

[snip]

>Am I doing something wrong here ?

ifconfig and network config look okay as far as I can see...

What does "route" say?

HTH,
\Geert.
-- 
Geert Altena | [EMAIL PROTECTED] | Coffee, black, no sugar
         Finger for PGPkey : Diffie-Hellman 2048/0xC540C550 
Spookline (Hi there!) : FBI CIA NSA Scud ICBM VX Iraq DIA DEA EFF PGP

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

From: "Bob Glover" <app1rtg_at_air.ups.com>
Subject: Re: eth0 default interface - eth1 can't be used
Date: Tue, 6 Jul 1999 13:23:34 +0100

What does your routing table look like?

Richard B. Parry wrote in message <7loue9$6nu$[EMAIL PROTECTED]>...
>Hi All;
>
>I'm trying to build a firewall with kernel 2.2.10.  I've also used
>2.2.9, with similar results.
>
>Whilst I can get networking going, so to speak, the machine sends every
>packet through eth0.  So, whilst it knows that there's a directly
>connected subnet on eth1, it will send it all via eth0.
>
>If I rebind eth0 to be the other card, it works fine (so, it appears to
>be a software, rather than hardware, issue).
>
>What's really wierd is that regardless of which card is in use,
>ifconfig will only increment tx and rx from ifconfig for eth1.
>
>I've also tried enabling ip forwarding within the kernel (/prc support,
>sysctl support, echo to the /proc point at bootup) and it makes no
>difference.
>
>Any idea what's going on?  I've not use a 2.2.x kernel before, but have
>had this working no issues on a 2.0.x kernel.
>
>Cheers
>
>Richard Parry
>--
>Richard Parry                              [EMAIL PROTECTED]
>Tonic for the thinking man.                            ICQ UID 880301
>+64 2 166 4655             http://homepages.paradise.net.nz/~richard/




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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: Modem drops connection 2 sec after start
Date: 6 Jul 1999 08:35:29 -0500

[EMAIL PROTECTED] wrote:

: 3) Under linux new ISP answers, connection is made
: at reasonable speed (24-28.8kbps) in V.42bis mode,
: then about two seconds later modem gives a "NO
: CARRIER" message and hangs up.

We need more than this to guess what's happening.  Add the pppd debug
option and the chat -v option and find the chat connection messages and
pppd PPP link negotiation messages.  They are in /var/log/messages and
/var/log/debug here but it varies with distribution.  They should be
in one of the files in /etc/syslog.conf though.

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Editing with vi is a lot better than using a huge swiss army knife. */

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


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