Re: [PATCH 0/6] Bridging support v2

2012-06-14 Thread Pavel Simerda
Still no success:

NetworkManager[20353]:ifcfg-rh: parsing 
/opt/NetworkManager/etc/sysconfig/network-scripts/ifcfg-Bridge ... 
NetworkManager[20353]:ifcfg-rh: read connection 'Bridge Bridge'
NetworkManager[20353]:ifcfg-rh: parsing 
/opt/NetworkManager/etc/sysconfig/network-scripts/ifcfg-Slave ... 
NetworkManager[20353]:ifcfg-rh: read connection 'System Slave'

 TYPE=Bridge
 DEVICE=br0

[root@station network-scripts]# cat ifcfg-Bridge 
UUID=fc61f6e5-8900-4c6f-915c-eb55714eb874
TYPE=bridge
DEVICE=wan3

 Type=Ethernet
 MASTER=br0

[root@station network-scripts]# cat ifcfg-Slave 
UUID=2e1906b1-92a4-4206-b2d3-eecfd07241e9
TYPE=Ethernet
Type=Ethernet
HWADDR=52:54:00:8e:93:da
MASTER=wan3
#MASTER=Bridge
#BRIDGE=wan3
#BRIDGE=Bridge

(All commented variants were also tested)

[root@station network-scripts]# brctl show
bridge name bridge id   STP enabled interfaces
br-nm-test-name 8000.   no  
wan 8000.   no  
wan18000.   no  
wan28000.   no  
wan38000.   no  

[root@station network-scripts]# /opt/NetworkManager/bin/nmcli con
NAME  UUID   TYPE   
   TIMESTAMP-REAL
Test  f3baee14-0320-45ca-a6b3-dec85a50a9f9   802-3-ethernet 
   Thu 14 Jun 2012 10:50:07 AM CEST  
Bridge Bridge fc61f6e5-8900-4c6f-915c-eb55714eb874   bridge 
   never 
System Slave  2e1906b1-92a4-4206-b2d3-eecfd07241e9   802-3-ethernet 
   Thu 14 Jun 2012 10:50:01 AM CEST  

Note: wan3 is *newly* created but eth0 is *not* added.

 There is, see:

I'm trying hard to believe it :).

 src/settings/plugins/ifcfg-rh/tests/network-scripts/ifcfg-test-bridge-main
 src/settings/plugins/ifcfg-rh/tests/network-scripts/ifcfg-test-bridge-component

That one says BRIDGE, not MASTER:

DEVICE=eth0
HWADDR=00:22:15:59:62:97
ONBOOT=no
BRIDGE=br0

(I also tried to add DEVICE=eth0 for a test)

Cheers,

Pavel
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: ZTE MF100 Mobile broadband failure

2012-06-14 Thread Richard Hughes
On 13 June 2012 22:50, Dan Williams d...@redhat.com wrote:
 Looks like the CS registration state is Denied.  Is the SIM still
 active?

I've not used the dongle since 2010, so it's entirely possible that
it's been disabled due to inactivity. Sticking the SIM from the dongle
into my phone shows the network list, although registering gives me
Your SIM does not allow a connection to this network. Calling 02
(the network provider) they confirmed that the SIM was deactivated due
to not being used for 3 months.

The question I guess then becomes how to notify the user of this,
without just silently failing with no error message?

Thanks,

Richard.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [PATCH 0/6] Bridging support v2

2012-06-14 Thread Thomas Graf
On Thu, 2012-06-14 at 05:01 -0400, Pavel Simerda wrote:
 [root@station network-scripts]# brctl show
 bridge name   bridge id   STP enabled interfaces
 br-nm-test-name   8000.   no  
 wan   8000.   no  
 wan1  8000.   no  
 wan2  8000.   no  
 wan3  8000.   no  
 
 [root@station network-scripts]# /opt/NetworkManager/bin/nmcli con
 NAME  UUID   TYPE 
  TIMESTAMP-REAL
 Test  f3baee14-0320-45ca-a6b3-dec85a50a9f9   
 802-3-ethernetThu 14 Jun 2012 10:50:07 AM CEST  
 Bridge Bridge fc61f6e5-8900-4c6f-915c-eb55714eb874   bridge   
  never 
 System Slave  2e1906b1-92a4-4206-b2d3-eecfd07241e9   
 802-3-ethernetThu 14 Jun 2012 10:50:01 AM CEST  
 
 Note: wan3 is *newly* created but eth0 is *not* added.

My setup is as follows:

 ifcfg-br0
NAME=Bridge
NM_CONTROLLED=yes
DEVICE=br0
TYPE=Bridge
ONBOOT=no
IPADDR0=10.1.0.1
PREFIX0=24
BOOTPROTO=none


 ifcfg-eth1
HWADDR=52:54:00:c8:5c:a0
NAME=Slave
UUID=5dfee073-aaa7-4fcb-a27c-c85687ff2b39
NM_CONTROLLED=yes
DEVICE=eth1
TYPE=Ethernet
BRIDGE=br0
ONBOOT=no


$ nmcli con up id Bridge
$ nmcli con status
NAME  UUID   DEVICES
DEFAULT  VPN   MASTER-PATH 
Bridged2d68553-f97e-7549-7a26-b34a26f29318   br0no  
 nonot set 
Slave 5dfee073-aaa7-4fcb-a27c-c85687ff2b39   eth1   no  
 no/org/freedesktop/NetworkManager/Devices/3
 
System eth0   ce6029d3-4d48-4d20-b10c-baab44318fee   eth0   yes 
 nonot set 
$ brctl show
bridge name bridge id   STP enabled interfaces
br0 8000.525400c85ca0   no  eth1


  There is, see:
 
 I'm trying hard to believe it :).

Not sure what that means, the files are right there in the git tree.

  src/settings/plugins/ifcfg-rh/tests/network-scripts/ifcfg-test-bridge-main
  src/settings/plugins/ifcfg-rh/tests/network-scripts/ifcfg-test-bridge-component
 
 That one says BRIDGE, not MASTER:

Right, it's BRIDGE= not MASTER=. My mistake.

___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: A general (learning) query

2012-06-14 Thread Ajay Garg
Hi Dan.

The minicom output ::

##
ATV
C: 1; D: 2; F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4; Z: 0; S0: 0;
S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10: 14; S11: 95;
+FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS: 0,0,2048,6;
+WS46: 12; +CBST: 0,0,1;
+CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
+CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
+CFUN:; +CSCS: IRA; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0; +CGDCONT:
(1,IP,,0.0.0.0,0,0),(2,IP,Ceibal,0.0.0.0,0,0),(3,IP,gprs.ancel1)
; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
(1,2,0,0,0,0,2,0,0E0,0E0,3,0,0),(2,2,0,0,0,0,2,0,0E0,0E0,3,0,0),(3,2,0,0,0,0,2,0,0E0,0E0,3,0,0),(4,2,0)
; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: A;
+CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA: ,; +CSMP: ,,0,0; +CSDH: 0;
+CSCB: 0,,; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
+ESA: 00,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;  +CMEC: 0,0,0;
+CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: SM; +CPMS: SM,SM,SM;
+CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH: 3; +FTM: 96;
+FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,; +CUSD: 0; +CAOC: 1; +CCWA: 0;
+CLVL: 2; +CMUT: 0; +CPOL: 0,2,,0,0,0; +CPLS: 0; +CTZR: 0; +CLIP: 0;
+COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
^FREQLOCK: 10226476,12482272

OK
AT+CLAC
ERROR
AT+CPIN
ERROR
##






From the modem's labels ::

##
HUAWEI E226
PIN:8518
##




Regards,
Ajay




On Wed, Jun 13, 2012 at 5:44 PM, Dan Williams d...@redhat.com wrote:

 On Wed, 2012-06-13 at 02:28 +0530, Ajay Garg wrote:
 
  Two things to check:
 
  1) is the SIM correctly inserted?
 
 
  I guess yes, since we do get the output of ATV.

 What does AT+CPIN? say?

  Anyways, I rebooted. Same result as follows ::
 
 
 
 
 #
  Welcome to minicom 2.5
 
  OPTIONS: I18n
  Compiled on Feb 24 2011, 11:25:55.
  Port /dev/ttyUSB0
 
  Press CTRL-A Z for help on special
  keys
 
  AT S7=45 S0=0 L1 V1 X4 c1 E1
  Q0
  OK
  ATV
  C: 1; D: 2; F: 0; E: 1; L: 1; M: 0; Q: 0; V: 1; X: 4; Z: 0; S0: 0;
  S3: 13; S4: 10; S5: 8; S6: 2; S7: 45; S8: 2; S9: 6; S10: 14; S11: 95;
  +FCLASS: 0; +ICF: 3,3; +IFC: 2,2; +IPR: 115200; +DR: 0; +DS:
  0,0,2048,6;
  +WS46: 12; +CBST: 0,0,1;
  +CRLP: (61,61,48,6,0),(61,61,48,6,1),(240,240,52,6,2);
  +CV120: 1,1,1,0,0,0; +CHSN: 0,0,0,0; +CSSN: 0,0; +CREG: 0; +CGREG: 0;
  +CFUN:; +CSCS: IRA; +CSTA: 129; +CR: 0; +CRC: 0; +CMEE: 0; +CGDCONT:
 
 (1,IP,,0.0.0.0,0,0),(2,IP,Ceibal,0.0.0.0,0,0),(3,IP,gprs.ancel1,0.0.0.0,0,0),()
  ; +CGDSCONT: ; +CGTFT: ; +CGEQREQ:
 
 (1,2,0,0,0,0,2,0,0E0,0E0,3,0,0),(2,2,0,0,0,0,2,0,0E0,0E0,3,0,0),(3,2,0,0,0,0,2,0,0E0,0E0,3,0,0),(4,2,0,0,0,0,2,0,0E0,)
  ; +CGEQMIN: ; +CGQREQ: ; +CGQMIN: ; ; +CGEREP: 0,0; +CGCLASS: A;
  +CGSMS: 0; +CSMS: 0; +CMGF: 0; +CSCA: ,; +CSMP: ,,0,0; +CSDH: 0;
  +CSCB: 0,,; +FDD: 0; +FAR: 0; +FCL: 0; +FIT: 0,0; +ES: ,,;
  +ESA: 00,0,255,; +CMOD: 0; +CVHU: 1; ; +CPIN: ,;  +CMEC: 0,0,0;
  +CKPD: 1,1; +CGATT: 0; +CGACT: 0; +CPBS: SM; +CPMS: SM,SM,SM;
  +CNMI: 0,0,0,0,0; +CMMS: 2; +FTS: 0; +FRS: 0; +FTH: 3; +FRH: 3; +FTM:
  96;
  +FRM: 96; +CCUG: 0,0,0; +COPS: 0,2,; +CUSD: 0; +CAOC: 1; +CCWA: 0;
  +CLVL: 2; +CMUT: 0; +CPOL: 0,2,,0,0,0; +CPLS: 0; +CTZR: 0; +CLIP: 0;
  +COLP: 0; +CLIR: 0; ^PORTSEL: 0; ^CPIN: ,; ^ATRECORD: 0;
  ^FREQLOCK: 10226476,12482272
 
  OK
  AT+CLAC
  ERROR
  AT+CGDCONT=?
  ERROR
 
 #
 
 
 
 
 
 
 
  2) Is this really a GSM/UMTS modem?  What's the brand and
  model number?
 
 
  Again, I guess yes.

 Unfortunately lsusb doesn't give us the actual model number, since
 Huawei uses the same USB IDs for multiple devices.  What's the actual
 model number from the sticker on the modem itself?

 Dan

 
 #
  -bash-4.1# lsusb
 
  Bus 002 Device 002: ID 12d1:1003 Huawei Technologies Co., Ltd. E220
  HSDPA Modem / E230/E270 HSDPA/HSUPA Modem
  Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 001 Device 002: ID 1286:2001 Marvell Semiconductor, Inc. 88W8388
  802.11a/b/g WLAN
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
 #
 
 
 
  Regards,
  Ajay
 
 
 
  Dan
 
 
 
 



___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [PATCH 0/6] Bridging support v2

2012-06-14 Thread Pavel Simerda
 My setup is as follows:
 
  ifcfg-br0
 NAME=Bridge
 NM_CONTROLLED=yes
 DEVICE=br0
 TYPE=Bridge
 ONBOOT=no
 IPADDR0=10.1.0.1
 PREFIX0=24
 BOOTPROTO=none
 
 
  ifcfg-eth1
 HWADDR=52:54:00:c8:5c:a0
 NAME=Slave
 UUID=5dfee073-aaa7-4fcb-a27c-c85687ff2b39
 NM_CONTROLLED=yes
 DEVICE=eth1
 TYPE=Ethernet
 BRIDGE=br0
 ONBOOT=no
 
 
 $ nmcli con up id Bridge
 $ nmcli con status
 NAME  UUID
   DEVICESDEFAULT  VPN
   MASTER-PATH
 Bridged2d68553-f97e-7549-7a26-b34a26f29318   br0
no   nonot set
 Slave 5dfee073-aaa7-4fcb-a27c-c85687ff2b39   eth1
   no   no/org/freedesktop/NetworkManager/Devices/3
 System eth0   ce6029d3-4d48-4d20-b10c-baab44318fee   eth0
   yes  nonot set
 $ brctl show
 bridge name   bridge id   STP enabled interfaces
 br0   8000.525400c85ca0   no  eth1

Thanks. It might be worth fixing the bridge support to also work with default 
ONBOOT=yes.
I don't think we can require users to manually start these two connections.

 Not sure what that means, the files are right there in the git tree.

I'm sorry. I meant that the settings don't work well with NM startup. Setting
ONBOOT=no is a good second test but I believe that number one is the “just 
works”
scenario with onboot left enabled.

   src/settings/plugins/ifcfg-rh/tests/network-scripts/ifcfg-test-bridge-main
   src/settings/plugins/ifcfg-rh/tests/network-scripts/ifcfg-test-bridge-component
  
  That one says BRIDGE, not MASTER:
 
 Right, it's BRIDGE= not MASTER=. My mistake.

Thanks for confirmation.

Cheers,

Pavel
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: [PATCH 0/6] Bridging support v2

2012-06-14 Thread Pavel Simerda
 I wasn't aware that it doesn't work with ONBOOT=yes. I'll look into
 this.

Thank you very much. It took me some time to figure out that this is the 
difference between
your working scenario and my broken one.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Fonts used in systray applet

2012-06-14 Thread Marco
Hi,

I connect to several networks that SSID contain characters that are
not present in the used font and I see only squares with some
numbers. I'd like to change this.

This happens when I hover over the network manager icon in the
systray and the information bubble pops up:

Wireless network connection '□□ 1' active: □□ (82%)

and also in the “available” list when I am *not* connected to a
network. When I am connected, the entry is bold and I see the
correct name. I assume that the bold font has a better coverage then
the regular font.

My question: Which fonts are used for the tool tip that appears
while hovering over the systray icon and in the “Available” list?

Debian unstable
network-manager 0.9.4.0
GNOME 3.4.2 with awesome 3.4.12 as window manager

Marco


___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


menu disappeared from ubuntu 12.04 system tray

2012-06-14 Thread paur...@gmail.com
network manager was pre-installed with ubuntu 12.04 on my laptop and
was accessible from my top panel system tray on the desktop until
today when I rebooted after a failed install of a different package
that was trying to add itself to the system tray area also

now the network manager menu icon is gone from the tray though other
icons such as battery and messaging are still there

I can get nm-applet to show up but this is not the same

the applet area is further left, the applet menu renders in a way that
clashes with the user theme, and it is impossible to use the keyboard
to navigate to the applet

by contrast, the default network manager application was aware of the
theme and had an appearance consistent with the other dropdowns, and
it also could be entered via arrow keys from the other system tray
menus

I have spent several hours looking for documentation on what manager
is responsible for displaying these system tray application entries
(as opposed to the applets) and what resource governs the choice of
which programs get included here, but I really think I have reached a
dead end

I am wondering if you can point me to the relevant install scripts in the netw
ork manager package that might bear on this

I have already tried uninstall and reinstall of network-manager,
network-manager-gnome, gnome-panel, unity etc

if I run network manager from command line it never becomes visible
but apparently does something as a background process

thanks for any help
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list