Skip to main content

Thread: Getting AWUS036NH to work with Ubuntu 9.10


i bought alfa network awus036nh adapter want use ubuntu 9.10 desktop.

unfortunately, looks won't connect automatically , install instructions don't make sense me.

i've installed source before, different. see here:

build instructions:
====================

1> $tar -xvzf dpb_rt2870_linux_sta_x.x.x.x.tgz
go "./dpb_rt2870_linux_sta_x.x.x.x" directory.

2> in makefile
set "mode = sta" in makefile , chose target linux set "target = linux"
define linux kernel source include file path linux_src
modify meet need.

3> in os/linux/config.mk
define gcc , ld of target machine
define compiler flags cflags
modify meet need.
** build being controlled networkmanager or wpa_supplicant wext functions
please set 'has_wpa_supplicant=y' , 'has_native_wpa_supplicant_support=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -dwext -ira0 -c wpa_supplicant.conf -d
** build being controlled wpasupplicant ralink driver
please set 'has_wpa_supplicant=y' , 'has_native_wpa_supplicant_support=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -dralink -ira0 -c wpa_supplicant.conf -d

4> $make
# compile driver source code
# fix "error: few arguments function ¡¥iwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp rt2870sta.dat /etc/wireless/rt2870sta/rt2870sta.dat

6> load driver, go "os/linux/" directory.
#[kernel 2.4]
# $/sbin/insmod rt2870sta.o
# $/sbin/ifconfig ra0 inet your_ip up

#[kernel 2.6]
# $/sbin/insmod rt2870sta.ko
# $/sbin/ifconfig ra0 inet your_ip up

7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2870sta

================================================== ==============
the bolded part what's confused me most.

ideas great.

thanks!

edit: link adapter. chipset rt3070.

found few threads, i'm not quite sure understand.
http://ubuntuforums.org/showthread.php?t=1353044
http://ubuntuforums.org/showthread.php?t=1369806
http://ubuntuforums.org/showthread.php?t=1312717

would other wireless driver need blacklisted before compiling driver rt3070?

http://ubuntuforums.org/showthread.php?t=1342593


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] Getting AWUS036NH to work with Ubuntu 9.10


Ubuntu

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts