Re: connection error on duplicate SSID

2010-05-12 Thread Frederik Nnaji
hello Dan ;)

On Wed, May 12, 2010 at 02:22, Dan Williams  wrote:

> Something like this:
>
>
> http://git.gnome.org/browse/network-manager-applet/commit/?id=eda1871902483300a0b94833dc45115be56fbf11
>
> is what you're looking for?
>
> Dan
>

oooh ja!
sorry, i gave you a typo last time..

+ const char *known[] = { "linksys", "O2DSL", "NETGEAR" };
>

this should be "o2DSL".

you could also add "WLAN" and "ALICE-WLAN".
thanks a lot for your time, this is a pretty patch and it will make NM more
comfortable to roam with ;)
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Wireless disabled on startup

2010-05-12 Thread David Björkevik
Dear List,

Just got a new laptop, a Lenovo IdeaPad S12.  After installing Fedora
12, everything is working smoothly, but I have an annoying problem with
NetworkManager: when it starts up, wireless networking is disabled.  I
have to manually enable it by right-clicking the icon.  This is very
annoying, since it takes a while for it to find the network, so this
adds to the boot->browsing time.

I'd like some clues on how NetworkManager decides upon the status of
wireless networking on startup, to see if I can work around this
problem. As a last resort, I'll have to write a hack that enables
wireless networking on startup using dbus (which should be possible, right?)

Regards,
David
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: RS232 GSM Modem

2010-05-12 Thread toabctl
i can not find the code from:
commit 1864d8da0766e615c37a13f30bcacb72d381aa69
 Author: Dan Williams 
 Date:   Thu Apr 29 12:17:56 2010 -0700

core: add platform device support and whitelist

anymore. i would like to test the modem at the uart port again.
@Dan: can you post the patch again, please?

Cheers,
Tom


2010/5/7 toabctl 

> @Dan: Do you need more information about the modem? Or any other
> information?
>
> 2010/5/3 toabctl 
>
>
>>
>> 2010/5/2 Dan Williams 
>>
>> On Fri, 2010-04-30 at 14:05 +0200, toabctl wrote:
>>> > 2010/4/29 Dan Williams 
>>> > On Thu, 2010-04-29 at 09:53 +0200, toabctl wrote:
>>> > >
>>> > >
>>> > > 2010/4/28 Dan Williams 
>>> > > On Wed, 2010-04-28 at 09:37 +0200, toabctl wrote:
>>> > > > 1) How does network-manager detect that the modem
>>> > is
>>> > > connected? Or how
>>> > > > can i tell networkmanager on which port the modem
>>> > is
>>> > > attached? I use a
>>> > > > rs232<->usb adapter so the port is /dev/ttyUSB0 .
>>> > >
>>> > >
>>> > > ModemManager uses udev for device detection.  It
>>> > listens for
>>> > > udev events
>>> > > (which you can also listen for with udevmonitor) and
>>> > when it
>>> > > receives a
>>> > > notification of a new serial port, it will inspect
>>> > that port
>>> > > and attempt
>>> > > to probe it.
>>> > >
>>> > > How does ModemManager probe the port? I want to use modem
>>> > manager also
>>> > > with a rs232 device and there are no uevents because rs232
>>> > has no
>>> > > hotplug. but i could emit a uevent "by hand".
>>> >
>>> >
>>> > At the moment we don't probe platform devices for a few
>>> > reasons, one
>>> > that (a) the code isn't there, and (b) older devices like
>>> > those
>>> > connected to platform serial ports on normal PCs often get
>>> > upset
>>> > precisely because they are older and either aren't modems, or
>>> > aren't
>>> > standards compliant in any way.
>>> >
>>> > But check out this commit:
>>> >
>>> > commit 1864d8da0766e615c37a13f30bcacb72d381aa69
>>> > Author: Dan Williams 
>>> > Date:   Thu Apr 29 12:17:56 2010 -0700
>>> >
>>> >core: add platform device support and whitelist
>>> >
>>> > and see if that works for you.  It uses a whitelist for
>>> > platform
>>> > drivers.  Let me know!
>>> >
>>> > does not work for me. But i'm not sure hot to test it. i just use the
>>> > python script from test/mm-test.py and the result is: "no modems
>>> > found". But the device is available (checked with minicom)
>>> > and /lib/udev/rules.d/77-mm-platform-serial-whitelist.rules is
>>> > available.
>>> >
>>> > What to do next? Do you need more information?
>>>
>>> Yeah, what logs do you get from 'modem-manager --debug', and can you run
>>> the lsudev tool in tests/ like this for me when the device is connected?
>>>
>>> lsudev tty
>>>
>>> Thanks!
>>> Dan
>>>
>>
>> Hi Dan,
>>
>> see attachments for the 'lsudev tty' and 'modem-manager --debug' . The
>> Modem is a Siemens TC63i connected to /dev/ttyS1 .
>>
>> A minicom session looks like this (Baudrate 115200; 8N1; Hardware Flow
>> Control: No; Software Flow Control: No;)
>>
>>  ### BEGIN MINICOM ###
>>  at
>> OK
>> at&v
>> ACTIVE PROFILE:
>> E1 Q0 V1 X4 &C0 &D2 &S0 \Q0 \V1
>> S0:000 S3:013 S4:010 S5:008 S6:000 S7:060 S8:000 S10:002 S18:000
>> +CBST: 7,0,1
>> +CRLP: 61,61,78,6
>> +CR: 0
>> +FCLASS: 0
>> +ICF: 3
>> +IFC: 0,0
>> +ILRR:
>> 0
>> +IPR:
>> 115200
>> +CMEE:
>> 0
>> ^SCKS:
>> 0,1
>> ^SSET:
>> 0
>>
>>
>> OK
>>
>>  ### END MINICOM ###
>>
>> Hope this helps,
>>
>> Cheers
>>
>> Tom
>>
>>
>>>
>>> > Cheers,
>>> >
>>> > Tom
>>> >
>>> >
>>> > Dan
>>> >
>>> >
>>> > > The information about the device (  /dev/ttyS1 ):
>>> > >
>>> > > # udevadm info --query=all -n /dev/ttyS1
>>> > > P: /devices/platform/atmel_usart.1/tty/ttyS1
>>> > > N: ttyS1
>>> > > S: char/4:65
>>> > > E: UDEV_LOG=3
>>> > > E: DEVPATH=/devices/platform/atmel_usart.1/tty/ttyS1
>>> > > E: MAJOR=4
>>> > > E: MINOR=65
>>> > > E: DEVNAME=/dev/ttyS1
>>> > > E: SUBSYSTEM=tty
>>> > > E: DEVLINKS=/dev/char/4:65
>>> > >
>>> > > # udevadm info --query=all -n /dev/ttyS1 --attribute-walk
>>> > > ...
>>> > > looking at device
>>> > '/devices/platform/atmel_usart.1/tty/ttyS1':
>>> > > KERNEL=="ttyS1"
>>> > > SUBSYSTEM=="tty"
>>> > > DRIVER==""
>>> > >
>>> > >   looking at parent device
>>> > '/devices/platform/atm