2. MAC
https://dba-notes.org/2012/12/[..]ian-linux/#more-1006[link1] mht[link2] – Как моменять MAC-адрес в Debian Linux
3. eth0
Вернуть eth0
sudo raspi-config
или
В папке /etc/udev/rules.d создать файл 70-net-name.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="98:90:96:e0:3c:e9", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME:="eth0"
3. Статический IP
https://set-os.ru/static-ip-raspberry-pi/ mht[link3] Статический IP на Raspberry PI
Файл /etc/dhcpcd.conf
interface eth0
static ip_address=192.168.1.10/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1
4. Hostname
В файлах /etc/hostname и /etc/hosts
5. SSH
https://geekelectronics.org/ra[..]dalennyj-dostup.html[link4] mht[link5] – Raspberry Pi — удаленный доступ
sudo raspi-config
6. Routing
В файле /etc/sysctl.conf
net.ipv4.ip_forward=1
7. Squid
8. Socks server
apt-get install dante-server
/etc/danted.conf
socksmethod: none
client pass {
from: 10.0.68.115/32 to: 0.0.0.0/0
log: connect error
}
socks pass {
from: 10.0.68.115/32 to: 0.0.0.0/0
protocol: tcp udp
}
x. pppoe
apt-get install pppoe pppoeconf
[link2] http://wiki.urx.su:81/wiki/users/jurijjpodkovalixin/xpi/raspberry9/file?get=kak_momenjat__macadres_v_debian_linux__zametki_dba.mht
[link3] http://wiki.urx.su:81/wiki/users/jurijjpodkovalixin/xpi/raspberry9/file?get=staticheskijj_ip_na_raspberry_pi_kak_nastroit_.mht
[link4] https://geekelectronics.org/raspberry-pi/raspberry-pi-udalennyj-dostup.html
[link5] http://wiki.urx.su:81/wiki/users/jurijjpodkovalixin/xpi/raspberry9/file?get=raspberry_pi__udalennyjj_dostup__geekelectronics.mht