Desktop/login and network managers that 100% don't depend on systemd ?
Thorsten Glaser
t.glaser at tarent.de
Sat Jun 24 18:28:04 BST 2023
Dixi quod…
>WLAN interfaces with just ifupdown. I attached my
>/etc/network/interfaces.examples which a good part of is from
This time with attachment,
//mirabilos
--
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against Mit dem tarent-Newsletter nichts mehr verpassen:
╳ HTML eMail! Also, https://www.tarent.de/newsletter
╱ ╲ header encryption!
****************************************************
-------------- next part --------------
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# Also check out /usr/share/doc/ifupdown/examples/network-interfaces.gz
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
# Sample entries:
# ===============
# static entry (old style; see below for CIDR prefixlen style):
# auto eth1
# iface eth1 inet static
# address 192.168.0.1
# netmask 255.255.255.0
# network 192.168.0.0
# broadcast 192.168.0.255
# gateway 192.168.0.1
# dns-search foo.example
# dns-nameservers 192.168.0.10 192.168.0.20
#
# vconfig:
# auto eth0.1
# iface eth0.1 inet manual
# pre-up vconfig add eth0.1
# up ifconfig eth0 0.0.0.0 promisc up
# post-down vconfig rem eth0.1
# ad-hōc WLAN Network:
# auto eth1
# iface eth1 inet static
# address 192.168.0.1/24
# wireless_mode ad-hoc
# wireless_essid foobar
# wireless_channel 11
# WLAN:
# auto eth1
# iface eth1 inet dhcp
# wireless_essid foo
# wireless_nick bar
# wireless_key 11111111111111111111111111
# wireless_keymode restricted
# wireless_keymode open
# wireless_mode managed
# DSL Interface
# allow-hotplug dsl
# iface dsl inet manual
# up ip link set $IFACE up
# up ip -6 addr flush dev $IFACE || true
# down ip link set $IFACE down
# Mapping - bring up via e.g. 'ifup eth0=dhcp':
# iface dhcp inet dhcp
# Mapping - bring up via e.g. 'ifup -v eth0=home':
# auto eth1
# iface home inet dhcp
# wireless_essid foo
# wireless_nick bar
# wireless_key 11111111111111111111111111
# wireless_keymode restricted
# Mapping - bring up via e.g. 'ifup wlan0=freewlan':
# (do not use -v due to #728092)
# IMPORTANT: chmod 0600 /etc/network/interfaces # if you have passwords
# and use /etc/network/interfaces.d/nwname on newer distro releases
#
# iface freewlan inet dhcp
# wireless-mode Managed
# wireless-essid MirBSD
# #wireless-ap 00:11:22:33:44:55
# #wireless-power off
#
# Quoting rules for the entries needed; wpa_passphrase(8) helps,
# but only for PSK not for EAP networks…
#
# # Note: wpa_passphrase(8) can be used to hash this password
# iface pskwlan inet dhcp
# wireless-mode Managed
# wireless-essid tarent-guest
# wpa-ssid tarent-guest
# wpa-psk sagichnicht
# #wireless-power off
#
# Note: wpa-password can take an NT hash (32 hex nybbles) for MSCHAPV2
# iface eapwlan inet dhcp
# wireless-mode Managed
# wireless-essid tarent-lan
# wpa-ssid tarent-lan
# wpa-key-mgmt WPA-EAP
# wpa-identity vnnnnn
# wpa-password ldappw
# wpa-eap PEAP TTLS
# wpa-phase2 auth=MSCHAPV2 autheap=MSCHAPV2
# #wireless-power off
#
# Note: wpa-password must be plain for PAP :(
# iface teckids inet dhcp
# wireless-mode Managed
# wireless-essid Teckids
# wpa-ssid Teckids
# wpa-key-mgmt WPA-EAP
# wpa-anonymous-identity miau
# wpa-identity vnnn
# wpa-password ldappw
# wpa-eap TTLS
# wpa-phase2 auth=PAP
# #wireless-power off
# Bridging example:
# iface br0 inet static
# bridge_ports em0 rl0
# bridge_stp off
# bridge_waitport 5
# bridge_fd 0
# post-up echo 2048 >/sys/class/net/br0/bridge/hash_max
# post-up ifconfig br0 hw ether xx:xx:xx:xx:xx:xx
# address 172.16.0.1/16
# gateway 172.16.0.1
# IPv4+IPv6 example:
# auto eth0
# iface eth0 inet static
# address xxx.xxx.xxx.xxx/24
# gateway xxx.xxx.xxx.1
#
# iface eth0 inet6 static
# address 2001:db8:cafe:cafe::1/64
# gateway fe80::1
# More complex mapping-setup:
# auto eth0
# mapping eth0
# script /etc/network/ping-places.sh
# map 192.168.0.90/24 192.168.0.42 home
# map 129.27.140.238/24 129.27.140.241 spsc
# map 192.168.0.90/24 192.168.0.100 sevian7
# map 192.168.0.90/24 192.168.0.1 work
# map 195.177.251.50/255.255.255.224 195.177.251.33 office
#
# iface home inet static
# address 192.168.0.90/24
# gateway 192.168.0.42
# mtu 1400
#
# up cp /etc/apt/sources.list.home /etc/apt/sources.list
# up cp /etc/resolv.conf.home /etc/resolv.conf
#
# iface spsc inet static
# address 129.27.140.238/24
# gateway 129.27.140.1
#
# up cp /etc/apt/sources.list.spsc /etc/apt/sources.list
# up cp /etc/resolv.conf.spsc /etc/resolv.conf
#
# iface work inet static
# address 192.168.0.90/24
# gateway 192.168.0.1
#
# up cp /etc/resolv.conf.work /etc/resolv.conf
#
# iface dhcp inet dhcp
#
# iface office inet dhcp
# up cp /etc/apt/sources.list.office /etc/apt/sources.list
#
# iface realraum inet static
# wireless_essid graz.funkfeuer.at
# wireless_ap 08:CA:FF:EE:BA:BE
# wireless-mode Ad-Hoc
# address 10.13.0.13/27
# gateway 10.13.0.1
# dns-nameservers 83.64.208.23
#
## Madwifi - http://madwifi.org/wiki/UserDocs/Distro/Debian/ConfiguringtheMadWifidevice
# iface ath0 inet static
# pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
# post-down wlanconfig ath0 destroy
# wireless-essid my-essid
#
# iface home inet dhcp
# wireless-mode Managed
# wireless-essid secret
# wpa-ssid secret
# wpa-psk secret
#
# iface wpa inet dhcp
# wpa-conf /etc/wpa_supplicant.conf
#
# iface nat inet static
# address 10.23.42.1/24
# up iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
# up echo "1" > /proc/sys/net/ipv4/ip_forward
#
# iface oldwpa inet dhcp
# wireless-mode Managed
# wireless-essid mikaasus
# pre-up wpa_supplicant -Dwext -iipw -c/etc/wpa_supplicant.conf -B
# down killall wpa_supplicant
#
# EOF
More information about the Debian-init-diversity
mailing list