Execute script when connecting
Hi! I'm running NM on my laptop and it seems to work very well. When I'm in school I have to login to the network. I have written a script that checks if I'm at school and automaticly logs me in. Is there a way that I can configure network manager to run this script once it has connected to either a wireless network or when I connect a network cable? Magnus ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Execute script when connecting
On Thu, 2005-09-29 at 09:23 +0200, Magnus Ottosson wrote: Hi! I'm running NM on my laptop and it seems to work very well. When I'm in school I have to login to the network. I have written a script that checks if I'm at school and automaticly logs me in. Is there a way that I can configure network manager to run this script once it has connected to either a wireless network or when I connect a network cable? NetworkManagerDispatcher is probably what you're after. It listens to NM's signals and will execute scripts in /etc/NetworkManager.d when adapters go up and down. Its in the dispatcher-daemon directory in the NetworkManager source. I'm not sure if the Fedora RPMs install it, but we could. Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: named dbus support committed
Hi, is there a url for the latest version of the dbus patch? is it red hats plan to keep dns and dhcp in the com.redhad dbus namespace while i.e. NetworkManager is in org.freedesktop? to me it looks like having all in the same domain, org.freedesktop would be a better choice. j ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Execute script when connecting
Quoting Dan Williams [EMAIL PROTECTED]: NetworkManagerDispatcher is probably what you're after. It listens to NM's signals and will execute scripts in /etc/NetworkManager.d when adapters go up and down. Its in the dispatcher-daemon directory in the NetworkManager source. I'm not sure if the Fedora RPMs install it, but we could. I do not believe the FC3 RPMS install it, and there is no certainly no initscript to auto-run the daemon. Dan -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH [EMAIL PROTECTED]PGP key available ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Execute script when connecting
I'm running Gentoo and the ebuilds provided by Gentopia. The snpshot is from 20050926. I do not even have the /etc/NetworkManager.d dir. And I do not have a init script for the dispatcher-daemon. Magnus Derek Atkins wrote: Quoting Dan Williams [EMAIL PROTECTED]: NetworkManagerDispatcher is probably what you're after. It listens to NM's signals and will execute scripts in /etc/NetworkManager.d when adapters go up and down. Its in the dispatcher-daemon directory in the NetworkManager source. I'm not sure if the Fedora RPMs install it, but we could. I do not believe the FC3 RPMS install it, and there is no certainly no initscript to auto-run the daemon. Dan -derek ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Hostname
Hello, why isn't Networkmanager sending the hostname with the dhcp-request. If I use the regular init-scripts from Gentoo, my DHCP server registers them with the lease and provids it to the DNS. But with Networkmanager it doesnt.. Any ideas? ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Lose of wireless keys
Hello, no I don't see the keys in the gnome-keyring-manager... Any ideas? On Wed, 2005-09-28 at 16:26 -0400, Dan Williams wrote: On Sat, 2005-09-24 at 10:44 +0200, Christian Güdel wrote: Hello, I noticed several times that my wireless keys aren't saved anywhere now. If I'm rebooting or starting Networkmanager again, the keys are all lost. I read in another message that there is a /system/networking/wireless/networks key in the gconf registry, but I don't have that key there. Could this be the problem? How to fix? Which version of NetworkManager are you using? 0.3.x or 0.4.x? Also, is your gnome keyring set up properly? I don't think gnome-keyring actually needs any setup, but it should be launching /usr/bin/gnome-keyring-daemon when you log in... Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Working/Non-working network adapters
On Wed, 28 Sep 2005 16:38:03 -0400, Dan Williams wrote: In the same vein, is there a way to tell NetworkManager to ignore certain devices, or is something like that planned. For example, a way to filter out based on the MAC address of the adapter to never attempt to use it. Not really, that wasn't viewed as critical at this time. The attitude was generally that if you know its not going to work, why are you plugging it in... I'm open to being convinced otherwise though. Sometimes it is useful to tell NM to ignore a network adapter. Maybe I am plugging an adapter to connect to a local network, and I want to configure it manually. ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Hostname
On Thu, 2005-09-29 at 18:40 +, Christian Güdel wrote: Hello, why isn't Networkmanager sending the hostname with the dhcp-request. If I use the regular init-scripts from Gentoo, my DHCP server registers them with the lease and provids it to the DNS. But with Networkmanager it doesnt.. Any ideas? 0.3 or 0.4? In 0.4 dhcp is done by dhclient, so maybe we need dhclient/dhcdbd changes to support this. Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Hostname
On Thu, 2005-09-29 at 18:40 +, Christian Güdel wrote: Hello, why isn't Networkmanager sending the hostname with the dhcp-request. If I use the regular init-scripts from Gentoo, my DHCP server registers them with the lease and provids it to the DNS. But with Networkmanager it doesnt.. Any ideas? Replied personally before seeing the list post... 0.3 or 0.4? In 0.4 dhclient does the DHCP stuff, so maybe we'll need dhclient/dhcdbd changes to support sending the hostname. Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: WPA_supplicant status
On Wed, 2005-09-28 at 19:36 +0200, Nikolaus Filus wrote: Hello, I'm reading the list now for a long time waiting for the glorious message, that network-manager finally supports wpa - but so far no news ... Several people asked for wpa, but didn't got any answer (hope, that doesn't happen to me :) wpa support ist the only thing stopping me (and possibly lot of others) from really using networkmanager, as usefull and cool it is. So What's the status on WPA? I know there were already some patches and some integration discussions, but nothing happened afterwards? Which patch is compatible with current cvs? Thanks in advance, Right, here's the current plan. To get _something_ working, I've decided to just launch a wpa_supplicant or xsupplicant with the appropriate generated config file and command line args to do the WPA stuff. Slave mode can be done later I guess. I'd limit it to WPA PSK to get this working, then deal with EAP/LEAP/PEAP/etc after that. A few things need to happen, anyone who wants to can pitch in. a) Add WPA constants to NetworkManager.h for authentication modes and passphrase types b) Add code to detect, using Wireless Extensions, whether certain cards can actually do WPA or not, and pass that info to the applet somehow c) In the applet, don't let people do WPA on cards that don't support WPA d) Build a wpa-manager that handles the wpa_supplicant/xsupplicant child process and gets state from it by talking to its control socket e) redo the wireless connection code to allow WPA connections, either by letting all association even for WEP be done by the supplicant, or just route WPA through the supplicant. Caveat: some cards that work fine with NetworkManager (ie, Cisco cards) don't work with the supplicants due to various driver oddities. Dan ___ NetworkManager-list mailing list NetworkManager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list