View Full Version : Broken file
Sanuk
11th August 2007, 11:21 AM
Hi All
After many moons away from Linux I'm back to give it another go.
I've just installed FC7 and before I can go any further I've got to get a USB Wifi unit working (the old wired network has gone now).
When I try to create the driver for it I get:
/lib/modules/2.6.21-1.3194.fc7/build: No such file or directory.The file is there but has "link (broken)" next to it. I think this is all that is stopping me getting the driver created.
How do I fix this?
-S
leigh123linux
11th August 2007, 12:26 PM
Hi All
After many moons away from Linux I'm back to give it another go.
I've just installed FC7 and before I can go any further I've got to get a USB Wifi unit working (the old wired network has gone now).
When I try to create the driver for it I get:
/lib/modules/2.6.21-1.3194.fc7/build: No such file or directory.The file is there but has "link (broken)" next to it. I think this is all that is stopping me getting the driver created.
How do I fix this?
-S
look on the Fedora DVD and install ( double click ) kernel-devel-2.6.21-1.3194.fc7.i686.rpm
Sanuk
11th August 2007, 01:23 PM
Hi
Thanks, getting better but still not quite there.
I now get a complaint about
/bin/sh: gcc: command not found but when I try to install gcc from the disk I get 'Unable to retrieve software information' and it stops.
What do I do now?
-S
leigh123linux
11th August 2007, 02:04 PM
Hi
Thanks, getting better but still not quite there.
I now get a complaint about
/bin/sh: gcc: command not found but when I try to install gcc from the disk I get 'Unable to retrieve software information' and it stops.
What do I do now?
-S
create a local repo
find createrepo-0.4.8-4.fc7.noarch.rpm on the disk and double click it
su -
mkdir loacalrepo
cd loacalrepo
nautilus loacalrepo
then copy all the rpm's to loacalrepo
then create the repo file
gedit /etc/yum.repos.d/localrepo.repo
and add the following not forgeting to save
[Local-Install]
name=Fedora Core $releasever - $basearch
baseurl=file:///root/localrepo
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
then you need to disable the internet repos (just change the red bits )
su
gedit /etc/yum.repos.d/fedora.repo
[fedora]
name=Fedora $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
su
gedit /etc/yum.repos.d/fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
[updates-source]
name=Fedora $releasever - Updates Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
next run createrepo and then install gcc and tools
su -
createrepo localrepo
yum groupinstall "Development Tools"
Sanuk
11th August 2007, 03:15 PM
hi
When I did:
yum groupinstall "Development Tools"
I got:
Loading "installonlyn" plugin
Setting up Group Process
Warning: Group Development Tools does not exist.
No packages in any requested group available to install or update
So I just did 'yum install gcc' which looked Ok, but when I tried to 'make' the driver again I got a load of stuff that ended with:
/root/Desktop/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:9425: warning: unused variable ‘rxOffset’
make[4]: *** [/root/Desktop/ZD1211LnxDrv_2_2_0_0/src/zd1205.o] Error 1
make[3]: *** [_module_/root/Desktop/ZD1211LnxDrv_2_2_0_0] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/Desktop/ZD1211LnxDrv_2_2_0_0'
make[1]: *** [both] Error 2
make[1]: Leaving directory `/root/Desktop/ZD1211LnxDrv_2_2_0_0'
make: *** [all] Error 2
(couldn't post the full text as it was too long)
Any ideas on what to do now?
-S
leigh123linux
11th August 2007, 03:30 PM
I thought the module for this card was built in to the kernel, try installing the firmware rpm ( link )and rebooting
http://fedora.kiewel-online.de/linux/releases/7/Everything/i386/os/Fedora/zd1211-firmware-1.3-4.fc7.noarch.rpm
Sanuk
11th August 2007, 04:40 PM
Hi
I thought the module for this card was built in to the kernel, try installing the firmware rpm ( link )and rebooting
http://fedora.kiewel-online.de/linux/releases/7/Everything/i386/os/Fedora/zd1211-firmware-1.3-4.fc7.noarch.rpmWhen I did that I got:
/storage/zd1211-firmware-1.3-4.fc7.noarch.rpm is already installedDoes that mean I did something right before and didn't notice?
When I go to 'Network Configuration' the old (disconnected) Ethernet card listed but nothing else. when I hit 'New' and 'wireless connection' the only thing listed is 'Other Wireless Card' and when I continue I'm offered a huge list, but no sign of anything with zd1211 in it.
Sorry for being a pain, but what should I do now?
-S
leigh123linux
11th August 2007, 04:48 PM
Hi
When I did that I got:
/storage/zd1211-firmware-1.3-4.fc7.noarch.rpm is already installedDoes that mean I did something right before and didn't notice?
When I go to 'Network Configuration' the old (disconnected) Ethernet card listed but nothing else. when I hit 'New' and 'wireless connection' the only thing listed is 'Other Wireless Card' and when I continue I'm offered a huge list, but no sign of anything with zd1211 in it.
Sorry for being a pain, but what should I do now?
-S
try loading the module and see if your wifi appears in network
su -
modprobe zd1211rw-mac80211
Sanuk
11th August 2007, 05:03 PM
Hi
try loading the module and see if your wifi appears in network
su -
modprobe zd1211rw-mac80211when I did that it carried on to a new prompt with no error messages, so I assume all was OK.
When I went to Network though, it was as it was before with no mention of zd1211 anywhere.
-S
Sanuk
11th August 2007, 06:38 PM
Hi
When I typed 'lsmod' I got:[root@localhost ~]# lsmod
Module Size Used by
...
zd1211rw_mac80211 44357 0
mac80211 136005 2 rc80211_simple,zd1211rw_mac80211
... I removed the other stuff that (I think) is unrelated.
Is that of any use?
Still stuck here :^<
-S
Sanuk
13th August 2007, 02:38 PM
Hi,
OK, now we're through the weekend. Any ideas?
Still very stuck here :^<
-S
Sanuk
20th August 2007, 04:35 PM
Anybody got any ideas?
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.