Re: Howto setup eth0

2001-04-04 Thread Jan Ulrich Hasecke
Hallo Bob!

Am Die, 03 Apr 2001, schrieb Bob Nielsen:

 Here's what I have in /etc/network/interfaces:

 [...]

 #home network on eth0
 auto eth0
 iface eth0 inet static
   address 192.168.1.1
   netmask 255.255.255.0
   network 192.168.1.0
   broadcast 192.168.1.255

This is what I tried yesterday. And it works for me. Everything else I
defined in /etc/ppp/peers/dslprovider.
 
 #ethernet connection to DSL modem
 auto eth1
 iface eth1 inet static
   address w.x.y.z my ip
   netmask 255.255.255.0
   network w.x.y.0
   broadcast w.x.y.255
   gateway ISP's default gateway address

I get a dynamical address, so it is not necessary for me.

Does anyone know, if the READMEs are updated in woody?

Thanks
juh

-- 
68 in der CDU
http://www.sudelbuch.de/1999/19991222.html



Re: Howto setup eth0

2001-04-03 Thread ktb
On Tue, Apr 03, 2001 at 01:55:33PM +1000, Mark Devin wrote:
 When I installed debian, I didn't set up my ethernet card.  Now I want
 to set up ADSL using it but have noticed that the file
 /etc/init.d/network does not exist on my system.
 
 How do I create this file?  Is there a package which I must install
 which creates this with is installation scripts?
 

The script is actually  /etc/init.d/networking
/etc/network/interfaces is the file where you place your network info.
See 'man interfaces'

This all applies if your using potato.
hth,
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: Howto setup eth0

2001-04-03 Thread Mark Devin
Jeff Levy - [EMAIL PROTECTED] wrote:

 i assume your dsl provider is using dhcp, i could be wrong.

 if it is, grab a package called pump, unless it's already installed. if
 you don't know, su to root (type 'su', enter password), type pump, press
 enter. if you don't get an error, run ifconfig ... you should see eth0

 if you don't have eth0 at this point, or have  a static ip, try

 ifconfig eth0 up [your ip addres] (minus the brackets, of course)

Oh, thanks for that.  I did that and it worked.  I already had pump installed.

ifconfig eth0 up ***.***.***.***  worked and brought up the interface.

But I am confused as to why I don't have the file /etc/init.d/network  which is
mentioned in the documentation I have been reading?  It is obviously a script
which brings up the interface at bootup.

What package should I install which creates this script?  I remember answering
questions about networking when I installed but I think I skipped them or
something and now don't know how to re-do them.

Thanks

Mark.



Re: Howto setup eth0

2001-04-03 Thread Mark Devin
ktb wrote:

 On Tue, Apr 03, 2001 at 01:55:33PM +1000, Mark Devin wrote:
  When I installed debian, I didn't set up my ethernet card.  Now I want
  to set up ADSL using it but have noticed that the file
  /etc/init.d/network does not exist on my system.
 
  How do I create this file?  Is there a package which I must install
  which creates this with is installation scripts?
 

 The script is actually  /etc/init.d/networking
 /etc/network/interfaces is the file where you place your network info.
 See 'man interfaces'

Thank you Kent.  I wondered if that file was the one.  I have it alright.  But
the strange thing was that the documentation I was reading was referring to
Debian (I think).

Anyway, it makes sense now.

Thanks.

Mark.




Re: Howto setup eth0

2001-04-03 Thread ktb
On Tue, Apr 03, 2001 at 02:58:56PM +1000, Mark Devin wrote:
 ktb wrote:
 
  On Tue, Apr 03, 2001 at 01:55:33PM +1000, Mark Devin wrote:
   When I installed debian, I didn't set up my ethernet card.  Now I want
   to set up ADSL using it but have noticed that the file
   /etc/init.d/network does not exist on my system.
  
   How do I create this file?  Is there a package which I must install
   which creates this with is installation scripts?
  
 
  The script is actually  /etc/init.d/networking
  /etc/network/interfaces is the file where you place your network info.
  See 'man interfaces'
 
 Thank you Kent.  I wondered if that file was the one.  I have it alright.  But
 the strange thing was that the documentation I was reading was referring to
 Debian (I think).
 
 Anyway, it makes sense now.
 

You were probably reading a doc from an earlier release of Debian.  When
Potato came out /etc/init.d/networking was implemented.  It used to be
/etc/init.d/network
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: Howto setup eth0

2001-04-03 Thread Mircea Luca
Mark Devin wrote:
 
 Jeff Levy - [EMAIL PROTECTED] wrote:
 
  i assume your dsl provider is using dhcp, i could be wrong.
 
  if it is, grab a package called pump, unless it's already installed. if
  you don't know, su to root (type 'su', enter password), type pump, press
  enter. if you don't get an error, run ifconfig ... you should see eth0
 
  if you don't have eth0 at this point, or have  a static ip, try
 
  ifconfig eth0 up [your ip addres] (minus the brackets, of course)
 
 Oh, thanks for that.  I did that and it worked.  I already had pump installed.
 
 ifconfig eth0 up ***.***.***.***  worked and brought up the interface.
 
 But I am confused as to why I don't have the file /etc/init.d/network  which 
 is
 mentioned in the documentation I have been reading?  It is obviously a script
 which brings up the interface at bootup.
 
 What package should I install which creates this script?  I remember answering
 questions about networking when I installed but I think I skipped them or
 something and now don't know how to re-do them.
 
 Thanks
 
 Mark.
 

/etc/init.d/network was the old script used in slink.You've been reading
some
old docs.Not applicable anymore.
Now in potato you ahve the daemon /etc/init.d/networking which
starts/stops/restarts ALL interfaces listed in /etc/network/interfaces
(man interfaces for a description of the file) ,and for individual
interfaces
you use ifup/ifdown interface -also based on /etc/network/interfaces .

This is the original file that was included while potato was still
unstable,with
examples in the file.It has been since dumped in the favour of
not_so_easily_to_be_found  man interfaces .
-
##
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
#
# A # character in the very first column makes the rest of the line
# be ignored. Blank lines are ignored. Lines may be indented freely.
# A \ character at the very end of the line indicates the next line
# should be treated as a continuation of the current one.
#
# The noauto, up, and down options are valid for all interfaces.
# up and down may be specified multiple times, all other options
# may only be specified once.
#
# See the ifup/ifdown manpage for information on what options are 
# available.
##

# We always want the loopback interface. (This is commented out in case
# you're configuring it by hand elsewhere, like in /etc/init.d/network.
If 
# you're not, you need this line)

 iface lo inet loopback

# An example ethernet card setup: (broadcast and gateway are optional)
#
 iface eth1 inet static
 address 192.168.1.54
 network 192.168.0.0
 netmask 255.255.255.0
 broadcast 192.168.1.255
# gateway 192.168.1.254

# An ethernet DHCP client:
#
 iface eth0 inet dhcp






RE: Howto setup eth0

2001-04-03 Thread Price, Tim

On Tue, Apr 03, 2001 at 01:55:33PM +1000, Mark Devin wrote:
snip
How do I create this file?  Is there a package which I  must install which
creates this with is installation scripts?
/snip

From the mouth of the great Joey Hess, replying to an earlier thread about
installing shadow/md5 passwords after the fact:

Note that you can also use dpkg-reconfigure base-config to re-see some of
the questions it asked at install time.

-- 
see shy jo
CAUTION

This e-mail and any files transmitted with it are privileged and confidential 
information intended for the use of the addressee. The confidentiality and/or 
privilege in this e-mail is not waived, lost or destroyed if it has been 
transmitted to you in error. If you have received this e-mail in error you must 
(a) not disseminate, copy or take any action in reliance on it; (b) please 
notify Australia Post immediately by return e-mail to the sender; and (c) 
please delete the original e-mail.



Re: Howto setup eth0

2001-04-03 Thread Jan Ulrich Hasecke
Hallo Mircea!

Pardon me for intruding your thread.

 /etc/init.d/network was the old script used in slink.You've been
 reading some old docs.Not applicable anymore.  Now in potato you
 ahve the daemon /etc/init.d/networking which starts/stops/restarts
 ALL interfaces listed in /etc/network/interfaces (man interfaces for
 a description of the file) ,and for individual interfaces you use
 ifup/ifdown interface -also based on /etc/network/interfaces .

This was exactly what disturbed me, when I configured DSL.

I did the following which seems not to be the debian way.

,[ /etc/init.d/network ]
| ifconfig eth0 up
`

I even run update-rc.d network default 

,[ interfaces ]
| # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
| 
| # The loopback interface
| iface lo inet loopback
| 
| #iface eth0 inet static  # MY HOME NET
| # address 192.168.1.1
| # network 192.168.1.0
| # netmask 255.255.255.0
| # broadcast 192.168.1.255
`

So how can I configure DSL the debian way. I would like to use my
homenet _and_ DSL at the same time. 

Shall I simply insert:

iface eth0 up 

in interfaces?

TIA
juh

-- 
Blitzkrieg und Vergeltungsschläge
http://www.sudelbuch.de/2000/20001210.html



Re: Howto setup eth0

2001-04-03 Thread Carel Fellinger
On Tue, Apr 03, 2001 at 09:10:01AM +0200, Jan Ulrich Hasecke wrote:
 Hallo Mircea!
 
 | #iface eth0 inet static  # MY HOME NET
 | #   address 192.168.1.1
 | #   network 192.168.1.0
 | #   netmask 255.255.255.0
 | #   broadcast 192.168.1.255

As usual, it's all in the Fine Manuals.
For dhcp/pump the above section should read:

   iface eth0 inet dhcp

-- 
groetjes, carel



Re: Howto setup eth0

2001-04-03 Thread Bob Nielsen
On Tue, Apr 03, 2001 at 09:10:01AM +0200, Jan Ulrich Hasecke wrote:
 Hallo Mircea!
 
 Pardon me for intruding your thread.
 
  /etc/init.d/network was the old script used in slink.You've been
  reading some old docs.Not applicable anymore.  Now in potato you
  ahve the daemon /etc/init.d/networking which starts/stops/restarts
  ALL interfaces listed in /etc/network/interfaces (man interfaces for
  a description of the file) ,and for individual interfaces you use
  ifup/ifdown interface -also based on /etc/network/interfaces .
 
 This was exactly what disturbed me, when I configured DSL.
 
 I did the following which seems not to be the debian way.
 
 ,[ /etc/init.d/network ]
 | ifconfig eth0 up
 `
 
 I even run update-rc.d network default 
 
 ,[ interfaces ]
 | # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 | 
 | # The loopback interface
 | iface lo inet loopback
 | 
 | #iface eth0 inet static  # MY HOME NET
 | #   address 192.168.1.1
 | #   network 192.168.1.0
 | #   netmask 255.255.255.0
 | #   broadcast 192.168.1.255
 `
 
 So how can I configure DSL the debian way. I would like to use my
 homenet _and_ DSL at the same time. 
 
 Shall I simply insert:
 
 iface eth0 up 
 
 in interfaces?

Jan, 

Here's what I have in /etc/network/interfaces:

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
 
#home network on eth0
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255

#ethernet connection to DSL modem
auto eth1
iface eth1 inet static
address w.x.y.z my ip
netmask 255.255.255.0
network w.x.y.0
broadcast w.x.y.255
gateway ISP's default gateway address


Bob