Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
schlauer Laptop
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
amdunlock
Guru
Guru


Joined: 24 Apr 2004
Posts: 409
Location: Darmstadt Germany

PostPosted: Sun Jul 09, 2006 9:13 pm    Post subject: schlauer Laptop Reply with quote

Hi,

ich habe ein paar Sachen mit meinem Laptop, die ich gerne noch machen wollte, weil sie mich dauernd nerven. Undzwar wäre das ersteinmal ein Skript oder aehnliches das im Hintergrund läuft, dass jedesmal, wenn das System ausgibt, dass ein Netzwerkkabel eingesteckt wurde kurz überprüft (keine Ahnung wie :( ) ob es sich in einem bekannten Netzwerk befindet (z.B. zuhause) und dann automatisch ein Profil aufruft (z.B. NFS-Shares mounten und ähnliches). Nun wollte ich fragen, ob es so etwas schon gibt, und ob das hier praktisch zu machen ist, oder ob es bessere Ideen dazu gibt.

Gruß, Oliver
_________________
-2500+ @ 3200+ ---- 512MB-Ram watercooled Htf X Triple @ 3 x 5V - Abit AN7 s*cking microguru - Geforce 6800 - Audigy 2 -=Gentoo Stage 2004.2 @ ext3=-
Back to top
View user's profile Send private message
amne
Bodhisattva
Bodhisattva


Joined: 17 Nov 2002
Posts: 6378
Location: Graz / EU

PostPosted: Sun Jul 09, 2006 9:19 pm    Post subject: Reply with quote

Sowas wie sys-apps/netplug vielleicht? Iirc gabs da auch noch ein anderes tool, Name ist mir momentan aber entfallen.
_________________
Dinosaur week! (Ok, this thread is so last week)
Back to top
View user's profile Send private message
amdunlock
Guru
Guru


Joined: 24 Apr 2004
Posts: 409
Location: Darmstadt Germany

PostPosted: Sun Jul 09, 2006 9:35 pm    Post subject: Reply with quote

meinst du vielleicht network manager?

Gruß, Oliver
_________________
-2500+ @ 3200+ ---- 512MB-Ram watercooled Htf X Triple @ 3 x 5V - Abit AN7 s*cking microguru - Geforce 6800 - Audigy 2 -=Gentoo Stage 2004.2 @ ext3=-
Back to top
View user's profile Send private message
NightDragon
Veteran
Veteran


Joined: 21 Aug 2004
Posts: 1156
Location: Vienna (Austria)

PostPosted: Mon Jul 10, 2006 5:20 am    Post subject: Reply with quote

Oder ifplugd?
_________________
You are the problem too all my solutions ;)
Back to top
View user's profile Send private message
nic0000
l33t
l33t


Joined: 25 Sep 2005
Posts: 658

PostPosted: Mon Jul 10, 2006 5:26 am    Post subject: Re: schlauer Laptop Reply with quote

amdunlock wrote:
eix ifplug
* sys-apps/ifplugd
Available versions: 0.28-r5 ~0.28-r6
Installed: none
Homepage: http://0pointer.de/lennart/projects/ifplugd/
Description: Brings up/down ethernet ports automatically with cable detection

Kann auch um eigene Skripte erweitert werden, habe es aber noch nie selbst erweitert.
Das netplug kenne ich z.B. garnicht vielleicht ist das besser. Wenn du was findest sage bitte bescheid, bin interessiert was es da so gibt.
EDIT:
Mist, NightDragon war schneller :-(
_________________
grüße
nico
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Mon Jul 10, 2006 1:39 pm    Post subject: Re: schlauer Laptop Reply with quote

amdunlock wrote:
Undzwar wäre das ersteinmal ein Skript oder aehnliches das im Hintergrund läuft, dass jedesmal, wenn das System ausgibt, dass ein Netzwerkkabel eingesteckt wurde


ifplugd startet dann /etc/init.d/net.XXX

Quote:
kurz überprüft (keine Ahnung wie :( ) ob es sich in einem bekannten Netzwerk befindet (z.B. zuhause) und dann automatisch ein Profil aufruft (z.B. NFS-Shares mounten und ähnliches). Nun wollte ich fragen, ob es so etwas schon gibt, und ob das hier praktisch zu machen ist, oder ob es bessere Ideen dazu gibt.


Das sollte zum größten Teil mit dhcp und den üblichen WLAN-Features der Gentoo-Netzwerk-Konfiguration machbar sein. NFS-Shares: postup()-Funktion.

Ich hatte auch mal Skripte mit einem Programm "arping" oder "macping" (bei fehlendem DHCP-Server), habe es aber aufgegeben, seit es überall WLAN gibt.
Back to top
View user's profile Send private message
nic0000
l33t
l33t


Joined: 25 Sep 2005
Posts: 658

PostPosted: Mon Jul 10, 2006 5:23 pm    Post subject: Re: schlauer Laptop Reply with quote

jamapii wrote:
Das sollte zum größten Teil mit dhcp und den üblichen WLAN-Features der Gentoo-Netzwerk-Konfiguration machbar sein. NFS-Shares: postup()-Funktion.
Du meinst in der /etc/conf.d/net
Das klingt ganz gut, darauf bin selber natürlich nicht gekommen... :-/

jamapii wrote:
Ich hatte auch mal Skripte mit einem Programm "arping" oder "macping" (bei fehlendem DHCP-Server), habe es aber aufgegeben, seit es überall WLAN gibt.
Zeigen, zeigen, zeigen :-)
_________________
grüße
nico
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum