system eth0

ga tau kenapa tiap kali reboot settingan ip ilang.. daripada capek yaudah di edit aja file network config nya

# vim /etc/sysconfig/network-scripts/ifcfg-eth0

jadi:

# Attansic Technology Corp. L1 Gigabit Ethernet Adp
DEVICE=eth0
BOOTPROTO=static
BROADCAST=XXX.XXX.XXX.XXX
HWADDR=00:1b:fc:b6:8a:11
IPADDR=XXX.XXX.XXX.XXX
IPV6INIT=yes
IPV6_AUTOCONF=yes
NETMASK=XXX.XXX.XXX.XXX
NETWORK=XXX.XXX.XXX.XXX
DNS1=XXX.XXX.XXX.XXX
DNS2=XXX.XXX.XXX.XXX
ONBOOT=yes

trus buat gateway:

# vim /etc/sysconfig/network

jadi:

NETWORKING=yes
HOSTNAME=localhost.localdomain
GATEWAY=XXX.XXX.XXX.XXX

trus skalian aja otomatisin wlan0 nya
# iwconfig wlan0 mode managed

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s