Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Hi i got a problem, I installed a Wi-Fi usb dongle (on my pc running Voyage MPD), and i follow all the steps to connect it to my smartphone (using ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2013
    Posts
    15

    wi-fi problems


    Hi i got a problem,
    I installed a Wi-Fi usb dongle (on my pc running Voyage MPD), and i follow all the steps to connect it to my smartphone (using MPDroid client) and it work but the network seem to be unstable, every few seconds MPDroid loose the connection and i have to manually re-connectit (by clicking the "Retry" button).
    It seems that the wi-fi dongle kick MPDroid out of network (the network go down) every few seconds and after network function again and i can reconnect MPDroid to MPD.
    When MPDroid disconnect i got the message "Connection to MPD-Server failed! Ceck if the Server is runnig and reachable. (Connection Lost)".
    Here are my settings:

    the file /etc/network/interfaces:

    Code:
    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).
     
    # The loopback network interface
    auto lo
    iface lo inet loopback
     
    # The primary network interface
    #auto eth0
    #iface eth0 inet static
    # address 192.168.0.10
    # netmask 255.255.255.0
    # network 192.168.0.0
    # broadcast 192.168.0.255
    # gateway 192.168.0.1
     
    auto br0
    iface br0 inet static
     address 192.168.0.10
     netmask 255.255.255.0
     network 192.168.0.0
     broadcast 192.168.0.255
     gateway 192.168.0.1
     bridge-ports eth0 wlan0

    the file /etc/hostapd/hostapd.conf:

    Code:
    ctrl_interface=/var/run/hostapd
    ###############################
    # Basic Config
    ###############################
    macaddr_acl=0
    auth_algs=1
    # Most modern wireless drivers in the kernel need driver=nl80211
    driver=nl80211
    ##########################
    # Local configuration...
    ##########################
    interface=wlan0
    bridge=br0
    hw_mode=g
    channel=1
    ssid=Andy
    macaddr_acl=0
    auth_algs=1
    ignore_broadcast_ssid=0
    wpa=2
    wpa_passphrase=1234567890
    wpa_key_mgmt=WPA-PSK
    wpa_pairwise=CCMP
    rsn_pairwise=CCMP
    the file /etc/default/hostapd:

    Code:
    DAEMON_CONF="/etc/hostapd/hostapd.conf"
    can i have some help please!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    Where did you get the driver for this dongle? Is it from the manufacturer? If so, have you contacted them for support?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2013
    Posts
    15
    hi, i got a cd with with drivers (included in the box) but i do no installed because i read on the net that there are no needs to be installed (the module is integrated in kernel); i am wrong?
    Sorry but i am a really linux newbie and i don't know how to installit.
    The sistem i run in my Pc (Vyage MPD) had non user interface and i can only use the command line
    Can you help me please?

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    Run the command "lsusb" and post the output here. After I get that information, I can better advise you.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Apr 2013
    Posts
    15
    here is a screen shot of the lsusb command
    sorry but the computer where I run Linux is far from this one from where I wrote and I don't even know how to make copy and paste the code in Linux ain Linux environement

    20130414_232807.jpg

    tanks for your help man!

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    Ok. Don't see screen shot or link to it...
    See it now...
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    The first entry is the relevant one. On the web site Welcome - Linux Wireless I see a number of realtek chip sets that may be compatible with your device. Here is a link to the page: rtl8187 - Linux Wireless
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  8. #8
    Just Joined!
    Join Date
    Apr 2013
    Posts
    15
    ok
    so what i have to do now? install drivers from the CD included in the box of the dongle?

  9. #9
    Just Joined!
    Join Date
    Apr 2013
    Posts
    15
    hi if i am correct i understand that i need to install drivers.
    so i try to install the drivers on the Cd rom included.
    Here there is the instructions taken from the Pdf file "How to install linux drivers" included in the Cd:
    from command line digit uname -r to know the kernel version of your linux distribution.
    if necessary, install following:
    apt-get install build-essential linux-headers-$(uname -r)
    Be sure that in your computer are installed gcc, make, g++

    1. Copy from folder Drivers\Linux of this CDROM the file needed to make the installation of drivers on your Home directory:
    rtl8192su_linux_2.6.0003.0810.2009.tar.gz
    2. go to your Home directory and decompress the file:
    tar -xvf rtl8192su_linux_2.6.0003.0810.2009.tar.gz
    3. go to the directory you already decompress:
    cd rtl8192su_linux_2.6.0003.0810.2009 (the directory name in the "how to" file is fuc... wrong! the correct name is rtl8192CU_linux_v2.0.1212.2010208 so i belive that even drivers are most up to date than 2009, maybe)
    4. to install drivers digit:
    make
    Problem number 1
    in my case the command uname -r give me the following result:
    3.6.9-voyage
    when i digit
    apt-get install build-essential linux-headers-$3.6.9-voyage
    or
    apt-get install build-essential linux-headers-$3.6.9-generic
    or
    apt-get install build-essential linux-headers-$3.6.9-essential
    i got always the same answer:
    unable to locate package
    could't find any package

    obviously if i skip this point and i keep following the procedure, after point 4 (when i digit make to install the drivers) i got an error message:
    make *** /lib/modules/3.6.9-voyage/build: no such file or directory
    and the install process, obviously, stop

    can you help me?

  10. #10
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,392
    Quote Originally Posted by spaxa View Post
    ok
    so what i have to do now? install drivers from the CD included in the box of the dongle?
    If they have Linux drivers, then I'd definitely try that. At worst it won't work and you remove it.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Page 1 of 2 1 2 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
  •