Linux-Networking Digest #785, Volume #11 Mon, 5 Jul 99 02:13:39 EDT
Contents:
Re: SMB over PPP (David Efflandt)
Re: UTP vs coax (Hilton Travis)
modem works in minicom but not ppp (Cory Blackburn)
how to connect 2 Linux PC's directly? ([EMAIL PROTECTED])
Re: Web + SQL help!! (Robert Lynch)
ARP Resolution Problem ("Chan Tan")
Re: please advise how linux gateway on nt network ("Andrey Smirnov")
Re: Installing RH linux onto P166 laptop ("Ng, Choon Hooi")
Newbie problems with ethernet (Chanodin L. Rahl)
SSH2 Client (assakhof)
Re: WebCam & Linux? ([EMAIL PROTECTED])
Re: SSH2 Client (Rupa Schomaker)
Re: C++ templates: More than Turing Complete? (Davin McCall)
Re: Want network file server - not internet (Scott Marlowe)
Re: Web + SQL help!! (Scott Marlowe)
Re: Killer Server Program for Linux (Paul Anderson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: SMB over PPP
Date: 5 Jul 1999 03:10:51 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 4 Jul 1999 21:06:13 +0100, Robert Mintram <[EMAIL PROTECTED]>
wrote:
>Hi All
>Anyone know if its possible to get the smb protocol working
>over a ppp dialup link? I want to be able to map a network
>drive on my server after I have dialed-in. The client is
>WinNT/Win95 and the server is Linux redHat 5.2 running
>Samba. Any help would be appreciated.
>Regards
>Bob Mintram
>I apologise if the answer is in a FAQ somewhere. I looked
>but could not find anything pertinent.
I know nothing about NT, but mapping a drive across ppp is no problem if
you know its name. However, I never could figure out how to get the
remote to see the LAN smb broadcasts even when I used proxyarp and could
see the remote IP in samba's wins.dat, so the LAN machines did not appear
in the remote's Network Neighborhood.
As a workaround, I set something up in /etc/ip-up.local and /etc/auth-up
to plug the remote IP and username into /etc/lmhosts (assuming that the
remote machine had the same name as the user) and then everything worked
including Net Neighborhood.
I just cannot access those files at the moment to give you an example.
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: Hilton Travis <[EMAIL PROTECTED]>
Crossposted-To: alt.irc.networks,alt.os.linux,comp.sys.ibm.pc.hardware.networking
Subject: Re: UTP vs coax
Date: Mon, 05 Jul 1999 13:24:57 +1000
Hi Verheijen,
Verheijen wrote:
> Why would I take UTP instead of coax?
> It's about 10Mb; maximum number of computers: 8.
> Running Linux and Windows95
>
> Thanks in advance.
>
> Wouter Verheijen
> [EMAIL PROTECTED]
As regards 10Base2 (Coax) cabling:
1. If there is a cable break anywhere on a 10Base2 network, quite
often all machines will fail to see each other - the whole network just
stops.
1a. Cable faults are often time consuming to locate and fix.
2. If a network card starts to jabber (continually transmit crap),
then the entire network will slow down to a crawl, and it is often time
consuming to locate and replace the NIC.
3. If the future needs of the network outgrow 10Mb/s, then you need
to completely rewire the building and replace all the network cards.
This is time consuming, and expensive (double the cost of wiring it
once).
4. There is no need for a hub with 10Base2 ethernets.
As regards 10BaseT (Cat 5 UTP) cabling:
1. If there is a cable break anywhere on a UTP network, there is only
one computer affected (unless it is the server's patch cable, of
course).
1a. It is really quite easy to locate the faulty cable.
2. If a network card starts to jabber (continually transmit crap),
then the port on the hub is partitioned (taken out of circuit) so the
entire network will not slow down, and the hub will indicate this
partitioning by a LED indicator.
3. If the future needs of the network outgrow 10Mb/s, then you can
use the same cabling (Cat-5 cabling is used for both 10Mb/s and 100Mb/s
ethernets) and NICs (if you used 10/100 NICs in the first place). All
you need to replace is the hub/switch. This is much more cost
effective.
4. You need a hub for 10BaseT ethernets. These are, however, quite
cheap these days.
Regards,
Hilton
------------------------------
From: [EMAIL PROTECTED] (Cory Blackburn)
Subject: modem works in minicom but not ppp
Reply-To: [EMAIL PROTECTED]
Date: Mon, 05 Jul 1999 03:23:51 GMT
I had posted a message here a week or so ago in relation to my 33,6
phoebe modem working in minicom but not working in ppp under slakware
4.0. In the event that someone may be having the same problem, I fixed
mine simply by switching the jumpers from irq 7 to irq 3 .
Regards
------------------------------
From: [EMAIL PROTECTED]
Subject: how to connect 2 Linux PC's directly?
Date: 4 Jul 1999 19:33:50 -0700
hello network experts.
simple problem I hope.
I'd like to connect my 2 PC's at home together while one of them remain
connected to the net. Do I need to buy some kind of hub
concentrator device? (I allready have one connected using DSL via
the phone company, and I just brought a new PC).
diagram below.
I'd like to keep PC/A connected to network. But PC B I do not
need to be connected to outside network (so I can give it any
IP address I want), I just need it to be connected to PC/A to be able
to ftp files between the 2.
(I can offcourse connect the two PC's directly, and I did that,
and that worked (I needed to remove the router gateway entry from
PC/A every time though) but if I do that, then I would not be able to
use PC/A on the network at the same time, without having to plug the correct
cable in, and set the router for the correct gateway every time.
I though may be I can add a second Ethernet card to PC/A
and use that to connect PC/B into.
this is my current configuration
+-------------+ +------------------+
| PC A | | PC B |
| | | |
+-Ethernet----+ +-- Ethernet card--+
Card |
| |
| 10baseT cable TO A <---+
| how??
+-------------+
| DSL digital |
| modem |
+-------------+
|
| phone line
|
|
thanks for any advice.
Kirck
------------------------------
Date: Sun, 04 Jul 1999 20:46:28 -0700
From: Robert Lynch <[EMAIL PROTECTED]>
Subject: Re: Web + SQL help!!
[posted & e-mailed]
Nemeses wrote:
>
> My company has placed me (an intern) in charge of installing a linux web
> server, I have easily done that using Apache (latest version), now they want
> me to install an SQL Database.
>
> First Question:
>
> Since this is a test of my skills and know how, I am relying on an expert to
> help me out. I have no idea how to do this, which Database to use,
> preferably a free one. I thought about using mySQL but there are so many.
> I need the easiest one, because I have to make it work with some HTML
> documents.
>
> Second Question:
>
> After getting the SQL DB and installing it how do I use and manage it. I
> have little experience with Java programming and other types of languages.
> I know by using WinNT this could be done rather easily, but the company is
> making a comparison between their existing WinTel machines and this
> Slackware Linux Web Server.
>
> Please Help- - - - Extremely Distraught
>
> By the way, is Slackware the best choice to go by??
>
> Please direct all replies to [EMAIL PROTECTED]
You might find this step-by-step tutorial of interest:
http://cs.sau.edu/~cfisher/uw/018.html
--
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
http://www.best.com/~rmlynch/
------------------------------
From: "Chan Tan" <[EMAIL PROTECTED]>
Subject: ARP Resolution Problem
Date: Mon, 5 Jul 1999 11:55:08 +0800
Hi Guys ,
I've just hooked up a Red Hat 6.0 box to my NT network. It's just that I
can't ping any nodes on the network. Upon investigating the problem, I found
that whenever I ping, the Box sends out ARP broadcasts which goes unattended
by the network. Likewise I can't ping the Linux Box from my Win95 machine. I
am a newbie to Linux and I had no Problem installing it. I am using 3c509
kernel drivers for my 3com509b card.
I'm pretty sure you guys would have solved a similar Problem to this, please
let me get out of this unknown problem to explore the advanced capability of
Linux ,
Regards
Ansari
[EMAIL PROTECTED]
------------------------------
From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: please advise how linux gateway on nt network
Date: Sun, 4 Jul 1999 21:26:13 -0700
Hello,
Check the following site out:
http://members.home.net/ipmasq/
Good luck!
Dawn Remington wrote in message <[EMAIL PROTECTED]>...
>i have a linux box RH 6.0 that i want to attach to an existing nt network
>and use as a gateway for internet access. i am sure there must be a writeup
>describibg how to do this. can someone advise me where?
>
>Dave Stevens
>[EMAIL PROTECTED]
>
>
------------------------------
From: "Ng, Choon Hooi" <[EMAIL PROTECTED]>
Subject: Re: Installing RH linux onto P166 laptop
Date: Mon, 05 Jul 1999 10:21:14 +0800
Reply-To: [EMAIL PROTECTED]
Hi,
Bill, thanks for your info. At first I installed it with RH5.2, then I upgraded it
with
6.0. The upgrading to 6.0 is pretty much painless. Things seem to work okay, except RH
doesnt recognize my build-in AMD PCNet 10BT network card and my build-in USR 56K
modem. I
can't confirm for sure if RH6.0 is supporting them, but upon booting up RH, I dont see
any
mesg mentioning my network card & modem. I did a 'dmesg' to check, and indeed nothing
abt
nic/modem mentioned there. I tried setting up the eth0 under netconf, but I am not sure
which kernel module to select.
Is the AMD PCNet Nic driver compiled in RH6.0 ?
Can anyone help me out on this? Thanks in advance.
Rgds,
CH
> > Hi,
> > I am planning to install RH linux 5.2 onto my P166 Hitachi laptop,
> > which serves as a server for my LAN. 2 reasons of doing that. 1. It is
> > the most powerful PC among all my PCs. 2. I travel once in awhile, and
> > hence I need to connect to a different network.
> > Things that I wanna setup are: network connection, PPP, IP Masq &
> > Email.
> > My laptop specs:
> > Hitachi P166 MMX, 64 MB, build-in sound card, build in modem, build-in
> > 10BT nic, 3.5" drive, and CD-ROM (build-in)
>
> As long as the installer picks up your CD-ROM drive, you're probably on
> your way. I've installed it on several laptops both for my own use and
> for other people. I haven't run into any problems yet. If you want to
> run X, you might check into the compatilibity of your video chipset with
> the XFree86 servers... pretty much everything runs under the SVGA server
> these days, but there are still some weird proprietary chips that might
> not work. Also, make sure the built-in modem is not a Winmodem...
>
> If you can get it, I would aslo recommend getting Red Hat 6.0 as the
> 2.2 kernel and some of the new software have much better support for
> PCMCIA/Builtin devices.
>
------------------------------
Subject: Newbie problems with ethernet
From: Chanodin L. Rahl <[EMAIL PROTECTED]>
Date: 5 Jul 1999 00:09:25 -0500
Where to start...
I've been attempting to get my cable connection working for the last half-
week; ever since I finished installing Mandrake 6.0 on my computer. [Specs
as follows:
Intel Celeron 333
64 MBSDRAM
CL VooDoo Banshee 16MB
Acer BH6 Mainboard
]
The network card that I had did not work. So I purchased a new one, and at
the store specifically asked for one that would work under linux.
I purchased an Ovislink RealTek RTL8129/8139 Fast Ethernet Adapter.
Under protocol for this it says CSMA/CD. Under standard it says IEEEF802.3
and IEEFE802.3U
Under drivers support including the relevent part is SCO Unix: 8029R,
8129TX
I was told on an IRC channel to type modprobe rtl8139 and then run netcfg.
I typed modprobe rtl8139. Nothing appeared to happen [a new command line
came up], but I took that for normal for that command, started x and under
konsole typed netcfg.
The information I entered was based entirely off what I derived from
winipcfg. The only one question I in netcfg was about gateway. Are gateway
and default gateway the same, ie when there is a blank line beside either
one asking for information do I enter the same IP for both?
I remember reading somewhere on linux.com that this ethernet card is not
eth0, but apt0. If this is one of the trouble causing factors, please
notify me.
I run netcfg, supposedly entering the correct information. However when I
save and exit, under konsole, something along the lines of cannot detect
eth0 is displayed. I cannot connect to the net still.
I've followed what the LDP says, and what the linux.com guide says. I've
been using linux for less then a week, and what I really would appreciate
is someone to explain the entire process of setting up internet access to
me, as opposed to saying "consult the net3 howto". I have done that already
so many many times.
Following is the information displayed under winipcfg:
Host name: chanodin.cgocable.com
DNS Servers: 192.168.0.1
Node Type: broadcast
NetBIOS Scope Id: [blank]
IP Routing enabled: [blank] wins proxy enabled: [blank]
NetBIOS Resolution uses DNS: checkmark
Adapter address: 00-4F-4E-00-10-98
IP Address: 24.226.19.89
Subnet mask: 255.255.248.0
Default gateway: 24.226.16.1
DHCP server: 24.9.2.70
primary wins server: [blank]
secondary wns server: [blank]
------------------------------
From: assakhof <[EMAIL PROTECTED]>
Subject: SSH2 Client
Date: Mon, 05 Jul 1999 12:40:32 +0800
Hi,
Where can I get SSH2 client (for window95).
Thanks in advance
-khof
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps
Subject: Re: WebCam & Linux?
Date: 4 Jul 1999 18:59:37 GMT
Bachir Djafri <[EMAIL PROTECTED]> schrieb
am Wed, 30 Jun 1999 14:34:08 +0200 in comp.os.linux.development.apps:
BD> Hello,
BD> I have a WebCam (pc camera) and want to
BD> know how to use it with Linux?
BD> Does anyone know how to do?
Yes, ask the manufacturer for a driver.
mfG
Jojo
--
- Professionelle Linux Server, Professioneller Support und Dienstleistungen ---
- AutomatiX GmbH - Vollautomatische Kransteuerungen & SAP f�higes Lagerger�t -
- J�rgen Sauer Neue Str. 11 28790 Schwanewede mailto:[EMAIL PROTECTED] -
- +49 4209-4699 +49 172-5466499 FAX +49 4209 4644 http://www.automatix.de -
------------------------------
Subject: Re: SSH2 Client
From: Rupa Schomaker <[EMAIL PROTECTED]>
Date: Mon, 05 Jul 1999 04:50:12 GMT
Secure CRT 3.0 has support for ssh1 and ssh2. http://www.vandyke.com
assakhof <[EMAIL PROTECTED]> writes:
> Hi,
>
> Where can I get SSH2 client (for window95).
>
>
> Thanks in advance
>
> -khof
--
-rupa
------------------------------
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: Mon, 05 Jul 1999 05:21:23 GMT
On 4 Jul 1999 02:56:21 -0700, [EMAIL PROTECTED] (Nathan Myers)
wrote:
>>So you are saying that the choice of programming language is an
>>engineering issue, not a computer science issue?
>
>Of course. Science has nothing to say about construction methods.
Alright, I'll grant that.
>>But why C++ code? The same principles found in the C++ language are
>>applied in other languages also.
>
>Some are. Many aren't. You don't know which ones before you even start.
True - but that won't stop you from learning them if you study them.
For instance, studying Javascript would reveal some principles that
are also used in the C++ language.
I don't really want to go in to the evolution of languages, but how do
you think C++ came into existence? Most of the principles probably
came from other programming languages. Others would have come from
attempts to get around problems with other languages. Perhaps C++ has
changed over time, with further enhancements/modifications, in order
to address other shortcomings. My point, though, is that the other
languages had influence and that C++ has borrowed some ideas from
them, *and also* that other ideas (or 'principles' if you like) in
C++ came from study of other languages problems as well, perhaps with
a bit of imagination thrown in... What if C++ didn't exist? Surely, an
equally good language (using the same principles) could be invented to
take its place. Suppose that someone who didn't know about C++
invented such a language. Do you think that person would still need to
study the C++ language in order to understand its principles?
>You are starting from the assumption that you already know all
>the important principles. If you actually want to learn anything,
>you must begin by assuming you don't know everything yet.
I said nothing to indicate any such assumption.
>>I disagree. My reasons have been stated. You are saying something
>>analogous to this:
>>
>> "if you want to know how a fuel injected engine works [-> the
>>principles behind it], you must study the engine in car {X}. Although
>>cars {Y} and {Z} have similar engines, studying them will not reveal
>>*any* of the principles used to design the engine of car {X}."
>
>If you need an analogy, how about:
>"What are you looking for?"
>"My keys. I dropped them over there".
>"Why are you looking here?"
>"The light's better here."
Well there, that's your own analogy - and if it's a good one, it
clearly demonstrates a logical flaw in your argument. (Personally I
can't see where you got this analogy from).
>If you want to know why car {X} wins races, studying {Y} and {Z}
>(which don't) is no substitute for a very careful study of {X}.
But why would I want to know why C++ is so popular/good? The issue
that you brought up was that it wasn't possible to understand the
principles of C++ without studying C++. Perhaps you are right if by
"understanding the principles of C++" you mean "knowing what the
principles of C++ are, as well as understanding them" instead of
"understanding the principles of C++, though not necessarily realising
that they are in fact used in C++".
from an earlier post:
>>>Of course some other languages will achieve parity, someday, but
>>>only those designed by people who fully understand the strengths of
>>>standard C++. Maybe such a language will even succeed in avoiding
>>>its weaknesses.
>>
>>I take it that you mean they must understand the principles, although
>>not necessarily how they are applied in C++.
>No, absolutely the opposite!
You are saying that someone can't better C++ without first studying
C++!! This is absolutely wrong. A better language could be developed
in exactly the same way as C++ was, without ever even knowing that C++
existed.
This is getting very philosophical. It makes sense that if someone
today wanted to create a language better than C++ they would sit and
study C++ in great depth first. Perhaps this is all you are trying to
say?
Davin.
__________________________________________________________
*** davmac - sharkin'!! [EMAIL PROTECTED] ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/
------------------------------
From: Scott Marlowe <[EMAIL PROTECTED]>
Subject: Re: Want network file server - not internet
Date: Sun, 04 Jul 1999 12:37:04 -0600
[EMAIL PROTECTED] wrote:
> After 1 week of spare time I have Redhat 6 Server running and can ping
> it from NT workstation.
>
> I thought to replace current 1.8 gig win95 file server that runs Netbui,
> TCP/ip, and MacLan
> with Linux using TCP/ip protocol
>
> On the original server I have a partition set up as Data and then a
> subdirectory of a to z with customer files in directorys by their name
>
> I assumed Linux would be good as a file server but only seem to see
> info on WEB serving. If I am right can someone explain what I should do
> to be able to see and copy to the Linux Server and into what partition
> to copy the contents of my other file server.
You can use Samba to provide networking support for Windows clients. Samba
presents directories from Linux to the Windows machines as though the Linux
box was an NT file server (for the most part.)
If you haven't already installed Samba, run Glint in Xwindows and find it
under networking, listed as samba. Install it, and then edit the
/etc/smb/conf file to create the network shares.
One very nice feature of Samba, that is sorely lacking in NT, is the
ability to serve up shares based on user name or client machine name.
So, instead of using that hackish stuff that NT forces on you (i.e. user
dirs under letters, big ugly mess for users to navigate) you can create
shares in /home based on usernames, then samba can share each user dir out
only to those users. Other users don't even see the shares.
Look in the /usr/doc directory for a directory named something like
samba-2.0.3 or something similar. It should have all the docs you need to
get samba up and running.
------------------------------
From: Scott Marlowe <[EMAIL PROTECTED]>
Subject: Re: Web + SQL help!!
Date: Sun, 04 Jul 1999 21:49:57 -0600
Nemeses wrote:
> My company has placed me (an intern) in charge of installing a linux web
> server, I have easily done that using Apache (latest version), now they want
> me to install an SQL Database.
>
> First Question:
>
> Since this is a test of my skills and know how, I am relying on an expert to
> help me out. I have no idea how to do this, which Database to use,
> preferably a free one. I thought about using mySQL but there are so many.
> I need the easiest one, because I have to make it work with some HTML
> documents.
While looking at databases and web sites, look also at what you'll use to
program the web site to access the database. I'd strongly recommend that you
investigate using something like PHP. PHP is a fairly fast server side
scripting language that is imbedded into Apache via a module. It allows you to
put all your "CGI" type code into the .html pages, and has lots of power when
it comes to things like string manipulation, database access, and running
external programs if you need to do something a bit "out of it's box."
Also, look into perl_mod if you are gonna program in PERL for database access.
> Second Question:
>
> After getting the SQL DB and installing it how do I use and manage it. I
> have little experience with Java programming and other types of languages.
> I know by using WinNT this could be done rather easily, but the company is
> making a comparison between their existing WinTel machines and this
> Slackware Linux Web Server.
Almost any SQL DB will come with an adminitrator's guide. I've tinkered a bit
with mySQL and PostreSQL, and like them both. Many other databases are
available. mySQL is designed for speed, but is missing some of the more
esoteric things you might expect if you were gonna do OO db programming.
Basically, I'd go to google.com and do a search on linux and SQL. But the
important things to look at when considering a database are speed, relibility
and features. If you need to yank tons of data out of your database every
minute or two, don't pick something slow to run it in, pick something fast,
like mySQL, If the application will use tons of relational data with all kinds
of odd, screwy lookups going on, you might need something like Postgres, and if
you are gonna build some that will make the Social Security (Inland
Revenue?) jealous, you might have to go on to one of the very big boys like
Oracle or something.
Also, if you are looking at a big SMP box to run a database, make sure the db
is multithreaded.
> By the way, is Slackware the best choice to go by??
Don't know. I've heard good things about it from the guys who use it. Turbo
Linux, RH and Suse get good marks too.
------------------------------
From: [EMAIL PROTECTED] (Paul Anderson)
Crossposted-To: comp.os.linux.misc
Subject: Re: Killer Server Program for Linux
Date: 4 Jul 1999 23:49:57 -0400
"Alvin" <[EMAIL PROTECTED]> writes:
>After some survey, I found that many organisation use Windows NT because
>they like or love using Microsoft Outlook.
>
What specifically do they like about outlook?
------------------------------
** 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
******************************