Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
#ls -all /etc/init.d total 200 drwxr-xr-x 2 root root 4096 Apr 21 14:26 . drwxr-xr-x 30 root root 4096 Apr 23 13:49 .. -rwxr-xr-x 1 root root 4595 Apr 15 11:39 bootmisc -rwxr-xr-x 1 root root 372 Apr 15 11:37 busybox-ntpd -rwxr-xr-x 1 root root 334 Apr 15 11:37 busybox-watchdog -rwxr-xr-x 1 root root 1404 Apr 15 11:39 consolefont -rwxr-xr-x 1 root root 1729 Apr 15 10:21 crypto-loop -rwxr-xr-x 1 root root 843 Apr 15 11:39 devfs -rwxr-xr-x 1 root root 309 Apr 15 11:39 dmesg -rwxr-xr-x 1 root root 2676 Apr 15 11:39 fsck lrwxrwxrwx 1 root root 23 Apr 15 11:39 functions.sh -> /lib/rc/sh/functions.sh -rwxr-xr-x 1 root root 500 Apr 15 11:39 hostname -rwxr-xr-x 1 root root 2703 Apr 15 11:39 hwclock -rwxr-xr-x 1 root root 1726 Apr 15 11:39 keymaps -rwxr-xr-x 1 root root 404 Apr 15 11:39 killprocs -rwxr-xr-x 1 root root 584 Apr 15 11:19 kmod-static-nodes -rwxr-xr-x 1 root root 955 Apr 15 11:39 local -rwxr-xr-x 1 root root 2111 Apr 15 11:39 localmount -rwxr-xr-x 1 root root 762 Apr 15 11:39 loopback -rwxr-xr-x 1 root root 1509 Apr 15 11:39 modules -rwxr-xr-x 1 root root 1071 Apr 15 11:39 mount-ro -rwxr-xr-x 1 root root 821 Apr 15 11:39 mtab lrwxrwxrwx 1 root root 6 Apr 21 14:26 net.eth0 -> net.lo -rwxr-xr-x 1 root root 17412 Apr 15 11:39 net.lo -rwxr-xr-x 1 root root 1583 Apr 15 11:39 netmount -rwxr-xr-x 1 root root 698 Apr 15 11:39 numlock -rwxr-xr-x 1 root root 2019 Apr 15 11:39 procfs -rwxr-xr-x 1 root root 736 Apr 15 11:21 pydoc-2.7 -rwxr-xr-x 1 root root 736 Apr 15 11:24 pydoc-3.3 -rwxr-xr-x 1 root root 304 Apr 15 10:02 reboot.sh -rwxr-xr-x 1 root root 969 Apr 15 11:39 root -rwxr-xr-x 1 root root 357 Apr 15 11:19 rsyncd -rwxr-xr-x 1 root root 1121 Apr 15 11:39 savecache -rwxr-xr-x 1 root root 385 Apr 15 10:02 shutdown.sh -rwxr-xr-x 1 root root 2313 Apr 15 11:38 sshd -rwxr-xr-x 1 root root 805 Apr 15 11:39 swap -rwxr-xr-x 1 root root 787 Apr 15 11:39 swapfiles -rwxr-xr-x 1 root root 526 Apr 15 11:39 swclock -rwxr-xr-x 1 root root 703 Apr 15 11:39 sysctl -rwxr-xr-x 1 root root 3376 Apr 15 11:39 sysfs -rwxr-xr-x 1 root root 1032 Apr 15 11:39 termencoding -rwxr-xr-x 1 root root 367 Apr 15 11:39 tmpfiles.dev -rwxr-xr-x 1 root root 330 Apr 15 11:39 tmpfiles.setup -rwxr-xr-x 1 root root 4322 Apr 15 11:40 udev -rwxr-xr-x 1 root root 2046 Apr 15 11:40 udev-mount -rwxr-xr-x 1 root root 932 Apr 15 11:39 urandom |
Quellcode |
|
1 2 3 4 |
rmmod tg3 rmmod broadcom modprobe tg3 modprobe broadcom |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »michi-monster« (26.04.2014, 20:04)
Quellcode |
|
1 2 3 4 |
rmmod broadcom rmmod tg3 modprobe broadcom modprobe tg3 |
Quellcode |
|
1 2 |
[ 7.472591] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI [ 7.472594] e1000: Copyright (c) 1999-2006 Intel Corporation. |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
#lspci00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) 00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3) 00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c) 00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller 00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] 01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series] 02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57788 Gigabit Ethernet PCIe (rev 01) |
Quellcode |
|
1 2 3 4 5 6 |
[ 347.831371] tg3 0000:02:00.0 eth0: Tigon3 [partno(BCM57788) rev 57780001] (PCI Express) MAC address 00:26:2d:21:fd:a3 [ 347.831375] tg3 0000:02:00.0 eth0: attached PHY driver [Broadcom BCM57780] (mii_bus:phy_addr=200:01) [ 347.831377] tg3 0000:02:00.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1] [ 347.831379] tg3 0000:02:00.0 eth0: dma_rwctrl[76180000] dma_mask[64-bit] [ 347.898129] systemd-udevd[12071]: renamed network interface eth0 to enp2s0 |
Quellcode |
|
1 |
# ifconfig enp2s0 |
aufrufen und gibt dir das was?
Quellcode
1 # ifconfig enp2s0
Quellcode |
|
1 2 3 4 5 |
enp2s0: flags=4098<BROADCAST,MULTICAST> mtu 1500 ether 00:26:2d:21:fd:a3 txqueuelen 1000 (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 device interrupt 19 |
Quellcode |
|
1 2 3 |
# cd /etc/init.d # ln -s net.enp2s0 net.lo # /etc/init.d/net.enp2s0 restart |
systemd-udevd[12071]: renamed network interface eth0 to enp2s0
Hehe, "/etc/init.d/net.enp2s0 ist nun vorhanden (auch auf deinem Screenshot). Schau dir das zb mit einem "ls -l" an.Da er beim ersten ln -s einen Fehler brachte, habe ich es in der Verlinkung umgedreht. Allerdings zeigt er danach unter init.d Nichts an bei TAB. Bitte schaut Euch mal die Details an.
Quellcode |
|
1 |
# /etc/init.d/net.enp2s0 restart |
Quellcode |
|
1 2 3 |
cd /etc/init.d/ unlink net.lo ln -s net.lo net.enp2s0 |