Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 71

Thread: Cannot connect to ethernet with wired connection

  1. #41
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    Can you tell me what brands will work and have a Linux driver.

  2. #42
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,224
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    http://ubuntuforums.org/showthread.php?t=2125216

    There are many threads here asking for the same information. The one I linked was posted just an hour ago!

    http://linuxplained.com/5-best-ubunt...ess-cards-usb/
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #43
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    I returned the D-Link and got the "ASUS (USB-N13) Wireless-N USB Adapter IEEE 802.11b/g/n USB 2.0 Up to 300Mbps Wireless Data Rates". Should have it by next Tuesday.

  4. #44
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    I got my ASUS (USB-N13) Wireless-N USB Adapter. My wireless connection shows that I'm connected, but I cannot get on the internet. I went to edit connections > Network Connections and clicked Wireless. I then clicked on my name then clicked edit.

    What settings should I have for:

    1. Wireless
    2. IPv4 Settings
    3. IPv6 Settings
    4. Wireless Security

    I have the same settings as I have in my laptop.

    The wireless disconnects and asks to reconnect, I click yes and the it reconnects for awhile and then
    disconnects again?

    Am I going in the right direction or did I miss something?


    Thank You
    Last edited by SUPERFITTER; March 19th, 2013 at 08:17 PM.

  5. #45
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    The wireless USB adapter came with a install disk for windows. I found this on the disk for Linux:

    A. Install Sheet


    #!/bin/bash
    # Writed by Realtek : willisTang
    # September, 1 2010 v 1.0.0
    ################################################## #########################
    echo " Auto install for 8192cu"
    echo " September, 1 2010 v 1.0.0"
    cd driver
    Drvfoulder=`ls |grep .tar.gz`
    tar zxvf $Drvfoulder
    Drvfoulder=`ls |grep -iv '.tar.gz'`
    echo "$Drvfoulder"
    cd $Drvfoulder
    echo "Authentication requested [root] for make driver:"
    if [ "`uname -r |grep fc`" == " " ]; then
    sudo su -c make; Error=$?
    else
    su -c make; Error=$?
    fi
    module=`ls |grep -i 'ko'`
    if [ "$Error" != 0 ];then
    echo "Compile make driver error: $Error, Please check error Mesg"
    read REPLY
    exit
    else
    echo "Compile make driver ok!!"
    fi
    if [ "`uname -r |grep fc`" == " " ]; then
    echo "Authentication requested [root] for remove driver:"
    sudo su -c "rmmod $module"
    echo "Authentication requested [root] for insert driver:"
    sudo su -c "insmod $module"
    echo "Authentication requested [root] for install driver:"
    sudo su -c "make install"
    else
    echo "Authentication requested [root] for remove driver:"
    su -c "rmmod $module"
    echo "Authentication requested [root] for insert driver:"
    su -c "insmod $module"
    echo "Authentication requested [root] for install driver:"
    su -c "make install"
    fi
    echo "################################################# ###############"
    echo "The Setup Script is completed !"
    echo "Plese Press any keyword to exit."
    read REPLY
    echo "################################################# ###############"




    B. Read Me Text


    ================================================== =============================
    Software Package - Component
    ================================================== =============================
    1. ReleaseNotes.doc

    2. document/
    2.1 sample code for hardware wps pbc/
    2.1.1 Readme.txt
    2.2.2 sample.c
    2.2 WiFi Direct APIs/
    2.2.1 p2p.h
    2.2.2 RTK Wi-Fi Direct Programming guide 20110601.doc
    2.3 HowTo build driver under kernel tree.doc
    2.4 HowTo enable driver to support WIFI certification test.doc
    2.5 HowTo enable the power saving functionality.doc
    2.6 HowTo support more VidPids.doc
    2.7 HowTo support new platform(including Android).doc
    2.8 Quick_Start_Guide_for_SoftAP.doc
    2.9 RTL8192C_usb_quick_installation_guide.ppt
    2.10 SoftAP_Mode_features.doc
    2.11 Wireless tools porting guide.doc
    2.12 wpa_cli_with_wpa_supplicant_20100728.doc

    3. driver/
    driver source code

    3.1 Makefile - to build the modules

    3.2 Script and configuration for DHCP:
    "wlan0dhcp"
    "ifcfg-wlan0"

    3.3 Script to run wpa_supplicant
    "runwpa"

    3.4 Script to clean relative modules
    "clean"

    4. wpa_supplicant_hostapd/

    4.1 wpa_supplicant_hostapd-0.8_rtw_20110523.zip

    4.1.1 wpa_supplicant
    The tool help the wlan network to communicate under the
    protection of WPAPSK mechanism (WPA/WPA2) and add WPS patch

    4.1.2 hostapd

    4.2 rtl_hostapd.conf
    Configure file for Soft-AP mode

    4.3 wpa_0_6_9.conf
    Configure file sample for wpa_supplicant-0.6.9

    4.4 wpa_0_8.conf
    Configure file sample for wpa_supplicant-0.8

    4.3 wpa_supplicant-0.6.9_wps_patch_20100201_1.zip

    5. android_reference_codes/

    5.1 realtek_wifi_SDK_for_android_20110715.tar.gz
    This tar ball includes our android wifi reference codes

    5.2 realtek_wifi_SDK_for_android_20110715.txt
    A guide for porting Realtek wifi onto your Android system

    6. install.sh
    Script to easy make 8192cu driver.

    ================================================== ================================================== ==============
    User Guide for Station mode
    ================================================== ================================================== ==============

    1. 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 .


    2. 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


    3. User Guide(3) - Set wireless lan MIBs in Command Line (Legacy command - Not recommend)
    This driver uses Wireless Extension as an interface allowing you to set
    Wireless LAN specific parameters.

    Current driver supports "iwlist" to show the device status of nic
    iwlist wlan0 [parameters]
    where
    parameter explaination [parameters]
    ----------------------- -------------
    Show and Scan BSS and IBSS scan[ning]
    Show available chan and freq freq / channel
    Show supported bit-rate rate / bit[rate]

    For example:
    iwlist wlan0 scan
    iwlist wlan0 channel
    iwlist wlan0 rate

    Driver also supports "iwconfig", manipulate driver private ioctls, to set
    MIBs.

    iwconfig wlan0 [parameters] [val]
    where
    parameter explaination [parameters] [val] constraints
    ----------------------- ------------- ------------------
    Connect to AP by address ap [mac_addr]
    Set the essid, join (I)BSS essid [essid]
    Set operation mode mode {Managed|Ad-hoc}
    Set keys and security mode key/enc[ryption] {N|open|restricted|off}

    For example:
    iwconfig wlan0 essid "ap_name"
    iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
    iwconfig wlan0 mode Ad-hoc
    iwconfig wlan0 essid "name" mode Ad-hoc
    iwconfig wlan0 key 0123456789 [2] open
    iwconfig wlan0 key off
    iwconfig wlan0 key restricted [3] 0123456789
    Note: Better to set these MIBS without GUI such as NetworkManager and be sure that our
    nic has been brought up before these settings. WEP key index 2-4 is not supportted by
    NetworkManager.


    4. Getting IP address (For User Guide(2) & User Guide(3))
    After start up the nic and connect to AP successfully, the network needs to obtain an IP address
    before transmit/receive data.
    This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS"
    command, or using DHCP.

    If using DHCP, setting steps is as below:
    (1)check if the WiFi had connected to an AP via "iwconfig" command
    $> iwconfig

    (2)run the script which run the dhclient
    $> ./wlan0dhcp
    or
    dhcpcd wlan0
    (Some network admins require that you use the
    hostname and domainname provided by the DHCP server.
    In that case, use
    dhcpcd -HD wlan0)

    5. WPAPSK/WPA2PSK - using wpa_supplicant (For User Guide(3))
    Wpa_supplicant helps to secure wireless connection with the protection of
    WPAPSK/WPA2PSK mechanism. Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc

    6. WPS - PIN & PBC methods
    (*) Please refer to the document/wpa_cli_with_wpa_supplicant_20091227.doc

    ================================================== ================================================== ==============
    User Guide for WPS2.0
    ================================================== ================================================== ==============
    (*) Please use wpa_supplicant_hostapd-0.8_rtw_20110524.zip
    ================================================== ================================================== ==============
    User Guide for Soft-AP mode
    ================================================== ================================================== ==============
    (*) Please refer to the document/Quick_Start_Guide_for_SoftAP.doc
    (*) Please use wpa_supplicant_hostapd-0.8_rtw_20110524.zip
    ================================================== ================================================== ==============
    User Guide for Wi-Fi Direct
    ================================================== ================================================== ==============
    (*) Please refer to the document/RTK Wi-Fi Direct Programming guide 20110601.doc
    (*) Please use wpa_supplicant_hostapd-0.8_rtw_20110524.zip

    ================================================== ================================================== ==============
    Power Saving Mode
    ================================================== ================================================== ==============
    (*) Please refer to the document/HowTo enable the power saving functionality.doc



    C. USB-N13 Linux Driver Quick Start.txt




    USB-N13 Linux Driver quick start
    This driver only supports kernel 2.618~2.6.38, your linux is suggested to be Software Development mode that can be correctly built.

    *Before installing driver, please check installed compile, make tool and kernel source code.
    Otherwise, you need to connect to Internet and use yum to install.

    step1.Modify "enable=1" to "0" in /etc/yum.repos.d/fedora-updates.repo and /etc/yum.repos.d/fedora-updates-testing.repo
    step2.#yum install gcc
    step3.#yum install make
    step4.#uname -r
    step5.#yum install kernel-devel
    Note: You must install the same version kernel of setp4.

    *Start install driver

    1.tar -zxvf rtl8192_8188CU_linux_v3.0.2164.20110715.tar.gz
    2.Compile driver
    #make
    3.Insert the driver to kernel
    #make install
    4.Reboot system
    #reboot
    5.Active Interface
    #ifconfig wlan0 up
    6.sitesurvey
    #iwlist wlan0 scan


    *Uninstall driver

    1. #make uninstall
    2. #reboot



    As you can see it is from September, 1 2010 v 1.0.0.

  6. #46
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,224
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    As you can see it is from September, 1 2010 v 1.0.0.
    Which is exactly why it isn't ever going to compile in your modern kernel.
    What settings should I have for:

    1. Wireless
    2. IPv4 Settings
    3. IPv6 Settings
    4. Wireless Security
    1. Infrastructure; leave all other settings blank.
    2. Automatic (DHCP)
    3. Ignore
    4. Leave all blank.

    Network Manager should then find your network when you click the icon. After you select your network, you should be asked for your WPA2 password and connect. Is that what's happening?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #47
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    Network Manager should then find your network when you click the icon. After you select your network, you should be asked for your WPA2 password and connect. Is that what's happening?

    Yes, it finds my network and asks for my password and it says I'm connected. It stays connected for a while then asks me to hit the reconnect button. I'm not really connected, because I cannot get on the Internet or update.
    1. Wireless
    2. IPv4 Settings
    3. IPv6 Settings
    4. Wireless Security

    These connections are the same as my laptop.

    1. Infrastructure; leave all other settings blank.
    2. Automatic (DHCP)
    3. Ignore
    4. Leave all blank.

  8. #48
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,224
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    Since the purpose of this device is to grab the driver for your ethernet, I think it's worth taking a few temporary steps, get the ethernet done and then put the USB away. First, in the router, turm off N speeds, if any. Second, make sure the encryption is WPA2 only and not the dreaded WPA and WPA2 mixed mode. Next, let's confirm the driver is rtl8192cu:
    Code:
    lsmod | grep rtl
    That's lower case for RTL.

    Now can you reliably connect? If not, let's try a driver parameter:
    Code:
    sudo modprobe -r rtl8192cu
    sudo modprobe rtl8192cu swenc=1
    Any improvement?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  9. #49
    Join Date
    Jun 2011
    Beans
    217

    Re: Cannot connect to ethernet with wired connection

    No luck

    dennis@dennis:~$ lsmod | grep rtl
    rtl8192cu 67616 0
    rtl8192c_common 48779 1 rtl8192cu
    rtlwifi 74705 1 rtl8192cu
    mac80211 539908 3 rtl8192cu,rtl8192c_common,rtlwifi
    cfg80211 206566 2 rtlwifi,mac80211
    dennis@dennis:~$ sudo modprobe -r rtl8192cu
    [sudo] password for dennis:
    dennis@dennis:~$ sudo modprobe rtl8192cu swenc=1
    dennis@dennis:~$

  10. #50
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,224
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot connect to ethernet with wired connection

    Quote Originally Posted by SUPERFITTER View Post
    No luck
    Meaning what? Meaning that the driver parameter swenc=1 didn't change anything? Meaning you changed things in the router and the driver parameter and it didn't change anything? Or...?
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 5 of 8 FirstFirst ... 34567 ... LastLast

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
  •