Re: Ajutati-ma sa inteleg !

Dragos Popescu <[email protected]>
Newsgroups gmane.org.user-groups.rlug.general
Message-ID <CAC0MZTbvxrU0_oNteQ0_eKxqzV4DTWW_PoOq9wax1oZfv-5Xsg@mail.gmail.com>
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
>



-- 
Dragos P
126296 luser
"La revedere. Drum bun"
_______________________________________________
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.