What's new

Closed Pahelp mga master

Status
Not open for further replies.

sensei saitama

Honorary Poster
Joined
Feb 1, 2016
Posts
181
Reaction
34
Points
132
upload_2018-4-27_11-40-20.png
san b ako makakakuha ng driver neto gamit ko po kasi oracle vm pahelp nmn po plzz need lng po
 

Attachments

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.

Similar threads

Back
Top