HOMEPAGE FORUMS NEWS DOCUMENTATION SCREENSHOTS
SystemRescueCd forums
View unanswered posts | View active topics It is currently 01 Oct 2014, 20:17



Post new topic Reply to topic  [ 11 posts ] 
 dhcpcd/wifi settings/versions on rescuecd 1.1.7 - RTL8187 
Author Message

Joined: 23 Jun 2009, 17:04
Posts: 7
Post dhcpcd/wifi settings/versions on rescuecd 1.1.7 - RTL8187
In all distros, in gentoo, debian, ubuntu and others I always had a problem with using 12 and 13 channel. Even Rescuecd don't let me set channel to 12 or 13. But Rescuecd have something special in dhcpcd or something cause when I'm starting dhcpcd on Rescuecd 1.1.7 it can use 13 channel and that's great. It doesn't work with Rescuecd 1.0.4 or with any earlier version. I haven't tested the newest yet.

My wifi card is Realtek 8187L

I really want to have normal working linux system on my laptop. For this I really need wifi. So if someone knows why it works, have some ideas about I'll be thankful.


23 Jun 2009, 17:50
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
Yes, this special thing is that the rtl8187 driver provided with sysresccd is not the standard driver built in the linux kernel, it's a driver found here:
http://patches.aircrack-ng.org/rtl8187_2.6.27.patch

You can find the complete sources for gentoo here:
http://systemrescuecd.svn.sourceforge.n ... s/rtl8187/

I know this driver well because this is the one I am using to connect. Unfortunately the standard rtl8187 driver does not work for me so I have to use that one. The problem is that it has its own wireless stack, but that's the only driver that works with high channel numbers as you said.

I don't think the dhcp client can do something different, since it's just the standard program.

You can also try the staging drivers here (kernel >= 2.6.27):
http://wireless.kernel.org/download/com ... eless-2.6/

You can also just use the kernel from sysresccd with its module for your laptop. It's supposed to have a good (quite complete) hardware support.


23 Jun 2009, 18:51
Profile

Joined: 23 Jun 2009, 17:04
Posts: 7
Post 
Man, I'll try it in next few days. It this works, I love you. :D


23 Jun 2009, 19:01
Profile

Joined: 23 Jun 2009, 17:04
Posts: 7
Post 
fdupoux wrote:
Yes, this special thing is that the rtl8187 driver provided with sysresccd is not the standard driver built in the linux kernel, it's a driver found here:
http://patches.aircrack-ng.org/rtl8187_2.6.27.patch

You can find the complete sources for gentoo here:
http://systemrescuecd.svn.sourceforge.n ... s/rtl8187/

I know this driver well because this is the one I am using to connect. Unfortunately the standard rtl8187 driver does not work for me so I have to use that one. The problem is that it has its own wireless stack, but that's the only driver that works with high channel numbers as you said.

I don't think the dhcp client can do something different, since it's just the standard program.

You can also try the staging drivers here (kernel >= 2.6.27):
http://wireless.kernel.org/download/com ... eless-2.6/

You can also just use the kernel from sysresccd with its module for your laptop. It's supposed to have a good (quite complete) hardware support.


Hm.. how to use this file/patch? I found some manuals (like http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO-6.html) but they're not enough clear for me. I probably need step by step instruction but I can't find it.

I also don't know where even is kernel on Rescuecd. I found something in /root but not sure what it is and how can I use it. I need just a .config file and source or something to create well working kernel.


Thanks in advance for any help.


15 Aug 2009, 10:44
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
The kernel is located in /isolinux in the cdrom (rescuecd is the name of the default kernel). You also have to copy the kernel modules located in /lib/modules. You probably need a more generic documentation about the linux kernel.


15 Aug 2009, 20:51
Profile

Joined: 23 Jun 2009, 17:04
Posts: 7
Post 
fdupoux wrote:
The kernel is located in /isolinux in the cdrom (rescuecd is the name of the default kernel). You also have to copy the kernel modules located in /lib/modules. You probably need a more generic documentation about the linux kernel.


Thanks. I have a little problem. After copying kernel and initrid I have problem. I got an error:

Code:
!! Media not found
!! Could not find CD to boot, something else needed!
!! Running a mini shell (cannot complete the boot process)


16 Aug 2009, 12:52
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
How are you booting, is it from an hard disk with grub ? What is the boot manager configuration ?

If you want to boot a normal system on the disk (Fedora, Ubuntu, Gentoo, ...), which one is it ?

To boot a linux system from the sysresccd kernel, you have to boot with option "root=/dev/xxx" to tell where is the root partition:
http://www.sysresccd.org/news/2008/06/0 ... hard-disk/

PS: I am trying to find a wireless usb stick that just works out of the box on linux using the native driver (not ndiswrapper), but it's very difficult. I am currently testing a DLink DWL-G122-C1 using rt73. It's working well in general, but the device sometimes just stops so have to rmmod + modprobe again. I order other devices based on different driver, hope one of them will really work all the time.


16 Aug 2009, 12:55
Profile

Joined: 23 Jun 2009, 17:04
Posts: 7
Post 
Quote:
How are you booting, is it from an hard disk with grub ? What is the boot manager configuration ?


title Gentoo, rescuecd kernel-2.6.29
root (hd0,4)
kernel /boot/rescuecd
initrd /boot/rescuecdinit

(I hope color config and the rest is not improtant ;-) )


Quote:
If you want to boot a normal system on the disk (Fedora, Ubuntu, Gentoo, ...), which one is it ?

Gentoo.


Quote:
To boot a linux system from the sysresccd kernel, you have to boot with option "root=/dev/xxx" to tell where is the root partition:
http://www.sysresccd.org/news/2008/06/0 ... hard-disk/


Hm.. so I should have it like this:
Code:
title      Gentoo, rescuecd kernel-2.6.29
root      (hd0,4)
kernel      /boot/rescuecd root=/dev/sda5
initrd      /boot/rescuecdinit

??



P.S. I'm trying to change RTL8187 driver for using 12 and 13 channel like i did it with driver in 2.6.24 kernel.


16 Aug 2009, 13:35
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
Yes, you should try this config. You can add extra options such as "setkmap=us" after "root=xxx".

The non official rtl8187 driver bundled with sysresccd-1.2.3 should be able to use all these channels.


16 Aug 2009, 16:51
Profile

Joined: 23 Jun 2009, 17:04
Posts: 7
Post 
Hm.. to normal kernel I can also add such option or I need special compiling options? Options for start like "docache" also work?


17 Aug 2009, 18:05
Profile
Site Admin

Joined: 17 Jul 2003, 09:44
Posts: 2700
Post 
You can use setkmap and docache because these options are handled in the initramfs, and you use it if you reuse the kernel + initramfs from sysresccd.

If you recompile the kernel using sysresccd sources you won't need these options, but you will have to compile the critical drivers in the kernel image (disk drivers and filesystems).


17 Aug 2009, 19:15
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.