Frage zu Cent OS

Hilfe zu Znuny Problemen aller Art
Locked
TMNEt
Znuny newbie
Posts: 33
Joined: 19 Dec 2011, 23:00
Znuny Version: 5.0.10
Real Name: Thomas

Frage zu Cent OS

Post by TMNEt »

Hallo,

auch wenn es ncht wirklich ein Problem mit OTRS ist, hoffe ich trotzdem das mit jemand helfen kann.

Ich habe Cent OS 7 frisch in einer VMWare aufgesetzt und OTRS erfolgreich installiert. Wenn CentOS gebootet wird, muss ich die Netzwerkkarte im CentOS über die GUI aktivieren.

Ich habe zu dieser Problematik auch die eigentliche Lösung gefunden, nämlich in der Datei "ifcfg-eth0"unter /etc/sysconfig/network-scripts/ die Zeile

ONBOOT=yes

zu setzen.

Leider habe ich keine Datei eth0 in dem besagten Ordner.

Code: Select all

[root@osboxes network-scripts]# ls -l
total 232
-rw-r--r--. 1 root root   287 Dec 19 01:17 ifcfg-eno16777736
-rw-r--r--. 1 root root   254 Sep 16  2015 ifcfg-lo
lrwxrwxrwx. 1 root root    24 Dec 19 01:12 ifdown -> ../../../usr/sbin/ifdown
-rwxr-xr-x. 1 root root   627 Sep 16  2015 ifdown-bnep
-rwxr-xr-x. 1 root root  5817 Sep 16  2015 ifdown-eth
-rwxr-xr-x. 1 root root  6196 Dec  1 02:58 ifdown-ib
-rwxr-xr-x. 1 root root   781 Sep 16  2015 ifdown-ippp
-rwxr-xr-x. 1 root root  4201 Sep 16  2015 ifdown-ipv6
lrwxrwxrwx. 1 root root    11 Dec 19 01:12 ifdown-isdn -> ifdown-ippp
-rwxr-xr-x. 1 root root  1642 Sep 16  2015 ifdown-post
-rwxr-xr-x. 1 root root  1068 Sep 16  2015 ifdown-ppp
-rwxr-xr-x. 1 root root   837 Sep 16  2015 ifdown-routes
-rwxr-xr-x. 1 root root  1444 Sep 16  2015 ifdown-sit
-rwxr-xr-x. 1 root root  1599 Apr  2  2015 ifdown-Team
-rwxr-xr-x. 1 root root  1556 Apr  2  2015 ifdown-TeamPort
-rwxr-xr-x. 1 root root  1462 Sep 16  2015 ifdown-tunnel
lrwxrwxrwx. 1 root root    22 Dec 19 01:12 ifup -> ../../../usr/sbin/ifup
-rwxr-xr-x. 1 root root 12631 Sep 16  2015 ifup-aliases
-rwxr-xr-x. 1 root root   859 Sep 16  2015 ifup-bnep
-rwxr-xr-x. 1 root root 11721 Sep 16  2015 ifup-eth
-rwxr-xr-x. 1 root root 10145 Dec  1 02:58 ifup-ib
-rwxr-xr-x. 1 root root 12039 Sep 16  2015 ifup-ippp
-rwxr-xr-x. 1 root root 10430 Sep 16  2015 ifup-ipv6
lrwxrwxrwx. 1 root root     9 Dec 19 01:12 ifup-isdn -> ifup-ippp
-rwxr-xr-x. 1 root root   642 Sep 16  2015 ifup-plip
-rwxr-xr-x. 1 root root  1043 Sep 16  2015 ifup-plusb
-rwxr-xr-x. 1 root root  2609 Sep 16  2015 ifup-post
-rwxr-xr-x. 1 root root  4154 Sep 16  2015 ifup-ppp
-rwxr-xr-x. 1 root root  1925 Sep 16  2015 ifup-routes
-rwxr-xr-x. 1 root root  3263 Sep 16  2015 ifup-sit
-rwxr-xr-x. 1 root root  1755 Apr  2  2015 ifup-Team
-rwxr-xr-x. 1 root root  1876 Apr  2  2015 ifup-TeamPort
-rwxr-xr-x. 1 root root  2682 Sep 16  2015 ifup-tunnel
-rwxr-xr-x. 1 root root  1740 Sep 16  2015 ifup-wireless
-rwxr-xr-x. 1 root root  4623 Sep 16  2015 init.ipv6-global
-rw-r--r--. 1 root root 15322 Sep 16  2015 network-functions
-rw-r--r--. 1 root root 26134 Sep 16  2015 network-functions-ipv6
[root@osboxes network-scripts]# pwd
/etc/sysconfig/network-scripts
Wie bringe ich Cent OS bei, beim Starten die Netzwerkkarte zu aktivieren?

Ich hoffe mir kann hier jemand helfen.

Vielen Dank im voraus!
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: Frage zu Cent OS

Post by KlausNehrer »

Zeige bitte mal die Ausgabe von

Code: Select all

ifconfig
TMNEt
Znuny newbie
Posts: 33
Joined: 19 Dec 2011, 23:00
Znuny Version: 5.0.10
Real Name: Thomas

Re: Frage zu Cent OS

Post by TMNEt »

Hallo Klaus,

der befehl gibt folgendes aus:

Code: Select all

[root@osboxes network-scripts]# ifconfig
eno16777736: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.12.33  netmask 255.255.255.0  broadcast 192.168.12.255
        inet6 fe80::20c:29ff:fe26:3750  prefixlen 64  scopeid 0x20<link>
        ether 00:0c:29:26:37:50  txqueuelen 1000  (Ethernet)
        RX packets 40851  bytes 3656583 (3.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1994  bytes 641380 (626.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 153126  bytes 19944769 (19.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 153126  bytes 19944769 (19.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:5d:15:96  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: Frage zu Cent OS

Post by KlausNehrer »

Dann solltest Du diese eno Datei bearbeiten, da das Interface nicht eth0 heißt.
TMNEt
Znuny newbie
Posts: 33
Joined: 19 Dec 2011, 23:00
Znuny Version: 5.0.10
Real Name: Thomas

Re: Frage zu Cent OS

Post by TMNEt »

Super, vielen Dank! Mit dem Hinweis habe ich es hinbekommen.
Locked