Wireless not working

Shocking, huh? Why else would I be in a forum for getting help with wireless?

iwconfig brings up:

lo no wireless extensions.

eth0 no wireless extensions.

sbin/lspci brings up:

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)

So I downloaded the driver off the realtek site, but can’t seem to install it, got the following problem using make:

make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2

Quick googling tells me I don’t have the kernel-source installed, I have a look for it and the best I can find is 2.6.31.5-0.1 rather than 2.6.31.5-0.1-desktop, I installed that anyway hoping it would work but still got the same error using make.

Then I gave up and came here. How about it guys, think you can fix it for me?

Have you read up here:
Getting Your Wireless to Work - openSUSE Forums

Yes, sorry. I knew there was something I forgot to mention. :stuck_out_tongue:

UDI: /org/freedesktop/Hal/devices/pci_10ec_8172

dmesg|grep firmware brings up nothing, same with radio. Not sure whether to take that as a good sign or not.

I’m afraid I’m not much help. I have never had to deal with the device type.
This page doesn’t show yours
HCL/Network Adapters (Wireless) - openSUSE

Building your driver will require you install, gcc, make, kernel-source.
Perhaps one of the easiest ways to get all that is just install the base development pattern.

@lwfinger may see this and offer advice

nod I already checked that page, another thing I forgot to mention. Maybe I should have posted last night after doing all of that rather than just giving up and going straight to bed? :stuck_out_tongue:

Ah well, I’ll wait and see if anyone else knows what’s going on I guess.

On 05/30/2010 10:06 AM, Lyrael wrote:
>
> Shocking, huh? Why else would I be in a forum for getting help with
> wireless?
>
> iwconfig brings up:
>
> lo no wireless extensions.
> /lib/modules/2.6.31.5-0.1-desktop/build
> eth0 no wireless extensions.
>
> sbin/lspci brings up:
>
> 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172
> (rev 10)
>
> So I downloaded the driver off the realtek site, but can’t seem to
> install it, got the following problem using make:
>
> make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or
> directory. Stop.
> make: *** [all] Error 2
>
> Quick googling tells me I don’t have the kernel-source installed, I
> have a look for it and the best I can find is 2.6.31.5-0.1 rather than
> 2.6.31.5-0.1-desktop, I installed that anyway hoping it would work but
> still got the same error using make.
>
> Then I gave up and came here. How about it guys, think you can fix it
> for me?

You have the correct source. There is but a single version of the source

  • the -default, -debug, and other variants are generated from a
    configuration file.

The missing

On 05/30/2010 10:40 AM, Larry Finger wrote:
> On 05/30/2010 10:06 AM, Lyrael wrote:
>>
>> Shocking, huh? Why else would I be in a forum for getting help with
>> wireless?
>>
>> iwconfig brings up:
>>
>> lo no wireless extensions.
>> /lib/modules/2.6.31.5-0.1-desktop/build
>> eth0 no wireless extensions.
>>
>> sbin/lspci brings up:
>>
>> 02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172
>> (rev 10)
>>
>> So I downloaded the driver off the realtek site, but can’t seem to
>> install it, got the following problem using make:
>>
>> make: *** /lib/modules/2.6.31.5-0.1-desktop/build: No such file or
>> directory. Stop.
>> make: *** [all] Error 2
>>
>> Quick googling tells me I don’t have the kernel-source installed, I
>> have a look for it and the best I can find is 2.6.31.5-0.1 rather than
>> 2.6.31.5-0.1-desktop, I installed that anyway hoping it would work but
>> still got the same error using make.
>>
>> Then I gave up and came here. How about it guys, think you can fix it
>> for me?

Whoops - premature “send”

You have the correct source. There is but a single version of the source

  • the -default, -debug, and other variants are generated from a
    configuration file.

The missing file “/lib/modules/2.6.31.5-0.1-desktop/build” would have
been created if you had done a build of the sources. All you need to do
is manually create that link. Find the directory that contains the
source, which is likely /usr/src/2.6.31.5-0.1. Put that directory in the
appropriate place in the command below:


sudo  ln  -s  <src dir from above>  /lib/module/2.6.31.5-0.1-desktop/build

YMMV regarding the Realtek vendor driver. I am currently working on the
driver for the RTL8192SU, which is needed for a D-LINK DWA-130. The
version from their Web site builds and runs on a 32-bit system, but
crashes when built for a 64-bit kernel. I fixed the crash and some
problems with the scan routine; however, it still cannot associate.

that just gives me:

ln: creating symbolic link `/lib/module/2.6.31.5-0.1-desktop/build’: No such file or directory

There is actually a build file there, but it’s a link to /usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop which doesn’t exist. :confused:

But apparently this doesn’t matter anyway as it won’t work with my 64bit system. sigh

On 05/30/2010 11:06 AM, Lyrael wrote:
>
> that just gives me:
>
> ln: creating symbolic link `/lib/module/2.6.31.5-0.1-desktop/build’: No
> such file or directory
>
> There is actually a build file there, but it’s a link to
> /usr/src/linux-2.6.31.5-0.1-obj/x86_64/desktop which doesn’t exist. :confused:
>
> But apparently this doesn’t matter anyway as it won’t work with my
> 64bit system. sigh

I did not say it would not work. In fact, that source compiles with only
a few inconsequential errors. It is the USB version that does not work
on 64-bit systems.

My command was correct. If there already is a link, you will have to rm
it first.