Slackware a siet
Nainstaloval som si slackware 11.0.Ked dam v Control centre-->Network settings-->eth0 (enable interface) napise :
There was an error changing the device"s state.You will have to do it manualy.
Mam to nadstavene na dhcp.Skusal som aj pomocou /etc/networks/interface
Vypis:
Iface eth0 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
auto eth0
Mam router vigor s zapnutym DHCP.Pod win aj pod ubuntu to ide.Dakujem
Pre pridávanie komentárov sa musíte prihlásiť.
nastavenie pomocou dhcp je takto:
iface eth0 inet dhcp
a nezadas tam ziadne riadky gateway, netmask ani addressnemohol si sa pozriet na
man interfaces
?1. vyhodil som skript /etc/rc.d/rc.inet1
2. do /etc/rc.d/rc.local som napisal toto:
loadkeys us
modprobe b44
ifconfig lo 127.0.0.1 up
ifconfig eth0 192.168.5.100 netmask 255.255.255.0
echo "nameserver 192.168.5.1" > /etc/resolv.conf
echo "nameserver 172.16.127.254" >> /etc/resolv.conf
echo "nameserver 195.12.128.1" >> /etc/resolv.conf
route add default gw 192.168.5.1
Kde 192.168.5.100 je moja IP adresa (sedim za routerom. jeho adresa je z mojej strany 192.168.5.1). Tie tri IP co sa zapisuju do /etc/resolv.conf su akoze DNS.
Inak nastavit to "oficialne" mozes v /etc/rc.d/rc.inet1.conf ale mne sa to barz nepodarilo.
bohate stacilo v /etc/rc.d/rc.inet1.conf nastavit USE_DHCP[0]="yes" a bol by pokoj.
este som sa nestretol s tym, zeby ten konfigurak neslo pouzit
/etc
konfuguraky a na druhom mieste su init skripty a tie tie konfiguraky nacitavaju. init (RC) skripty potom ide spustat, restartovat, zastavovat.Vsade to tak zatial bolo, Debian, Gentoo, Arch aj openSUSE.