|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Igor Moroz 2:5020/830.14 22 Apr 2005 01:37:26 To : Pavel Gulchouck Subject : Re: grub & init scripts --------------------------------------------------------------------------------
How much is the fish, Pavel?
21 апр 05 10:54, you wrote to All:
PG> Есть ноут, который может включаться в нескольких местах, с разными
PG> настройками сети, dns, ntp, с наличием или отсутствием dhcp и т.п.
PG> Hаиболее удобно мне было бы вариант загрузки (location) выбирать
PG> из меню grub.
PG> Как это сделать? То есть, как на этапе выполнения rc-скриптов узнать,
PG> какой вариант загрузки в grub был выбран? Делать несколько ядер не
PG> хочется. Посоветуйте что-нибудь.
Обязательно выбоp чеpез grub?
А дpугие пути не подойдут?
- - ----[ Однако, начнем notebook ? ]---- - -
Package: laptop-net
Description: Automatically adapt laptop ethernet
This package supports the built-in ethernet of laptops by providing
several integrated features that automatically adapt the laptop to
the network environment. The package is easily configured to support
a wide variety of network environments, and supports manual as well
as automatic management of the network interface.
.
The package can automatically: start and stop the network interface
at appropriate times; disable the network interface when the network
cable is removed, and enable it when the cable is inserted; select
the network interface's IP address, either by probing the network for
known hosts or by use of the DHCP protocol; customize the laptop's
software configuration to match the network interface's IP address.
===============8<--------------
Package: whereami
Description: Automatically reconfigure your (laptop) system for a new location
whereami is a set of useful scripts and a coordinating system for
automatically re-locating your computer within the current (network)
environment.
.
Typically, you would use whereami to automatically detect and
re-configure your laptop when you move between a variety of diverse
networks and/or docking environments.
.
Although whereami will work best if all of your networks assign
addresses through dhcp, this is not a pre-requisite and the system
allows any technique to be used to ascertain the new location with
as little ongoing user intervention as possible.
.
Having ascertained the correct location, whereami will run appropriate
(user-configured) scripts to adjust the laptop operation to suit the
current environment.
.
See http://debiana.net/whereami/ for more information. You may also
get useful assistance from the debian-laptop mailing list, which is
frequented by several of the contributors.
===============8<--------------
Package: laptop-netconf
Description: network detection and configuration program for laptops
laptop-netconf can automatically determine the network to which
your laptop is connected, from a set of preconfigured alternatives.
.
Once the network has been detected, you can run arbitrary scripts
to configure the services on your laptop for correct local operation.
.
This package requires some basic networking knowledge at present.
A sample configuration is enclosed.
===============8<--------------
Package: guessnet
Description: Guess what network is connected to an ethernet device
Based on the network detecting code of laptop-netconf, guessnet
tries to guess what network an ethernet device is currently connected
to, using fake ARP requests.
.
It has been written to be coupled with the debian ifupdown package
to achieve automatic network detection and configuration, but it
can be used stand-alone to implement smart network scripts.
- - ----[ Однако, хватит:)]---- - -
Bye, Pavel! Cul8r ;)
... "Линус форева!!!"
--- Кто сказал "Да пошёл ты..."?
* Origin: Вот как гнать надо... ;) (2:5020/830.14)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/388542681d95.html, оценка из 5, голосов 10
|