Onno W. Purbo onno@indo.net.id Ethernet di Linux Onno W. Purbo onno@indo.net.id
Linux di COMDEX 2000
Fokus Install ethernet di kernel Aktifkan ethernet
Kompile Kernel
Kompile Kernel [root@server /]# cd /usr/src/linux/
Kompile Kernel [root@server linux]# make menuconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux/scripts/lxdialog' make[1]: Leaving directory `/usr/src/linux/scripts/lxdialog' /bin/sh scripts/Menuconfig arch/i386/config.in Using defaults found in .config Preparing scripts: functions, parsing .................done.
IP Masquarade ..
make kernel # make dep # make clean # make bzImage # make bzlilo # make modules # make modules_install
Output make kernel /vmlinuz /System.map Copy ke /boot Rename /vmlinuz /vmlinuz-baru
Edit /etc/lilo.conf image=/boot/vmlinuz-baru label=linux-baru read-only root=/dev/hda? append = 'ether=3,0x340,eth0'
Default boot # lilo -D linux-baru
Edit /etc/conf.modules alias eth0 ne options ne io=0x300 irq=3
Alternatif cara install eth0 # modprobe ne io=0x300 irq=3
Setting IP Address
/etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" IPADDR="192.168.1.1" NETMASK="255.255.255.0" ONBOOT="yes"
Aktifkan Network # /etc/rc.d/init.d/network restart
Cara lain-nya .. # ifconfig eth0 192.168.1.1 netmask 255.255.255.0
Setup pada RedHat