Soo Close to Having wireless....

Okay i have a Edimax EW-7728In. After downloading the “Linux Source Code” and checking the Driver was compaitable with my card I opened the README File…

  1. There are two methods to install Web Sever and RT2860 STA Driver:

    auto-install and manual install.

2.1 Auto Install

Usage:

¡@ $cd AutoInstall

¡@ $./install.sh

¡@

The install.sh executes the following steps to install RT2860 STA Driver and Boa Web Server.

  1. Input the value of install directory, IP address and port number.

  2. Copy RT2860.tgz, WebUI.tgz and WPA_Supplicant.tgz into install directory and uncompress them.

  3. Compile RT2860, Web Server and WPA_Supplicant.

  4. Copy boa.conf, wpa_supplicant and wpa_cli into install_direcory/etc/boa

  5. Copy RT2860STA.dat into install_directory/etc/Wireless/RT2860STA.

  6. Execute Boa Web Server

  7. Insert and up RT2860 module.

  8. Create a run.sh that restarts the WebUI by user easier.

  9. Start Browser.
  1. when i type $cd AutoInstall or $./install.sh into one of the 7 possible terminals I get
bash: AutoInstall: command not found

or

bash: $./install.sh: No such file or directory

I LOVE YOU IF YOU HELP ME =]

EDIT
I have OpenSuSe Linux 11 64-Bit and Windows XP Proffesional 32-Bit in Dual Boot

ok, i tried:

  1. extracting the contents of the folder to /root/home/documents/AutoInstall.
  2. then in terminal typing “cd /root/home/documents/AutoInstall”
  3. then in terminal typing “sh install.sh”
  4. All went fine according to what i quoted previously, but It has alot of Errors(I’ll post these errors tomorrow).
  5. So i tried typing “./install.sh” into terminal, and it says “permission denied”.

Surely the Root account has access to everything…

Hi
sh <name of file> if it’s not executable ./ if it has execute
permissions for any user incl root. The ls -la <name_of_file> will show
it’s current permissions.


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 3 days 7:43, 1 user, load average: 0.01, 0.07, 0.12
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

Hey malcom, ty for your reply.
I only understood this part of your reply

permissions for any user incl root. The ls -la <name_of_file> will show

so i tried that in Gnome Console and i got this



-rw-rw-rw- 1 root root 3864 Jul 24  2007 /root/Desktop/Edimax/install.sh


Hi
So it’s set for (r)ead/(w)rite for owner,group and others. The first rw
is owner, second group and third others. To make it executable the
first section needs to read -rwx the x meaning e(x)ecutable by owner.
eg;


chmod 766 /root/Desktop/Edimax/install.sh

would change it to -rwxrw-rw-

Basically the second bit of it is a 4=r next is 2=w and 1=x so you add
them (4+2+1=7) up depending on what permissions on the file you
require. This then carries on to the group and others, group is 4+2 and
other the same.

Make sense?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 4 days 2:37, 1 user, load average: 0.69, 0.40, 0.28
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12

okay i’ll try it now

ok i tried it, and now i get
-rwxrw-rw- 1 root root 3864 2007-07-24 05:46 /root/Desktop/Edimax/install.sh

now to try running it =]

still got the usual errors =
NOTE: I had to cut out half the code because it was too long.


/usr/include/linux/types.h:159: error: previous declaration of ‘__be64’ was here
make: *** [driver_ralink.o] Error 1
cp: cannot stat `wpa_supplicant': No such file or directory
mv: cannot stat `wpa_cli': No such file or directory
boa: no process killed
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o auth.o auth.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o alias.o alias.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o boa.o boa.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o buffer.o buffer.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o cgi.o cgi.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o cgi_header.o cgi_header.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o config.o config.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o escape.o escape.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o get.o get.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o hash.o hash.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o ip.o ip.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o log.o log.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o methods.o methods.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o mmap_cache.o mmap_cache.c
mmap_cache.c: In function ‘find_mmap’:
mmap_cache.c:82: warning: cast from pointer to integer of different size
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o pipe.o pipe.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o queue.o queue.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o range.o range.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o read.o read.c
read.c: In function ‘read_header’:
read.c:127: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
read.c:184: warning: cast from pointer to integer of different size
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o request.o request.c
request.c: In function ‘get_request’:
request.c:155: warning: passing argument 3 of ‘getsockname’ from incompatible pointer type
request.c:210: warning: passing argument 5 of ‘getsockopt’ from incompatible pointer type
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o response.o response.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o signals.o signals.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o scripts.o scripts.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o util.o util.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o sublog.o sublog.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o select.o select.c
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o timestamp.o timestamp.c
gcc  -o boa auth.o alias.o boa.o buffer.o cgi.o cgi_header.o config.o escape.o get.o hash.o ip.o log.o methods.o mmap_cache.o pipe.o queue.o range.o read.o request.o response.o signals.o scripts.o util.o sublog.o select.o timestamp.o -g -lcrypt -L/root/ralink/WebUI/nvram -lnvram
gcc  -g -O2 -pipe -Wall -DRT2860 -DWPA_SUPPLICANT_SUPPORT  -I.  -c -o index_dir.o index_dir.c
gcc  -o boa_indexer index_dir.o escape.o -g -lcrypt -L/root/ralink/WebUI/nvram -lnvram
[15/Sep/2008:20:12:37 +0000] boa: server version Boa/0.94.14rc20
[15/Sep/2008:20:12:37 +0000] boa: server built Sep 15 2008 at 21:12:37.
[15/Sep/2008:20:12:37 +0000] boa: starting server pid=5371, port 8080
You can execute /root/ralink/run.sh to start Browser next time.

Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
linux-0ern:~/Desktop/Edimax # Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
Query RT_OID_DRIVER_DEVICE_NAME error!
[15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] Sta Profile has no data.
Query OID_GEN_MEDIA_CONNECT_STATUS error!
Query OID_GEN_MEDIA_CONNECT_STATUS error!
[15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] [15/Sep/2008:20:12:38 +0000] 127.0.0.1 - - [15/Sep/2008:20:12:41 +0000] request "(null)" ("(null)"): connection timed out
127.0.0.1 - - [15/Sep/2008:20:12:41 +0000] request "(null)" ("(null)"): connection timed out
127.0.0.1 - - [15/Sep/2008:20:12:41 +0000] request "(null)" ("(null)"): connection timed out


05:02.0 Network controller: RaLink Device 0601
05:02.0 0280: 1814:0601

^^ might be helpful…

Hi
I’m guessing that the autoinstall script runs the wpa_supplicant and
other stuff first.

You might be better off posting a new thread in the wireless forum
(read the stickies first)?


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.0 x86 Kernel 2.6.25.16-0.1-default
up 4 days 6:17, 1 user, load average: 0.14, 0.05, 0.05
GPU GeForce 6600 TE/6200 TE - Driver Version: 173.14.12