Page 49 of 98 FirstFirst ... 39474849505159 ... LastLast
Results 481 to 490 of 978

Thread: How To: Manual Network Configuration without the need for Network Manager

  1. #481
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How To: Manual Network Configuration without the need for Network Manager

    What driver are you trying to use?

    wpa_supplicant -w -Dipw -iwlan0 -c/etc/wpa_supplicant


    -D ipw tells me you are your an intel wireless driver however you mentioned something about realtek 8185. This is a separate driver.

  2. #482
    Join Date
    Sep 2007
    Beans
    40

    Re: How To: Manual Network Configuration without the need for Network Manager

    It's a Realtek RTL8185, but I've tried Dwext with no results.
    Please help me!
    According to this webpage http://willdaniels.co.uk/articles/ho...a-r8180-ubuntu Dwext doesn't work either
    Last edited by GonzalitoUY; May 14th, 2008 at 03:30 PM.

  3. #483
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How To: Manual Network Configuration without the need for Network Manager

    Good link BTW

    But lets go through that page slowly
    1. What driver are you trying to use? The link mentions the r8180 driver. It also states you need to compile this with Hardy. Are you using the r8180 driver? and did you compile it? Or are you using a different driver?
    2. It also mentioned that certain cryptographic modules be loaded first prior to invoking wpa_supplicant. These modules control either the TKIP or AES cipher. It quoted the following:

    ieee80211_tkip_crypt-rtl - FOR TKIP

    ieee80211_ccmp_crypt-rtl - FOR AES

    Are these modules loaded or did you load them? Hint check lsmod since this lists the modules currently loaded in the kernel. lsmod should also list the r8180 driver if you are using this driver!

    Here is a link how to build the r8180 (rtl8185) driver for ubunut. It seems quite informative:
    http://willdaniels.co.uk/articles/ho...12-r8180-hardy
    Last edited by kevdog; May 14th, 2008 at 04:02 PM.

  4. #484
    Join Date
    Sep 2007
    Beans
    40

    Re: How To: Manual Network Configuration without the need for Network Manager

    I've followed that guide step by step, compiling the driver provided there.
    I'm a rookie, but doing lsmod, ieee80211_tkip_crypt-rtl isn't loaded, however a similar one,ieee80211_crypt_rtl ,is loaded .How do I load the right one?
    I've got this
    Code:
    root@gonzalo-laptop:~# sudo modprobe ieee80211_tkip_crypt-rtl
    FATAL: Module ieee80211_tkip_crypt_rtl not found.

  5. #485
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How To: Manual Network Configuration without the need for Network Manager

    Good question -- a good attempt. I'm not exactly sure what modules are going to be included on your system. lsmod only lists the installed modules, however as you know there are a bunch of other modules, simply not active in the kernel. Lets just see what you have available, please

    sudo updatedb (Wait until process stops -- takes a while)
    locate ieee80211* (or just try ieee80211)

    Again Im looking for all the modules that begin with ieee80211.

    At least it looks like we've probably stumbled upon the reason why WPA isn't working.


    Update try the following (Seems like there may have been some typos in the referenced post):

    sudo rmmod r8180
    sudo rmmod ieee80211_rtl
    sudo rmmod ieee80211_crypt_wep_rtl
    sudo rmmod ieee80211_crypt_tkip_rtl
    sudo rmmod ieee80211_crypt_ccmp_rtl
    sudo rmmod ieee80211_crypt_rtl

    sudo modprobe ieee80211_crypt_rtl
    sudo modprobe ieee80211_crypt_wep_rtl
    sudo modprobe ieee80211_crypt_tkip_rtl
    sudo modprobe ieee80211_crypt_ccmp_rtl
    sudo modprobe ieee80211_rtl
    sudo modprobe r8180
    Last edited by kevdog; May 15th, 2008 at 03:07 AM.

  6. #486
    Join Date
    Sep 2007
    Beans
    40

    Re: How To: Manual Network Configuration without the need for Network Manager

    Same results as before...
    Here are the output of the last set of instructions you told me
    Code:
    root@gonzalo-laptop:~/rtl8185# sudo updatedb
    root@gonzalo-laptop:~/rtl8185# locate ieee80211*
    /home/gonzalo/rtl8185/ieee80211
    /home/gonzalo/rtl8185/ieee80211/.ieee80211-rtl.ko.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211-rtl.mod.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211-rtl.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt-rtl.ko.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt-rtl.mod.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt-rtl.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_ccmp-rtl.ko.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_ccmp-rtl.mod.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_ccmp-rtl.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_ccmp.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_tkip-rtl.ko.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_tkip-rtl.mod.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_tkip-rtl.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_tkip.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_wep-rtl.ko.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_wep-rtl.mod.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_wep-rtl.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_crypt_wep.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_module.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_rx.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_softmac.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_softmac_wx.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_tx.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.ieee80211_wx.o.cmd
    /home/gonzalo/rtl8185/ieee80211/.tmp_versions
    /home/gonzalo/rtl8185/ieee80211/Makefile
    /home/gonzalo/rtl8185/ieee80211/Module.symvers
    /home/gonzalo/rtl8185/ieee80211/ieee80211-rtl.ko
    /home/gonzalo/rtl8185/ieee80211/ieee80211-rtl.mod.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211-rtl.mod.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211-rtl.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211.h
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt-rtl.ko
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt-rtl.mod.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt-rtl.mod.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt-rtl.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt.h
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.ko
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.mod.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_ccmp.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_ccmp.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.ko
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.mod.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_tkip.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_tkip.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.ko
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.mod.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.mod.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_wep.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_crypt_wep.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_module.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_module.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_rx.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_rx.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_softmac.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_softmac.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_softmac_wx.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_softmac_wx.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_tx.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_tx.o
    /home/gonzalo/rtl8185/ieee80211/ieee80211_wx.c
    /home/gonzalo/rtl8185/ieee80211/ieee80211_wx.o
    /home/gonzalo/rtl8185/ieee80211/license
    /home/gonzalo/rtl8185/ieee80211/readme
    /home/gonzalo/rtl8185/ieee80211/tags
    /home/gonzalo/rtl8185/ieee80211/.tmp_versions/ieee80211-rtl.mod
    /home/gonzalo/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
    /home/gonzalo/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
    /home/gonzalo/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
    /home/gonzalo/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
    /home/gonzalo/rtl8185/rtl8185/ieee80211.h
    /home/gonzalo/rtl8185/rtl8185/ieee80211_crypt.h
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/ieee80211.ko
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/ieee80211_crypt.ko
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/ieee80211_crypt_ccmp.ko
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/ieee80211_crypt_tkip.ko
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/ieee80211_crypt_wep.ko
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/softmac
    /lib/modules/2.6.24-16-generic/kernel/net/ieee80211/softmac/ieee80211softmac.ko
    /lib/modules/2.6.24-16-generic/kernel/net/wireless/ieee80211-rtl.ko
    /lib/modules/2.6.24-16-generic/kernel/net/wireless/ieee80211_crypt-rtl.ko
    /lib/modules/2.6.24-16-generic/kernel/net/wireless/ieee80211_crypt_ccmp-rtl.ko
    /lib/modules/2.6.24-16-generic/kernel/net/wireless/ieee80211_crypt_tkip-rtl.ko
    /lib/modules/2.6.24-16-generic/kernel/net/wireless/ieee80211_crypt_wep-rtl.ko
    /root/rtl8185/ieee80211
    /root/rtl8185/ieee80211/.ieee80211-rtl.ko.cmd
    /root/rtl8185/ieee80211/.ieee80211-rtl.mod.o.cmd
    /root/rtl8185/ieee80211/.ieee80211-rtl.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt-rtl.ko.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt-rtl.mod.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt-rtl.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_ccmp-rtl.ko.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_ccmp-rtl.mod.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_ccmp-rtl.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_ccmp.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_tkip-rtl.ko.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_tkip-rtl.mod.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_tkip-rtl.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_tkip.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_wep-rtl.ko.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_wep-rtl.mod.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_wep-rtl.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_crypt_wep.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_module.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_rx.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_softmac.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_softmac_wx.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_tx.o.cmd
    /root/rtl8185/ieee80211/.ieee80211_wx.o.cmd
    /root/rtl8185/ieee80211/.tmp_versions
    /root/rtl8185/ieee80211/Makefile
    /root/rtl8185/ieee80211/Module.symvers
    /root/rtl8185/ieee80211/ieee80211-rtl.ko
    /root/rtl8185/ieee80211/ieee80211-rtl.mod.c
    /root/rtl8185/ieee80211/ieee80211-rtl.mod.o
    /root/rtl8185/ieee80211/ieee80211-rtl.o
    /root/rtl8185/ieee80211/ieee80211.h
    /root/rtl8185/ieee80211/ieee80211_crypt-rtl.ko
    /root/rtl8185/ieee80211/ieee80211_crypt-rtl.mod.c
    /root/rtl8185/ieee80211/ieee80211_crypt-rtl.mod.o
    /root/rtl8185/ieee80211/ieee80211_crypt-rtl.o
    /root/rtl8185/ieee80211/ieee80211_crypt.c
    /root/rtl8185/ieee80211/ieee80211_crypt.h
    /root/rtl8185/ieee80211/ieee80211_crypt.o
    /root/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.ko
    /root/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.mod.c
    /root/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.mod.o
    /root/rtl8185/ieee80211/ieee80211_crypt_ccmp-rtl.o
    /root/rtl8185/ieee80211/ieee80211_crypt_ccmp.c
    /root/rtl8185/ieee80211/ieee80211_crypt_ccmp.o
    /root/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.ko
    /root/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.mod.c
    /root/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.mod.o
    /root/rtl8185/ieee80211/ieee80211_crypt_tkip-rtl.o
    /root/rtl8185/ieee80211/ieee80211_crypt_tkip.c
    /root/rtl8185/ieee80211/ieee80211_crypt_tkip.o
    /root/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.ko
    /root/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.mod.c
    /root/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.mod.o
    /root/rtl8185/ieee80211/ieee80211_crypt_wep-rtl.o
    /root/rtl8185/ieee80211/ieee80211_crypt_wep.c
    /root/rtl8185/ieee80211/ieee80211_crypt_wep.o
    /root/rtl8185/ieee80211/ieee80211_module.c
    /root/rtl8185/ieee80211/ieee80211_module.o
    /root/rtl8185/ieee80211/ieee80211_rx.c
    /root/rtl8185/ieee80211/ieee80211_rx.o
    /root/rtl8185/ieee80211/ieee80211_softmac.c
    /root/rtl8185/ieee80211/ieee80211_softmac.o
    /root/rtl8185/ieee80211/ieee80211_softmac_wx.c
    /root/rtl8185/ieee80211/ieee80211_softmac_wx.o
    /root/rtl8185/ieee80211/ieee80211_tx.c
    /root/rtl8185/ieee80211/ieee80211_tx.o
    /root/rtl8185/ieee80211/ieee80211_wx.c
    /root/rtl8185/ieee80211/ieee80211_wx.o
    /root/rtl8185/ieee80211/license
    /root/rtl8185/ieee80211/readme
    /root/rtl8185/ieee80211/tags
    /root/rtl8185/ieee80211/.tmp_versions/ieee80211-rtl.mod
    /root/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
    /root/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
    /root/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
    /root/rtl8185/ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
    /root/rtl8185/rtl8185/ieee80211.h
    /root/rtl8185/rtl8185/ieee80211_crypt.h
    /usr/src/linux-headers-2.6.24-16/include/linux/ieee80211.h
    /usr/src/linux-headers-2.6.24-16/include/net/ieee80211.h
    /usr/src/linux-headers-2.6.24-16/include/net/ieee80211_crypt.h
    /usr/src/linux-headers-2.6.24-16/include/net/ieee80211_radiotap.h
    /usr/src/linux-headers-2.6.24-16/include/net/ieee80211softmac.h
    /usr/src/linux-headers-2.6.24-16/include/net/ieee80211softmac_wx.h
    /usr/src/linux-headers-2.6.24-16/net/ieee80211
    /usr/src/linux-headers-2.6.24-16/net/ieee80211/Kconfig
    /usr/src/linux-headers-2.6.24-16/net/ieee80211/Makefile
    /usr/src/linux-headers-2.6.24-16/net/ieee80211/softmac
    /usr/src/linux-headers-2.6.24-16/net/ieee80211/softmac/Kconfig
    /usr/src/linux-headers-2.6.24-16/net/ieee80211/softmac/Makefile
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211.h
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211/crypt
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211/softmac.h
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211/crypt/ccmp.h
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211/crypt/tkip.h
    /usr/src/linux-headers-2.6.24-16-generic/include/config/ieee80211/crypt/wep.h
    /usr/src/linux-headers-2.6.24-16-generic/include/linux/ieee80211.h
    root@gonzalo-laptop:~/rtl8185# 
    root@gonzalo-laptop:~/rtl8185# sudo rmmod r8180
    root@gonzalo-laptop:~/rtl8185# sudo rmmod ieee80211_rtl
    root@gonzalo-laptop:~/rtl8185# sudo rmmod ieee80211_crypt_wep_rtl
    root@gonzalo-laptop:~/rtl8185# sudo rmmod ieee80211_crypt_tkip_rtl
    root@gonzalo-laptop:~/rtl8185# sudo rmmod ieee80211_crypt_ccmp_rtl
    root@gonzalo-laptop:~/rtl8185# sudo rmmod ieee80211_crypt_rtl
    root@gonzalo-laptop:~/rtl8185# 
    root@gonzalo-laptop:~/rtl8185# sudo modprobe ieee80211_crypt_rtl
    root@gonzalo-laptop:~/rtl8185# sudo modprobe ieee80211_crypt_wep_rtl
    root@gonzalo-laptop:~/rtl8185# sudo modprobe ieee80211_crypt_tkip_rtl
    root@gonzalo-laptop:~/rtl8185# sudo modprobe ieee80211_crypt_ccmp_rtl
    root@gonzalo-laptop:~/rtl8185# sudo modprobe ieee80211_rtl
    root@gonzalo-laptop:~/rtl8185# sudo modprobe r8180
    The results are the same: when i do
    Code:
    sudo wpa_supplicant -Dipw -cwpa.conf -iwlan0
    , it seems to connect but then it freezes
    Code:
    Linux wireless extensions version 22 detected.
    ipw2x00 driver uses driver_wext (-Dwext) instead of driver_ipw.
    Trying to associate with 00:17:3f:65:f9:50 (SSID='PKNETWORK' freq=2442 MHz)
    ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Associated with 00:17:3f:65:f9:50
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Associated with 00:17:3f:65:f9:50
    WPA: Key negotiation completed with 00:17:3f:65:f9:50 [PTK=TKIP GTK=TKIP]
    CTRL-EVENT-CONNECTED - Connection to 00:17:3f:65:f9:50 completed (auth) [id=0 id_str=]
    CTRL-EVENT-TERMINATING - signal 2 received
    root@gonzalo-laptop:/home/gonzalo/Escritorio#
    NOTE:It freezes on the ¨CTRL-EVENT-CONNECTED¨ line, i must do CTRL-C (break) to get control of the console again

    Except for WPA everything looks fine (here's a pic on spanish ,showing which option it offers me when I detectect some WiFi network)


    EDIT:I've just noticed something: every wifi network i detect, has no range??? even if i'm next to my router...
    Last edited by GonzalitoUY; May 15th, 2008 at 04:54 PM.

  7. #487
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How To: Manual Network Configuration without the need for Network Manager

    Did you try what it told you?

    sudo wpa_supplicant -Dipw -cwpa.conf -iwlan0

    becomes

    sudo wpa_supplicant -Dwext -cwpa.conf -iwlan0

  8. #488
    Join Date
    Apr 2007
    Beans
    15

    Re: How To: Manual Network Configuration without the need for Network Manager

    Hi Kevdog

    I followed your post regarding what you suggested me about my post (WPA not working after upgrade to Hardy)
    My wireless card is a WPN111 usb, worked fine with Feisty + ndiswrapper 1.52 + WPA

    I get stuck when running this command


    sudo wpa_supplicant -w -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
    Trying to associate with 00:18:4d:01:bc:5e (SSID='NETGEAR' freq=2437 MHz)
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Authentication with 00:18:4d:01:bc:5e timed out.
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Trying to associate with 00:18:4d:01:bc:5e (SSID='NETGEAR' freq=2437 MHz)
    Associated with 00:18:4d:01:bc:5e
    Authentication with 00:18:4d:01:bc:5e timed out.
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Trying to associate with 00:18:4d:01:bc:5e (SSID='NETGEAR' freq=2437 MHz)
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Authentication with 00:18:4d:01:bc:5e timed out.
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Trying to associate with 00:18:4d:01:bc:5e (SSID='NETGEAR' freq=2437 MHz)
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Authentication with 00:18:4d:01:bc:5e timed out.
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
    WPA: Driver used disabled pairwise cipher 0x10 (mask 0x8) - reject
    Associated with 00:18:4d:01:bc:5e
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    Associated with 00:18:4d:01:bc:5e
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    CTRL-EVENT-TERMINATING - signal 2 received


    My conf file is

    ap_scan=1
    ctrl_interface=/var/run/wpa_supplicant
    network={
    ssid="NETGEAR"
    scan_ssid=0
    proto=WPA
    key_mgmt=WPA-PSK
    psk="the passwd in plain text"
    #psk=e1f217aac9c73de737ad791bfa6a462e518a5a5a1ca5c 7e33dd7086f1aad5287
    pairwise=TKIP
    group=TKIP
    }

    I tried with the HEX key and also with scan_ssid=1. Not to 2 because the router broadcasts the ssid

    sudo lshw -C network
    *-network:0 UNCLAIMED
    description: Ethernet controller
    product: 88w8335 [Libertas] 802.11b/g Wireless
    vendor: Marvell Technology Group Ltd.
    physical id: a
    bus info: pci@0000:02:0a.0
    version: 03
    width: 32 bits
    clock: 66MHz
    capabilities: pm bus_master cap_list
    configuration: latency=32
    *-network:1
    description: Ethernet interface
    product: RTL-8169 Gigabit Ethernet
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: d
    bus info: pci@0000:02:0d.0
    logical name: eth1
    version: 10
    serial: 00:11:09:d2:fe:f8
    size: 100MB/s
    capacity: 1GB/s
    width: 32 bits
    clock: 66MHz
    capabilities: pm bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.2LK duplex=half latency=64 link=no maxlatency=64 mingnt=32 module=r8169 multicast=yes port=twisted pair speed=100MB/s
    *-network DISABLED
    description: Wireless interface
    physical id: 1
    logical name: wlan0
    serial: 00:18:4d:2b:ee:a0
    capabilities: ethernet physical wireless
    configuration: broadcast=yes driver=ndiswrapper+netwpn11 driverversion=1.52+NETGEAR,09/26/2005,1.5.0.21 link=yes multicast=yes wireless=IEEE 802.11g

    Any idea??? I am thinking to redo the ndiswrapper installation. But I am not sure if this might work

  9. #489
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: How To: Manual Network Configuration without the need for Network Manager

    The problem right now is not wpa_supplicant related since under your wireless info I see the big disclaimer:

    *-network DISABLED

    This may be a ndiswrapper problem -- you might want to check the message log -- dmesg to see after you modprobe ndiswrapper to see if you get any errors.

  10. #490
    Join Date
    Apr 2007
    Beans
    15

    Re: How To: Manual Network Configuration without the need for Network Manager

    After rebooting the pc I run again the command
    sudo lshw -C network
    *-network:0 UNCLAIMED
    description: Ethernet controller
    product: 88w8335 [Libertas] 802.11b/g Wireless
    vendor: Marvell Technology Group Ltd.
    physical id: a
    bus info: pci@0000:02:0a.0
    version: 03
    width: 32 bits
    clock: 66MHz
    capabilities: pm bus_master cap_list
    configuration: latency=32
    *-network:1
    description: Ethernet interface
    product: RTL-8169 Gigabit Ethernet
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: d
    bus info: pci@0000:02:0d.0
    logical name: eth1
    version: 10
    serial: 00:11:09:d2:fe:f8
    size: 100MB/s
    capacity: 1GB/s
    width: 32 bits
    clock: 66MHz
    capabilities: pm bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.2LK duplex=half latency=64 link=no maxlatency=64 mingnt=32 module=r8169 multicast=yes port=twisted pair speed=100MB/s
    *-network
    description: Wireless interface
    physical id: 1
    logical name: wlan0
    serial: 00:18:4d:2b:ee:a0
    capabilities: ethernet physical wireless
    configuration: broadcast=yes driver=ndiswrapper+netwpn11 driverversion=1.52+NETGEAR,09/26/2005,1.5.0.21 link=yes multicast=yes wireless=IEEE 802.11g

    The wlan0 is working, So I run again the same stalled step
    and got this

    sudo wpa_supplicant -w -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Trying to associate with 00:18:4d:01:bc:5e (SSID='NETGEAR' freq=2437 MHz)
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Associated with 00:18:4d:01:bc:5e
    Authentication with 00:18:4d:01:bc:5e timed out.
    CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
    Trying to associate with 00:18:4d:01:bc:5e (SSID='NETGEAR' freq=2437 MHz)
    Associated with 00:18:4d:01:bc:5e
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    WPA: Invalid TKIP key length 16 (src=00:18:4d:01:bc:5e)
    Associated with 00:18:4d:01:bc:5e
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    Associated with 00:18:4d:01:bc:5e
    WPA: Invalid EAPOL-Key MIC when using TPTK - ignoring TPTK
    WPA: Invalid EAPOL-Key MIC - dropping packet
    CTRL-EVENT-TERMINATING - signal 2 received

    I am going to reinstall the driver just in case, but it is working fine without security.

Page 49 of 98 FirstFirst ... 39474849505159 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •