Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Cannot connect to my AP correctly

  1. #1

    Default Cannot connect to my AP correctly

    I've read dozens of articles and help tutorials on how to get my USB dongle (EDIMAX EW-7811Un) working on openSUSE. Before I used to have Ethernet, but now I must use a wifi dongle to connect to my AP.

    After reading help articles, I realized that my chipset in that dongle is 8192CU. I found out that in the HCL network section on the wiki, opensuse should support it right out of the box. The problem is in the applet Network Management, I could not click any other tabs other than VPN and wired. Therefore, I read the sticky in this subforum to get my network working.

    I know for certain I do not need external firmware since I did not see any errors in dmesg, so I continued to do: sudo /usr/sbin/iwlist scan which gave me results of my AP. My AP is encrypted with WPA2, so in YaST> network settings I selected DHCP to be automatic and my network managed with a passphrase of my WPA2 code. After hitting OK, an installer for iwp(sp? I forgot what it was) comes up as a mandatory install. I cannot install it since I cannot connect to opensuse servers. I've tried every combination, I know I have WPA2 and I use that specific passphrase for it.

    In the guide, it says something like: "NetworkManager will use an external program called wpa_supplicant whenever your network is encrypted. Make sure that its package has been installed." How do I check if I have wpa_supplicant installed already? It came with the driver for my USB dongle.

    This is where I'm stuck: http://susepaste.org/images/a5ea58a6.png

    Do I need to install the driver for my USB dongle? It says the chipset will work, but if so, I don't know how to install (it uses the "make" command which is not a command in the terminal). Thanks if you can help me out!

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    15,741

    Default Re: Cannot connect to my AP correctly

    Hello and welcome here.

    Did you read the stickies at the top if this Wirell Forusm? Particularly this one:
    https://forums.opensuse.org/english/...d-do-next.html

    As it is now, we do not even know which version of openSUSE you use.
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,381

    Default Re: Cannot connect to my AP correctly

    On 06/28/2013 02:36 AM, jimmyrussells wrote:
    >
    > I've read dozens of articles and help tutorials on how to get my USB
    > dongle (EDIMAX EW-7811Un) working on openSUSE. Before I used to have
    > Ethernet, but now I must use a wifi dongle to connect to my AP.
    >
    > After reading help articles, I realized that my chipset in that dongle
    > is 8192CU. I found out that in the HCL network section on the wiki,
    > opensuse should support it right out of the box. The problem is in the
    > applet Network Management, I could not click any other tabs other than
    > VPN and wired. Therefore, I read the sticky in this subforum to get my
    > network working.
    >
    > I know for certain I do not need external firmware since I did not see
    > any errors in dmesg, so I continued to do: sudo /usr/sbin/iwlist scan
    > which gave me results of my AP. My AP is encrypted with WPA2, so in
    > YaST> network settings I selected DHCP to be automatic and my network
    > managed with a passphrase of my WPA2 code. After hitting OK, an
    > installer for iwp(sp? I forgot what it was) comes up as a mandatory
    > install. I cannot install it since I cannot connect to opensuse servers.
    > I've tried every combination, I know I have WPA2 and I use that specific
    > passphrase for it.
    >
    > In the guide, it says something like: "NetworkManager will use an
    > external program called wpa_supplicant whenever your network is
    > encrypted. Make sure that its package has been installed." How do I
    > check if I have wpa_supplicant installed already? It came with the
    > driver for my USB dongle.
    >
    > This is where I'm stuck: http://susepaste.org/images/a5ea58a6.png
    >
    > Do I need to install the driver for my USB dongle? It says the chipset
    > will work, but if so, I don't know how to install (it uses the "make"
    > command which is not a command in the terminal). Thanks if you can help
    > me out!


    Let me correct some misconceptions and request more info:

    (1) Your device most certainly needs external firmware. The output from dmesg
    will indicate either (a) the name of the file that was loaded, or that the
    loading of the firmware file failed. The fact that you are able to scan for APs
    is proof that the firmware is present on your system.

    (2) The package containing wpa_supplicant is installed on your system. To verify
    that, run the command 'ps ax | grep wpa' and you will see that it is not only
    installed, but running.

    (3) The image that you posted shows that a wireless device was created. To get
    to that point, you need both a driver and the firmware. It says nothing about
    the correctness of your wifi secret or anything else.

    (4) If a given chipset works in Linux, there is a driver for it! Incidentally,
    "make" requires the installation of a separate package that is not installed on
    every system. Most people do not need it.

    (5) Without knowing what version of openSUSE you are running, I cannot go any
    further!!!!



  4. #4

    Default Re: Cannot connect to my AP correctly

    Quote Originally Posted by lwfinger View Post

    Let me correct some misconceptions and request more info:

    (1) Your device most certainly needs external firmware. The output from dmesg
    will indicate either (a) the name of the file that was loaded, or that the
    loading of the firmware file failed. The fact that you are able to scan for APs
    is proof that the firmware is present on your system.

    (2) The package containing wpa_supplicant is installed on your system. To verify
    that, run the command 'ps ax | grep wpa' and you will see that it is not only
    installed, but running.

    (3) The image that you posted shows that a wireless device was created. To get
    to that point, you need both a driver and the firmware. It says nothing about
    the correctness of your wifi secret or anything else.

    (4) If a given chipset works in Linux, there is a driver for it! Incidentally,
    "make" requires the installation of a separate package that is not installed on
    every system. Most people do not need it.

    (5) Without knowing what version of openSUSE you are running, I cannot go any
    further!!!!
    Sorry I should of included my openSUSE version. I currently have 12.3 (x86_64).

    There is a driver on EDIMAX's website that includes the same driver from Realtek. I uncompressed the tar.gz, and there are some files inside. Here is the read me from it

    Code:
    ==================================================================================================================
            User Guide(1) - connecting wireless networking using "Network Manager" GUI utility (For PC Linux)
    ==================================================================================================================
                (1) Network Manager is a utility attempts to make use of wireless networking easy.
    
                (2) Notes: if you want to use the following command-line method to connect wireless networking,
                            please disable the "Network Manager", because "Network Manager" will conflict with method of command line .
    ^^ The network manager won't work out of the box, so we have to do user guide #2.

    Code:
    =================================================================================================================
            User Guide(2) - Using the wpa_cli & wpa_supplicant tools (For embedded Linux)
    ==================================================================================================================
    
        Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc
    This is what the document ^ says: SUSE Paste

    I followed the commands but none of them would work properly. Thanks if you can help!

  5. #5
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,381

    Default Re: Cannot connect to my AP correctly

    On 06/28/2013 01:56 PM, jimmyrussells wrote:
    >


    > Sorry I should of included my openSUSE version. I currently have 12.3
    > (x86_64).
    >
    > There is a driver on EDIMAX's website that includes the same driver
    > from Realtek. I uncompressed the tar.gz, and there are some files
    > inside. Here is the read me from it
    >
    >
    > Code:
    > --------------------
    > ==================================================================================================================
    > User Guide(1) - connecting wireless networking using "Network Manager" GUI utility (For PC Linux)
    > ==================================================================================================================
    > (1) Network Manager is a utility attempts to make use of wireless networking easy.
    >
    > (2) Notes: if you want to use the following command-line method to connect wireless networking,
    > please disable the "Network Manager", because "Network Manager" will conflict with method of command line .
    > --------------------
    >
    >
    > ^^ The network manager won't work out of the box, so we have to do user
    > guide #2.
    >
    >
    > Code:
    > --------------------
    >
    > =================================================================================================================
    > User Guide(2) - Using the wpa_cli & wpa_supplicant tools (For embedded Linux)
    > ==================================================================================================================
    >
    > Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc
    > --------------------
    >
    >
    > This is what the document ^ says: 'SUSE Paste'
    > (http://susepaste.org/80973038)
    >
    > I followed the commands but none of them would work properly. Thanks if
    > you can help!


    That document describes how to connect to an AP using the command line.
    NetworkManager obsoletes all that.

    That download contains the driver source. It needs to be built for your system.
    As you did not have make installed earlier, I doubt that gcc is available
    either. As a result, building your own driver from Realtek source is unlikely to
    work.

    Driver rtl8192cu has changed a lot in the past few days. You might use the
    3.10-rc6 kernel in the Kernel of the Day repo, but I am going to suggest an
    alternative. I have places a new kernel RPM at

    Code:
    http://www.lwfinger.com/download/
    There are two files in that directory. Download both on any system that has
    Internet access and transport them to the openSUSE system and put them in a new
    directory. Then run the following command:

    Code:
    md5sum -c md5sum.txt
    The output should be as follows:

    Code:
    finger@larrylap:~> md5sum -c md5sum.txt
    kernel-3.10.0_rc7_wl_2.g20cc894_desktop+-44.x86_64.rpm: OK
    finger@larrylap:~>
    If you do not get the OK, something has gone wrong in the download and it needs
    to be repeated.

    Once the md5sum is OK, then run the commands

    Code:
    sudo rpm -i kernel-3.10.0_rc7_wl_2.g20cc894_desktop+-44.x86_64.rpm
    sudo /sbin/mkinitrd
    After that finishes, reboot and select the new kernel. Your wireless should now
    work.



  6. #6

    Default Re: Cannot connect to my AP correctly

    Quote Originally Posted by lwfinger View Post
    That document describes how to connect to an AP using the command line.
    NetworkManager obsoletes all that.

    That download contains the driver source. It needs to be built for your system.
    As you did not have make installed earlier, I doubt that gcc is available
    either. As a result, building your own driver from Realtek source is unlikely to
    work.

    Driver rtl8192cu has changed a lot in the past few days. You might use the
    3.10-rc6 kernel in the Kernel of the Day repo, but I am going to suggest an
    alternative. I have places a new kernel RPM at

    Code:
    http://www.lwfinger.com/download/
    There are two files in that directory. Download both on any system that has
    Internet access and transport them to the openSUSE system and put them in a new
    directory. Then run the following command:

    Code:
    md5sum -c md5sum.txt
    The output should be as follows:

    Code:
    finger@larrylap:~> md5sum -c md5sum.txt
    kernel-3.10.0_rc7_wl_2.g20cc894_desktop+-44.x86_64.rpm: OK
    finger@larrylap:~>
    If you do not get the OK, something has gone wrong in the download and it needs
    to be repeated.

    Once the md5sum is OK, then run the commands

    Code:
    sudo rpm -i kernel-3.10.0_rc7_wl_2.g20cc894_desktop+-44.x86_64.rpm
    sudo /sbin/mkinitrd
    After that finishes, reboot and select the new kernel. Your wireless should now
    work.
    Thank you for providing a kernel, though may I ask where did you get the kernel from? I'm going to boot it onto my system right now I'll reply if it works or not

  7. #7
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,381

    Default Re: Cannot connect to my AP correctly

    On 06/28/2013 07:56 PM, jimmyrussells wrote:
    >
    > lwfinger;2568172 Wrote:
    >> That document describes how to connect to an AP using the command line.
    >> NetworkManager obsoletes all that.
    >>
    >> That download contains the driver source. It needs to be built for your
    >> system.
    >> As you did not have make installed earlier, I doubt that gcc is
    >> available
    >> either. As a result, building your own driver from Realtek source is
    >> unlikely to
    >> work.
    >>
    >> Driver rtl8192cu has changed a lot in the past few days. You might use
    >> the
    >> 3.10-rc6 kernel in the Kernel of the Day repo, but I am going to
    >> suggest an
    >> alternative. I have places a new kernel RPM at
    >>
    >>>

    > Code:
    > --------------------
    > > >

    > > http://www.lwfinger.com/download/
    > >

    > --------------------
    >>>

    >>
    >> There are two files in that directory. Download both on any system
    >> that has
    >> Internet access and transport them to the openSUSE system and put
    >> them in a new
    >> directory. Then run the following command:
    >>
    >>>

    > Code:
    > --------------------
    > > >

    > > md5sum -c md5sum.txt
    > >

    > --------------------
    >>>

    >>
    >> The output should be as follows:
    >>
    >>>

    > Code:
    > --------------------
    > > >

    > > finger@larrylap:~> md5sum -c md5sum.txt
    > > kernel-3.10.0_rc7_wl_2.g20cc894_desktop+-44.x86_64.rpm: OK
    > > finger@larrylap:~>
    > >

    > --------------------
    >>>

    >>
    >> If you do not get the OK, something has gone wrong in the download
    >> and it needs
    >> to be repeated.
    >>
    >> Once the md5sum is OK, then run the commands
    >>
    >>>

    > Code:
    > --------------------
    > > >

    > > sudo rpm -i kernel-3.10.0_rc7_wl_2.g20cc894_desktop+-44.x86_64.rpm
    > > sudo /sbin/mkinitrd
    > >

    > --------------------
    >>>

    >>
    >> After that finishes, reboot and select the new kernel. Your wireless
    >> should now
    >> work.

    >
    > Thank you for providing a kernel, though may I ask where did you get
    > the kernel from? I'm going to boot it onto my system right now I'll
    > reply if it works or not


    I built the kernel on my laptop. That is something I do nearly every day. The
    only difference is that I usually build kernels that are tailored for my
    hardware, whereas that one has the much broader configuration of the openSUSE
    kernels. In addition, I install them immediately, and do not normally build the rpm.



  8. #8

    Default Re: Cannot connect to my AP correctly

    Quote Originally Posted by lwfinger View Post
    I built the kernel on my laptop. That is something I do nearly every day. The
    only difference is that I usually build kernels that are tailored for my
    hardware, whereas that one has the much broader configuration of the openSUSE
    kernels. In addition, I install them immediately, and do not normally build the rpm.
    It did work flawlessly, though the Internet was pretty slow for my session for some reason. I would like to say thank you so much for helping me and building that kernel + uploading!

    I do have a concern though, if you don't mind... I got openSUSE as an OS because it's FOSS. How can I verify the integrity of the kernel? I'm not saying you put anything malicious in it, but it would make me feel a bit more comfortable. Again, thanks again for your help mate

  9. #9
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,381

    Default Re: Cannot connect to my AP correctly

    On 06/29/2013 04:26 PM, jimmyrussells wrote:
    >
    > lwfinger;2568237 Wrote:
    >> I built the kernel on my laptop. That is something I do nearly every
    >> day. The
    >> only difference is that I usually build kernels that are tailored for
    >> my
    >> hardware, whereas that one has the much broader configuration of the
    >> openSUSE
    >> kernels. In addition, I install them immediately, and do not normally
    >> build the rpm.

    >
    > It did work flawlessly, though the Internet was pretty slow for my
    > session for some reason. I would like to say thank you so much for
    > helping me and building that kernel + uploading!
    >
    > I do have a concern though, if you don't mind... I got openSUSE as an
    > OS because it's FOSS. How can I verify the integrity of the kernel? I'm
    > not saying you put anything malicious in it, but it would make me feel a
    > bit more comfortable. Again, thanks again for your help mate


    You can download the git repo from wireless-testing and generate your own
    kernel. That is what I did.



  10. #10

    Default Re: Cannot connect to my AP correctly

    Quote Originally Posted by lwfinger View Post
    On 06/29/2013 04:26 PM, jimmyrussells wrote:
    >
    > lwfinger;2568237 Wrote:
    >> I built the kernel on my laptop. That is something I do nearly every
    >> day. The
    >> only difference is that I usually build kernels that are tailored for
    >> my
    >> hardware, whereas that one has the much broader configuration of the
    >> openSUSE
    >> kernels. In addition, I install them immediately, and do not normally
    >> build the rpm.

    >
    > It did work flawlessly, though the Internet was pretty slow for my
    > session for some reason. I would like to say thank you so much for
    > helping me and building that kernel + uploading!
    >
    > I do have a concern though, if you don't mind... I got openSUSE as an
    > OS because it's FOSS. How can I verify the integrity of the kernel? I'm
    > not saying you put anything malicious in it, but it would make me feel a
    > bit more comfortable. Again, thanks again for your help mate


    You can download the git repo from wireless-testing and generate your own
    kernel. That is what I did.
    I downloaded and installed the kernel you gave me a few days ago. I am so confused though.. I was able to connect one time to my AP but now I cannot connect at all. I looked through your sticky on wireless connection help and went through all the steps. I had no problem up until this part here:

    If you get something likeFrom 192.168.1.106: icmp_seq=2 Destination Host Unreachablethen your AP's address is not what you thought, or your network connection is bad.
    When I pinged my AP or any server, it said something like "connection: Unreachable" which is what you said here. What do you mean by a connection being "bad"? When I did a command to find some info about my wireless adapter, it said I had 62/70 for signal strength. I know I put in all the correct information to my knowledge, but I am not too sure.

    Thanks if you can help!

Page 1 of 2 12 LastLast

Posting Permissions

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