View Full Version : Fakeroot (Wi Fi edimax EW-7711UAn)
alfonso_V1
10th October 2009, 06:59 PM
What is Fakeroot? I did a "yum install rt2870" and 14megs of files downloaded and Fakeroot was one of them. I was still not able to get my Wi Fi edimax EW-7711UAn working.
So I did "yum remove rt2870" this only uninstalled two small files (a few Kbs):confused:
SteveGYBE
10th October 2009, 08:15 PM
You can display a brief description of an installed package such as "fakeroot" by runningrpm --query --info fakerootor more brieflyrpm -qi fakerootYou can also use yum to query package info from the repositories which of course will include pakages that are not installedyum info fakerootIf you don't think you need the fakeroot package, use yum to try and remove that - it will tell you if there are any other packages that require it and ask you to confirm if you want them all removed.
alfonso_V1
10th October 2009, 09:23 PM
Hi Thanks, that has helped my peace of mind a lot. now perhaps you can help me install this usb wifi now that I have the driver. I go to system , admiistration , network , password to root then wireless but the adaptor is not listed there. how do I get this list updated to include my new installed rt2870 driver?
SteveGYBE
10th October 2009, 10:01 PM
Not sure what that device is - run the following commandlsusband post the line that corresponds to your adapter. If you have the driver, you might also need firmware for your adapter.dmesg | grep firmwareshould show whether your device is trying to find any firmware.
SteveGYBE
10th October 2009, 10:25 PM
The nice people at Ralink have the firmware here Firmware RT2870USB(RT2870/RT2770) (http://www.ralinktech.com/download.php?t=U0wyRnpjMlYwY3k4eU1EQTVMekF6THpNeEw yUnZkMjVzYjJGa056Z3hNamt4TURjd09TNTZhWEE5UFQxU1ZES TROekJmUm1seWJYZGhjbVZmVmpnPUM%3D). The output from dmesg should tell you what you need to call the ".bin" file - you will need to copy it to /lib/firmware (as root).
alfonso_V1
11th October 2009, 12:12 AM
Thanks
the id is 7392:7791
i will have a go at that firmware
alfonso_V1
11th October 2009, 03:51 PM
This is prooving to be extremly difficult it takes me hours to find the right commands. Then nothing works. If I cant login as root looks like I will have to go to another distro. Fedora11 is the worst version yet.
scottro
11th October 2009, 06:05 PM
There should be solutions to logging in as root all over the forum. I'm sorry I can't be of that much help, because, dinosaur that I am, I prefer logging in to text mode, and then typing startx, so I was never affected by it. (Meaning, that I'm not sure which solutions work, do they still work for F11, and so on.)
I was under the impression, which judging from your post, seems to be incorrect, that when you tried to do something that required root privilege, it would ask for root's password then let you go ahead.
Doing a bit of googling, it seems this one is a pain in the neck to get working.
Would you be willing to try reinstalling the rpm and then doing
modprobe rt2870
And seeing if that makes a difference? It might actually work.
(DISCLAIMER--I have NO experience with this card, so I may just be wasting your time.)
One thing that I can do is change the thread title a bit so those with this card might help.
SteveGYBE
11th October 2009, 06:34 PM
Why would you need to log on as root? Open a command prompt ant typesteve@fedora ~]$ su -
Password:
[root@fedora ~]#
...But surely you are already doing this before running "yum install" ... Of course, working for a corporate I'm used never to logging on as root, and never having a GUI whether root or not.
alfonso_V1
11th October 2009, 08:31 PM
Hi SteveGYB
Yes su - is vfine for one offs but when you are tryiing all kinds of things it would be better loged in as root.
Hi Scottro
Yes I woul be willing to try anything. What I have found is Driver files on the Edimax website this includes a readme file with the insructions but its a bit too much for me. Perhaps you can look at that and help me along. Thanks
logictox
11th October 2009, 08:52 PM
Hi SteveGYB
Yes su - is vfine for one offs but when you are tryiing all kinds of things it would be better loged in as root.
If you want to login as root using gui I found kind of a basket case way to do it with fedora 11. Edit /etc/innittab file to 3 from a 5 which disables gui login at boot. Then login as root and use the startx command. Like I say it's kind of a round about way but worked for me when I needed it.
scottro
11th October 2009, 09:36 PM
Can you give me a link to that Edimax download?
alfonso_V1
11th October 2009, 10:16 PM
Hi Scottro, just ran the modprobe the driver has been installed and the other files moved to firmware. heres what I got.
[brian@mylap ~]$ modprobe RT2870
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module RT2870 not found.
[brian@mylap ~]$
scottro
11th October 2009, 10:44 PM
Hrrm, Ok, that's not good. Did you try a reboot after installing. (Shouldn't be necessary, but one never knows)
alfonso_V1
11th October 2009, 11:08 PM
yes tried that
I noted that you changed the tread to Realink 2870 the adaptor I have is Edimax EW-7711UAn
scottro
12th October 2009, 12:43 AM
I'm confused here---I thought that the card was Realink, and that's why you were using that firmware. (Goes back up to view thread).
Yeah, that's what it seems to be. (The realink, judging from the posts). Would you please run
lspci |tail -6 (it's probably the 3rd line from bottom) so I can be sure about this before changing it again?
Thanks, and sorry for the inconvenience.
alfonso_V1
12th October 2009, 11:03 AM
will this help
[brian@mylap ~]$ dmesg | grep firmware
ipw2200 0000:06:03.0: firmware: requesting ipw2200-bss.fw
tg3 0000:06:08.0: firmware: requesting tigon/tg3_tso5.bin
[brian@mylap ~]$
I have two files from ralink, named Licence-ralink-firmware.txt and rt2870.bin should I rename these to match the above ?
alfonso_V1
12th October 2009, 12:04 PM
[brian@mylap ~]$ lspci |tail -6
01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
06:01.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
06:01.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
06:01.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
06:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
06:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5788 Gigabit Ethernet (rev 03)
[brian@mylap ~]$
Nothing about it, the intel one is built in and switched off
alfonso_V1
12th October 2009, 12:12 PM
I Installed the rt2870 driver from the fusion repostry
lsusb gives an ID
Bus 001 Device 007: ID 7392:7711
scottro
12th October 2009, 12:31 PM
Alfonso, from your lscpi output, it seems as if you have the Intel 2200 card. So how did realink get into this equation? I'm changing the title again for the moment, just removing the card listing, till we figure this out.
scottro
12th October 2009, 01:04 PM
Ok, I finally figure out what you are trying to do here, ignore previous post. One is an N card.
Sorry for the confusion, and I've once again changed the title.
Ok, I see an Ubuntu guide that looks promising.
http://ubuntuforums.org/showthread.php?t=1236802
I've downloaded the driver from Edimax's site. Sheesh, those instructions are pretty bad, eh?
Ok, unzip the file.
unzip RT2830-whatever.zip
This leaves a bz2 file
tar jxvf RT2830_whatever.bz2
This creates a 2008_1225-whatever/ directory.
cd 2008_whatever/
In one window
less README_whatever
Ok, step one refers to some files they don't have. Typical--worse because this is a commercial company, and one wonders did anyone in the company check, or was it something like the boss says, John, your daughter uses Ubuntu for web browsing right? Write a doc." :)
Step 2. The two things they say to set seem to be set already, the Mode and the target.
cd os/linux. I think you can leave the GCC, LD and CFLAGS alone. Hopefully, anyway, I'm not sure what else they would be set to.
change the HAS_WPA_SUPPLICANT=n to HAS_WPA_SUPPLICANT=y
Do the same with the HAS_NATIVE_WPA_SUPPLICANT
From there, go back to the main directory--that is, you are in os/linux, do cd ../../
Make sure you're in the 2008-whatever directory.
pwd. If so, then
make
Oh, look at that, a permission denied. Sheesh, great docs. Ok, I used sudo, and make worked just fine. You will, however, before running that, probably have to do, at least
yum -y install gcc gcc-c++ make automake kernel-devel
That's an absolute minimum. Now, I am sure there are ways around having to be root, but I've got to get going here, so I'm just trying to get this done before getting ready for the day.
Now, the rest, I can't actually test, not having a driver, but it seems you should then do
cp RT2870STA to /etc/Wireless/RT2870STA/RT2870STA.dat
What the ???? That directory doesn't exist.
Hrrm, at this point, I'd actually take the card back, write Edimax a scathing letter, showing them the credit slip, and telling them to hire someone to write documentation, as their own has no relation to what is going on.
I don't know if you're supposed to create that /etc/Wireless/blahblah or not. I guess you can try creating an /etc/Wireless/RT2870STA directory and moving the RT2870STA.dat file into it. I can't see that breaking anything. Then you can try insmod rt2870sta.o, as per their instructions, but honestly, I have no idea if it will work and have to get ready for the day.
alfonso_V1
12th October 2009, 01:08 PM
Hey the Intel card is built in and working correctly. its my Edimax that I am tryin to get going That's a USB device
scottro
12th October 2009, 01:09 PM
Ah, this might be useful
http://forums.fedoraforum.org/showthread.php?t=197413
scottro
12th October 2009, 01:11 PM
Oops, forget that, it brings us back to the beginning. But... I see that thread also suggests trying 3070, which might be worth a shot.
alfonso_V1
12th October 2009, 01:43 PM
I'll give all that a try but I might not get back to the fotum till the weekent have to go away till then. enjoy your day
alfonso_V1
12th October 2009, 04:06 PM
Got stuck on the make.
[brian@lrs 2008_1225_RT3070_Linux_STA_v2.0.1.0]$ make
make -C tools
make[1]: Entering directory `/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
/tools/bin2h
make: /tools/bin2h: Command not found
make: *** [build_tools] Error 127
[brian@lrs 2008_1225_RT3070_Linux_STA_v2.0.1.0]$
scottro
12th October 2009, 06:27 PM
Hrrm, Ok, it's missing something or another.
Hrrm, on the tarball that I used, I see it in /tools. That is in 2008-whatever/tools, there's a file called bin2h.
alfonso_V1
18th October 2009, 02:40 PM
Hi, back from my travels. I've had another go at this makefile, here's what I got this time.
[brian@lrs 2008_1225_RT3070_Linux_STA_v2.0.1.0]$ make
make -C tools
make[1]: Entering directory `/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools'
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/Makefile
make -C /lib/modules/2.6.30.8-64.fc11.i686.PAE/build SUBDIRS=/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux modules
make[1]: Entering directory `/usr/src/kernels/2.6.30.8-64.fc11.i686.PAE'
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/md5.o
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/mlme.o
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/mlme.c:4281: warning: the frame size of 1568 bytes is larger than 1024 bytes
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_wep.o
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/action.o
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_data.o
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_data.c: In function ‘RTMP_FillTxBlkInfo’:
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_data.c:803: warning: label ‘FillTxBlkErr’ defined but not used
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_init.o
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/rtmp_tkip.o
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/cmm_sync.o
CC [M] /home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.o
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c: In function ‘set_eFuseLoadFromBin_Proc’:
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1068: error: ‘struct task_struct’ has no member named ‘fsuid’
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1069: error: ‘struct task_struct’ has no member named ‘fsgid’
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1070: error: ‘struct task_struct’ has no member named ‘fsuid’
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1070: error: ‘struct task_struct’ has no member named ‘fsgid’
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1133: error: ‘struct task_struct’ has no member named ‘fsuid’
/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.c:1134: error: ‘struct task_struct’ has no member named ‘fsgid’
make[2]: *** [/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux/../../common/eeprom.o] Error 1
make[1]: *** [_module_/home/brian/working/2008_1225_RT3070_Linux_STA_v2.0.1.0/os/linux] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.30.8-64.fc11.i686.PAE'
make: *** [LINUX] Error 2
[brian@lrs 2008_1225_RT3070_Linux_STA_v2.0.1.0]$
alfonso_V1
18th October 2009, 08:14 PM
Here is part of the makefile that I think I am supposed to modify but i'm not sure how,
ifeq ($(PLATFORM),PC)
# Linux 2.6
LINUX_SRC = /lib/modules/$(shell uname -r)/build
# Linux 2.4 Change to your local setting
#LINUX_SRC = /usr/src/linux-2.4
LINUX_SRC_MODULE = /lib/modules/$(shell uname -r)/kernel/drivers/net/wireless/
CROSS_COMPILE =
endif
Should I replace UNAME with "2.6.30.8-64.fc11.i686.PAE" ?
scottro
18th October 2009, 08:31 PM
No, that's not necessary. Something like $(uname -r) is running the command uname -r, so it's already done that for you--in other words, the file is already determining (by itself) the result of uname -r.
As far as I could tell from the instructions, the only things to change were the WPA_SUPPLICANT lines.
alfonso_V1
18th October 2009, 10:17 PM
2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.
It seems that the problem is something to do with the path
scottro
18th October 2009, 11:11 PM
I'm not a programmer, and I'm afraid I'm at a loss here. It seems as if there's some error in the makefile, but I have no idea how to troubleshoot it.
alfonso_V1
20th October 2009, 02:31 PM
Hi,
I've given this one up. Now gone back to the st2870 rpm from rpm-fusion. which is identical and has installed now I've got to the point and created an ifcfg-ra0 file in /etc/sysconfig/network-scripts. I added the two lines DEVICE=ra0 and ONBOOT=yes. as per the readme. When I rebooted more lines had been added to this file. comparing ifcfg.ra0 with my other network scripts. The line HWADDR is missing. It seems the driver cant find his Car!!. any ideas ?. I know we have come full circle but I must assume the driver is complete and any firmware files needed would have already been added.
alfonso_V1
21st October 2009, 11:48 AM
This thing has just got even more ridicules I plugged in an old Zydas 802 11b/g usb adaptor and it just worked ?
scottro
21st October 2009, 02:12 PM
It's not surprising that older ones work. What usually happens is that after some time passes, someone will write a driver for it. It's the new things that are less likely to work.
alfonso_V1
21st October 2009, 03:57 PM
Did you look at the driver from RPM Fusion ? I cant understand why its not complete my adaptor should work after installing the driver.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.