Re: Ajutati-ma sa inteleg !

Dragos Popescu <[email protected]>
Newsgroups gmane.org.user-groups.rlug.general
Message-ID <CAC0MZTa1HMsM=F8ceA9nKQe8knswHavSsW9TAgTsTdWVHPNr6A@mail.gmail.com>
Pen'ce să ții dhcpcd-ul pornit, tu știi.

Pe 9 oct. 2017 2:53 p.m., "Paul Lacatus (Personal)" <[email protected]>
a scris:

I-am setat IP static asa cum se recomanda :

https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a
-static-ip-address-update

Treaba mai interesanta pe care am vazut-o acum e ca la fiecare boot are alt
MAC pe eth0 si desi am incercat sa ii  pun mac-ul la static map list ea isi
ia tot 10.10.10.24 cel putin la ifconfigasa zice  dar raspunde si la
10.100.10.10 si la 10.10.10.24



On 09.10.2017 14:30, Dragos Popescu wrote:

> N-am prea înţeles ce ai făcut acolo, da' pe un BananaPi cu Raspbian Jessie,
> pentru adresă statică pe eth0 am făcut ceva de genul: modificat
> corespunzător /etc/network/interfaces, oprit dhcpd (systemctl disable
> dhcpd), restart şi gata.
>
>
> Pe 9 octombrie 2017, 14:15, Paul Lacatus (Personal) <[email protected]>
> a scris:
>
> Se da un raspberry pi model 3 pe el ruleaza o distributie speciala bazata
>> pe debian 8 jessie Openhabianpi.  Pentru ca vreau sa aiba adresa statica
>> fac cum se spune de catre maintaineri si adaug in /etc/dhcpcd.conf :
>>
>> interface eth0
>>
>> static ip_address=10.100.10.10/8
>> static routers=10.1.1.1
>> static domain_name_servers=10.1.1.1
>>
>> Toate bune si frumoase masina raspunde la adresa respectiva ca broker
>> mosquitto.  Intimplator vad numele si in lista de leases de la serverul
>> dhcp din retea cu alta adresa adica 10.10.10.24. Intru pe adresa
>> rerspectiva cu ssh si dau tot peste aceeasi masina care culmea la ifconfig
>> raspunde:
>>
>> [14:12:35] root@openHABianPi:~# ifconfig -a
>> eth0      Link encap:Ethernet  HWaddr e6:b2:ff:6a:0d:95
>>            inet addr:10.10.10.24  Bcast:10.255.255.255 Mask:255.0.0.0
>>            inet6 addr: fe80::e4b2:ffff:fe6a:d95/64 Scope:Link
>>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>            RX packets:41442 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:17443 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1000
>>            RX bytes:4708507 (4.4 MiB)  TX bytes:1773287 (1.6 MiB)
>>
>> lo        Link encap:Local Loopback
>>            inet addr:127.0.0.1  Mask:255.0.0.0
>>            inet6 addr: ::1/128 Scope:Host
>>            UP LOOPBACK RUNNING  MTU:65536  Metric:1
>>            RX packets:281 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:281 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1
>>            RX bytes:28069 (27.4 KiB)  TX bytes:28069 (27.4 KiB)
>>
>> Intrebarea este : pe ce interfata are adresa 10.100.10.10 ? Wifi wlan0
>> este dezactivat .
>>
>>
>> Multumesc
>>
>> Paul
>>
>>
>> _______________________________________________
>> RLUG mailing list
>> [email protected]
>> http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro
>>
>>
>
>

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro
_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug_lists.lug.ro
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.