Re: [PATCH 0/3] [RFC] Support for ADSL modems
> Maybe this can be a little off-topic, but is there any intent to add support > to PPPoE over wifi? Maybe it is working already? When reading the source I think I saw that wired is not required for PPPoE, but maybe I read wrong ... Nevertheless, as an answer to this patch series it is indeed off topic, please continue in a new thread :) Pantelis ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
NM keeps asking for WPA-PSK password.
New on that list, sorry if that question was already discussed. Problem arises at setting up a netbook Samsung NF310 (network controller BCM 4313 802.11b/g/n) with Ubuntu 11.04 (Natty). NM detects my access point (and many others of the neighbourhood) but ask time and again for password, without establishing connection. Have tried with Wicd, with similar results: "bad passowrd" (so, probably, not directly related with NM) Also tried substituting STA driver by b43-fwcutter + firmware: no way. At command line I get: montserrat@sm1:~$ iwconfig wlan0 wlan0 IEEE 802.11bgn ESSID:"FTE-5C8A" Mode:Managed Frequency:2.412 GHz Access Point: 94:FE:F4:F9:63:18 Bit Rate=1 Mb/s Tx-Power=19 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:off Link Quality=70/70 Signal level=-17 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 As for the file /var/log/syslog, I copy some lines that seems to me significant: May 6 14:03:43 sm1 NetworkManager[463]: (wlan0): supplicant connection state: disconnected -> scanning May 6 14:03:44 sm1 wpa_supplicant[530]: Trying to associate with 94:fe:f4:f9:63:18 (SSID='FTE-5C8A' freq=2412 MHz) May 6 14:03:44 sm1 kernel: [ 1579.722485] wlan0: authenticate with 94:fe:f4:f9:63:18 (try 1) May 6 14:03:44 sm1 kernel: [ 1579.724784] wlan0: authenticated May 6 14:03:44 sm1 kernel: [ 1579.724907] wlan0: associate with 94:fe:f4:f9:63:18 (try 1) May 6 14:03:44 sm1 NetworkManager[463]: (wlan0): supplicant connection state: scanning -> associating May 6 14:03:44 sm1 kernel: [ 1579.729567] wlan0: RX AssocResp from 94:fe:f4:f9:63:18 (capab=0x411 status=0 aid=3) May 6 14:03:44 sm1 kernel: [ 1579.729579] wlan0: associated May 6 14:03:44 sm1 kernel: [ 1579.731487] Associated: True May 6 14:03:44 sm1 wpa_supplicant[530]: Associated with 94:fe:f4:f9:63:18 May 6 14:03:44 sm1 NetworkManager[463]: (wlan0): supplicant connection state: associating -> associated May 6 14:03:44 sm1 NetworkManager[463]: (wlan0): supplicant connection state: associated -> 4-way handshake May 6 14:03:52 sm1 kernel: [ 1587.793433] wlan0: deauthenticated from 94:fe:f4:f9:63:18 (Reason: 15) May 6 14:03:52 sm1 kernel: [ 1587.794312] Associated: False May 6 14:03:52 sm1 wpa_supplicant[530]: WPA: 4-Way Handshake failed - pre-shared key may be incorrect May 6 14:03:52 sm1 wpa_supplicant[530]: CTRL-EVENT-DISCONNECTED bssid=94:fe:f4:f9:63:18 reason=0 May 6 14:03:52 sm1 kernel: [ 1587.798570] cfg80211: All devices are disconnected, going to restore regulatory settings May 6 14:03:52 sm1 kernel: [ 1587.798591] cfg80211: Restoring regulatory settings May 6 14:03:52 sm1 kernel: [ 1587.798608] cfg80211: Calling CRDA to update world regulatory domain May 6 14:03:52 sm1 NetworkManager[463]: (wlan0): supplicant connection state: 4-way handshake -> disconnected Thanks in advance for any help Toni ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [PATCH 0/3] [RFC] Support for ADSL modems
2011/5/6 Pantelis Koukousoulas > Hi, before I leave for FOSSCOMM.gr, this patch series implements the > initial > version of the support for ADSL modems in network manager. > > Notes: > * PPPoA-only for now. I hope that PPPoE can be added with not too much > trouble > as well, if it is possible to just create a new ethernet device for the > "nas0" > interface that br2684ctl creates and reuse the already existing "wired" > device > PPPoE support. > > This way the adsl part can manage the ATM part of the equation just > like it > does now for PPPoA. > > * This is the "duct tape and gum" implementation, according to the "first > make > it work, then make it work right" motto. There are lots of > bugs/limitations > duplicate code etc but at least it works for me (TM) now :P > > * My initial patch that added everything at once got bounced for > moderation > due to its size, so (for size and easier reviewing reasons) I split it > to > 3 patches, in a bisect-friendly way (after each patch, NM builds and > does > something useful) > > * I 'm now happily waiting for your comments / advice / testing etc :) :) > > Hi, Maybe this can be a little off-topic, but is there any intent to add support to PPPoE over wifi? ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
[PATCH 2/3] Carrier Handling and PPP support
This is the "juice" of the patch series. Initial cut at carrier handling (by polling /sys/class/atm/$iface/carrier) and also support for calling pppd with the proper command-line to achieve a connection. Also implement the necessary boilerplate for the NM state machine to be happy with our device. With this patch, you can already test carrier management but not yet make a complete connection. Relevant extract from logs: (ueagle-atm0): carrier now ON (device state 20) (ueagle-atm0): device state change: unavailable -> disconnected (reason 'carrier-chagned') [20 30 40] Signed-off-by: Pantelis Koukousoulas --- include/NetworkManager.h |1 + src/nm-device-adsl.c | 519 +- src/nm-device-adsl.h |5 +- src/ppp-manager/nm-ppp-manager.c | 31 +++- src/settings/nm-settings.c |2 + 5 files changed, 553 insertions(+), 5 deletions(-) diff --git a/include/NetworkManager.h b/include/NetworkManager.h index b007e1c..cfc61ee 100644 --- a/include/NetworkManager.h +++ b/include/NetworkManager.h @@ -34,6 +34,7 @@ #defineNM_DBUS_INTERFACE "org.freedesktop.NetworkManager" #defineNM_DBUS_INTERFACE_DEVICENM_DBUS_INTERFACE ".Device" #define NM_DBUS_INTERFACE_DEVICE_WIRED NM_DBUS_INTERFACE_DEVICE ".Wired" +#define NM_DBUS_INTERFACE_DEVICE_ADSL NM_DBUS_INTERFACE_DEVICE ".Adsl" #define NM_DBUS_INTERFACE_DEVICE_WIRELESS NM_DBUS_INTERFACE_DEVICE ".Wireless" #define NM_DBUS_INTERFACE_DEVICE_BLUETOOTH NM_DBUS_INTERFACE_DEVICE ".Bluetooth" #define NM_DBUS_PATH_ACCESS_POINT NM_DBUS_PATH "/AccessPoint" diff --git a/src/nm-device-adsl.c b/src/nm-device-adsl.c index 212fec1..77e4d0a 100644 --- a/src/nm-device-adsl.c +++ b/src/nm-device-adsl.c @@ -1,5 +1,6 @@ /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ -/* NetworkManager -- Network link manager +/* + * Pantelis Koukousoulas * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -15,26 +16,153 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * Pantelis Koukousoulas */ #include +#include +#include +#include #include "nm-glib-compat.h" #include "nm-device-adsl.h" #include "nm-device-interface.h" +#include "nm-device-private.h" #include "nm-properties-changed-signal.h" +#include "nm-glib-compat.h" +#include "NetworkManagerUtils.h" +#include "nm-logging.h" + +#include "ppp-manager/nm-ppp-manager.h" +#include "nm-setting-adsl.h" #include "nm-device-adsl-glue.h" G_DEFINE_TYPE (NMDeviceAdsl, nm_device_adsl, NM_TYPE_DEVICE) +#define NM_DEVICE_ADSL_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), NM_TYPE_DEVICE_ADSL, NMDeviceAdslPrivate)) + +typedef enum +{ + NM_ADSL_ERROR_CONNECTION_NOT_ADSL = 0, + NM_ADSL_ERROR_CONNECTION_INVALID, + NM_ADSL_ERROR_CONNECTION_INCOMPATIBLE, +} NMAdslError; + +#define NM_ADSL_ERROR (nm_adsl_error_quark ()) +#define NM_TYPE_ADSL_ERROR (nm_adsl_error_get_type ()) + +static GQuark +nm_adsl_error_quark (void) +{ + static GQuark quark = 0; + if (!quark) + quark = g_quark_from_static_string ("nm-ethernet-error"); + return quark; +} + +typedef struct { + gbooleandisposed; + gbooleancarrier; + guint carrier_poll_id; + + /* PPP */ + NMPPPManager *ppp_manager; + NMIP4Config *pending_ip4_config; +} NMDeviceAdslPrivate; + enum { PROPERTIES_CHANGED, LAST_SIGNAL }; + static guint signals[LAST_SIGNAL] = { 0 }; +enum { + PROP_0, + PROP_CARRIER, + + LAST_PROP +}; + +/* FIXME: Move it to nm-device.c and then get rid of all foo_device_get_setting() all around. + It's here now to keep the patch short. */ +static NMSetting * +device_get_setting (NMDevice *device, GType setting_type) +{ + NMActRequest *req; + NMSetting *setting = NULL; + + req = nm_device_get_act_request (device); + if (req) { + NMConnection *connection; + + connection = nm_act_request_get_connection (req); + if (connection) + setting = nm_connection_get_setting (connection, setting_type); + } + + return setting; +} + +static void +set_carrier(NMDeviceAdsl *self, const gboolean carrier) +{ + NMDeviceAdslPrivate *priv; + NMDeviceState state; + + g_return_if_fail (NM_IS_DEVICE (self)); + + priv = NM_DEVICE_ADSL_GET_PRIVATE (self); + + if (priv->carrier == carrier) + return; + + priv->carrier = carrier; + g_object_notify (G_OBJECT (self), NM_DEVICE_ADSL_CARRIER); + + state = nm_device_interface_get_state (NM_DEVICE_INTERFACE (self)); + nm_log_info (LOGD_HW, "(%s): carrier n
[PATCH 1/3] Settings and initial "scaffolding"
This patch adds the settings code (NMSettingAdsl) and the initial "scaffolding" i.e., a tiny stub version of NMDeviceAdsl and the udev handler code to get the device detected. With this patch you should be able to see an atm device being detected by networkmanager in the logs, although of course it doesn't do anything useful yet. Extract from the logs: [1304668252.341354] [nm-udev-manager.c:562] adsl_add(): adsl_add: ATM Device detected from udev. Adding .. (ueagle-atm0): failed to look up interface index (ueagle-atm0): new ADSL device (driver: 'ueagle-atm' ifindex: -1) (ueagle-atm0): exported as /org/freedesktop/NetworkManager/Devices/2 (ueagle-atm0): now managed (ueagle-atm0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2] (ueagle-atm0): deactivating device (reason: 2). [1304668252.345102] [nm-system.c:1349] flush_routes(): (ueagle-atm0) failed to lookup interface index [1304668252.347821] [nm-device.c:3912] nm_device_state_changed(): (ueagle-atm0): device is available, Note: nm-device.c:nm_device_get_priority() essentially returns the index of the Device Type in the NMDeviceType enum. So, since ADSL typically should have the best priority, it was placed above the ethernet device. Signed-off-by: Pantelis Koukousoulas --- include/NetworkManager.h | 18 +- introspection/Makefile.am|1 + introspection/nm-device-adsl.xml | 15 ++ libnm-util/Makefile.am |2 + libnm-util/libnm-util.ver| 12 +- libnm-util/nm-setting-adsl.c | 476 ++ libnm-util/nm-setting-adsl.h | 97 src/Makefile.am |6 + src/nm-device-adsl.c | 83 +++ src/nm-device-adsl.h | 57 + src/nm-udev-manager.c| 48 - 11 files changed, 804 insertions(+), 11 deletions(-) create mode 100644 introspection/nm-device-adsl.xml create mode 100644 libnm-util/nm-setting-adsl.c create mode 100644 libnm-util/nm-setting-adsl.h create mode 100644 src/nm-device-adsl.c create mode 100644 src/nm-device-adsl.h diff --git a/include/NetworkManager.h b/include/NetworkManager.h index 17c3a11..b007e1c 100644 --- a/include/NetworkManager.h +++ b/include/NetworkManager.h @@ -92,6 +92,7 @@ typedef enum { /** * NMDeviceType: * @NM_DEVICE_TYPE_UNKNOWN: unknown device + * @NM_DEVICE_TYPE_ADSL: ADSL WAN device * @NM_DEVICE_TYPE_ETHERNET: a wired ethernet device * @NM_DEVICE_TYPE_WIFI: an 802.11 WiFi device * @NM_DEVICE_TYPE_UNUSED1: not used @@ -106,14 +107,15 @@ typedef enum { */ typedef enum { NM_DEVICE_TYPE_UNKNOWN = 0, - NM_DEVICE_TYPE_ETHERNET = 1, - NM_DEVICE_TYPE_WIFI = 2, - NM_DEVICE_TYPE_UNUSED1 = 3, - NM_DEVICE_TYPE_UNUSED2 = 4, - NM_DEVICE_TYPE_BT= 5, /* Bluetooth */ - NM_DEVICE_TYPE_OLPC_MESH = 6, - NM_DEVICE_TYPE_WIMAX = 7, - NM_DEVICE_TYPE_MODEM = 8, + NM_DEVICE_TYPE_ADSL = 1, + NM_DEVICE_TYPE_ETHERNET = 2, + NM_DEVICE_TYPE_WIFI = 3, + NM_DEVICE_TYPE_UNUSED1 = 4, + NM_DEVICE_TYPE_UNUSED2 = 5, + NM_DEVICE_TYPE_BT= 6, /* Bluetooth */ + NM_DEVICE_TYPE_OLPC_MESH = 7, + NM_DEVICE_TYPE_WIMAX = 8, + NM_DEVICE_TYPE_MODEM = 9, } NMDeviceType; /* General device capability flags */ diff --git a/introspection/Makefile.am b/introspection/Makefile.am index 320245e..4950e7d 100644 --- a/introspection/Makefile.am +++ b/introspection/Makefile.am @@ -8,6 +8,7 @@ EXTRA_DIST = \ nm-device-wifi.xml \ nm-device-olpc-mesh.xml \ nm-device-ethernet.xml \ + nm-device-adsl.xml \ nm-device-modem.xml \ nm-device-wimax.xml \ nm-device.xml \ diff --git a/introspection/nm-device-adsl.xml b/introspection/nm-device-adsl.xml new file mode 100644 index 000..9610f98 --- /dev/null +++ b/introspection/nm-device-adsl.xml @@ -0,0 +1,15 @@ + + +http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0";> + + + + + +A dictionary mapping property names to variant boxed values + + + + + + diff --git a/libnm-util/Makefile.am b/libnm-util/Makefile.am index 0a29e9c..9f452a4 100644 --- a/libnm-util/Makefile.am +++ b/libnm-util/Makefile.am @@ -14,6 +14,7 @@ libnm_util_include_HEADERS = \ nm-connection.h \ nm-setting.h\ nm-setting-8021x.h \ + nm-setting-adsl.h \ nm-setting-bluetooth.h \ nm-setting-connection.h \ nm-setting-ip4-config.h \ @@ -43,6 +44,7 @@ libnm_util_la_csources = \ nm-param-spec-specialized.c \ nm-setting.c\ nm-setting-8021x.c \ + nm-setting-adsl.c \ nm-setting-bluetooth.c \ nm-setting-connection.c \
[PATCH 0/3] [RFC] Support for ADSL modems
Hi, before I leave for FOSSCOMM.gr, this patch series implements the initial version of the support for ADSL modems in network manager. Notes: * PPPoA-only for now. I hope that PPPoE can be added with not too much trouble as well, if it is possible to just create a new ethernet device for the "nas0" interface that br2684ctl creates and reuse the already existing "wired" device PPPoE support. This way the adsl part can manage the ATM part of the equation just like it does now for PPPoA. * This is the "duct tape and gum" implementation, according to the "first make it work, then make it work right" motto. There are lots of bugs/limitations duplicate code etc but at least it works for me (TM) now :P * My initial patch that added everything at once got bounced for moderation due to its size, so (for size and easier reviewing reasons) I split it to 3 patches, in a bisect-friendly way (after each patch, NM builds and does something useful) * I 'm now happily waiting for your comments / advice / testing etc :) :) Cheers, Pantelis Pantelis Koukousoulas (3): Settings and initial "scaffolding" Carrier Handling and PPP support Add libnm-glib and nmcli code cli/src/connections.c| 66 - cli/src/devices.c|4 + cli/src/settings.c | 50 cli/src/settings.h |2 + include/NetworkManager.h | 19 +- introspection/Makefile.am|1 + introspection/nm-device-adsl.xml | 15 + libnm-glib/Makefile.am |6 + libnm-glib/libnm-glib.ver|4 +- libnm-glib/nm-device-adsl.c | 236 +++ libnm-glib/nm-device-adsl.h | 62 libnm-glib/nm-device.c | 10 +- libnm-util/Makefile.am |2 + libnm-util/libnm-util.ver| 12 +- libnm-util/nm-connection.c | 25 ++- libnm-util/nm-connection.h |2 + libnm-util/nm-setting-adsl.c | 476 ++ libnm-util/nm-setting-adsl.h | 97 ++ src/Makefile.am |6 + src/nm-device-adsl.c | 596 ++ src/nm-device-adsl.h | 60 src/nm-udev-manager.c| 48 +++- src/ppp-manager/nm-ppp-manager.c | 31 ++- src/settings/nm-settings.c |2 + 24 files changed, 1804 insertions(+), 28 deletions(-) create mode 100644 introspection/nm-device-adsl.xml create mode 100644 libnm-glib/nm-device-adsl.c create mode 100644 libnm-glib/nm-device-adsl.h create mode 100644 libnm-util/nm-setting-adsl.c create mode 100644 libnm-util/nm-setting-adsl.h create mode 100644 src/nm-device-adsl.c create mode 100644 src/nm-device-adsl.h -- 1.7.4.1 ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
[PATCH 3/3] Add libnm-glib and nmcli code
For the finale, this is the libnm-glib and nmcli part of the support, with this you can now make a full pppoatm connection from NetworkManager by configuring it in system scope in a keyfile. As an example, here is mine: (password and username snipped for obvious reasons) [connection] id=MYISP uuid=34d04e69-fdd9-4231-af2c-25ed1f34dc1e type=adsl timestamp=1304621332 [adsl] username=u...@myisp.com password=mypassword vpi=8 vci=35 encapsulation=vcmux protocol=pppoa [ipv6] method=ignore [ipv4] method=auto Extract from logs: NetworkManager[29155]: Activation (ueagle-atm0) starting connection 'MYISP' NetworkManager[29155]: (ueagle-atm0): device state change: disconnected -> prepare (reason 'none') [30 40 0] NetworkManager[29155]: Activation (ueagle-atm0) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager[29155]: Activation (ueagle-atm0) Stage 1 of 5 (Device Prepare) started... NetworkManager[29155]: Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) scheduled... NetworkManager[29155]: Activation (ueagle-atm0) Stage 1 of 5 (Device Prepare) complete. NetworkManager[29155]: Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) starting... NetworkManager[29155]: (ueagle-atm0): device state change: prepare -> config (reason 'none') [40 50 0] NetworkManager[29155]: Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) successful. NetworkManager[29155]: Activation (ueagle-atm0) Stage 3 of 5 (IP Configure Start) scheduled. NetworkManager[29155]: Activation (ueagle-atm0) Stage 2 of 5 (Device Configure) complete. NetworkManager[29155]: Activation (ueagle-atm0) Stage 3 of 5 (IP Configure Start) started... NetworkManager[29155]: (ueagle-atm0): device state change: config -> ip-config (reason 'none') [50 70 0] NetworkManager[29155]: starting PPP connection NetworkManager[29155]: [1304671146.590156] [nm-ppp-manager.c:1047] nm_ppp_manager_start(): command line: /usr/sbin/pppd nodetach lock nodefaultroute user u...@myisp.com plugin pppoatm.so 8.35 noipdefault noauth usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/0 plugin /opt/nmadsl/lib/pppd/2.4.5/nm-pppd-plugin.so NetworkManager[29155]: pppd started with pid 29175 NetworkManager[29155]: [1304671146.591235] [NetworkManagerUtils.c:816] nm_utils_get_proc_sys_net_value(): (ueagle-atm0): error reading /proc/sys/net/ipv6/conf/ueagle-atm0/accept_ra: (4) Failed to open file '/proc/sys/net/ipv6/conf/ueagle-atm0/accept_ra': No such file or directory NetworkManager[29155]: Activation (ueagle-atm0) Stage 3 of 5 (IP Configure Start) complete. Plugin pppoatm.so loaded. Plugin /opt/nmadsl/lib/pppd/2.4.5/nm-pppd-plugin.so loaded. ** Message: nm-ppp-plugin: (plugin_init): initializing ** Message: nm-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection' NetworkManager[29155]: [1304671146.612937] [nm-udev-manager.c:621] handle_uevent(): UDEV event: action 'add' subsys 'net' device 'ppp0' NetworkManager[29155]: [1304671146.613134] [nm-udev-manager.c:525] net_add(): ignoring interface with type 512 NetworkManager[29155]: [1304671146.617308] [nm-netlink-monitor.c:117] link_msg_handler(): netlink link message: iface idx 35 flags 0x1090 Using interface ppp0 Connect: ppp0 <--> 8.35 ** Message: nm-ppp-plugin: (nm_phasechange): status 5 / phase 'establish' ** Message: nm-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate' ** Message: nm-ppp-plugin: (get_credentials): passwd-hook, requesting credentials... NetworkManager[29155]: [1304671149.639511] [nm-agent-manager.c:1044] nm_agent_manager_get_secrets(): Secrets requested for connection /org/freedesktop/NetworkManager/Settings/0 (adsl) NetworkManager[29155]: [1304671149.639684] [nm-settings-connection.c:717] nm_settings_connection_get_secrets(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) secrets requested flags 0x1 hint 'password' NetworkManager[29155]: [1304671149.640950] [nm-agent-manager.c:959] get_start(): (0x9b4ad10/adsl) system settings secrets sufficient NetworkManager[29155]: [1304671149.641332] [nm-settings-connection.c:573] agent_secrets_done_cb(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) existing secrets returned NetworkManager[29155]: [1304671149.641541] [nm-settings-connection.c:579] agent_secrets_done_cb(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) secrets request completed NetworkManager[29155]: [1304671149.643074] [nm-settings-connection.c:618] agent_secrets_done_cb(): (34d04e69-fdd9-4231-af2c-25ed1f34dc1e/adsl:1) new agent secrets processed ** Message: nm-ppp-plugin: (get_credentials): got credentials from NetworkManager PAP authentication succeeded ** Message: nm-ppp-plugin: (nm_phasechange): status 8 / phase 'network' local IP address 94.70.90.201 remote IP address 80.106.108.12 primary DNS address 195.170.0.1 secondary DNS address 195.170.2.2 ** Message: nm-ppp-plugin: (nm_phasechange): status 9 / phase 'running' ** Message: nm-ppp-plugin: (nm_ip_up): ip-up eve
captiveportal autologin
Hi, does someone has an idea about automatically detetect and or login into an captive portal with networkmanager mechanism. Thank you. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: bluetooth DUN silently discarding "invalid" APNs
>> By the way it is not possible to enter a blank APN either (asking the >> network use the default APN). This again works perfectly with wvdial. >> And this is valid. > Yes, it's valid, but note that the "default" APN is stored in the > *device*, not the SIM card, and has no relation to the SIM card at all. > So if you ever swap SIM cards, or use a different provider, then the APN > is surely going to be wrong and the dialing will fail. However, I've > been thinking of ways to enable using the "default" APN since that works > for some phones that don't allow setting the APN at all via AT commands, > but where dialing works fine. > No, I was not referring to any default APN stored from the phone, but to the case where the phone does not provide any APN to the network *at all*. Section 3.1 "Definitions" at the very beginning of 3GPP 23.401: Default APN: A Default APN is defined as the APN which is marked as default in the subscription data [...] when no APN is provided by the UE". UE = User Equipment. The "subscription data" comes from the HSS in the network. In the same spec see also paragraph 12 in section 5.3.2.1. This paragraph has about 5-6 sentences starting with: "If the UE does [not] provide an APN,..." The operator I can connect to using a blank APN did not even exist yet when I bought the phone, so for sure the phone is not sneakily providing any "good default APN" to get me online. It is a old 2.5G EDGE phone by the way. ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Fedora 14 NM 0.8.3.998 stopped detecting Samsung Corby
Was there a kernel update? If yes, try rolling back to a older kernel to see if it works On Fri, May 6, 2011 at 3:10 PM, Kushal Das wrote: > On Sat, Apr 16, 2011 at 1:48 AM, Kushal Das wrote: >> >> /modem-manager --debug >> ** Message: ModemManager (version 0.4-4.git20100720.fc14) starting... >> ** Message: Loaded plugin Option High-Speed >> ** Message: Loaded plugin Nokia >> ** Message: Loaded plugin Generic >> ** Message: Loaded plugin MotoC >> ** Message: Loaded plugin Novatel >> ** Message: Loaded plugin Option >> ** Message: Loaded plugin Gobi >> ** Message: Loaded plugin ZTE >> ** Message: Loaded plugin Huawei >> ** Message: Loaded plugin SimTech >> ** Message: Loaded plugin Ericsson MBM >> ** Message: Loaded plugin Longcheer >> ** Message: Loaded plugin AnyData >> ** Message: Loaded plugin Sierra >> ** (modem-manager:5830): DEBUG: (tty/ttyS1): port's parent platform >> driver is not whitelisted >> ** (modem-manager:5830): DEBUG: (tty/ttyS2): port's parent platform >> driver is not whitelisted >> ** (modem-manager:5830): DEBUG: (tty/ttyS3): port's parent platform >> driver is not whitelisted >> ** Message: (ttyS0) opening serial device... >> ** (modem-manager:5830): DEBUG: <1302898319.664921> (ttyS0) device >> open count is 1 (open) >> ** (modem-manager:5830): DEBUG: (ttyS0): probe requested by plugin 'Generic' >> ** (modem-manager:5830): DEBUG: <1302898319.764772> (ttyS0): --> >> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898324.98835> (ttyS0): --> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898328.98355> (ttyS0): --> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898332.98603> (ttyS0) device open >> count is 0 (close) >> ** Message: (ttyS0) closing serial device... >> ** Message: (ttyS0) opening serial device... >> ** (modem-manager:5830): DEBUG: <1302898332.100322> (ttyS0) device >> open count is 1 (open) >> ** (modem-manager:5830): DEBUG: <1302898332.100529> (ttyS0): --> 00 78 f0 7e >> ** (modem-manager:5830): DEBUG: <1302898335.101549> (ttyS0): --> 00 78 f0 7e >> ** (modem-manager:5830): DEBUG: <1302898338.101511> (ttyS0) device >> open count is 0 (close) >> ** Message: (ttyS0) closing serial device... >> ** Message: (ttyACM0) opening serial device... >> ** (modem-manager:5830): DEBUG: <1302898409.89792> (ttyACM0) device >> open count is 1 (open) >> ** (modem-manager:5830): DEBUG: (ttyACM0): probe requested by plugin >> 'Generic' >> ** Message: (ttyUSB0) opening serial device... >> ** (modem-manager:5830): DEBUG: <1302898409.171843> (ttyUSB0) device >> open count is 1 (open) >> ** (modem-manager:5830): DEBUG: (ttyUSB0): probe requested by plugin >> 'Generic' >> ** (modem-manager:5830): DEBUG: <1302898409.191234> (ttyACM0): --> >> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898409.993590> (ttyACM0): <-- >> 'AT+GCAP+GCAP: +CIS707-A, CIS-856, +MS, +ES, +DS, >> +FCLASSOK' >> ** (modem-manager:5830): DEBUG: <1302898409.994164> (ttyUSB0): --> >> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898410.796217> (ttyACM0) device >> open count is 0 (close) >> ** Message: (ttyACM0) closing serial device... >> ** Message: (ttyACM0) type primary claimed by >> /sys/devices/pci:00/:00:1a.0/usb3/3-1 >> ** Message: (ttyACM0) opening serial device... >> ** (modem-manager:5830): DEBUG: <1302898410.823364> (ttyACM0) device >> open count is 1 (open) >> ** Message: (Generic): CDMA modem >> /sys/devices/pci:00/:00:1a.0/usb3/3-1 claimed port ttyACM0 >> ** (modem-manager:5830): DEBUG: Added modem >> /sys/devices/pci:00/:00:1a.0/usb3/3-1 >> ** (modem-manager:5830): DEBUG: (tty/ttyACM0): outstanding support >> task prevents export of /sys/devices/pci:00/:00:1a.0/usb3/3-1 >> ** (modem-manager:5830): DEBUG: (tty/ttyUSB0): outstanding support >> task prevents export of /sys/devices/pci:00/:00:1a.0/usb3/3-1 >> ** (modem-manager:5830): DEBUG: <1302898410.823602> (ttyACM0): --> 'ATE0' >> ** (modem-manager:5830): DEBUG: <1302898410.829292> (ttyACM0): <-- 'ATE0' >> ** (modem-manager:5830): DEBUG: <1302898410.831502> (ttyACM0): <-- >> 'OK' >> ** (modem-manager:5830): DEBUG: <1302898410.831598> (ttyACM0): --> >> 'AT+GSN' >> ** (modem-manager:5830): DEBUG: <1302898410.842133> (ttyACM0): <-- >> '0x7C4467A0OK' >> ** (modem-manager:5830): DEBUG: <1302898410.842381> (ttyACM0) device >> open count is 0 (close) >> ** Message: (ttyACM0) closing serial device... >> ** (modem-manager:5830): DEBUG: (tty/ttyUSB0): outstanding support >> task prevents export of /sys/devices/pci:00/:00:1a.0/usb3/3-1 >> ** (modem-manager:5830): DEBUG: <1302898414.99048> (ttyUSB0): --> >> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898418.99357> (ttyUSB0): --> >> 'AT+GCAP' >> ** (modem-manager:5830): DEBUG: <1302898422.98737> (ttyUSB0) device >> open count is 0 (close) >> ** Message: (ttyUSB0) closing serial device... >> > > > Any updates on this ? > > > Kushal > -- > http://fedoraproject.org > http://kushaldas.in > ___ > networkmanage
Re: Fedora 14 NM 0.8.3.998 stopped detecting Samsung Corby
On Sat, Apr 16, 2011 at 1:48 AM, Kushal Das wrote: > > /modem-manager --debug > ** Message: ModemManager (version 0.4-4.git20100720.fc14) starting... > ** Message: Loaded plugin Option High-Speed > ** Message: Loaded plugin Nokia > ** Message: Loaded plugin Generic > ** Message: Loaded plugin MotoC > ** Message: Loaded plugin Novatel > ** Message: Loaded plugin Option > ** Message: Loaded plugin Gobi > ** Message: Loaded plugin ZTE > ** Message: Loaded plugin Huawei > ** Message: Loaded plugin SimTech > ** Message: Loaded plugin Ericsson MBM > ** Message: Loaded plugin Longcheer > ** Message: Loaded plugin AnyData > ** Message: Loaded plugin Sierra > ** (modem-manager:5830): DEBUG: (tty/ttyS1): port's parent platform > driver is not whitelisted > ** (modem-manager:5830): DEBUG: (tty/ttyS2): port's parent platform > driver is not whitelisted > ** (modem-manager:5830): DEBUG: (tty/ttyS3): port's parent platform > driver is not whitelisted > ** Message: (ttyS0) opening serial device... > ** (modem-manager:5830): DEBUG: <1302898319.664921> (ttyS0) device > open count is 1 (open) > ** (modem-manager:5830): DEBUG: (ttyS0): probe requested by plugin 'Generic' > ** (modem-manager:5830): DEBUG: <1302898319.764772> (ttyS0): --> 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898324.98835> (ttyS0): --> 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898328.98355> (ttyS0): --> 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898332.98603> (ttyS0) device open > count is 0 (close) > ** Message: (ttyS0) closing serial device... > ** Message: (ttyS0) opening serial device... > ** (modem-manager:5830): DEBUG: <1302898332.100322> (ttyS0) device > open count is 1 (open) > ** (modem-manager:5830): DEBUG: <1302898332.100529> (ttyS0): --> 00 78 f0 7e > ** (modem-manager:5830): DEBUG: <1302898335.101549> (ttyS0): --> 00 78 f0 7e > ** (modem-manager:5830): DEBUG: <1302898338.101511> (ttyS0) device > open count is 0 (close) > ** Message: (ttyS0) closing serial device... > ** Message: (ttyACM0) opening serial device... > ** (modem-manager:5830): DEBUG: <1302898409.89792> (ttyACM0) device > open count is 1 (open) > ** (modem-manager:5830): DEBUG: (ttyACM0): probe requested by plugin 'Generic' > ** Message: (ttyUSB0) opening serial device... > ** (modem-manager:5830): DEBUG: <1302898409.171843> (ttyUSB0) device > open count is 1 (open) > ** (modem-manager:5830): DEBUG: (ttyUSB0): probe requested by plugin 'Generic' > ** (modem-manager:5830): DEBUG: <1302898409.191234> (ttyACM0): --> > 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898409.993590> (ttyACM0): <-- > 'AT+GCAP+GCAP: +CIS707-A, CIS-856, +MS, +ES, +DS, > +FCLASSOK' > ** (modem-manager:5830): DEBUG: <1302898409.994164> (ttyUSB0): --> > 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898410.796217> (ttyACM0) device > open count is 0 (close) > ** Message: (ttyACM0) closing serial device... > ** Message: (ttyACM0) type primary claimed by > /sys/devices/pci:00/:00:1a.0/usb3/3-1 > ** Message: (ttyACM0) opening serial device... > ** (modem-manager:5830): DEBUG: <1302898410.823364> (ttyACM0) device > open count is 1 (open) > ** Message: (Generic): CDMA modem > /sys/devices/pci:00/:00:1a.0/usb3/3-1 claimed port ttyACM0 > ** (modem-manager:5830): DEBUG: Added modem > /sys/devices/pci:00/:00:1a.0/usb3/3-1 > ** (modem-manager:5830): DEBUG: (tty/ttyACM0): outstanding support > task prevents export of /sys/devices/pci:00/:00:1a.0/usb3/3-1 > ** (modem-manager:5830): DEBUG: (tty/ttyUSB0): outstanding support > task prevents export of /sys/devices/pci:00/:00:1a.0/usb3/3-1 > ** (modem-manager:5830): DEBUG: <1302898410.823602> (ttyACM0): --> 'ATE0' > ** (modem-manager:5830): DEBUG: <1302898410.829292> (ttyACM0): <-- 'ATE0' > ** (modem-manager:5830): DEBUG: <1302898410.831502> (ttyACM0): <-- > 'OK' > ** (modem-manager:5830): DEBUG: <1302898410.831598> (ttyACM0): --> > 'AT+GSN' > ** (modem-manager:5830): DEBUG: <1302898410.842133> (ttyACM0): <-- > '0x7C4467A0OK' > ** (modem-manager:5830): DEBUG: <1302898410.842381> (ttyACM0) device > open count is 0 (close) > ** Message: (ttyACM0) closing serial device... > ** (modem-manager:5830): DEBUG: (tty/ttyUSB0): outstanding support > task prevents export of /sys/devices/pci:00/:00:1a.0/usb3/3-1 > ** (modem-manager:5830): DEBUG: <1302898414.99048> (ttyUSB0): --> > 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898418.99357> (ttyUSB0): --> > 'AT+GCAP' > ** (modem-manager:5830): DEBUG: <1302898422.98737> (ttyUSB0) device > open count is 0 (close) > ** Message: (ttyUSB0) closing serial device... > Any updates on this ? Kushal -- http://fedoraproject.org http://kushaldas.in ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list