Internet Connection

Gordon

Hi All

Just had a reply from edimax saying their driver only supports up to v3.13 not v4.0 as yet, so absolutely no idea what you do now.
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

PackRat

In a terminal -

uname -r

will give you your kernel version.

Then use linux-headers-<kernel version> with apt.

There is a way to use the "uname -r" command with apt so it's just one command, but I can't recall it right now so I gave you the two-step process.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

Gordon

Hi Folks

@ PackRat, Thanks for that, It said that I already had the latest headers installed, still it helped me out anyway

@ hakerdefo,

I see you were testing me out  :D I managed to find the deliberate mistake in the end took a few goes though, the space after pvaret


root@gordon:/home/gordon# git clone  https://github.com/pvaret /rtl8192cu-fixes.git
Cloning into '/rtl8192cu-fixes.git'...
fatal: repository 'https://github.com/pvaret/' not found
root@gordon:/home/gordon# git clone  https://github.com/pvaret/rtl8192cu-fixes.git
Cloning into 'rtl8192cu-fixes'...
remote: Counting objects: 415, done.
remote: Total 415 (delta 0), reused 0 (delta 0), pack-reused 415
Receiving objects: 100% (415/415), 1.78 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (212/212), done.
Checking connectivity... done.
root@gordon:/home/gordon# sudo dkms add ./rtl8192cu-fixes
Error! DKMS tree already contains: 8192cu-1.10
You cannot add the same module/version combo more than once.
root@gordon:/home/gordon# sudo dkms install 8192cu/1.10
Module 8192cu/1.10 already installed on kernel 4.0.0-1-amd64/x86_64
root@gordon:/home/gordon# sudo depmod -a
root@gordon:/home/gordon# sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/


Well I will run your last command now and see what happens. will let you know shortly.
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

Gordon

Hi hakerdefo

Sorry to say that it did not work, not surprised really as I had run them all before with no luck. I did it just in case I had done something wrong.
another question about it. It seems to have blacklist all over the place blacklisting the driver. it is in /usr/src, /etc/modprobe.d 2 or 3 times and in /home/gordon/rtl8192cu-fixes is this as it should be
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

hakerdefo

Hey Gordon sorry for the typo! I wasn't testing you, it was unintensional.
Now coming back to your problem, let's try another approach. First remove the stuff we installed,
sudo dkms uninstall 8192cu-1.10
sudo dkms remove 8192cu-1.10
sudo rm /etc/modprobe.d/blacklist-native-rtl8192.conf
Next install an older but lts kernel and it's headers,
Download it from here,
http://snapshot.debian.org/archive/debian-security/20150426T123124Z/pool/updates/main/l/linux/kernel-image-3.2.0-4-amd64-di_3.2.68-1%2Bdeb7u1_amd64.udeb
http://snapshot.debian.org/archive/debian-security/20150426T123124Z/pool/updates/main/l/linux/linux-headers-3.2.0-4-all-amd64_3.2.68-1%2Bdeb7u1_amd64.deb
Next install these packages using 'sudo dpkg -i package_name' command. Ofcourse change 'package_name' with the actual path and name of the packages you have downloaded. Once you have installed the 'image' and 'headers' packages, update grub via,
sudo update-grub
And restart the pc and from grub menu boot into kernel 3.2 instead of 4.0 and check if the dongle works or not.
Cheers!!!
You Can't Always Git What You Want

Gordon

Hi hakerdefo

Thanks for that, guessed it was just a typo in the end  :)

Here is the result of the first three commands you posted


gordon@gordon:~$ sudo dkms uninstall 8192cu-1.10
[sudo] password for gordon:
Error! Invalid number of arguments passed.
Usage: uninstall <module>/<module-version> or
       uninstall -m <module>/<module-version> or
       uninstall -m <module> -v <module-version>
gordon@gordon:~$ sudo dkms remove 8192cu-1.10
Error! Invalid number of parameters passed.
Usage: remove <module>/<module-version> --all
   or: remove <module>/<module-version> -k <kernel-version>
gordon@gordon:~$ sudo rm /etc/modprobe.d/blacklist-native-rtl8192.conf


where it says module does it mean the directory ?


Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

hakerdefo

#36
The problem is currently I don't have access to a linux machine so I am not able to validate the suggestions before posting :(
Anyways try these commands and if they succeed download and install kernel and headers packages as described in my last post.
sudo dkms uninstall 8192cu/1.10
sudo dkms remove 8192cu/1.10
Cheers!!!
You Can't Always Git What You Want

Gordon

Hi hakerdefo

There is a problem with the download of http://snapshot.debian.org/archive/debian-security/20150426T123124Z/pool/updates/main/l/linux/linux-headers-3.2.0-4-all-amd64_3.2.68-1%2Bdeb7u1_amd64.deb it keeps coming up with dependency errors. I have tried it several times, the other part downloaded and installed OK.
I can't seem to find it in synaptic
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

hakerdefo

Hey Gordon for now we can do without 'headers' package. Just run,
sudo update-grub
And reboot. From the grub menu boot into kernel 3.2 instance of vsido and test your edimax.
Cheers!!!
You Can't Always Git What You Want

Gordon

Hi hakerdefo

below is what I get when I run the commands.


root@gordon:/home/gordon/downloads# dpkg -i kernel-image-3.2.0-4-amd64-di_3.2.68-1+deb7u1_amd64.udeb
(Reading database ... 124715 files and directories currently installed.)
Preparing to unpack kernel-image-3.2.0-4-amd64-di_3.2.68-1+deb7u1_amd64.udeb ...
Unpacking kernel-image-3.2.0-4-amd64-di (3.2.68-1+deb7u1) over (3.2.68-1+deb7u1) ...
Setting up kernel-image-3.2.0-4-amd64-di (3.2.68-1+deb7u1) ...
root@gordon:/home/gordon/downloads# update-grub
Generating grub configuration file ...
Found background image: vsido_grub.png
Found linux image: /boot/vmlinuz-4.0.0-1-amd64
Found initrd image: /boot/initrd.img-4.0.0-1-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
  No volume groups found
Found Windows 8 (loader) on /dev/sda1
done


It seem to have installed it I think but doesn't show up in update-grub or when I reboot
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

hakerdefo

Gordon, please post the output of,
cat /boot/grub/grub.cfg
ls /boot
Cheers!!!
You Can't Always Git What You Want

Gordon

Hi hakerdefo

As requested here it is


gordon@gordon:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}
function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_GB
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ] ; then
  set timeout=30
else
  if [ x$feature_timeout_style = xy ] ; then
    set timeout_style=menu
    set timeout=5
  # Fallback normal timeout code in case the timeout_style feature is
  # unavailable.
  else
    set timeout=5
  fi
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
insmod png
if background_image /boot/grub/vsido_grub.png; then
  true
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
}
set linux_gfx_mode=
export linux_gfx_mode
menuentry 'VSIDO GNU/Linux' --class vsido --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-de243900-80ac-4cb1-82e8-e9a1e361192d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
echo 'Loading Linux 4.0.0-1-amd64 ...'
linux /boot/vmlinuz-4.0.0-1-amd64 root=UUID=de243900-80ac-4cb1-82e8-e9a1e361192d ro  quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.0.0-1-amd64
}
submenu 'Advanced options for VSIDO GNU/Linux' $menuentry_id_option 'gnulinux-advanced-de243900-80ac-4cb1-82e8-e9a1e361192d' {
menuentry 'VSIDO GNU/Linux, with Linux 4.0.0-1-amd64' --class vsido --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.0-1-amd64-advanced-de243900-80ac-4cb1-82e8-e9a1e361192d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
echo 'Loading Linux 4.0.0-1-amd64 ...'
linux /boot/vmlinuz-4.0.0-1-amd64 root=UUID=de243900-80ac-4cb1-82e8-e9a1e361192d ro  quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.0.0-1-amd64
}
menuentry 'VSIDO GNU/Linux, with Linux 4.0.0-1-amd64 (sysvinit)' --class vsido --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.0-1-amd64-init-sysvinit-de243900-80ac-4cb1-82e8-e9a1e361192d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
echo 'Loading Linux 4.0.0-1-amd64 ...'
linux /boot/vmlinuz-4.0.0-1-amd64 root=UUID=de243900-80ac-4cb1-82e8-e9a1e361192d ro  quiet  init=/lib/sysvinit/init
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.0.0-1-amd64
}
menuentry 'VSIDO GNU/Linux, with Linux 4.0.0-1-amd64 (systemd)' --class vsido --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.0-1-amd64-init-systemd-de243900-80ac-4cb1-82e8-e9a1e361192d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
echo 'Loading Linux 4.0.0-1-amd64 ...'
linux /boot/vmlinuz-4.0.0-1-amd64 root=UUID=de243900-80ac-4cb1-82e8-e9a1e361192d ro  quiet  init=/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.0.0-1-amd64
}
menuentry 'VSIDO GNU/Linux, with Linux 4.0.0-1-amd64 (recovery mode)' --class vsido --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.0.0-1-amd64-recovery-de243900-80ac-4cb1-82e8-e9a1e361192d' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
echo 'Loading Linux 4.0.0-1-amd64 ...'
linux /boot/vmlinuz-4.0.0-1-amd64 root=UUID=de243900-80ac-4cb1-82e8-e9a1e361192d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.0.0-1-amd64
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###

### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
menuentry "Memory test (memtest86+, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
multiboot /boot/memtest86+_multiboot.bin
}
menuentry "Memory test (memtest86+, serial console 115200, experimental multiboot)" {
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3  de243900-80ac-4cb1-82e8-e9a1e361192d
else
  search --no-floppy --fs-uuid --set=root de243900-80ac-4cb1-82e8-e9a1e361192d
fi
multiboot /boot/memtest86+_multiboot.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-3895B6B243018522' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  3895B6B243018522
else
  search --no-floppy --fs-uuid --set=root 3895B6B243018522
fi
parttool ${root} hidden-
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_uefi-firmware ###
### END /etc/grub.d/30_uefi-firmware ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


gordon@gordon:~$ ls /boot
extlinux/                          memtest86+_multiboot.bin
grub/                              System.map
config-4.0.0-1-amd64               System.map-4.0.0-1-amd64
initrd.img-4.0.0-1-amd64           vmlinuz
initrd.img-4.0.0-1-amd64.old-dkms  vmlinuz-4.0.0-1-amd64
memtest86+.bin
gordon@gordon:~$


Cheers
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO

hakerdefo

Gordon it seems something prevented kernel from installing completely. Currently it doesn't seem installed. So let's first make sure nothing is broken or half-installed.
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get --fix-broken install
sudo dpkg --configure --pending
And then using file manager navigate to folder where you've downloaded kernel 3.2 and doubleclick on it. VSIDO comes with gdebi so you can install .deb packages by doubleclicking. gdebi also features dependency resolution. Once kernel is installed update grub and restart and boot into 3.2 from grub menu.
If for some reason the above doesn't work, download puppy from here,
http://distro.ibiblio.org/puppylinux/puppy-slacko-5.7/slacko-5.7.0-PAE.iso
This puppy comes with kernel 3.10.32. Next burn puppy iso to cd or make a bootable pendrive (you can use Rufus) and boot puppy and test edimax and also your connection speed.
By the way ISPs advertise connection speeds in megabits (Mb). A 50 Mb connection will give you download speed of 6.25 MB (megabytes) as 1 byte = 8 bits.
Cheers!!!
You Can't Always Git What You Want

Gordon

Hi hakerdefo

Did all those commands then downloaded puppy slako burnt the cd and still no luck, wont find any wireless stuff at all. puppy did have the driver on the disk but it still didn't find anything. Never did understand all that Kbs Mbs stuff, couldn't convert it at all, still can't ::)
Cheers :D
Gordon
Gigabyte Motherboard GA-MA69G-S3H , 8 Gb Ram, Realtek RX550 Graphics,  VSIDO