Linux-Networking Digest #396, Volume #10          Sat, 6 Mar 99 05:14:21 EST

Contents:
  Re: Networking Linux (David Kirkpatrick)
  Re: Autodial to Internet (Raymond Doetjes)
  Re: 'Static Hostnames' while having a dynamic IP address (Rick Onanian)
  samba admin passwd ([EMAIL PROTECTED])
  Networking Linux ("J. J. Horner")
  psychotic modem (well, OK just says it's busy...) ("Stephanie Clark")
  Re: NTP server ("Roman Spitzbart")
  Re: HELP!Any Support for US Robotics 56K Win Modem (Michal Jaegermann)
  Re: HELP: configuring 3com card... (etienne grossmann)
  Re: TCP/IP dies with DEC Tulip (Mathew A. Hennessy)
  IPPPD connection (using TELES PCI card) stops working after random amount of time 
("Lu�s Sequeira")
  what? again? Intel EEPro/100 (Mats Wichmann)
  Re: How can I stop my eth1 network card ("Edward M. Vale")
  decoding info in /proc/net (G Agdesteen)
  Networking Possibility ("R. Brooks")
  Re: How can I stop my eth1 network card (dave)
  Re: SMTP problem ("Tom Hulley")
  Re: NT users authentication using linux pswd file. ([EMAIL PROTECTED])
  Using MS-Outlook as email client, now how to configure Linux server? ("Curtis Adams")
  Re: FTP throug Linux gateway problems (Rick Onanian)
  Re: 'Static Hostnames' while having a dynamic IP address ("Cameron Spitzer")
  Re: How can I stop my eth1 network card (Holger von Ameln)
  Re: tcp server with timeout (Ben Elliston)
  Re: dummy interface (Job Eisses)
  Re: Source code for ifconfig required (Juergen Heinzl)
  Re: How can I stop my eth1 network card (Ben Goble,  Lakewood, CO)

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

From: David Kirkpatrick <[EMAIL PROTECTED]>
Subject: Re: Networking Linux
Date: Fri, 05 Mar 1999 12:28:02 +0000
Reply-To: [EMAIL PROTECTED]

J,
 If I understand you right you can setup 1 box as the server with
RH 5.2 and the standard networking packages.  Configure one
network and they are connected.  To share the servers drives use
Samba - a fairly straight forward utility for this.  
 For the dialup access install PPP.  For access to the network by
the other machines install IP-Masquerading.  
  The documentation to do most of this is available from the
mirrors in the HOWTO sections. BUT something like PPP starts with
how to install by compiling etc.  For RH and most others this is
compiled for the release and ready to go - just needs tweek type
configuration - the same for Samba and IP-Masquerading.
  Probably the easiest thing to do is get RH 5.2, install it and
get local access to the docs.  It has a canned workstation and
server install thats fairly reliable.  The only got'yas are the
disk partitoning - use fdisk and name with Druid. 
  This is not to suggest you wade in without reading up or
planning.  But if you setup a machine just all the doc you need
is there.  Most of it starts assuming you have nothing on your
machine through configuration.  With RH you for the most part
just need the configuration sections of the HOWTO's.  There is an
Install-HOWTO, Configure-HOWTO, a NET-3-HOWTO which is excellent,
a SMB-HOWTO for samba, an IP-Masquerading-HOWTO which is
excellent.  All the stuff you need to get your proposed setup
going. 
  For a start you can do a server install which will give you
just about everything you need to look at for startup.  I think
you'll have to load the doc from CD though which can be done with
RH with the UPGRADE section of the install package.  You can load
up any package this way that the server install may not include. 
After getting familiar with this you can then do a custom install
to get exactly what you want and build a kerenl targeted for your
configuration.
d  

"J. J. Horner" wrote:
> 
> Okay, this may be an easy question for others, but not for me.
> 
> I just became the proud owner of 3 486SX machines each with 8MB of RAM.
> I would like to set these up as Linux Workstations and use my 266K6
> machine as the server.  How do I set up the machines so that the
> X-server is run from the server, the host directories are mounted
> automagically, and that it inherits the usable configurations of the
> server?  I would like to know how to install  Linux on those machines so
> that most of the work is done by the big hoss.  Is there a good book
> available?  Is there a book available on using the Linux server dial-up
> for the Internet connection of the rest of the computers?  I'm a little
> low on information, and I need some.  Please give me an answer.  I've
> read the Network Administrator's Guide and the System Administrator's
> guide, but didn't find what I was looking for.
> 
> Thanks,
> Jon
> 
> --
> J. J. Horner
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Network Administrator and Support

-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

From: Raymond Doetjes <[EMAIL PROTECTED]>
Subject: Re: Autodial to Internet
Date: Sat, 06 Mar 1999 11:05:23 +0100

Read the manpages on diald
diald can do this, though I must warn you diald is pretty tricky, it
took be 2 days before I had it right

Raymond

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

From: Rick Onanian <[EMAIL PROTECTED]>
Subject: Re: 'Static Hostnames' while having a dynamic IP address
Date: Fri, 05 Mar 1999 13:37:21 -0500

Here is a link to a FAQ that will interest you.
ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Dynamic-IP-Hacks

Also, there are some domain name services that will give you a shared
domain that can adapt to your dynamic IP. I don't know about getting a
static hostname on your ISP's domain, tho.

Eric Brockman - Tech Support wrote:
> 
> How is everyone?
> 
> I was wondering, if there was such a technique to like say assign a static
> hostname while i'm using a dynamic address.  Like for example,
> eric.ispprovider.com instead of having dial***.ispprovider.com everytime
> being different.
> 
> I was talking with the ISP sysop and he was like he has sceen it before
> but doesn't know how to do it or who to talk to.  If y'all could help I
> would be grateful.
> 
>  Eric J. Brockman
>  [EMAIL PROTECTED]
>  http://welcome.to/ericshome
> 
> -----------------------------
> 
> "What's popular isn't always right.  You say polls are against this.
> Polls measure changing feelings, not steadfast principle.  Polls
> would have rejected the Ten Commandments.  Polls would have embraced
> slavery and ridiculed women's rights.  You say we must draw this to a
> close.... The point is not whether the President can prevail, but
> whether truth can prevail."
> 
> --Rep. J.C. Watts [R-OK], House Impeachment Debate, 12/19/98
> 
> -----------------------------

-- 
  rick - a guy in search of raw (ISO) cd images of SuSE and Slackware
===============
My opinions don't exist, and as such, are not anyone elses. I do not 
represent anyone, not even myself, and especially not my employer.
---
Looking for a 1968 Camaro SS convertible, black interior, 
beat-up rustbucket that is in need lots of restoration and TLC.
---
To email me, take out the papers and the trash
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED]
Subject: samba admin passwd
Date: Fri, 05 Mar 1999 17:50:31 GMT

Hi,

I finally got Samba working(2.0.3 & RH 5.2, kernel 2.2.2).  I am mainly using
it as a print server for win95 machines.  I am using  security=DOMAIN  and
validating passwds against our main NT PDC machine.  Works fine for all users,
except the  Admin account of the main PDC/server.  I keep getting prompted for
a passwd. No matter what I type in it won't work.  I also have a share on the
samba machine which allows the ntadmin account, as well as my login to
connect.  I can connect fine with my login from any machine(including the main
nt server), however the ntadmin account can't(from any machine). Prompts for a
passwd.
The ntadmin account is in the /etc/passwd file.
Is this a "feature", or should it work and I just have something wrong.

Thanks
Chris


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: "J. J. Horner" <[EMAIL PROTECTED]>
Subject: Networking Linux
Date: Fri, 05 Mar 1999 12:07:13 -0500
Reply-To: [EMAIL PROTECTED]

Okay, this may be an easy question for others, but not for me.

I just became the proud owner of 3 486SX machines each with 8MB of RAM.
I would like to set these up as Linux Workstations and use my 266K6
machine as the server.  How do I set up the machines so that the
X-server is run from the server, the host directories are mounted
automagically, and that it inherits the usable configurations of the
server?  I would like to know how to install  Linux on those machines so
that most of the work is done by the big hoss.  Is there a good book
available?  Is there a book available on using the Linux server dial-up
for the Internet connection of the rest of the computers?  I'm a little
low on information, and I need some.  Please give me an answer.  I've
read the Network Administrator's Guide and the System Administrator's
guide, but didn't find what I was looking for.

Thanks,
Jon

--
J. J. Horner
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Network Administrator and Support




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

From: "Stephanie Clark" <[EMAIL PROTECTED]>
Subject: psychotic modem (well, OK just says it's busy...)
Date: Fri, 5 Mar 1999 12:50:55 -0600

    Every time I try to do anything w/my modem, it says it's busy... used to
say it was locked- guess I graduated :)  Any ideas? oh- btw it's Open Linux
1.3 w/kde.  The software's looking for the modem in the right place and no,
nobody's on the phone ;)
    Thanks in advance for your help!
    Stephanie




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

From: "Roman Spitzbart" <[EMAIL PROTECTED]>
Subject: Re: NTP server
Date: Fri, 5 Mar 1999 19:05:07 +0100

On a SuSE Linux 5.3 you can enable the NTP server by adding this lines to
/etc/inetd.conf:

daytime stream  tcp     nowait  root    internal
daytime dgram   udp     wait    root    internal
time    stream  tcp     nowait  root    internal
time    dgram   udp     wait    root    internal

--
Roman Spitzbart
http://linuxsite.webjump.com



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

From: [EMAIL PROTECTED] (Michal Jaegermann)
Subject: Re: HELP!Any Support for US Robotics 56K Win Modem
Date: 5 Mar 1999 18:54:26 GMT
Reply-To: [EMAIL PROTECTED]

Rufus V. Smith ([EMAIL PROTECTED]) wrote:

: With the regularity of this complaint, someone could make some money
: with a linux driver for a winmodem.

You guys still do not get it.  Even assuming that documentation is
available (it is not, as whomever invented that is probably too ashamed
to relesase it) driving a serial port directly is a true "hard real-time"
task.  That means that you have service events on your telephone wire with
**predictable** latencies, smaller than some given limit, or bad things
will happen.  On real modems this is done by parts worth a few bucks which
buffer things and allow much relaxed constraints for the whole system.
With "winmodem" your few hundred dolars CPU has to drop everything and
take care of that instead.  This is easier done with 'doze, which only
really pretends to multitask so it can latch to a piece of hardware and
hold it - regardless - than with any real multitasking and multiuser OS.
Even with that "winmodem" users (especially gamers) often find that with
vigorous activity on their machines these concotions are very unreliable
and a source of a serious grief.

You may run, of course, something like RT-Linux, with all its
constraints, but I doubt if any of modem users would enjoy very much
such proposition once trade-offs would become clear. :-)

: Oh wait a minute, no he can't.  Under GPL he'd have to give the driver
: away.

As quite a few people is making money from GPL-ed software (there is
no ban for that) the above does not follow.

  --mj


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

From: etienne grossmann <[EMAIL PROTECTED]>
Subject: Re: HELP: configuring 3com card...
Date: 05 Mar 1999 18:40:19 +0000



  Hello,

  if your kernel supports modules, locate the module 3x59x.o , and try 

insmod WHOLE_PATH/3c59x.o 

  if this is succesfull, doing

lsmod

  should show something like :

Module         Pages    Used by
boomeran           5            0


  Then you should be able to run 

/etc/rc.d/init.d/network start

  after which, 

lsmod

  should show something like :

Module         Pages    Used by
boomeran           5            1

  

  If that does not do, send the messages.

  Etienne

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

From: [EMAIL PROTECTED] (Mathew A. Hennessy)
Subject: Re: TCP/IP dies with DEC Tulip
Date: 5 Mar 1999 19:01:26 GMT

In article <[EMAIL PROTECTED]>,
David Wilk <[EMAIL PROTECTED]> wrote:
>Howdy folks,
>
>I recently setup a web (and everything else) server on a dual PII box with
>a DEC tulip 10/100 ethernet card.  I've got it recompiled with 2.0.36
>modularized.  The problem is that after up and running fine for between 24
>and 72 hours, it just plain stops responding to anything IP.  I can't
>ping, telnet, nothing.  I take a look at the console and it looks fine. 
>no crash, nothing.  I looked in syslog and found only one weird log.  it
>would print the message:  ICMPlogd:  can't connect to destination from
>127.0.0.1 <local host>

Hi,
        I'm having the same problem.  I'm using a Kingston tulip-based NIC
on a 10mbs hub.  It runs between 24 and 72 hrs just fine, then the NIC
pretty much decides not to transceive signals.  Everything else seems to
be happy, it remains in full user mode (init 3), and stuff runs.  It just
_stops passing packets to the wire_.  No kernel msgs, no syslog, nothing.
I'm running a pingboot script in cron which checks for this every 10
minutes, then logs and reboots.

        Currently, it's running icecast channels, with an avg bitrate of
about 130pps, but it peaks at about 350pps..  

kernel v2.2.2, tulip.c:v0.89H, RH5.2.

        I'm going to try the newest tulip.c as a mod, then static, to see
if that helps.

Thanks!
-- 
Mathew A. Hennessy ([EMAIL PROTECTED])
'So the next time someone says, "I have a 50K file for you," your next 
 exclamation needs to be, "Wow, that's cold!"'  - [EMAIL PROTECTED]
http://208.201.18.9/shout/      mp3 feeds 24/7 (barring net hangs ;) 

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

From: "Lu�s Sequeira" <[EMAIL PROTECTED]>
Subject: IPPPD connection (using TELES PCI card) stops working after random amount of 
time
Date: Fri, 5 Mar 1999 17:51:30 -0000

I'm using 2.0.36 (RedHat), ipppd, TELES PCI card, a 486DX4 100Mhz,
masquerading and ISP dynamic IP connection. My connection stops working
after some time, usually 10-15 minutes. To make everything work again I have
to unload the HISAX module, remove the ippp0 interface and the ipppd daemon.
Then I have to load everything again. Please help since I don't even know
what to look for.

Please answer in this newsgroup or to [EMAIL PROTECTED]

Thanks.

Miguel




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

From: [EMAIL PROTECTED] (Mats Wichmann)
Subject: what? again? Intel EEPro/100
Date: Fri, 05 Mar 1999 19:41:33 GMT
Reply-To: [EMAIL PROTECTED] (Mats Wichmann)

This line of cards seems to give more trouble....

Anyway, I've been having trouble with an original EtherExpress Pro/100
(PCI) -- not a 100B, 100+, or any of the newer (and apparently
different) variants.  I had an old NEC ProServa V100 that's been
running NT server for a project I'm done with; I'm trying to use this
box to do some tests on the Sybase ASE for Linux.  NT Server 4.0
didn't want to correctly detect this card, either - I had to delete
the mess that NT incorrectly detected and use Intel's driver diskette
to reinstall correctly, after which it's been working fine.  P&P is
disabled in the system bios, has been since I got the system.

Linux won't see the board at all, and I can't figure out how to tell
it to do so....unfortunately I have a hard time browsing the web for
long periods to hunt for this since I've temporarily got a very poor
internet connection, so an email pointer would be real helpful. If I
can work out the address, interrupt, etc. that the board is using is
there something I can give that information to - and will that help?

I've set up several other Linux systems with 3com and other LAN cards
without running into any kind of problem like this - they have all
detected properly - so it's new to me...

Thanks. 

Mats Wichmann


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

From: "Edward M. Vale" <[EMAIL PROTECTED]>
Subject: Re: How can I stop my eth1 network card
Date: Fri, 5 Mar 1999 18:58:32 GMT

dave wrote:
> 
> I have two network cards. One eth0 is for my Intranet and eth1 is for my
> Internet connection.  I want to disable my Internet eth1 connection when I am
> not using my computer.  I can do this in X with the network configuration tool
> but I want to disable/enable from the command line.  I am using kerneld.
> 
> Using RedHat 5.2

# ifconfig eth1 down

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

From: G Agdesteen <[EMAIL PROTECTED]>
Subject: decoding info in /proc/net
Date: Wed, 03 Mar 1999 12:40:48 -0700

Hello,
can anyone point me to a how-to or a descrition or a book about decoding
the information contained in the /proc/net, and especially
/proc/net/snmp??

A class project here at NMSU is to analyze a small beowulf cluster, and
I'm digging
for alternate ways to extract networking information.

Thanks,
geir
(remove NOSPAM if reply by mail)



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

From: "R. Brooks" <[EMAIL PROTECTED]>
Subject: Networking Possibility
Date: Fri, 05 Mar 1999 15:07:11 -0500

My work has a small network of about 20 computers.
We want to get all of then connected to the internet in
some way.

I just inhereted a 486-DX66 with 24MB of ram.
I got linux on it 2.0.38 using RH 5.1.
My network card is not detected so I got the go ahead
to buy a 10/100 isa card and tons of RAM.

1.  Can someone give me a name of a good ethernet card
that is for sure to work with Linux?

We are thinking of duplexing 2 modems or using a cable modem
if that is supported for our internet connection.

2.  Should I set the system up as a router or set up X-server and remote

execute Netscape?

Any advice would help.

Thanks,

Randall

--
_____________________________________________
Randall Brooks
[EMAIL PROTECTED]
http://www.glendinningprods.com
Senior Engineer
GMP (843) 399-6146 FAX (843) 399-5005



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

Subject: Re: How can I stop my eth1 network card
From: [EMAIL PROTECTED] (dave)
Date: Fri, 05 Mar 1999 20:04:41 GMT

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>dave <[EMAIL PROTECTED]> wrote:
>>I have two network cards. One eth0 is for my Intranet and eth1 is for my 
>>Internet connection.  I want to disable my Internet eth1 connection when I am 
>>not using my computer.  I can do this in X with the network configuration 
tool 
>>but I want to disable/enable from the command line.  I am using kerneld.
>>
>>Using RedHat 5.2 
>
>Have you tried      ifconfig eth1 down
>
>-- 
>Ben Goble \ Lakewood, CO USA
>[EMAIL PROTECTED]
>A Stranger and Pilgrim on the Earth.

That works great except when I try to bring it back up with ifconfig eth1 up.
I am unable to use the Internet. I can no longer ping the IP for eth1 even 
though ifconfig shows its up.

What is the correct way to bring eth1 back up?


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

From: "Tom Hulley" <[EMAIL PROTECTED]>
Subject: Re: SMTP problem
Date: Fri, 5 Mar 1999 14:14:41 -0500


Alejandro Miguel wrote in message <7bp7u5$ngm$[EMAIL PROTECTED]>...
>
>nico wrote:
>> I've recently obtained a domain name.
>> I've a static ip adress and a linux with
>> a sendmail working.
>> The PC states behind a DNS on which our
>> domain is declared.
>> Before I obtained the domain name I've never
>> had a problem associated with sendmail.
>> Now when I test my new e-mail I'm receiving such message :
>>
>> Remote-MTA: DNS; dns-name
>> Diagnostic-Code: SMTP; 551 <e-mail> ... we do not relay
>>
>> Does it come from my sendmail configuration, or from an error
>> in the DNS domain name's declaration ?
>> Can anyone help me, thank's for advance.
>> nico
>>
>


Look up how to use the files in  /etc/mail/
ip_allow
relay_allow
name_allow


Once configured they will allow machines you define to send mail through
this system.

[EMAIL PROTECTED]




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

From: [EMAIL PROTECTED]
Subject: Re: NT users authentication using linux pswd file.
Date: Fri, 05 Mar 1999 20:18:27 GMT

hi,

I'm using samba on my redhat 5.2 for file sharing. I don't know what shoud I
do for pswd sharing. may help me?

mkg

In article <[EMAIL PROTECTED]>,
  Eldir Tomassen <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >
> > Hi,
> >
> > I'm using RedHat 5.2 and NT4.0 in a network. My NT ran ms-proxy 2.0 with its
> > authentication strategies. I want to share Linux /etc/passwd file with my
NT.
> > Actually I don't want to redefine my linux users under NT machine. Is there
> > any idea?
>
> Use SAMBA.
>
> ELdir
> [EMAIL PROTECTED]
>

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: "Curtis Adams" <[EMAIL PROTECTED]>
Subject: Using MS-Outlook as email client, now how to configure Linux server?
Date: Fri, 5 Mar 1999 16:18:11 -0500

Greetings,
I would like to use MS-Outlook on Windows95 workstations to send/receive
mail on a local network AND to send/receive mail on the internet (POP3).
I've got Sendmail running and have installed IMAP. If someone could point me
in the right direction for doing both, I would greatly appreciate it.

Thanks!
Curtis




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

From: Rick Onanian <[EMAIL PROTECTED]>
Subject: Re: FTP throug Linux gateway problems
Date: Fri, 05 Mar 1999 13:23:08 -0500

This is actually a pretty common problem. It relates to how FTP likes to
open more than one tcp port when you want to actually do something. You
should try toggling the "passive" mode in your ftp program.

If your the ftp server is also behind a firewall, things could get
very messy.

Derek Ealy wrote:
> 
> Hi,
> 
> I've got a strange problem. My internal network is several windows
> machines which are connected through my RH Linux 5.1 machine (kernel
> 2.0.36) to the internet. The gateway is running IP Masquerading and it
> seems to work fine for http and most ftp connections. For instance I
> can connect as anonymous and download from both ftp.microsoft.com and
> ftp.sun.com. But when I try to connect to one of my client's sites
> through the gateway the ftp session hangs as soon as I try to download
> a file or list a directory. What makes it pretty strange is that if I
> ftp from the Linux gateway box to my client's ftp site I can list
> directories and download files with no problem.
>
> My client's ftp site is running NT, but I would assume so is
> microsoft. What could possibly be wrong. I am assuming that there is
> some sort of problem with the masquerading firewall. I've been
> struggling with this firewall and port forwarding for almost a week
> now. This is getting to be really frustrating.
> 
> Any help would be greatly appreciated.
> 
> Thanks, Derek
> 
> --
> Please remove the anti-spam (nospam) device from my reply address.
> My actual email address is [EMAIL PROTECTED]
> 
> Need consultants for Win32 C++ VB Java DCOM and Unix development? Check
> us out at http://www.grandprixsw.com
> 
> 

-- 
  rick - a guy in search of raw (ISO) cd images of SuSE and Slackware
===============
My opinions don't exist, and as such, are not anyone elses. I do not 
represent anyone, not even myself, and especially not my employer.
---
Looking for a 1968 Camaro SS convertible, black interior, 
beat-up rustbucket that is in need lots of restoration and TLC.
---
To email me, take out the papers and the trash
[EMAIL PROTECTED]

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

From: "Cameron Spitzer" <[EMAIL PROTECTED]>
Subject: Re: 'Static Hostnames' while having a dynamic IP address
Date: 5 Mar 1999 21:37:16 GMT

In article <[EMAIL PROTECTED]>,
Rick Onanian  <[EMAIL PROTECTED]> wrote:
>Here is a link to a FAQ that will interest you.
>ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/Dynamic-IP-Hacks

That URL is bad.  Try
ftp://sunsite.unc.edu/pub/Linux/docs/HOWTO/unmaintained/mini/Dynamic-IP-Hacks


>Also, there are some domain name services that will give you a shared
>domain that can adapt to your dynamic IP. I don't know about getting a
>static hostname on your ISP's domain, tho.


I used dyn.ml.org until it went out of business last year.
There are a couple of short lifetime, easy update DNS providers,
but the ones I could find are all commercial.  Anybody know
of a replacement for Monolith?

Cameron

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

Date: Fri, 05 Mar 1999 12:05:29 +0100
From: Holger von Ameln <[EMAIL PROTECTED]>
Subject: Re: How can I stop my eth1 network card

dave wrote:
> 
> I have two network cards. One eth0 is for my Intranet and eth1 is for my
> Internet connection.  I want to disable my Internet eth1 connection when I am
> not using my computer.  I can do this in X with the network configuration tool
> but I want to disable/enable from the command line.  I am using kerneld.
> 
> Using RedHat 5.2

ifconfig eth0 down

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

From: [EMAIL PROTECTED] (Ben Elliston)
Crossposted-To: comp.unix.programmer
Subject: Re: tcp server with timeout
Date: Sat, 06 Mar 1999 09:12:29 +1100

In article <[EMAIL PROTECTED]>, Dennis Schulze
<[EMAIL PROTECTED]> wrote:

> I am looking for a way to let a tcp server listen to a port for a
> specified amount of time and then exiting if no client has connected to
> it. So far, the accept() is rather running infinitive and I don't know

If you want to avoid using select() and asynchronous I/O, you can use
SIGALRM to break out of the blocking accept() call:

   alarm(30);  /* wait 30 secs for a connection. */
   accept(..);
   alarm(0);   /* disable the timer */

Ben

-- 
Ben Elliston
[EMAIL PROTECTED]

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

Date: Fri, 05 Mar 1999 23:03:22 +0100
From: Job Eisses <[EMAIL PROTECTED]>
Subject: Re: dummy interface

arman wrote:
> Please help if you know the solution to this problem.
> I am trying to set the dummy interface on RedHat 5.1:
> ifconfig dummy 192.1.1.13
> I get the Error:
> SIOCSIFADDR: Operation not supported by device.
> 
> I know that the dummy module is in the kernal. in fact after executing the
> above command the dummy interface is loaded, I can see it using "lsmod"
> command.
> 
> What is happening ?

Puzzles me, i get "SIOCSIFADDR: No such device" if i try it here,
and if i try "ifconfig dummy0 192.1.1.13" it is accepted and works.

                                wfg      -job

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Source code for ifconfig required
Date: Fri, 05 Mar 1999 21:39:10 GMT

In article <7bp3s6$[EMAIL PROTECTED]>, Vish Viswanathan wrote:
>Could someone please tell me where I can find the source code for ifconfig
>utility.

It comes with the net-tools package, the latest version (I know of) is
net-tools-1.50. Beware though, the whole package did not compile without
some tweaking for me, but ifconfig ought to be fine (more Makefile stuff
and such).

>[EMAIL PROTECTED]
No silly jokes about CPU id's and such please 8)
Juergen

-- 
\ Real name     : J�rgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /
  \ Phone Private : +44 181-332 0750              \                  /

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

From: [EMAIL PROTECTED] (Ben Goble,  Lakewood, CO)
Subject: Re: How can I stop my eth1 network card
Date: Fri, 05 Mar 1999 18:48:01 GMT

dave <[EMAIL PROTECTED]> wrote:
>I have two network cards. One eth0 is for my Intranet and eth1 is for my 
>Internet connection.  I want to disable my Internet eth1 connection when I am 
>not using my computer.  I can do this in X with the network configuration tool 
>but I want to disable/enable from the command line.  I am using kerneld.
>
>Using RedHat 5.2 

Have you tried      ifconfig eth1 down

-- 
Ben Goble \ Lakewood, CO USA
[EMAIL PROTECTED]
A Stranger and Pilgrim on the Earth.

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


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