More Related Content
Similar to Troubleshooting linux debian server (20)
Troubleshooting linux debian server
- 1. TROUBLESHOOTING LINUX DEBIAN SERVER
I. Masalah Kartu Jaringan
1. Kartu jaringan tidak ditemukan pesan errornya
Masalah :
#/etc/init.d/networking restart
eth0: ERROR while getting interface flags: No such device
#ifconfig –a
eth1 Link encap:Ethernet HWaddr 00:0c:76:18:38:38
inet addr:85.221.109.243 Bcast:85.221.111.255 Mask:255.255.252.0
inet6 addr: fe80::20c:76ff:fe18:3838/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:599988 errors:122 dropped:0 overruns:0 frame:122
TX packets:22037 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:37632630 (35.8 MiB) TX bytes:16386031 (15.6 MiB)
eth0_rename Link encap:Ethernet HWaddr 00:08:a1:bd:76:fa
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::208:a1ff:febd:76fa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
penyelesaian :
edit file berikut :
cat /etc/udev/rules.d/z25_persistent-net.rules
atau
cat /etc/udev/rules.d/70-persistent-net.rules
isi dari file diatas adalah seperti dibawah ini, dan ganti NAME eth
yang dibutuhkan, kemudian reboot system.
# PCI device 0x10ec:0x8139 (8139too
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:fc:6f:27:06",
NAME="eth0"
# PCI device 0x8086:0x1050 (e100)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:76:18:38:38",
NAME="eth1"
# PCI device 0x10ec:0x8169 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:08:a1:bd:76:fa", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"
SELESAI