Re: Ajutati-ma sa inteleg !

Tudor GHEORGHE <[email protected]>
Newsgroups gmane.org.user-groups.rlug.general
Message-ID <CAK8tNXff7tZXRKgg-fYw9iB4jxfdB4sqRp4PaR9fyyUw6xUUbQ@mail.gmail.com>
Iproute2 are? Ce zice ip address show? Sau "ip a" pe scurt.



Pe 9 oct. 2017 14:25, "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
>
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.