🔒 Closed Pahelp mga master

Status
Not open for further replies.
eto po sensei yan po yung driver po pahelp poView attachment 365720
First install some updates.

Code:
sudo apt-get install linux-headers-generic build-essential

Then enter your password. Once done, wait mo na lang.

Pagkatapos, enter this again.

Code:
sudo -i
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.9-rc4/compat-drivers-3.9-rc4-2-s.tar.bz2
tar xvf compat-drivers-3.9-rc4-2-s.tar.bz2
cd compat-drivers-3.9-rc4-2-s/
./scripts/driver-select ath9k
make

In case magkaroon ng error katulad ng ganito.

error: redefinition of ‘kref_get_unless_zero’
include/linux/kref.h:47:32: note: previous definition of ‘kref_get_unless_zero’ was here

So open mo yung header file , and block mo ito.

Code:
static inline int __must_check kref_get_unless_zero(struct kref *kref)
{
    return atomic_add_unless(&kref->refcount, 1, 0);
}

Now, add / sa mga unahan at hulihan ng headers.

It should be like this.

Code:
/static inline int __must_check kref_get_unless_zero(struct kref *kref)
{
    return atomic_add_unless(&kref->refcount, 1, 0);
}/

Now once done, balik sa terminal and type mo ito sa terminal.

Code:
make
make install

Then install the driver by typing

Code:
modprobe ath9k

Then reboot your VM.

And calling Sensei, it's way too much. I HATE IT.
 
First install some updates.

Code:
sudo apt-get install linux-headers-generic build-essential

Then enter your password. Once done, wait mo na lang.

Pagkatapos, enter this again.

Code:
sudo -i
wget https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v3.9-rc4/compat-drivers-3.9-rc4-2-s.tar.bz2
tar xvf compat-drivers-3.9-rc4-2-s.tar.bz2
cd compat-drivers-3.9-rc4-2-s/
./scripts/driver-select ath9k
make

In case magkaroon ng error katulad ng ganito.



So open mo yung header file , and block mo ito.

Code:
static inline int __must_check kref_get_unless_zero(struct kref *kref)
{
    return atomic_add_unless(&kref->refcount, 1, 0);
}

Now, add / sa mga unahan at hulihan ng headers.

It should be like this.

Code:
/static inline int __must_check kref_get_unless_zero(struct kref *kref)
{
    return atomic_add_unless(&kref->refcount, 1, 0);
}/

Now once done, balik sa terminal and type mo ito sa terminal.

Code:
make
make install

Then install the driver by typing

Code:
modprobe ath9k

Then reboot your VM.
ok sir copy ko po wait po gawin ko muna
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 673
    Views
  • 3
    Participants
Last reply from:
RainbowGirl

Online now

Members online
1,284
Guests online
3,570
Total visitors
4,854

Forum statistics

Threads
2,299,486
Posts
29,130,451
Members
1,201,027
Latest member
sisigcarbonara
Back
Top