dhcpcd/wifi settings/versions on rescuecd 1.1.7 - RTL8187

Topics about the networking software (ssh, nfs, samba, ...). No questions about network drivers there.
Marcinnn
Posts: 7
Joined: 23 Jun 2009, 17:04

dhcpcd/wifi settings/versions on rescuecd 1.1.7 - RTL8187

Postby Marcinnn » 23 Jun 2009, 17:50

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.

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 23 Jun 2009, 18:51

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.

Marcinnn
Posts: 7
Joined: 23 Jun 2009, 17:04

Postby Marcinnn » 23 Jun 2009, 19:01

Man, I'll try it in next few days. It this works, I love you. :D

Marcinnn
Posts: 7
Joined: 23 Jun 2009, 17:04

Postby Marcinnn » 15 Aug 2009, 10:44

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.

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 15 Aug 2009, 20:51

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.

Marcinnn
Posts: 7
Joined: 23 Jun 2009, 17:04

Postby Marcinnn » 16 Aug 2009, 12:52

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: Select all

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

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 16 Aug 2009, 12:55

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.

Marcinnn
Posts: 7
Joined: 23 Jun 2009, 17:04

Postby Marcinnn » 16 Aug 2009, 13:35

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 ;-) )


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

Gentoo.


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: Select all

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.

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 16 Aug 2009, 16:51

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.

Marcinnn
Posts: 7
Joined: 23 Jun 2009, 17:04

Postby Marcinnn » 17 Aug 2009, 18:05

Hm.. to normal kernel I can also add such option or I need special compiling options? Options for start like "docache" also work?

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Postby admin » 17 Aug 2009, 19:15

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


Return to “Networking (except PXE booting)”

Who is online

Users browsing this forum: No registered users and 0 guests