dhcpcd + lan

AncalagoN ancalagon at freemail.gr
Wed Jun 18 00:47:01 EEST 2003


17/6/2003 21:37:36, Giannis Stoilis <giannis at stoilis.gr> 
wrote:

>Ghost Dog wrote:
>> Kalhspera,
>> se ena forhto me debian/testing prospa8w na synde8w mesw 
ethernet se ena mikro  home-lan.Enw borw na synde8w se p.x 
net cafe me thn ethernet ,otan prospa8w na synde8w sto 
sygekrimeno diktio to dhcpcd adynatei.To akrives mynhma pou 
vgazei otan dinw #./etc/init.d/networking start einai : 
>> 
>> kernel: eth0: Setting 100mbps full-duplex based on auto-
negotiated partner ability 45e1.
>> dhclient: Listening on LPF/eth0/00:40:05:88:cc:e4
>> dhclient: Sending on   LPF/eth0/00:40:05:88:cc:e4Jun 17
>> dhclient: Listening on LPF/lo/
>> dhclient: Sending on   LPF/lo/
>> dhclient: Sending on   Socket/fallback
>> dhclient: DHCPDISCOVER on lo to 255.255.255.255 port 67 
interval 8
>> dhclient: DHCPDISCOVER on lo to 255.255.255.255 port 67 
interval 18
>> dhclient: DHCPDISCOVER on lo to 255.255.255.255 port 67 
interval 14
>> .....
>> dhclient: No DHCPOFFERS received.
>> dhclient: No working leases in persistent database - 
sleeping.
>> 
>> Epeidei mallon kapou ta xw kanei skata h den exw ry8misei 
kati kala (diavasa to mini-howto alla den bgainei akrh) exei 
kaneis kammia idea gia to ti prepei na kanw ;
>> To lan apartizetai apo 3 mhxanhmata, ola me Windows panw 
(kai to switch).To diktyo den exei firewall.Provlhma me to 
kalwdio den yparxei oute kai me thn ethernet.
>> Ka8e voh8eia einai efprosdekth.
>> Aristotelhs Liondos
>
Profanes oti to dhcpd "adynatei" opos les giati den yparxei
mesa sto diktyaki sou ypologistis poy na tou apantisei oti
i sygkekrimeni MAC dieu8ynsh exei dinatotita na parei kapoia
sygkekrimeni ip. En oligis den trexei to sosto service se 
kapoio apo ta alla pc tou diktyou sou. Tora to pos 8a to 
tre3eis kai 8a to configurareis den boro na se boithiso
alla eykolo 8a itan na stiseis mia static ip dieu8ynsh
os e3is:

#ifconfig eth0 ip (px 10.0.0.1)
#route add -net network(px 10.0.0.0) eth0

auta ta 2 kai 8eorontas oti to local network sou
8a exei ip ranges 10.0.0.0-255 kai xoris na bo se 
leptomereies gia netmasks,gateways kai ta resta
8a prepei na douleuei. Se genikes grammes boreis 
na alla3eis ta 10.x.x.x me kapoio allo noumero etsi oste
na kanei match me to diktyo sou. Ean pali epimeneis sto dhcp
diavase kala ola ta docs... ta mini-howto's spania boithane 
gia pliri leitourgikotita






More information about the Linux-greek-users mailing list