Linux-Networking Digest #813, Volume #11 Wed, 7 Jul 99 17:13:30 EDT
Contents:
Re: Why not C++ (Kaz Kylheku)
Re: 192.168/16 vs. 10/8 (bill davidsen)
Re: Let's do the SAMBA (Monte Phillips)
Re: Unusual? Script needed... (bill davidsen)
Re: how to get local IP address (Steven Brooks)
Re: Support for PCI Ethernet controller ? (Ratz)
Re: Why not C++ (Horst von Brand)
Re: HELP AcerLAN-315 Digital DS21142 Problem (Vidar Andresen)
Re: zmodem with cu ([EMAIL PROTECTED])
Re: Proxy server ("Andrey Smirnov")
DHCP Linux Client at NT-DHCP Server (Christoph Passon)
Re: Machine answering to multiple IPs (Daniel Stolk)
Re: Why not C++ (Mike McDonald)
Re: pppd scripting and diald (gordo)
Re: rh 6.0 upgrade - networking fails...utterly (Horst von Brand)
rpc error: no buffer space available (studzes)
Re: fetchmail & multiple email addresses ("Cliff")
Creating a gateway through a dialup connection ([EMAIL PROTECTED])
Re: Linux can't find my modem. Eeek! (Cloatre Yann)
Re: Why not C++ (Kurt Wall)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Wed, 07 Jul 1999 19:18:06 GMT
On 7 Jul 1999 18:15:36 GMT, Mike McDonald <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
> Craig Graham <[EMAIL PROTECTED]> writes:
>
>> I spent several months writing a JVM for TwoWayTV/Cable&Wireless
>> (embedded system application), so I've spent a shit load of time looking
>> at the garbage collector issue.
>> Craig.
>
> A whole "several months"? Wow! I suggest you check out
>cs.utexas.edu:/pub/garbage for real information on garbage collection of all
>kinds, including malloc/free and their relative performance.
The trick is that to implement true garbage collection in Java, you have to
gradually purge all of the program's text from memory. :)
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Subject: Re: 192.168/16 vs. 10/8
Date: 7 Jul 1999 18:44:12 GMT
In article <7lh0vq$t2n$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
| Oh god, it's been many many years since anything like this was on the
| market. Some cards *are* aware of TCP/IP in some sense, by means of
| their drivers. You are correct, AFAIK, in asserting that the NICs
| themselves [we're talking hardware here] are pretty dumb. If the driver
| refuses to put the card into the proper mode, and writing a custom
| driver is out of the question [as it was most of the time about ten
| years ago], then if the driver doesn't want to cooperate the card won't
| either.
The last time I saw that I was an "ARPAnet technical administrator" if I
remember correctly. Not bloody recently, for sure.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.
------------------------------
From: [EMAIL PROTECTED] (Monte Phillips)
Subject: Re: Let's do the SAMBA
Date: Wed, 07 Jul 1999 14:36:23 GMT
This site has a step by step howto for complete setup of samba. steps
for both linux and the win machine. (and they really work <G>)
http://www.sfu.ca/~yzhang/linux/samba/index.html
and this one as well
http://home.talkcity.com/MigrationPath/maguai/samba.html
These sites singly or in combination are nearly guaranteed to get you
networked.
On Wed, 07 Jul 1999 09:53:02 GMT, "Maguai" <[EMAIL PROTECTED]>
wrote:
>check this site
>http://home.talkcity.com/MigrationPath/maguai
>Noisebrother <[EMAIL PROTECTED]> wrote in message
>news:7lnqh9$sed$[EMAIL PROTECTED]...
>> Got hughe probs with configuring SMB printer and network.
>> by the way, is there way to get on the net through a win98 box without a
>> proxyserver???
>>
>>
>
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x,alt.os.linux
Subject: Re: Unusual? Script needed...
Date: 7 Jul 1999 19:07:27 GMT
In article <[EMAIL PROTECTED]>,
r.tolga <[EMAIL PROTECTED]> wrote:
| I want a script or a program whatever else,
| to control the ppp users' online time.
| I want them to have a, say one hour time limit on
| the internet. Once the limit is timed out i want the ppp
| deamon
| to shutdown the modem connection for that user and will not
| permit
| to have a second, third etc. connection through the modem
| that day.
| In this case a reboot should not affect the time limit!
| Now, is there a program for the above considerations, or an
| option
| somewhere in the linux box to do that.
|
| If there is not how can it be done? Any ideas?
Sure, every connection executes /etc/ip-up if you have one. Start a
timer which runs out in an hour, and make a log entry. If they log off
first, ip-down can be used to make another log entry. When you start the
timer you deduct from the hour the time already used in the day.
Beware boundary conditions, if someone starts a connect at 2355 you want
them to have 55 minutes in the next day, so if they have at least five
minutes left the timer should be set for 65 minutes. Also avoid charging
the full length of the connect against a day if some of the connect took
place in the previous day.
The boundary stuff makes what would be trivial into something really
ugly, assuming you want to do it right. Just define "right" before you
start.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.
------------------------------
From: Steven Brooks <[EMAIL PROTECTED]>
Subject: Re: how to get local IP address
Date: Wed, 07 Jul 1999 11:08:40 -0500
clewell wrote:
>
> Thanks for the responses.
>
> You were right, ifconfig does run fine without root access both on Linux and
> on my school Unix account.
>
> I guess what my question really was, when one logs onto a UNIX or Linux
> network how does one get the actual host name that will be used by DNS so
> that the IP address can be obtained? In my school unix account this
> information is on a label on the monitor at the workstation. I'm try to
> figure out if there is a standard Unix comand or envionmental variable that
> can be used to get this information.
>
> Thanks again,
> Clu
>
You should be able to use gethostname to get the name of the
machine, and then gethostbyname to get the IP address of the
machine. (Both are C functions that are standard Unix/sockets,
I believe). If you're programming, that's probably the best
way.
For shell scripts, the usual trick I've seen is to use
ifconfig, grep and cut to extract the IP address.
Something like:
/sbin/ifconfig | grep 'inet addr' | grep -v '127.0.0' | cut -b 21-36
Steven
------------------------------
From: Ratz <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help
Subject: Re: Support for PCI Ethernet controller ?
Date: Wed, 07 Jul 1999 21:00:57 +0200
Hi
I just checked Ethernet-HowTo and it says:
5.3.5. AT2540FX
Status: Semi-Supported, Driver Name: eepro100
This card uses the i82557 chip, and hence may/should work with the
eepro100 driver. If you try this please send in a report so this
information can be updated.
5.22.3. Ether Express PRO/10 PCI (EISA)
Status: Semi-Supported, Driver Name: ? (distributed separately)
John Stalba ([EMAIL PROTECTED]) has written a driver for the PCI
version. These cards use the PLX9036 PCI interface chip with the Intel
i82596 LAN controller chip. If your card has the i82557 chip, then you
don't have this card, but rather the version discussed next, and hence
want the EEPro100 driver instead.
You can get the alpha driver for the PRO/10 PCI card, along with
instructions on how to use it at:
EEPro10 Driver <http://www.ultranet.com/~stalba/eep10pci.html>
If you have the EISA card, you will probably have to hack the driver a
bit to account for the different (PCI vs. EISA) detection mechanisms
that are used in each case.
5.22.4. Ether Express PRO 10/100B
Status: Supported, Driver Name: eepro100
Note that this driver will not work with the older 100A cards. The
chip numbers listed in the driver are i82557/i82558. For driver
updates and/or driver support, have a look at:
EEPro-100B Page
<http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html>
So perhaps this will help you. If not contact Donald.
Regards, ratz
>
> Hello,
>
> Can anybody tell me if there is already support for a PCI Ethernet
> controller which is based on the Intel 82557 (rev 5). This is a
> controller which is used in Compaq computers.
>
> Jurgen Defurne
------------------------------
From: Horst von Brand <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 07 Jul 1999 14:56:59 -0400
Justin Vallon <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] (Bruce Hoult) writes:
> > In article <7lbkp6$h72$[EMAIL PROTECTED]>, Cameron Hutchison
> > <[EMAIL PROTECTED]> wrote:
> > > Consider this:
> > >
> > > #define inc(x) (++(x))
> > > ...
> > > int x = 1;
> > > ...
> > > inc(x);
> > > In this case, x is being modified and you cannot tell from the
> > > context. It may be bad form to write a macro with lower case letters,
> > > but it can also be argued that it is bad form to use non-const
> > > references in C++.
It isn't "bad form", it is just that C only has pass-by-value, and
"functions" that modify their arguments are alien there. C++ is enough
alike C that this may become a problem.
Just a cultural bias.
--
Dr. Horst H. von Brand mailto:[EMAIL PROTECTED]
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
------------------------------
From: [EMAIL PROTECTED] (Vidar Andresen)
Subject: Re: HELP AcerLAN-315 Digital DS21142 Problem
Date: Wed, 07 Jul 1999 02:03:53 +0200
In article <7lfd5g$9ad$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>hi,
>Ive installed Red-Hat 5.2 on my Acer system with Acer Lan 315 10/100
>Adapter(DigitalDS21142/3 chipset). Linux identifies it as Tulip . But
>the problem is that the adapter does not autonegotiate with LAN to go
>into 100Mbps mode.
>If I to do a 'network restart' quite a number of times, then at one
>point it stays at 100Mbps mode and starts functioning.
>Can anybody overthere suggest me of a suitable driver for this card or
>any settings that i can change so that the adapter by default goes to
>100Mbps mode.
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip-devel.html
(and get a updated driver while you are there, if that is the problem)
Mvh Vidar Andresen
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,redhat.general
Subject: Re: zmodem with cu
Date: 7 Jul 1999 15:21:25 GMT
larry <[EMAIL PROTECTED]> schrieb
am Fri, 02 Jul 1999 21:30:47 GMT in comp.os.linux.misc:
l> I am using Expect scripts and cu to access (propriatary) systems remotely.
l> Some systems offer zmodem transfers that I can acess using minicom. I
l> would like to use expect and cu to complete these zmodem transfers but I'm
l> unsure how to use zmodem with cu. Minicom's interface is to combersome for
l> me to use with expect.
In cu type the right escape characters:
~+ rz
or ~+ sz
Then it works.
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 -
------------------------------
From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Subject: Re: Proxy server
Date: Wed, 7 Jul 1999 12:29:52 -0700
Check out squid proxy:
http://squid.nlanr.net/
Also you can use ip_masquerading (look under support at
http://www.linux.org)
Good luck!
Dariush_news wrote in message <7lvofq$qm$[EMAIL PROTECTED]>...
>What can I use for the proxy server on linux (redhat 5.2)?
>
>Thank you
>
>
------------------------------
From: Christoph Passon <[EMAIL PROTECTED]>
Subject: DHCP Linux Client at NT-DHCP Server
Date: Wed, 07 Jul 1999 22:01:41 +0200
Hi Folks,
I'm having problems with LINUX Clients getting network information from
an NT-DHCP server.
IP Address is provided by the server, but no nameserver, gateway and
hostname entry to dns.
Any known problems from NT-DHCP ???
Thanks,
Chris
------------------------------
From: Daniel Stolk <[EMAIL PROTECTED]>
Subject: Re: Machine answering to multiple IPs
Date: Wed, 07 Jul 1999 03:39:19 -0900
I am using 192.168.1.X for my intranet. The A.B.C.187 is my internet address that
my ISP assigned to me.
Phil DeBecker wrote:
> Daniel Stolk wrote:
>
> > Hi, I have a network with all internet traffic going through my Red Hat 6.0
> > server which is connected to the internet via a DSL line. It has an
> > internet address of A.B.C.187, but when I ping A.B.C.160 or A.B.C.191, my
> > machine replies. I disconnected the server from the rest of my intranet
> > (although not from the internet) and pinged those two addresses and got a
> > reply. My question is, why in the world does my machine answer to those two
> > IP addresses?
> >
> > Thanks for any help, Daniel Stolk
>
> Sounds like your A.B.C isn't unique. You should be using RFC 1918 addresses:
> either 10.X.X.X with netmask 255.0.0.0, 172.16.X.X with netmask 255.255.0.0, or
> 192.168.X.X with netmask 255.255.255.0. Most people with small LANs use
> 192.168.1.X.
>
> The purpose of RFC 1918 addresses is to allow private networks to have locally
> unique addresses without having to register for an official block of IPs.
> These addresses are not routed over the internet, so you will never cause an
> address conflict. If, as I suspect, you're using addresses that don't fit into
> the above ranges, you're probably able to ping them from your gateway because
> they exist somewhere else over the internet.
>
> HTH
> Phil D.
------------------------------
From: [EMAIL PROTECTED] (Mike McDonald)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 7 Jul 1999 19:26:10 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Kaz Kylheku) writes:
> On 7 Jul 1999 18:15:36 GMT, Mike McDonald <[EMAIL PROTECTED]> wrote:
>>In article <[EMAIL PROTECTED]>,
>> Craig Graham <[EMAIL PROTECTED]> writes:
>>
>>> I spent several months writing a JVM for TwoWayTV/Cable&Wireless
>>> (embedded system application), so I've spent a shit load of time looking
>>> at the garbage collector issue.
>>> Craig.
> The trick is that to implement true garbage collection in Java, you have to
> gradually purge all of the program's text from memory. :)
If your assertion is true, why gradually and why is it tricky? Seems like
bzero()ing all of memory ought to work! :-)
Mike McDonald
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (gordo)
Crossposted-To: alt.comp.linux.isp,alt.os.linux.dial-up
Subject: Re: pppd scripting and diald
Date: Wed, 07 Jul 1999 16:29:53 GMT
I've tried to follow Bill's advice on his page but I just can't quite
get a complete connection.
I've used the command in the form of
/usr/sbin/pppd /dev/ttyS1 57600 debug connect "/usr/sbin/chat -v ''
ATD5555555 CONNECT '' ogin: [mylogin] assword: [blabla]"
and i can trail its progress; i see it "CONNECT" and the ISP resond
but then the "CONNECT SCRIPT FAIL"s and then it disconnects.
Anyone know how to use Chat properly? Share a Chat or a modem to ISP
connect script(s) with me? I'm soooo close!
On Mon, 05 Jul 1999 19:00:17 GMT, [EMAIL PROTECTED] (Frank Hahn)
wrote:
>On 5 Jul 1999 02:41:50 GMT, David Efflandt <[EMAIL PROTECTED]> wrote:
>>On Sun, 04 Jul 1999 21:56:10 +0000, Ben Paley
>><[EMAIL PROTECTED]> wrote:
>>>Right, I can dial up my ISP, connect, view web pages, send mail (at
>>>least I can if you're reading this), but I can't seem to suss out the
>>>scripts to stop me having to type in the whole command line each time.
>>>Also, everything about diald that I've read is just so complicated...
>>>I'm not stupid, I'm just a Newbie, and I'm getting frustrated!
>>>
>>
>>What whole command line? All I type is "diald" when I want it running. I
>>used the sample diald.conf from /usr/lib/diald/contrib/plain and think I
>>am using the standard connect and diald.defs, but /etc/diald.conf is set
>>to hold the connection up for 15 minutes (900 sec) for any connection
>>since I am not charged by the minute.
>>
>>I even whipped up a bash script so if I want to sent it a command instead
>>of 'echo "quit" >> /etc/diald/diald.ctl' all I have to type is
>>'ddctl quit'.
>>
>There was a short article in issue No. 41 of the Linux Gazette on
>setting up diald. The address is:
>
>http://www.linuxgazette.com.
>
>There is also a diald howto or mini-howto. It is several years old
>but might be of benefit.
>
>--
>Frank Hahn
>
>If it's Tuesday, this must be someone else's fortune.
------------------------------
From: Horst von Brand <[EMAIL PROTECTED]>
Subject: Re: rh 6.0 upgrade - networking fails...utterly
Date: 07 Jul 1999 15:33:20 -0400
"Micheal Shallop" <[EMAIL PROTECTED]> writes:
> I have just upgraded to RH 6.0...the linux box is ether-netted (eth0 - tulip
> driver) through a netgear FE104 hub to my Win98 box running wingate.
>
> Currently, the interface is installed and active -- I can ping the windows
> box and watch the lights come alive on the hub. The windows box can ping
> the linux box.
>
> But it gets weird here. From the linux box, I cannot telnet or rlogin into
> itself or from the windows box. It's like inet tries to spawn telnetd then
> dies.
You sure the upgrade went in? If there wasn't enough disk space in the
first place, things break nastily.
Upgrade _all_ relevant packages (there are currently around 130Mb worth of
upgrades for 6.0).
--
Dr. Horst H. von Brand mailto:[EMAIL PROTECTED]
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
------------------------------
From: studzes <[EMAIL PROTECTED]>
Subject: rpc error: no buffer space available
Date: Wed, 07 Jul 1999 18:38:29 +0200
Currently i am trying to set up a server and it all worked pretty fine
so far. I am using the Suse 6.1 distribution. My Problems started when i
compiled a new kernel. Whem i am booting the machine it reports an error
message like this
starting rpc: errno=no buffer space avialable
It boot all the way though, but something is using up the entire RAM
(48MB) and leaves only a tiny rest for the system (approx. 1,5MB). The
swap space (128MB) is not used at all.
Does anybody have an idea?
Thanks for listening
Guido
------------------------------
From: "Cliff" <[EMAIL PROTECTED]>
Subject: Re: fetchmail & multiple email addresses
Date: Wed, 07 Jul 1999 19:47:24 GMT
Stewart Jeacocke wrote in message
<[EMAIL PROTECTED]>...
>
>Well I have had a carefull look at the headers on the emails that I
>have recieved and it would seem that our ISP already includes an
>X-Envelope-To header in the form
>[EMAIL PROTECTED]
>
I sent a reply via email but it got bounced with a user unknown error
message. Did you receive it anyway?
--
-Cliff
Views expressed are my own and not necessarily those of my employer
Concordia Net, Inc. When replying via email please use; cwheat at concordia
dot net not
root@localhost
------------------------------
From: [EMAIL PROTECTED]
Subject: Creating a gateway through a dialup connection
Date: Wed, 07 Jul 1999 20:01:44 GMT
Is there any FAQ or HOWTO for creating a gateway trhough a standard
dial-up connection? The dialup on my Linux server works fine and I can
browse the web and telnet great. However, if other machines on my
network want to go through my dial-up connection, wouldn't I just have
to change my /etc/sysconfig/network file lines (two of them anyway to):
FORWARD_IPV4=true
GATEWAYDEV=ppp0
And that is it? Anything else I should know?
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Cloatre Yann <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Linux can't find my modem. Eeek!
Date: Wed, 07 Jul 1999 22:45:37 +0200
Reply-To: [EMAIL PROTECTED]
I have the same problem with my Kotex Adaptix external, when it try to compose
or connect (if i change delay the modem hang more late...) it's hang
(initializing)
There are no solution ?
Hale a �crit :
> I have SuSE 6.1 and a PCI modem, I have a similar problem, I can get the
> KPPP find the modem on /dev/cua0 but it hangs when it tries to set the
> volume. I have read somewhere if the PCI modem uses shared memory (high
> memory settings ) it will not work under linux.
>
> Britt A. Green <[EMAIL PROTECTED]> wrote in message
> news:3Ngg3.15483$[EMAIL PROTECTED]...
> > I fired up KPPP after installing Mandrake 6.0 on my K6-2. To my
> chagrin,
> > it couldn't find my interntal USR x2 modem. Bizarre, since my other
> > installations could find it no problem. I've double checked that I've got
> it
> > looking at the proper /dev/ttyXX.
> >
> > So, I backed out of X Windows and tried minicom. It couldn't find the
> > modem either.
> >
> > Anyone have any thoughts?
> >
> > --
> > Particle Records: Surf * Punk * Garage * Rockabilly
> > PO Box 3461
> > Eugene, OR 97401
> > When they broke open molecules, they found they were only stuffed with
> > atoms. But when they broke open atoms, they found them stuffed with
> > explosions.
> >
> >
------------------------------
From: [EMAIL PROTECTED] (Kurt Wall)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 7 Jul 1999 20:24:47 GMT
On 7 Jul 1999 18:15:36 GMT, Mike McDonald <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
> Craig Graham <[EMAIL PROTECTED]> writes:
>
[...]
>> I spent several months writing a JVM for TwoWayTV/Cable&Wireless
>> (embedded system application), so I've spent a shit load of time looking
>> at the garbage collector issue.
>> Craig.
>
> A whole "several months"? Wow! I suggest you check out
...and the rest of his life doing maintenance. ;-)
>cs.utexas.edu:/pub/garbage for real information on garbage collection of all
>kinds, including malloc/free and their relative performance.
Hey, thanks for the link.
Kurt
--
If only I could be respected without having to be respectable.
------------------------------
** 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
******************************