PDA

View Full Version : Wifi Not working in Knoppix 7.0.5



vlct
06-13-2013, 11:54 AM
Hi, I have Knoppix 7.0.5 DVD on USB stick, and USB Wireless N 802.11n/g/b adapter.

Knoppix's can see my wireless network, the box comes up to put the wifi pass in then tries to connect for a while, but the box comes back up to connect again but never connects.

I have the CD with the drivers and there is a folder on there with drivers for Linux if that's of any use??

Also I am new to Linux based op systems :???:

klaus2008
06-13-2013, 07:34 PM
Hi!

You did not write enough about your USB WLAN adapter. I think you should plug in your USB wireless adapter and open an LXTerminal. Then issue the command
lsusb and tell us all about the wireless adapter.

vlct
06-14-2013, 03:39 AM
This is all I got using LXTerminal,

oppix@Microknoppix:~$ lsusb
Bus 001 Device 002: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter

Here is more info from web site,

Specifications

Wireless Standards
IEEE 802.11n
IEEE 802.11g
IEEE 802.11b
Host Interface
High speed USB2.0/1.1 interface
Data Rate

802.11n: up to 150Mbps (downlink) and 150Mbps (uplink)
802.11g: 54 / 48 / 36 / 24 / 18/ 12 / 9 / 6 Mbps auto fallback
802.11b: 11 / 5.5 / 2 / 1 Mbps auto fallback

Frequency Band
2.4GHz ISM (Industrial Scientific Medical) Band
Chipset
Realtek 8188CUS
RF Frequency
2412 ~ 2462 MHz (North America)
2412 ~ 2472 MHz (Europe)
2412 ~ 2484 MHz (Japan)
Radio Channel
1 ~ 14 channels (Universal Domain Selection)
Range Coverage
Up to 3 times farther range than 802.11g
Antenna type
Integrated Antenna
Roaming
Full mobility and seamless roaming from cell to cell
RF Output Power
13 - 17 dBm (Typical)
Modulation
11n: BPSK, QPSK, 16QAM, 64QAM with OFDM
11g: BPSK, QPSK, 16QAM, 64QAM, OFDM
11b: DQPSK, DBPSK, DSSS, CCK
Data Security
64/128-bit WEP Encryption
WPA, WPA-PSK, WPA2, WPA2-PSK. TKIP/AES
Network
Auto-switch to use 802.11n or 802.11g or 802.11b mode
Supports Ad-Hoc, Infrastructure WLAN network
Wireless roaming
Data rate auto fall-back under noisy environment or longer range distance
Site Survey with Profile function
Configuration & Management
Plug-and-Play setup and installation
Management Utility supports 2000 / XP/ Vista / 7
Media Access Control
CSMA/CA with ACK

Operating System
Windows XP 32/64-bit, Vista 32/64-bit,7
Linux and MAC OS X

klaus2008
06-14-2013, 08:08 PM
It is a well known bug. Look at https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1030858

I use an wireless LAN adapter by Edimax with the same chipset. In post #73 of the thread mentioned above you will find a link for the latest Linux driver. If you are curious you can install this driver and boot up your system using the additional cheat code 'modprobe.blacklist=rtl8192cu'.

vlct
06-15-2013, 02:22 PM
Ok, I have got the updated drivers for this.

So how do I go about installing this driver??

And also the "additional cheat code 'modprobe.blacklist=rtl8192cu", how do I boot up the system using that?? Where do I type that?? :???:

Like I said, I am new to Linux based op systems. :confused:

klaus2008
06-15-2013, 07:38 PM
In the following I suppose you downloaded the driver archive file to you desktop.

You have to open an LXTerminal, change to the directory with the driver archive file and unzip the file. Issue
cd /home/knoppix/Desktop
unzip RTL8192xC_USB_linux_v3.4.4_4749.20121105.zip The files will be extracted to a new subdirectory. Issue
cd RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105
sudo bash install.sh This will compile and install the new driver files.

Now you can edit GRUB's configuration file. Issue
sudo leafpad /boot/grub/menu.lst This will load the configuration file into the leafpad text editor. Search for the line starting with 'kernel /boot/vmlinuz' and append the cheat code modprobe.blacklist=rtl8192cu at the end of the line. Save the file and close leafpad text editor.

The you should be ready to reboot your system. After reboot connect your USB wireless LAN adapter and try connecting to your wireless network.

vlct
06-16-2013, 08:19 AM
I have installed the driver but im not sure where to put the "modprobe.blacklist=rtl8192cu"

Here is the menu.lst file,





# menu.lst - See: grub( 8 ), info grub, update-grub( 8 )
# grub-install( 8 ), grub-floppy( 8 ),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/sda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(/dev/sda,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title Debian GNU/Linux, kernel 3.6.11-64
root (/dev/sda,0)
kernel /boot/vmlinuz-3.6.11-64 root=/dev/sda1 ro

title Debian GNU/Linux, kernel 3.6.11-64 (single-user mode)
root (/dev/sda,0)
kernel /boot/vmlinuz-3.6.11-64 root=/dev/sda1 ro single

title Debian GNU/Linux, kernel 3.6.11
root (/dev/sda,0)
kernel /boot/vmlinuz-3.6.11 root=/dev/sda1 ro

title Debian GNU/Linux, kernel 3.6.11 (single-user mode)
root (/dev/sda,0)
kernel /boot/vmlinuz-3.6.11 root=/dev/sda1 ro single

### END DEBIAN AUTOMAGIC KERNELS LIST

klaus2008
06-16-2013, 09:04 AM
I see I made a little mistake. I read your first post again and found
Hi, I have Knoppix 7.0.5 DVD on USB stick, and USB Wireless N 802.11n/g/b adapter.You are using syslinux as bootloader. Thus you have to edit /mnt-system/boot/syslinux/syslinux.cfg and append the cheat code at the right place. Open an LXTerminal and issue
sudo leafpad /mnt-system/boot/syslinux/syslinux.cfg Search for a section that looks like
LABEL knoppix
KERNEL linux
APPEND ramdisk_size=100000 lang=de apm=power-off initrd=minirt.gz nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime
Place the cursor at the end of the line that starts with 'APPEND' and add the cheat code.
APPEND ramdisk_size=100000 lang=de apm=power-off initrd=minirt.gz nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime modprobe.blacklist=rtl8192cu Save the file and close the text editor. Then reboot the system. Of course the cheat code 'lang=de' could be 'lang=en' if you are using english language.

vlct
06-16-2013, 12:30 PM
When I open "sudo leafpad /mnt-system/boot/syslinux/syslinux.cfg" there is nothing in there, its just a empty file??

vlct
06-16-2013, 02:18 PM
Something happened to my USB Knoppix where Leafpad would not open anymore and also the text files wouldn't open anymore either.

So I reloaded the USB stick with a fresh install of Knoppix , reinstalled the new Wifi driver, and now Wifi IS working with no cheat code?? :)

Thanks for your help with this klaus2008.

vlct
06-17-2013, 02:48 PM
So I reloaded the USB stick with a fresh install of Knoppix , reinstalled the new Wifi driver, and now Wifi IS working with no cheat code?? :smile:I haven't tested if the Wifi still works with a reboot though.

Whats happened now is the old comp I have been testing this on had a moment and wiped the USB stick.
So I reloaded the stick again but now it won't boot? Reformatted a second time and reloaded but still no go?? Boot order is still set for USB 1st.

Tried on another comp with boot order USB 1st and it didn't work on that either??

vlct
06-18-2013, 06:59 AM
Ok, I have got this thing going again, but after reboot the Wifi stops working, so I need to get this cheat code working.

So im back to this step,

When I open "sudo leafpad /mnt-system/boot/syslinux/syslinux.cfg" there is nothing in there, its just an empty file??

klaus2008
06-18-2013, 08:04 AM
How did you create your bootable USB stick?

What happens if you issue
find /mnt-system -iname syslinux.cfg and
find /mnt-system -iname menu.lst

vlct
06-18-2013, 10:30 AM
Those two commands didn't do anything.

Im using unetbootin to create.

klaus2008
06-18-2013, 01:05 PM
You will find a file called syslinux.cfg in the root directory of your bootable USB stick. If you use Windows open this file with wordpad. If you are running Knopix use Leafpad text editor.

Search for a section with 'menu label knoppix' like the following:

label ubnentry2
menu label knoppix
kernel /boot/isolinux/linux
append initrd=/boot/isolinux/minirt.gz ramdisk_size=100000 lang=de apm=power-off nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime
Move the cursor to end of the line starting with 'append' and add your cheat code there. In my case the new line looks like

append initrd=/boot/isolinux/minirt.gz ramdisk_size=100000 lang=de apm=power-off nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime modprobe.blacklist=rtl8192cu
Save the file and reboot.

vlct
06-18-2013, 02:27 PM
Tried that but still no go?


label ubnentry2
menu label knoppix
kernel /boot/isolinux/linux
append initrd=/boot/isolinux/minirt.gz ramdisk_size=100000 lang=en apm=power-off nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime modprobe.blacklist=rtl8192cu

klaus2008
06-18-2013, 03:40 PM
I thought you would choose the menu entry 'knoppix' from the menu at boot time, but if you want to use 'Default' (the first entry in the boot menu) you have to edit the 'append' line of the 'Default' section. On my system I have got

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit ramdisk_size=100000 lang=de apm=power-off nomce libata.force=noncq hpsa.hpsa_allow_any=1 loglevel=1 tz=localtime modprobe.blacklist=rtl8192cu

vlct
06-18-2013, 04:35 PM
Yes that's got it going now. :)

I just use 'default' so I only have to hit enter to boot. :)

Ahh now I see now how it works, so if I want to use Knoppix64 in the 'boot menu' at start up with Wifi, I would have to add it to that line as well.

Thanks so much klaus2008 for your help to get this working.