Linux-Networking Digest #466, Volume #10 Fri, 12 Mar 99 04:13:55 EST
Contents:
Re: routing tables - just being curious (David Pace)
ip_masq_ftp ("Michael D. Cencula")
Re: smb_dont_catch_keepalive: server->data_ready == NULL
([EMAIL PROTECTED])
network card (Adrian)
Re: IP Masqurading? Please Help (Wolfgang Viechtbauer)
Re: server on LInux, viewer on NT - GREY screen problem ("LP")
Re: Ad filter? (Frank Hahn)
DNS look-ups with C++ (Brian Ferris)
Re: For all you Nicrosoft lovers (Greg White)
Re: server on LInux, viewer on NT - GREY screen problem (Kevin Martin)
MS Exchange server vs Intranet: What's the difference? ([EMAIL PROTECTED])
Re: needing ppp dialup to NT ras info (Diederick van Dijk)
Re: Linux programming jobs? ("Lord Scruff, High Lord")
Re: Samba with win95 & win98 (Jason Brossa)
Re: stopping/starting FTPD from command line (Abe Lin)
Re: The truth about the Pentium III chip and ID --- **boycott info** (John Lehmann)
----------------------------------------------------------------------------
From: David Pace <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: routing tables - just being curious
Date: Thu, 11 Mar 1999 22:25:57 -0500
Andy Jaworski wrote:
> The IP addresses of both machines are 192.168.48.1 and 192.168.48.2.
>
> Now, without PPP running i get the following output from the "route -n"
> command
>
> Destination Gateway Genmask Flags Metric Use Iface
> 192.168.48.1 0.0.0.0 255.255.255.255 UH 0 0 eth0
> 127.0.0.1 0.0.0.0 255.255.255.255 UH 0 0 lo
>
> 192.168.48.0 0.0.0.0 255.255.255.255 U 0 0 eth0
>
> 0.0.0.0 192.168.48.1 255.255.255.0 UG 0 0 eth0
>
> My first question is: why is my local host 127.0.0.1 not 127.0.0.0. It has
> been like this from the beginning (i.e. from original installation of
> RH5,2). Does it matter?
IP addresses in the route table can be network or single interface addresses.
The Genmask would be 255.255.255.0 for a network address and it would
encompass all the computers on the same "wire".
So, yes, my system has 127.0.0.0, genmask 255.255.255.0. But, yours
is just being more specific by listing the last digit as not-zero and so your
genmask is also ending in not-zero. (Let's see if someone corrects me).
> The second question: how did the 192.168.48.0 line get into the routing
> table and what is it for?
I think it is incorrect in that the genmask should be 255.255.255.0.
It is the same explanation: network vs single IP address.
Did you run the typical ipconfig script to set it up?
I use 'lisa' on my system.
> As you can see I am just being curious and try to understand a little more.
> When I fire up my PPP connection, the routing table changes to:
>
> Destination Gateway Genmask Flags Metric Use Iface
> 206.156.201.131 0.0.0.0 255.255.255.255 UH 0 0
> ppp0
> 127.0.0.1 0.0.0.0 255.255.255.255 UH 0
> 0 lo
> 192.168.48.0 0.0.0.0 255.255.255.255 U 0
> 0 eth0
> 0.0.0.0 206.156.201.131 255.255.255.0 UG 0 0
> ppp0
>
> Everything seems to work fine, but in order for this to work I had to add
> "route del default"
Hmmm, it looks like the network config script or whatever you ran,
set up a default to point at the eth0 card (which is a reasonable guess).
But, yes, accessing all of the outside world's ip addresses does need to go
through the ppp0 connection and NOT your ethernet card.
So, yes you did the right thing, changing the default when you connect to the
outside world.
> line to my ppp-up script just before the pppd line. Also, I had to add the
> following line
> route add -net default gw `hostname`
> to my ppp-off script.
>
> Is this correct? Unfortunately, for this to work for all users on my Linux
> box, I had to make the route command suid.
I had to make my dial-out script suid. I did not change 'route'.
>
> Andy Jaworski
> [EMAIL PROTECTED]
--
David Pace Free Trading software: http://www.daveware.com
------------------------------
From: "Michael D. Cencula" <[EMAIL PROTECTED]>
Subject: ip_masq_ftp
Date: Thu, 11 Mar 1999 22:35:34 -0500
I have ip masquerading running on my Redhat 5.2 system. I recently
recompiled my kernel (to fix a floppy problem). Now, I have to manually
load the ip_masq_ftp module before I can make an internet FTP connection
from one of the other machines on my network. I think kerneld used to load
this automatically. Does anyone know why it is not loading automatically
now or what I can do to make kerneld load it again?
Michael D. Cencula
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: linux.samba
Subject: Re: smb_dont_catch_keepalive: server->data_ready == NULL
Date: Fri, 12 Mar 1999 07:20:08 GMT
In article <[EMAIL PROTECTED]>,
"Duarte Cordeiro" <[EMAIL PROTECTED]> wrote:
>
> MOUNT FAILURES:
> The mount(2) system call does not return any sensible error code, so you
> have to guess what failed when you could not mount a share.[...]
>
> Useful no ?
> But, mount almost always report the error to /var/log/messages, so please
> post the error here :)
>
Hello !!!
In /var/log/messages is the same error as smbmount reported:
smb_dont_catch_keepalive: server->data_ready == NULL
Please tell me what's wrong. BTW: If I try to go to NT Server with smbclient
I get Access Denied message. Maybe this is the problem. But strange is that I
can mount these drives fine under Windows without a password. Please tell me
what could be wrong!
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Date: Fri, 12 Mar 1999 15:19:28 +0800
From: Adrian <[EMAIL PROTECTED]>
Subject: network card
hi,
we are a bunch of beginners in redhat linux. we had installed linux 5.2
however during installation, our network card model SMC 9432 could not
be detected.
after our installation, we want to try to configure our hardware devices
but we do not know how to go about doing it. we are also new the unix
commands.
thanx
agnes
------------------------------
From: Wolfgang Viechtbauer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.ps.linux.hardware,alt.os.linux
Subject: Re: IP Masqurading? Please Help
Date: Fri, 05 Mar 1999 21:26:17 +0000
The original post indicated that the guy was using RH 5.2, correct?
Well, everything for ip masq is compiled into the kernel. There is no
need to recompile the kernel. I agree with Fred that compiling the
kernel is something that most people should attempt and learn (Bill
probably agrees with that as well!), but Bill is right when he says that
telling people to recompile the kernel when there is no need for that is
silly. It drives me nuts as well, when people ask a question, and the
first thing that people tell them is "recompile the kernel". If you need
to recompile to get something working, hey, then that's what you gotta
do. But if it is already compiled in, then it's a waste of your time.
--
Wolfgang Viechtbauer
[EMAIL PROTECTED]
------------------------------
From: "LP" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.misc
Subject: Re: server on LInux, viewer on NT - GREY screen problem
Date: Fri, 12 Mar 1999 00:30:27 GMT
Try running the /usr/X11R6/bin/vncserver script which comes with VNC. This
will start up the window manager, etc...
Another option is to set your X-Windows display correctly (Probably :1 for
vnc) and run the window manager / apps manually.
-LP
[EMAIL PROTECTED] wrote in message <7c94fd$h4r$[EMAIL PROTECTED]>...
>I have the VNC server on Linux. The VNC viewer on NT.I can connect with the
>viewer, but all that I see is a grey screen with the X cursor (similar to
>that seen on Linux after 'startx' but before yourchosen window manager
kicks
>in). Although I can move thecursor, there is nothing there to select!!
>Anyone know what I'm not doing that I should be?
>
>-----------== Posted via Deja News, The Discussion Network ==----------
>http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Frank Hahn)
Subject: Re: Ad filter?
Date: 12 Mar 1999 04:00:08 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 10 Mar 1999 18:28:43 -0500, Colin Guillas <[EMAIL PROTECTED]>
wrote:
>Hi! I have seen products for NT Servers which can be configured to block out ad
>banners from known web sites of banners, such as doubleclick.net on altavista,
>and replace them with another banner of your choice that is loaded faster off of
>the server. This is used to skim pennies in a corporate environment where the
>internet fees are based on the bandwidth used, and for modem users it is
>beneficial because it skims a few seconds off of the loading time.
>
>Is it possible to put something on my linux server that will do the same? It is
>a gateway, through IP Masquerading, for the other machines on the network.
>
Take a look at:
http://www.junkbuster.com
--
Frank Hahn
------------------------------
From: Brian Ferris <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++
Subject: DNS look-ups with C++
Date: Fri, 12 Mar 1999 00:33:57 GMT
Hello,
I am programming a network app that needs to reverse host-name
look-up. This means that given an IP address x.x.x.x, it needs to be
able to request the registered name associated server from DNS.
What would be the easiest way to do this? Is there a function
somewhere that is all ready to go?
Any information that can be provided is most helpful.
Thanks,
Brian Ferris
------------------------------
From: Greg White <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: For all you Nicrosoft lovers
Date: Thu, 11 Mar 1999 23:26:44 -0800
childsplay wrote:
>
> This is very disturbing
>
> http://www.mercurycenter.com/breaking/docs/041815.htm
>
> --
> Charles "childsplay" VanDyke
> [EMAIL PROTECTED]
> ICQ# 14539920 ============
> ]TeamGameSpy[ ============
> http://www.gamespy.com ===
You're right. It is very disturbing that someone would post a broken
link to a newsgroup. <g>
------------------------------
Crossposted-To: comp.os.linux.misc
From: [EMAIL PROTECTED] (Kevin Martin)
Subject: Re: server on LInux, viewer on NT - GREY screen problem
Date: Fri, 12 Mar 1999 04:03:17 GMT
In article <DeZF2.385$[EMAIL PROTECTED]>, it says "LP"
<[EMAIL PROTECTED]> wrote:
>Try running the /usr/X11R6/bin/vncserver script which comes with VNC. This
>will start up the window manager, etc...
I suspect that may be what he's looking at, if he's got a mouse cursor.
It's twm and there's not much TO look at unless you start an app.
SJM, take a look in your login directory for a hidden (it has a dot as its
first character) directory called ".vnc" --it should contain a file called
xstartup that will show you what it's running by default; mine starts twm
as window manager and an xterm. You can customize that. If it's not
starting at least an xterm by default, you should be able to start one up by
using the same trick you would under regular X.
>Another option is to set your X-Windows display correctly (Probably :1 for
>vnc) and run the window manager / apps manually.
E.G. telnet into the Linux box, enter the command "export DISPLAY='ntbox:1'"
and then run a detached xterm with "xterm &" The xterm window opens
inside the VNC screen, you can log off the telnet session without
killing the xterm (because the xterm is running detached) and start up
whatever else you need to run (such as kmahjongg :-) from the xterm.
>[EMAIL PROTECTED] wrote in message <7c94fd$h4r$[EMAIL PROTECTED]>...
>>I have the VNC server on Linux. The VNC viewer on NT.I can connect with the
>>viewer, but all that I see is a grey screen with the X cursor (similar to
>>that seen on Linux after 'startx' but before yourchosen window manager
>kicks
>>in). Although I can move thecursor, there is nothing there to select!!
>>Anyone know what I'm not doing that I should be?
------------------------------
From: [EMAIL PROTECTED]
Subject: MS Exchange server vs Intranet: What's the difference?
Date: Fri, 12 Mar 1999 06:02:51 GMT
Hi all...
I work in the maint. dept of a manufacturing
facility. I do the Autocad drawings that the
maint. men use to fix and build things. I also
take care of the work orders that the operators of
the machinery hand in to use when a piece of equip
needs fixed.
We currently have a paper based work order system
that is very primitive. It is a form where the
operator fills out the top half with date, name
piece of equip and what the problem is. Then...
when the maint. man has resolved the problem....
he is to describe what he did, the date fixed, and
how long it took. Then.... I get the form and
type all the info into a MS Access database so we
can pull reports out of it.
Needless to say...... there are many potential
problems with such a paper based system. People
fill out the wrong dates... or wrong codes for the
equip.... or maybe the paper just plain does NOT
get to my hands where I can type the info into the
database. Or maybe the hand writing is hard to
read.
What we are investigating is how to improve this
system. What we envision is placing a few PC's on
the shop floor where any operator could walk up to
them and enter the problem in direct. Then a
printout would be produced that is handed to a
maint man. Then the maint man could fill in the
paper as to what was done and give it to me.....
or enter the resolution straight into a PC like
the operator did.
We already have in place a MS Exchange server and
Outlook 98 on all the PC's on the network. We
have been told that we could make a form in a
public folder such that the operator could fill
this in and it would then be emailed to a special
mail box, and then use VBA to "pull" the info off
the form and into and Access database.
The other option is to use a web server, CGI,
etc..... where the operator could fill in a form
thru a browser and the data inputted into a
database.
I do NOT know much abt any of this technology.
Matter of fact... I really don't know the
difference between a web server (intranet?).....
and a MS Exchange type system. <sheepish grin>
Could someone please point me to a web page the
explains the diffs between both approaches in
laymen's terms?
Also..... what method would you advise leaning
towards and why?
The people on the shop floor are NOT computer
savvy and we like the idea of them using a browser
rather than Outlook. However.... we already have
Exchange in place.
As with all things there are trade offs both ways.
I am just hoping some of you more experienced
people would kindly enlighten us and give us some
knowledge and perspective. Thanks!!
BTW.... we are NOT against buying something off
the shelf as longs as it wasn't thousands of
dollars. Hundreds of dollars would be better. <G>
At least to see if the idea is workable.
We are somewhat worried that no matter how easy we
make this done electronically..... that the people
on the shop floor will refuse to use it and
continue to fill out paper or report problems word
of mouth. <G>
PS: I am posting this in the Linux newsgroup as
well as others cause I know this intranet stuff
can all be done easily using Linux, Apache, CGI,
Perl, MySql, etc..... altho I do NOT know how. <G>
Anyway.... I want Linux users input on this also
as that is an option with us too. <G>
------------------------------
From: [EMAIL PROTECTED] (Diederick van Dijk)
Subject: Re: needing ppp dialup to NT ras info
Date: Fri, 12 Mar 1999 07:39:18 GMT
[EMAIL PROTECTED] (G.L. Grobe) wrote:
>RH5.2 ppp dialup to an NT RAS server. PPP is already working and connects to
>the other end. Then the line drops after about 30 secs. Looking for some
>straight forwards info on what's needed, and how to set it up.
>
I've written a HOWTO on this subject. See my homepage for more
details.
Diederick
============================================================
Bill can't buy or beat the Internet.
So Linux will win every time.
Diederick van Dijk
Homepage: http://www.van-dijk.net
Mini-Howto PPP to NT with MS Chap and callback :
http://www.van-dijk.net/PPP-NT-HOWTO/PPP-NT-HOWTO.html
=============================================================
------------------------------
From: "Lord Scruff, High Lord" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.development.apps
Subject: Re: Linux programming jobs?
Date: Fri, 12 Mar 1999 07:32:25 +0000
mike wrote:
> I agree with this post. At 20 with no experience, you don't stand
> much of a chance. I did get myself into some small contract positions
> doing some CGI programming... but the company went under and I was
> never paid. It is still experience though.
Man . . . wouldn't it suck if they'd listed "incompetent CGI programmer" as
their reason for going down?
:O)
Lord Scruff, High Lord of the Dark Army
------------------------------
From: Jason Brossa <[EMAIL PROTECTED]>
Subject: Re: Samba with win95 & win98
Date: Fri, 12 Mar 1999 04:53:19 GMT
Yes there is an update from Microsoft
Brent Rader wrote:
> Hello,
>
> I have the older version of win 95 on two machines (the version without
> encrypted passwords). I just got a win98 machine also and would like to
> access my Samba shares with it. So, my question is: If I enable
> encripted passwords on the Linux box with Samba will that mess up the
> win95 clients? If so, can I make the win95 boxes send encrypted
> passwords to fix the problem?
>
> Thanks,
> Brent
------------------------------
From: [EMAIL PROTECTED] (Abe Lin)
Subject: Re: stopping/starting FTPD from command line
Date: Fri, 12 Mar 1999 05:04:21 GMT
1. stop from command line: /usr/sbin/ftpshut
2. /var/log/xferlog
3. ps auwxx |grep d
4. LDP books are all pretty good.
>In article <7c6jqb$nfc$[EMAIL PROTECTED]>,
> "John Madden" <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> Yes, I'm a Linux newbie with a few Q's for the pros out there.
>>
>> 1. How can you stop/start FTPD from the command line?
>> 2. where are the FTPD logs kept?
>> 3. Is there a command that lets you see all the currently running daemons?
>> 4. What is the BEST book on linux from an administrator/programmer
>> standpoint?
>> the book I have now "Using Linux" from Que is almost worthless
------------------------------
From: John Lehmann <[EMAIL PROTECTED]>
Crossposted-To:
comp.lang.perl.misc,comp.lang.python,comp.lang.tcl,comp.mail.sendmail,comp.os.linux.setup,comp.os.ms-windows.advocacy
Subject: Re: The truth about the Pentium III chip and ID --- **boycott info**
Date: Fri, 12 Mar 1999 04:55:16 GMT
Kano wrote:
>
> Oh come on. Many other standard devices (ethernet cards, for example)
> have their
> own unique serial numbers that software can use at will. Get over it.
>
Yes - but ethernet mac cards are only broadcast over the lan, not over
the net (except by Office98, of course). And what do you mean get over
it??? This kind of personal information is valuable. Business are
willing to pay for it. This kind of behavior IS DOWNRIGHT THEFT!!! And
I take offence at that, as should you and any other good capitalist.
--
| John J. Lehmann, [EMAIL PROTECTED]
+ Those were the good old days when you could get hammered and ramble
+ all night to the guy next to you, knowing that he really didn't give a
+ crap but he'd sit there and listen.
------------------------------
** 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
******************************