--- bayu <[EMAIL PROTECTED]> wrote: > > > > OKe mas, sudah bisa install di HD, ada beberapa > > masalah yang belum tuntas. > > 1. Setting hostname komputer dimana ? IP komputer > dan > > gateway serta dns selalu berubah setelah restart, > > settingnya dimana ? kayaknya defaultnya dhcp. > ubah file di /etc/rc.d/inet1 dan rc.inet2
Wah masih bingung, gak berani ubah file karena bentuknya script. Coba nyonto filenya VL tapi gak bisa berhasil. Sudah coba edit /etc/rc.d/rc.inet1.conf, tapi tetap saja gak berhasil. Yang saya inginkan : Nama Komputer : komputer10 ip : 192.168.1.110 gateway : 192.168.1.20 netmask : 255.255.255.0 dns : 202.134.1.10 dan 202.134.0.155 setelah booting, file /etc/resolv.conf selalu berubah jadi nameserver 192.168.1.1 Ini isi filenya : ================ /etc/rc.d/rc.inet1 ================== ! /bin/sh # /etc/rc.d/rc.inet1 # This script is used to bring up the various network interfaces. # # Modified for SLAX by Tomas M. <http://slax.linux-live.org> # ifconfig lo down 2>/dev/null /sbin/ifconfig lo 127.0.0.1 2>/dev/null /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo 2>/dev/null for eth in `ls /sys/class/net`; do # check if dhcpcd is not already running for $eth interface, # in that case it was started by hotplug so don't start it again if [ "$eth" != "lo" -a ! -e /etc/dhcpc/dhcpcd-$eth.pid ]; then echo "/sbin/dhcpcd -d -t 10 $eth" /sbin/dhcpcd -d -t 10 $eth fi done # End of /etc/rc.d/rc.inet1 ======================== /etc/rc.d/rc.inet1.conf ========================= # /etc/rc.d/rc.inet1.conf # # This file contains the configuration settings for network interfaces. # If USE_DHCP[interface] is set to "yes", this overrides any other settings. # If you don't have an interface, leave the settings null (""). # Config information for eth0: IPADDR[0]="192.168.1.109" NETMASK[0]="255.255.255.0" USE_DHCP[0]="" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="" NETMASK[1]="" USE_DHCP[1]="" DHCP_HOSTNAME[1]="" # Config information for eth2: IPADDR[2]="" NETMASK[2]="" USE_DHCP[2]="" DHCP_HOSTNAME[2]="" # Config information for eth3: IPADDR[3]="" NETMASK[3]="" USE_DHCP[3]="" DHCP_HOSTNAME[3]="" # Default gateway IP address: GATEWAY="192.168.1.20" # Change this to "yes" for debugging output to stdout. Unfortunately, # /sbin/hotplug seems to disable stdout so you'll only see debugging output # when rc.inet1 is called directly. DEBUG_ETH_UP="no" =========================== /etc/rc.d/rc.inet2 =========================== #!/bin/sh # # rc.inet2 This shell script boots up the entire network system. # Note, that when this script is used to also fire # up any important remote NFS disks (like the /usr # directory), care must be taken to actually # have all the needed binaries online _now_ ... # # Uncomment or comment out sections depending on which # services your site requires. # # Author: Fred N. van Kempen, <[EMAIL PROTECTED]> # Modified for Slackware by Patrick Volkerding <[EMAIL PROTECTED]> # At this point, we are ready to talk to The World... # Mount remote (NFS) filesystems: if cat /etc/fstab | grep -v '^#' | grep -w nfs 1> /dev/null 2> /dev/null ; then # Start the RPC portmapper if we find NFS volumes defined in /etc/fstab, # since it will need to be running in order to mount them. If portmap # is not running, attempting to mount an NFS partition will cause mount # to hang. Keep this in mind if you plan to mount unlisted partitions... if [ -x /etc/rc.d/rc.portmap ]; then . /etc/rc.d/rc.portmap start else # Warn about a possible NFS problem. It's also possible to mount NFS partitions # without rpc.portmap by using '-o nolock' (not a good idea in most cases). echo "WARNING: NFS partitions found in /etc/fstab, but /etc/rc.d/rc.portmap is" echo " not executable. If you do not run portmap, NFS partitions will" echo " not mount properly. To start rpc.portmap at boot, change the" echo " permissions on /etc/rc.d/rc.portmap: chmod 755 /etc/rc.d/rc.portmap" sleep 10 fi echo "Mounting remote (NFS) file systems: /sbin/mount -a -t nfs" /sbin/mount -a -t nfs # This may be our /usr runtime! # Show the mounted volumes: /sbin/mount -v -t nfs fi # Load the RPC portmapper if /etc/rc.d/rc.portmap is executable. # This might be needed to mount NFS partitions that are not listed in /etc/fstab. if [ -x /etc/rc.d/rc.portmap ]; then . /etc/rc.d/rc.portmap start fi # Mount remote (SMB) filesystems: if cat /etc/fstab | grep -v '^#' | grep -w smbfs 1> /dev/null 2> /dev/null ; then echo "Mounting remote (SMB) file systems: /sbin/mount -a -t smbfs" /sbin/mount -a -t smbfs # Show the mounted volumes: /sbin/mount -v -t smbfs fi # Start the system logger if it is not already running (maybe because /usr # is on a network partition). if [ -x /etc/rc.d/rc.syslog -a -d /var/log -a ! -r /var/run/syslogd.pid ]; then . /etc/rc.d/rc.syslog start fi # If there is a firewall script, run it before enabling packet forwarding. # See the HOWTOs on http://www.netfilter.org/ for documentation on # setting up a firewall or NAT on Linux. In some cases this might need to # be moved past the section below dealing with IP packet forwarding. if [ -x /etc/rc.d/rc.firewall ]; then /etc/rc.d/rc.firewall start fi # Turn on IPv4 packet forwarding support. if [ -x /etc/rc.d/rc.ip_forward ]; then . /etc/rc.d/rc.ip_forward start fi # Start the inetd server: if [ -x /etc/rc.d/rc.inetd ]; then /etc/rc.d/rc.inetd start fi # Start the OpenSSH SSH daemon: if [ -x /etc/rc.d/rc.sshd ]; then echo "Starting OpenSSH SSH daemon: /usr/sbin/sshd" /etc/rc.d/rc.sshd start fi # Start the BIND name server daemon: if [ -x /etc/rc.d/rc.bind ]; then /etc/rc.d/rc.bind start fi # Start NIS (the Network Information Service): if [ -x /etc/rc.d/rc.yp ]; then . /etc/rc.d/rc.yp start fi # Start the NFS server. Note that for this to work correctly, you'll # need to load the knfsd module for kernel NFS server support. # You'll also need to set up some shares in /etc/exports, and be sure # that /etc/rc.d/rc.portmap is executable. # Starting the NFS server: if [ -x /etc/rc.d/rc.nfsd ]; then /etc/rc.d/rc.nfsd start fi # Stuff you won't need follows. ;-) # # Start the network routing daemon: # if [ -x /usr/sbin/routed ]; then # echo "Starting network routing daemon: /usr/sbin/routed" # /usr/sbin/routed -g -s # fi # # Start the system status server: # if [ -x /usr/sbin/rwhod ]; then # echo "Starting system status server: /usr/sbin/rwhod" # /usr/sbin/rwhod # fi # # Fire up the PC-NFS daemon(s). This is a primarily obsolete system, and may # # not be very secure. It's not at all needed for normal NFS server support. # # You probably should not run this. # if [ -x /usr/sbin/rpc.pcnfsd ]; then # echo "Starting PC-NFS daemons: /usr/sbin/rpc.pcnfsd /usr/sbin/rpc.bwnfsd" # /usr/sbin/rpc.pcnfsd /var/spool/lpd # fi # if [ -x /usr/sbin/rpc.bwnfsd ]; then # /usr/sbin/rpc.bwnfsd /var/spool/lpd # fi > > 2. Supaya samba aktif saat komputer boot dimana > > settingnya ? Samba ini supaya file di pc kita > dibaca > > dari pc lain. Kalo ambil data dari pc lain sudah > bisa. > untuk samba server slax belum terisntall jadi satu > paket, harus instal manual > coba paket samba slack 10.2 Samba server sudah berhasil install :) > > 3. Saya sudah coba install opera kan kvirc sudah > bisa, > > unuk user warnet. > :) cepet kan .... > cuman 600Mb ... Iya menurut saya ini distro linux mini yang tampilannya paling bagus. Tambah install Gyach, sudah seneng user warnet. 4. Ada masalah lain juga, saya set defaul runlevel 4 untuk user warnet, masalahnya tampilan defaultnya resolusinya 1156x768 terlalu tinggi, sehingga tampilan desktopnya kewcil sekali. Sudah saya turunkan menjadi 1024x768 tapi setelah restart balik lagi ke resolusi yang tinggi. Icon di desktop juga tidak merestore tampilan yang terakhir. Mohon bantuannya MIftah __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis
