Portál AbcLinuxu, 6. května 2025 23:04
/etc/wicd/scripts
davat skript nasledujiciho obsahu:
if [ "$1" == "wireless" ]; then /sbin/ifconfig eth0 0.0.0.0 down fiAle bez uspechu. Nevite prosim nekdo jak primet Wicd, aby vypinal eth0, kdyz se pripoji pres wlan0? Dekuji
ifconfig eth0 downnebo
ifdown eth0 ip link set eth0 down
/etc/network/if-post-down.d/
nasledujiciho obsahu:
#!/bin/bash if [ "$IFACE" == "eth0" ]; then ip link set eth0 down fiDekuji panove za pomoc a mejte se
ip link set eth0 down
?
Hm…a co třeba tahle část:
SEE ALSO ... ip-link(8)
a celá manuálová stránka ip-link(8)
? Nic?
$ man ip | grep link link - network device $ man ip | grep interface $ $ man ip | grep down $ $ man ip | grep up $ $ man ip | grep set $naproti tomu man ifconfig
$ man ifconfig | grep -e " down " -e " up " -e "display all interface" -a display all interfaces which are currently available, even if down up This flag causes the interface to be activated. It is implicitly specified if an address is assigned to the interface. down This flag causes the driver for this interface to be shut down.tak ci je co problem ? ;)
git(1)
se nedozvím, co dělá 'git checkout -b xyz
'?
man
funguje i "man ip link
" a "man git checkout
".
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.