Re: NetworkManager does not see 3G Modem

2010-10-20 Thread Ma Begaj
2010/10/19 Ma Begaj derliebeg...@gmail.com:
 Hi,

 I have here an another modem, Option Globetrotter GX0301 PCMCIA. It
 uses hso module and it is not visible by NetworkManager.
 My user is in dialout group (/dev/ttyHS* devices belong to dialout).

 Am I missing something here? Here is the data I have ...

 Thanks


 r...@x22:/home/mb# ls -l /dev/ttyHS*
 crw-rw 1 root dialout 250, 0 2010-10-19 14:55 /dev/ttyHS0
 crw-rw 1 root dialout 250, 1 2010-10-19 14:55 /dev/ttyHS1
 crw-rw 1 root dialout 250, 2 2010-10-19 14:55 /dev/ttyHS2
 crw-rw 1 root dialout 250, 3 2010-10-19 14:55 /dev/ttyHS3

 log when I start NetworkManager:
 Oct 19 15:03:03 localhost NetworkManager[2869]: info NetworkManager
 (version 0.8.1) is starting...
 Oct 19 15:03:03 localhost NetworkManager[2869]: info Read config
 file /etc/NetworkManager/nm-system-settings.conf
 Oct 19 15:03:03 localhost NetworkManager[2869]: info trying to start
 the modem manager...
 Oct 19 15:03:04 localhost NetworkManager[2869]: info Loaded plugin
 keyfile: (c) 2007 - 2008 Red Hat, Inc.  To report bugs please use the
 NetworkManager mailing list.
 Oct 19 15:03:04 localhost NetworkManager[2869]: info found WWan
 radio killswitch rfkill1 (at
 /sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1)
 (driver usb)
 Oct 19 15:03:04 localhost NetworkManager[2869]: info found WiFi
 radio killswitch rfkill2 (at
 /sys/devices/pci:00/:00:1e.0/:02:02.0/ieee80211/phy0/rfkill2)
 (driver unknown)
 Oct 19 15:03:04 localhost NetworkManager[2869]: info WiFi enabled by
 radio killswitch; enabled by state file
 Oct 19 15:03:04 localhost NetworkManager[2869]: info WWAN enabled by
 radio killswitch; enabled by state file
 Oct 19 15:03:04 localhost NetworkManager[2869]: info WiMAX enabled
 by radio killswitch; enabled by state file
 Oct 19 15:03:04 localhost NetworkManager[2869]: info Networking is
 enabled by state file


 r...@x22:/home/mb# ls -l
 /sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1/
 -rw-r--r-- 1 root root 4096 2010-10-19 15:04 claim
 lrwxrwxrwx 1 root root    0 2010-10-19 15:04 device - ../../../2-1/
 -r--r--r-- 1 root root 4096 2010-10-19 15:04 index
 -r--r--r-- 1 root root 4096 2010-10-19 14:55 name
 -r--r--r-- 1 root root 4096 2010-10-19 15:04 persistent
 drwxr-xr-x 2 root root    0 2010-10-19 15:04 power/
 -rw-r--r-- 1 root root 4096 2010-10-19 14:55 state
 lrwxrwxrwx 1 root root    0 2010-10-19 14:55 subsystem -
 ../../../../../../../../../class/rfkill/
 -r--r--r-- 1 root root 4096 2010-10-19 14:55 type
 -rw-r--r-- 1 root root 4096 2010-10-19 14:55 uevent

 r...@x22:/sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1#
 cat type
 wwan

 r...@x22:/sys/devices/pci:00/:00:1e.0/:02:00.0/:03:00.0/usb2/2-1/rfkill/rfkill1#
 cat uevent
 RFKILL_NAME=hso-0
 RFKILL_TYPE=wwan
 RFKILL_STATE=1

 r...@x22:/# ifconfig hso0
 hso0      Link encap:UNSPEC  HWaddr
 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1486  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 r...@x22:/# cd /sys/class/net/hso0
 r...@x22:/sys/class/net/hso0# ls -l
 insgesamt 0
 -r--r--r-- 1 root root 4096 2010-10-19 14:55 address
 -r--r--r-- 1 root root 4096 2010-10-19 14:55 addr_len
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 broadcast
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 carrier
 lrwxrwxrwx 1 root root    0 2010-10-19 15:08 device - ../../../2-1:1.0/
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 dev_id
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 dormant
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 duplex
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 features
 -rw-r--r-- 1 root root 4096 2010-10-19 14:55 flags
 -rw-r--r-- 1 root root 4096 2010-10-19 15:08 ifalias
 -r--r--r-- 1 root root 4096 2010-10-19 14:55 ifindex
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 iflink
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 link_mode
 -rw-r--r-- 1 root root 4096 2010-10-19 15:08 mtu
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 operstate
 drwxr-xr-x 2 root root    0 2010-10-19 15:08 power/
 -r--r--r-- 1 root root 4096 2010-10-19 15:08 speed
 drwxr-xr-x 2 root root    0 2010-10-19 15:08 statistics/
 lrwxrwxrwx 1 root root    0 2010-10-19 14:55 subsystem -
 ../../../../../../../../../../class/net/
 -rw-r--r-- 1 root root 4096 2010-10-19 15:08 tx_queue_len
 -r--r--r-- 1 root root 4096 2010-10-19 14:55 type
 -rw-r--r-- 1 root root 4096 2010-10-19 14:55 uevent

 r...@x22:/sys/class/net/hso0# cat type
 65534
 r...@x22:/sys/class/net/hso0# cat uevent
 DEVTYPE=wwan
 INTERFACE=hso0
 IFINDEX=4

 r...@x22:/sys/class/net/hso0/device# cat uevent
 DEVTYPE=usb_interface
 DRIVER=hso
 DEVICE=/proc/bus/usb/002/003
 PRODUCT=af0/7011/0
 TYPE=255/255/255
 

bug found!!! feature request!

2010-10-20 Thread Trifon Tashev
hi,
thank you for your hard work to make linux better!
on the way of using my lively ubuntu i found a little problem that become
big to me.
i have a laptop sony vaio vgn-c240e and is assembled with pci express
network card. it works fine but some times the signal is not good. because
of that i bought usb wifi card with rtl8187 chipset. nice huge range but
network manager could not give me option to choose which network card to use
as a primary. network manager is continuously trying to connect via the both
network cards and the result is disappointing - no network connection.
i tried to stop the wlan0 interface by typing  sudo ifconfig wlan0 down,
after the output from executing ifcnfig does not shows me this interface,
but this does not affect the work of network manager.
help me please! i am sure other people like me will be happy too!
thank you for your attention!
trif
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: bug found!!! feature request!

2010-10-20 Thread Mathieu Trudel-Lapierre
Le mercredi 20 octobre 2010 à 23:56 +0300, Trifon Tashev a écrit :
 hi,
 thank you for your hard work to make linux better!
 on the way of using my lively ubuntu i found a little problem that become
 big to me.
 i have a laptop sony vaio vgn-c240e and is assembled with pci express
 network card. it works fine but some times the signal is not good. because
 of that i bought usb wifi card with rtl8187 chipset. nice huge range but
 network manager could not give me option to choose which network card to use
 as a primary. network manager is continuously trying to connect via the both
 network cards and the result is disappointing - no network connection.
 i tried to stop the wlan0 interface by typing  sudo ifconfig wlan0 down,
 after the output from executing ifcnfig does not shows me this interface,
 but this does not affect the work of network manager.
 help me please! i am sure other people like me will be happy too!
 thank you for your attention!

Hi!

I think you should be able to ass the MAC address of the Wifi device you
want to use to the settings for the wifi network to have it always use
that device.

To get the MAC for the wifi device, use ifconfig. e.g.
ifconfig wlan1

Then add that in the network's settings under Device MAC address.

-- 
Mathieu Trudel-Lapierre mathieu...@gmail.com
Freenode: cyphermox, Jabber: mathieu...@gmail.com
4096R/EE018C93 1967 8F7D 03A1 8F38 732E  FF82 C126 33E1 EE01 8C93


signature.asc
Description: This is a digitally signed message part
___
networkmanager-list mailing list
networkmanager-list@gnome.org
http://mail.gnome.org/mailman/listinfo/networkmanager-list