Re: problem bringing up eth0

2005-05-07 Thread Thomas Hood
On Sat, 07 May 2005 03:00:12 +0200, germ germ wrote:

 I configured /etc/network/interfaces as:
 iface eth0 inet dhcp
 iface lo inet loopback
 auto eth0 lo


Make it:

   auto lo eth0

so that the loopback interface is configured first.

-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problem bringing up eth0

2005-05-07 Thread Shaul Karl
On Fri, May 06, 2005 at 05:57:39PM -0700, germ germ wrote:
 I am running 2.2.20 and I have installed the driver
 for my NIC but am unable to pull an IP.
 
 I configured /etc/network/interfaces as:
 iface eth0 inet dhcp
 iface lo inet loopback
 auto eth0 lo
 
 'dmsg|grep eth0' shows what NIC and driver are install
 and it shows the MAC address.
 
 'ifup -a' returns an error of SIOCSIFFLAGS: Device or
 resource busy.
 
 'ifconfig -a' is lacking an inet line with IP, mask
 and bcast.
 
 Any tips so I can pull an IP?


  Perhaps you should configure it manually, as opposed to using dhcp?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problem bringing up eth0

2005-05-07 Thread germ germ
I changed the eth0 dchp line to:
iface etho inet static
 address 192.168.0.129
 netmask 255.255.255.0
 gateway 192.168.0.2

ifconfig -a inet line now has IP,mask and bcast but
I am unable to ping out or get pinged.

do I have to modify anthing in /etc/dhclient/conf?

--- Shaul Karl [EMAIL PROTECTED] wrote:
 On Fri, May 06, 2005 at 05:57:39PM -0700, germ germ
 wrote:
  I am running 2.2.20 and I have installed the
 driver
  for my NIC but am unable to pull an IP.
  
  I configured /etc/network/interfaces as:
  iface eth0 inet dhcp
  iface lo inet loopback
  auto eth0 lo
  
  'dmsg|grep eth0' shows what NIC and driver are
 install
  and it shows the MAC address.
  
  'ifup -a' returns an error of SIOCSIFFLAGS:
 Device or
  resource busy.
  
  'ifconfig -a' is lacking an inet line with IP,
 mask
  and bcast.
  
  Any tips so I can pull an IP?
 
 
   Perhaps you should configure it manually, as
 opposed to using dhcp?



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: problem bringing up eth0

2005-05-07 Thread s. keeling
Incoming from germ germ:
 I changed the eth0 dchp line to:
 iface etho inet static
  address 192.168.0.129
  netmask 255.255.255.0
  gateway 192.168.0.2
 
 ifconfig -a inet line now has IP,mask and bcast but
 I am unable to ping out or get pinged.
 
 do I have to modify anthing in /etc/dhclient/conf?

You're using static addressing.  No DHCP required.

/etc/network/interfaces:

   auto lo eth0

then ifup eth0 or /etc/init.d/networking restart


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling  Please don't Cc: me.
- -


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



problem bringing up eth0

2005-05-06 Thread germ germ
I am running 2.2.20 and I have installed the driver
for my NIC but am unable to pull an IP.

I configured /etc/network/interfaces as:
iface eth0 inet dhcp
iface lo inet loopback
auto eth0 lo

'dmsg|grep eth0' shows what NIC and driver are install
and it shows the MAC address.

'ifup -a' returns an error of SIOCSIFFLAGS: Device or
resource busy.

'ifconfig -a' is lacking an inet line with IP, mask
and bcast.

Any tips so I can pull an IP?

thank you





__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



simple networking problem - bringing up eth0 correctly

2003-04-05 Thread Dale Welch
I need to automate setting up my network and i seem to be missing
something...

using debian
  Linux Version 2.4.18-bf2.4-xfs

if i manually do the following commands i can get out on my network
   ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up
   route add default gw 192.168.1.254

i also seem to be not setting up for dns... how do i set that up? (can't
resolv names)

Your help greatly appreciated, I used to run freebsd years ago, but now am
trying to use linux and obviously need help.

---dale



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: simple networking problem - bringing up eth0 correctly

2003-04-05 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Apr 05, 2003 at 12:44:05AM -0800, Dale Welch wrote:
 if i manually do the following commands i can get out on my network
ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up
route add default gw 192.168.1.254

Edit /etc/network/interfaces instead, then /etc/init.d/networking restart

 i also seem to be not setting up for dns... how do i set that up? (can't
 resolv names)

Edit /etc/resolv.conf, check the manual (resolv.conf(5))

- -- 
 .''`. Baloo Ursidae [EMAIL PROTECTED]
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+jp5YJ5vLSqVpK2kRArMlAJ9n1vL8puw5fSnyYfARxi06dQadogCg3p9x
tIwA52iSkGByWrn83VWlDC4=
=6yXa
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: simple networking problem - bringing up eth0 correctly

2003-04-05 Thread Dale Welch
To explain better:
 if i manually do the following commands i can get out on my network
ifconfig eth0 192.168.1.50 netmask 255.255.255.0 up
route add default gw 192.168.1.254
i need to have that configured automatically during start-up and i need my
dns to work.

just found my dns problem... in resolv.conf i had name server instead of
nameserver --- dns now works.
but what is wrong with my interfaces... all help appreciated. :-)

my resolv.conf:
   domain babbler.org
   search babbler.org
   nameserver 4.2.2.1

interfaces:
  auto eth0
  iface eth0 inet static
  address  192.168.1.51
  network 192.168.1.0
  gateway 192.168.1.254

---dale


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: simple networking problem - bringing up eth0 correctly

2003-04-05 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, Apr 05, 2003 at 01:29:57AM -0800, Dale Welch wrote:
 interfaces:
   auto eth0
   iface eth0 inet static
   address  192.168.1.51
   network 192.168.1.0
   gateway 192.168.1.254

Try this.

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.1.51
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.0.254

- -- 
 .''`. Baloo Ursidae [EMAIL PROTECTED]
: :'  :proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+jqogJ5vLSqVpK2kRAqlvAJ9ufvUKFOUzEqRmF12WamXuXVi/1gCeOXWZ
Vpi8M0djrs6T8cb+RArFJIk=
=V64K
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]