Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => General Networking Support in Linux => Topic started by: lugoteehalt on March 18, 2004, 12:31:32 PM
-
Doing 'ifconfig' shows lo - nothing about eth0: should there be?
Doing 'ifconfig eth0 up' followed by 'ifconfig' gives both lo and eth0. If this is what should happen how can eth0 be made 'up' during startup? - assume this is necessary since I only have one keyboard between the two computers I'm trying to connect.
Thanks any help.
-
my eth0 gets activated at startup always...
i have done it by....... logging as root
setup
going to "system services" and then selecting the service "network" it automatically starts with that, every time i boot.
-
lugo!!
What distro u are using ?
If it is redhat or redhat similar then u can add a line to /etc/rc.d/rc.local like
ifconfig eth0 <desired ip> netmask <desired netmask usually 255.255.255.0> up
and it will start and will get an adress assigned to it automatically..
-
Hello Ricky! - bloody hell I didn't expect networking's Mike Tyson.
Am using Debian Potato.
Thanks both - will try both things.
:D
-
For referrence:
On Debian get ethernet, nic, cards up on startup by changing the /etc/network/interfaces file - think that's the one. It's the file that ifup and ifdown read. Yes:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
iface lo inet loopback
#lugo added the next block.
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
The cards then come up on startup. :)