LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ifconfig -a sees eth0 ifconfig does not (https://www.linuxquestions.org/questions/linux-networking-3/ifconfig-a-sees-eth0-ifconfig-does-not-4175579086/)

thllgo 05-05-2016 02:10 PM

ifconfig -a sees eth0 ifconfig does not
 
Thank you in advance for any help you may be.
I have a Dell R910 running Suse Enterprise 10, yes I know old. If I run the command "ifconfig" I only get lo if I run "ifconfig -a" I see lo and eth0, and sit0
I edited the file /etc/sysconfig/network/ifcfg-eth0
Quote:

DEVICE=eth0
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.1.2.3
NETMASK=255.255.255.0
NETWORK=10.1.2.0
I ran the command "service network restart" it shows stopping the network but when it gets to starting eth0 it says skipping
Why is this?

thllgo 05-05-2016 02:26 PM

found it, had to add the line
STARTMODE=onboot
I don't ever remember doing that in Red Hat, must be a Suse thing.

Thank you

vincix 05-05-2016 03:38 PM

Quote:

Originally Posted by thllgo (Post 5541066)
found it, had to add the line
STARTMODE=onboot
I don't ever remember doing that in Red Hat, must be a Suse thing.

Thank you

Well, yes, in Red Hat it probably doesn't exist at all and it's definitely not necessary. Moreover, the config files in RHEL are in /etc/sysconfig/network-scripts, not in /etc/sysconfig/network. There are probably many differences between the two distros. It took me quite some time to actually turn on the ssl engine on apache in suse. I found out that there was this option in /etc/apache2 (or thereabouts) that I needed to activate in order for it to work. Seemed completely useless, but whatever :)


All times are GMT -5. The time now is 07:37 PM.