------------------------------------------------
sudo nano /etc/environment
------------------------------------------------
export proxy="ip_eole:3128"
export http_proxy="ip_eole:3128"
export https_proxy="ip_eole:3128"
------------------modifier le fichier------------------------------
/media/pi/root0/etc/dhcpcd.conf
---------------------------------------------------------------
# It is possible to fall back to a static IP if DHCP fails:
# define static profile
profile static_eth0
static ip_address=ip_raspberry/8
static routers=ip_parefeux
static domain_name_servers=ip_serveur01
# fallback to static profile on eth0
interface eth0
ip_address=ip_raspberry/8
routers=ip_parefeux
domain_name_servers=ip_serveur01
--------------------------------------------------------
pour éditer le fichier interface
lancer la cmd sudo chmod 666 /media/pi/root0/etc/network/interfaces
/media/pi/root0/etc/network/interfaces
---------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet static
address ip_raspberry
netmask 255.0.0.0
gateway ip_parefeux
dns-nameservers ip_serveur01
-----------pour lancer firefox au demarrage avec l'adresse du site-----------------------------
/home/pi/.config/lxsession/LXDE-pi
@chromium-browser -noerrdialogs --start-fullscreen 193.50.91.149/michele
---------------------------------------------
sudo nano /etc/environment
/home/pi/.config/lxsession/LXDE-pi
@chromium-browser -noerrdialogs --start-fullscreen 193.50.91.149/michele
|
------------------------------------------------
sudo nano /etc/environment
------------------------------------------------
export proxy="IP_AMON:3128"
export http_proxy="IP_AMON:3128"
export https_proxy="IP_AMON6:3128"
------------------modifier le fichier------------------------------
/media/pi/root0/etc/dhcpcd.conf
-------------------------------------------
# It is possible to fall back to a static IP if DHCP fails:
# define static profile
profile static_eth0
static ip_address=ip_raspberry/24
static routers=IP_AMON
static domain_name_servers=8.8.8.8
# fallback to static profile on eth0
interface eth0
ip_address=ip_raspberry/8
routers=IP_AMON
domain_name_servers=8.8.8.8
#domain_name_servers=8.8.8.8
--------------------------------------------------------
pour éditer le fichier interface
lancer la cmd sudo chmod 666 /media/pi/root0/etc/network/interfaces
/media/pi/root0/etc/network/interfaces
---------------------------------------------
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eth0
iface eth0 inet static
address ip_raspberry
netmask 255.255.255.0
gateway IP_AMON
dns-nameservers 8.8.8.8
-----------pour lancer firefox au demarrage avec l'adresse du site-----------------------------
/home/pi/.config/lxsession/LXDE-pi/autostart
@chromium-browser -noerrdialogs --start-fullscreen 193.50.91.149/michele
---------------------------------------------
sudo nano /etc/environment
/home/pi/.config/lxsession/LXDE-pi
@chromium-browser -noerrdialogs --start-fullscreen 193.50.91.149/michele
|