View previous topic :: View next topic |
Author |
Message |
stiwi Apprentice
Joined: 20 Mar 2003 Posts: 266 Location: hamburg - germany
|
Posted: Thu Aug 31, 2006 8:30 am Post subject: notebook, baselayout 1.12 -> wlan bei kabel eth deaktivie |
|
|
Ich habe eine übliche Notebookausstattung mit 2 Netzwerkkarten. eth0 (ethernet) eth1 (w-lan). ich habe mich in die net doku vom neuen baslayout reingelesen, werde aber nicht draus schlau. ich möchte folgendes erreichen:
wenn kabel in eth0 gesteckt wird soll eth1 deaktiviert werden. beim rausziehen des kabels soll eth1 aktiviert werden. ist sowas möglich mit dem vorhandenen system, oder muss man da selber stricken?
danke |
|
Back to top |
|
|
Rene-dev Apprentice
Joined: 22 Jan 2005 Posts: 163 Location: Münster, Germany
|
Posted: Thu Aug 31, 2006 9:48 am Post subject: |
|
|
Code: | * sys-apps/ifplugd
Available versions: 0.28-r5 ~0.28-r6 ~0.28-r7
Installed: 0.28
Homepage: http://0pointer.de/lennart/projects/ifplugd/
Description: Brings up/down ethernet ports automatically with cable detection
|
in der wlan karte "steckt ein kabel" wenn die mit einem ap verbunden ist.
rene |
|
Back to top |
|
|
stiwi Apprentice
Joined: 20 Mar 2003 Posts: 266 Location: hamburg - germany
|
Posted: Thu Aug 31, 2006 10:13 am Post subject: |
|
|
wie funktioniert ifplugd eigentlich mit demneuen baselayout? früher hatte ich das schon laufen, aber jetzt startet er bei mir immer netplugd ... |
|
Back to top |
|
|
xraver Veteran
Joined: 20 Aug 2003 Posts: 1083 Location: Halberstadt
|
Posted: Thu Aug 31, 2006 10:15 am Post subject: |
|
|
Da hab ich gleich auch noch ne Frage dazu. Wie kann ich verhindern das eth0 beim booten gestartet wird. Immer wenn der Treiber geladen wird - dann wird auch eth0 gestartet.
Code: | ~ # rc-update del eth0
* 'eth0' not found in any of the specified runlevels |
Ist schon etwas nervig wenn eth0/dhcp beim booten gestartet werden wenn kein Kabel drinn ist. |
|
Back to top |
|
|
stiwi Apprentice
Joined: 20 Mar 2003 Posts: 266 Location: hamburg - germany
|
Posted: Thu Aug 31, 2006 10:19 am Post subject: |
|
|
xraver wrote: | Da hab ich gleich auch noch ne Frage dazu. Wie kann ich verhindern das eth0 beim booten gestartet wird. Immer wenn der Treiber geladen wird - dann wird auch eth0 gestartet.
Code: | ~ # rc-update del eth0
* 'eth0' not found in any of the specified runlevels |
Ist schon etwas nervig wenn eth0/dhcp beim booten gestartet werden wenn kein Kabel drinn ist. |
das stellt man eigentlich in der /etc/conf.d/rc ein. unter RC_PLUG_SERVICES, RC_NET_STRICT_CHECKING, RC_DOWN_INTERFACE. hab aber leider nie verstanden und hinbekommen, das er es auch macht.. |
|
Back to top |
|
|
Rene-dev Apprentice
Joined: 22 Jan 2005 Posts: 163 Location: Münster, Germany
|
Posted: Thu Aug 31, 2006 10:20 am Post subject: |
|
|
gug mal wo das drin ist
netplug scheint besser zu sein als ifplugd
rene |
|
Back to top |
|
|
Finswimmer Bodhisattva
Joined: 02 Sep 2004 Posts: 5467 Location: Langen (Hessen), Germany
|
Posted: Thu Aug 31, 2006 10:20 am Post subject: |
|
|
xraver wrote: | Da hab ich gleich auch noch ne Frage dazu. Wie kann ich verhindern das eth0 beim booten gestartet wird. Immer wenn der Treiber geladen wird - dann wird auch eth0 gestartet.
Code: | ~ # rc-update del eth0
* 'eth0' not found in any of the specified runlevels |
Ist schon etwas nervig wenn eth0/dhcp beim booten gestartet werden wenn kein Kabel drinn ist. |
net.eth0 heißt es richtig |
|
Back to top |
|
|
forrestfunk81 Guru
Joined: 07 Feb 2006 Posts: 567 Location: münchen.de
|
|
Back to top |
|
|
xraver Veteran
Joined: 20 Aug 2003 Posts: 1083 Location: Halberstadt
|
Posted: Thu Aug 31, 2006 11:47 am Post subject: |
|
|
Finswimmer wrote: | xraver wrote: | Da hab ich gleich auch noch ne Frage dazu. Wie kann ich verhindern das eth0 beim booten gestartet wird. Immer wenn der Treiber geladen wird - dann wird auch eth0 gestartet.
Code: | ~ # rc-update del eth0
* 'eth0' not found in any of the specified runlevels |
Ist schon etwas nervig wenn eth0/dhcp beim booten gestartet werden wenn kein Kabel drinn ist. |
net.eth0 heißt es richtig |
Joop, hast Recht - aber das gleiche Ergebnis. (habs nur falsch abgetippt)
@forrestfunk81
Thx, werds gleich mal antesten. |
|
Back to top |
|
|
|