* src/NetworkManager.c
- Only accept and manager 802.3 and 802.11 devices
* src/NetworkManagerDbus.[ch]
- (nm_dbus_nm_set_active_device): move most of the actual activation
logic into NetworkManagerDevice.c
- (nm_dbus_network_status_from_data): new function
- (nm_dbus_signal_network_status_change): new function, unused for now
- (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
* src/NetworkManagerDevice.[ch]
- (nm_device_find_and_use_essid): new function. Search for, and if found use,
a random ESSID.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@231 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessAppletDbus.[ch]
- Expose network_device_[un]ref()
- Expose wireless_network_[un]ref()
- (wireless_network_new_with_essid): new function, create and return
a wireless network with a particular essid
* panel-applet/NMWirelessApplet.c
- Hook up the "other network" dialog to do something
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@227 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessApplet.c: Add an essid dialog. It
doesn't work yet, but it looks okay.
* panel-applet/icons/*png: Resize to 22x22 and install in the
right place.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@224 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessApplet.c
- Add function to print out applet_state in a readable
manner
* src/NetworkManager.c
- (main): Don't segfault when nm_dbus_init() fails, we had
a left-over call to hal_shutdown() into which we passed NULL
* src/NetworkManagerAP.c
- (nm_ap_set_essid): Allow NULL essids
* src/NetworkManagerAPList.[ch]
- More use of nm_ap_list_[un]lock ()
- (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
network/essid, just return nothing. Also skip over NULL
essid access points in the list when searching
- (nm_ap_list_get_ap_by_address): new function
- (nm_ap_list_update_network): set the access point's key source to
NULL when the key returned from NetworkManagerInfo is NULL or
of 0 length
- nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
copy timestamp over too
- (nm_ap_list_copy_essids_by_address): new function, attempt to
find the correct ESSID for a blank-essid access point by searching
through another list and matching access point MAC addresses
- (nm_ap_list_diff): exclude blank-essid access points from the diffs
* src/NetworkManagerDbus.c
- (nm_dbus_nm_set_active_device): deal with random networks the user
may specify. This is mainly for access points that don't
broadcast their essid. So if the user tells us to associate with
some random ESSID that's not in our access point list, we find
out if the access point does in fact exist (by attempting association
and then matching that access point's MAC address with the essid the
user gave us) and then we switch to it.
- (nm_dbus_devices_handle_request): don't add blank-essid access points
to the returned list of networks for the "getNetworks" method
* src/NetworkManagerDevice.[ch]
- Extra debugging info for link detection
- (nm_device_ap_list_get_ap_by_address): new function, return an AP
based on MAC address
- (nm_device_get_path_for_ap): ignore blank-essid access points
- (nm_device_wireless_network_exists): new function, find out whether
a random ESSID exists by attempting to associate with it
- (nm_device_do_normal_scan): allow blank-essid access points in our
device list as long as they have an AP MAC address we can use.
Also send WirelessNetwork[Dis]Appeared signals for non-active
devices too. Lets the applet update more frequently.
* src/backends/NetworkManagerGentoo.c
- Patch from: Robert Paskowitz
- Update backend code for Gentoo
- Implement nm_system_device_update_config_info ()
* test/nmclienttest.c
- (set_network_device): new function, takes a command-line argument
and tells NetworkManager to use that wireless network
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@222 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
if the notification icon crashes 5 times within 5 seconds of each respawn
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@221 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessApplet.h: Change the name of the icons.
* panel-applet/NMWirelessApplet.c: (animation_timeout),
(nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
(nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
Change the name of the icons.
* panel-applet/menu-info.c: (nm_menu_wired_class_init),
(nm_menu_wired_expose_event), (nm_menu_network_class_init),
(nm_menu_wireless_class_init), (nm_menu_wireless_new),
(nm_menu_wireless_expose_event): Really bad hack to get the style
to draw in the right color.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@219 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessAppletDbus.c
- New functions:
wireless_network_new
wireless_network_copy
network_device_new
network_device_copy
* src/NetworkManagerDevice.[ch]
- New functions:
nm_device_set_mode_managed
nm_device_set_mode_adhoc
- Use these functions where appropriate
- When creating a new wireless device, force the card
to managed/Infrastructure mode as soon as possible
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@216 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* TODO
- Remove bit about static IP address support
* src/NetworkManagerUtils.c
- (nm_spawn_process): Add some error reporting
* src/NetworkManagerDevice.c
- (nm_device_activation_configure_ip): hook up to the static config
routines in the backends
* src/backends/NetworkManagerRedHat.c
- (nm_system_device_update_config_info): use shvar.c routines to
parse the config file iformation, not our own
- (nm_system_device_setup_static_ip4_config): new function, based
heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
with a static IP address and gateway
* src/backends/shvar.[ch]
- Parser (filched from initscripts package) for ifcfg-* files
* src/backends/NetworkManagerSystem.h
src/backends/NetworkManagerGentoo.c
src/backends/NetworkManagerDebian.c
src/backends/NetworkManagerSlackware.c
- Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@212 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerAP.c
- (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
enough RAM to allocate new AP structures, but return NULL instead
* src/NetworkManagerAPList.[ch]
- (nm_ap_list_is_empty): new function
- (nm_ap_list_combine): new function, combine two access point lists
- (nm_ap_list_copy_keys): new function, copy keys from one list
into another
* src/NetworkManagerDevice.[ch]
- Rename some functions to be clearer:
nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
nm_device_just_activated -> nm_device_is_just_activated
nm_device_activating -> nm_device_is_activating
nm_device_now_scanning -> nm_device_is_scanning
- Cache the last 4 scans so that the access point list is more stable.
We combine the lastest two scans and use that as the AP list,
and diff that combined list against the combination of the earliest
two cached scans for the WirelessNetworkAppeared/Dissappeared signals
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@210 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* info-daemon/NWManagerInfo.h
- (struct NetworkManagerInfo): add shutdown_timeout GSource
* info-daemon/NWManagerInfoDbus.c
- (shutdown_callback): new function
- (nmi_dbus_filter): Create a 30 second timeout until shutdown
if NetworkManager goes away. Kill the timeout
if NetworkManager restarts before the 30 seconds
are up.
- (nmi_dbus_service_init):
- call gtk_main_quit if NetworkManager is not running
- add filters to monitor dbus service creations and
deletions
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@204 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessApplet.c
- (nmwa_update_state): Hide notification icon if we are only
showing one wired card and no wireless interfaces
(Red Hat Bug #134895)
* panel-applet/NMWirelessAppletDbus.c
- (nmwa_dbus_filter): changed exit to gtk_main_quit ()
* panel-applet/NWManagerInfo.c
- (main): Terminated the notification_icon_cmd array with a NULL
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@202 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.c
- Be a bit more robust about link checking, ie make sure that
the WEP key we were given actually has some data in it
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@199 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* info-daemon/NetworkManagerInfo.[ch]
info-dameon/NetworkManagerInfoDbus.[ch]
info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
- Preserve original label text in the passphrase dialog so that
it actually gets updated with the new network name the next
time around. Previously, we were overwriting it so you'd get
the wrong network name to enter a key for
- Add a "Key Type" combo to the passphrase dialog, user selects
encryption key type now, type is stored in GConf too
- Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
* src/NetworkManagerAP.[ch]
- Remove all the encyption method magic. It's now set by the user
and NetworkManager retrieves the type of encryption key from
NetworkManagerInfo
* src/NetworkManagerAPList.[ch]
src/NetworkManagerDbus.[ch]
- Adjust to new way of setting encryption key and method
- Pull encryption method down from NMI along with key
* src/NetworkManagerDevice.[ch]
- Removed encryption method fallback magic as the method is now
determined by the user. This greatly simplifies the connection
logic.
- More robust connection/link logic. Besides removing the encryption
method fallback magic, check whether or not the card is receiving
invalidly encrypted packets, which usually indicates that we have
a bad WEP key set.
- Don't blindly forge ahead when DHCP fails (still not completely fixed)
* test/nminfotest.c
- Test out new "Key Type" stuff in the NMI passphrase dialog
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@195 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/NMWirelessApplet.c
- (nmwa_update_state): Hide notification icon if we are only
showing one wired card and no wireless interfaces
(Red Hat Bug #134895)
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@194 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.[ch]
src/NetworkManagerDbus.c
doc/NetworkManager DBUS API.txt
- Add a new status tag "scanning", which is set when there
is no active network connection, but NetworkManager is
looking for an access point to associate with
* panel-applet/main.c
- Cast the applet appropriately for gtk_widget_show_all ()
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@192 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* src/NetworkManagerDevice.[ch]
- Add a slightly more robust method of determining if the WEP key
is correct or not, by checking the WEP-discarded packet count
on the card
* info-daemon/NetworkManagerInfo.c
- (nmi_gconf_notify_callback): Fix GConf essid escaping, should
un-escape values we pull out rather than escaping them
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@189 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* panel-applet/menu-info.c (nm_menu_wired_class_init): update look
and feel. We should be back to working, and have a good, clean
look.
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@183 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* info-daemon/NetworkManagerInfo.c
info-daemon/NetworkManagerInfoDbus.c
test/nminfotest.c
- Escape ESSIDs in gconf
* src/NetworkManagerDevice.c
- Fix pseudo-scanning to use netowrk list from info daemon
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@182 4912f4e0-d625-0410-9fb7-b9a5a253dbdc