Re: ralink with networkmanager



Le Wed, 28 Oct 2009 12:45:41 -0700,
Dan Williams <dcbw redhat com> a écrit :

> On Wed, 2009-10-28 at 20:44 +0100, bouleetbil wrote:
> > Le Wed, 28 Oct 2009 10:25:16 -0700,
> > Dan Williams <dcbw redhat com> a écrit :
> > 
> > > On Tue, 2009-10-27 at 18:33 +0100, bouleetbil wrote:
> > > > Hi,
> > > > I try to use networkmanager with a ralink card but that don't work I don't see the wifi network. (For information that works with wicd)
> > > > 
> > > > My config :
> > > > kernel 2.6.31
> > > > Networkmanager 0.7.1.997
> > > > Networkmanager-applet 0.7.1
> > > > 
> > > > The logs :
> > > > Networkmanager:
> > > >  /usr/sbin/NetworkManager --no-daemon
> > > > NetworkManager: <info>  starting...
> > > > SIOCADDRT: Le fichier existe
> > > > NetworkManager: <info>  (eth0): new Ethernet device (driver: 'r8169')
> > > > NetworkManager: <info>  (eth0): exported as /org/freedesktop/Hal/devices/net_00_22_20_01_af_b9
> > > > NetworkManager: <info>  (ra0): driver does not support SSID scans (scan_capa 0x00).
> > > > NetworkManager: <info>  (ra0): new 802.11 WiFi device (driver: 'rt2860')
> > > > NetworkManager: <info>  (ra0): exported as /org/freedesktop/Hal/devices/net_pci_1814_781
> > > > NetworkManager: <info>  Trying to start the supplicant...
> > > > NetworkManager: <info>  (eth0): device state change: 1 -> 2 (reason 2)
> > > > NetworkManager: <info>  (eth0): preparing device.
> > > > NetworkManager: <info>  (eth0): deactivating device (reason: 2).
> > > > -- Error received: Numerical result out of range
> > > > -- Original message: type=0x19 length=56 flags=<REQUEST,ACK> sequence-nr=1256559306 pid=4199009
> > > > NetworkManager: <WARN>  check_one_route(): (eth0) error -34 returned from rtnl_route_del(): Sucess
> > > > NetworkManager: <info>  (ra0): device state change: 1 -> 2 (reason 2)
> > > > NetworkManager: <info>  (ra0): preparing device.
> > > > NetworkManager: <info>  (ra0): deactivating device (reason: 2).
> > > > NetworkManager: supplicant_interface_acquire: assertion `mgr_state == NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
> > > 
> > > This looks like wpa_supplicant isn't in the expected state.  What's the
> > > output of the following command when run as root?
> > > 
> > > dbus-send --system --print-reply --dest=fi.epitest.hostap.WPASupplicant /fi/epitest/hostap/WPASupplicant fi.epitest.hostap.WPASupplicant.getInterface string:ra0
> > > 
> > > Dan
> > >
> > 
> > hi
> > thanks for your reply :
> > # dbus-send --system --print-reply --dest=fi.epitest.hostap.WPASupplicant /fi/epitest/hostap/WPASupplicant fi.epitest.hostap.WPASupplicant.getInterface string:ra0
> > Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 0
> > 
> > I use wpa_supplicant-0.6.9
> 
> Did you (or your distro) make sure to enable the D-Bus configuration
> interface when your wpa_supplicant was built?  You'll also need the
> activation helper file
> in /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service that should contain roughly this:
> 
> [D-BUS Service]
> Name=fi.epitest.hostap.WPASupplicant
> Exec=/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log
> User=root
> 
> that should be part of your distro's normal supplicant package, but I
> guess it's not.
> 
> Dan
> 
> 
> > bye
> >  
> > > > 
> > > > dmesg :
> > > > RX DESC f66ec000  size = 2048
> > > > <-- RTMPAllocTxRxRingMemory, Status=0
> > > > --> Error 2 opening /etc/Wireless/RT2860STA/RT2860STA.dat
> > > > 1. Phy Mode = 0
> > > > 2. Phy Mode = 0
> > > > 3. Phy Mode = 0
> > > > RTMPSetPhyMode: channel is out of range, use first channel=1 
> > > > MCS Set = 00 00 00 00 00
> > > > <==== RTMPInitialize, Status=0
> > > > 0x1300 = 00073200
> > > > ===>rt_ioctl_giwscan. 7(7) BSS returned, data->length = 683
> > > > ra0: no IPv6 routers present
> > > > 
> > > > lspci :
> > > > 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
> > > > 02:00.0 Network controller: RaLink RT2860
> > > > 
> > > > lsmod :
> > > > rt2860sta             437984  1 
> > > > 
> > > > 
> > > > If someone have an idea ;)
> > > > 
> > > > bye
> > > 
> > 
> > 
> > 
> 

Hi
I've install wpa_supplicant.conf the into /etc/dbus-1/system.d/ the good directory :
dbus-send --system --print-reply --dest=fi.epitest.hostap.WPASupplicant /fi/epitest/hostap/WPASupplicant fi.epitest.hostap.WPASupplicant.getInterface string:ra0
Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 0

but it seems that a problem with my card card : 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02) 
and wpa
With an other chipset (intel) that works. I will search thanks for your help.

-- 
#--------------------------------------------------------------------------- 
#                            Bouleetbil
#
#---------------------------------------------------------------------------  
#     http://www.frogdev.info
#             _    _
#            (o)--(o)
#           /.______.\
#           \________/
#          ./        \.
#         ( .        , )
#          \ \_\\//_/ /
#           ~~  ~~  ~~
#--------------------------------------------------------------------------- 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]