DJJeff
-
Posts
8 -
Joined
-
Last visited
Posts posted by DJJeff
-
-
I bought a 18db antenna screwed it onto my pineapple and may have screwed it on too tight I'm not sure.
I noticed when I finished putting on the antenna it kept turning and turning so I opened up the pineapple and sure enough it looked broken and very small pigtail thingy was very loose and falling off the connecter so anyways I decided to goto my local electronics shop to look for a replacement and they dont have one or dont know which pigtail I need could you fill me in on which one I need?
Here is a photo pointing at the piece I need
-
its optional todo this, I find I have more features with this setup the pineapple uses PHP4 this allows for PHP5
also you can have some mysql to php interactions with this setup
-
INSTALL THESE
opkg install apache --dest usb
opkg install php5-cgi php5-cli php5-mod-mysql --dest usb
opkg install mysql-server --dest usb[/CODE][b]HOW TO SYMLINK[/b]
root@Pineapple:/# [b]ln -s /usb/usr/bin/mysqld /usr/bin/mysqld[/b]
root@Pineapple:/# [b]ln -s /usb/usr/share/mysql/ /usr/share/mysql[/b]
root@Pineapple:/# [b]ln -s /usb/etc/my.cnf /etc/my.cnf[/b]
root@Pineapple:/# [b]ln -s /usb/etc/init.d/mysqld /etc/init.d/mysqld[/b]
root@Pineapple:/# [b]ln -s /usb/usr/bin/my_print_defaults /usr/bin/my_print_defaults[/b]
root@Pineapple:/# [b]ln -s /usb/etc/php5/ /etc/php5[/b]
root@Pineapple:/# [b]ln -s /usb/usr/lib/php/ /usr/lib/php[/b]
root@Pineapple:/# [b]ln -s /usb/etc/apache/ /etc/apache[/b]
root@Pineapple:/# [b]ln -s /usb/usr/sbin/httpd /usr/sbin/httpd[/b]
[b]CREATE THESE[/b]
root@Pineapple:/# [b]mkdir /usb/data[/b]
root@Pineapple:/# [b]mkdir /usb/data/mysql[/b]
[b]TIME TO EDIT[/b]
CTRL+X to Save & Press Y for Yes & Press Enter To Save
root@Pineapple:/# [b]nano /etc/apache/httpd.conf[/b]
[b]Listen 80[/b] to [b]Listen 0.0.0.0:[some other port][/b]
ErrorDocument 404 /error.php
root@Pineapple:/# [b]nano /etc/my.cnf[/b]
datadir = /usb/data/mysql
tmpdir = /tmp
root@Pineapple:/# [b]mysql_install_db --force[/b]
Installing MySQL system tables...
OK
Filling help tables...
OK
[b]START THE SERVICES[/b]
root@Pineapple:/# [b]mysqld[/b]
to put in the background run
root@Pineapple:/# [b]mysqld &[/b]
root@Pineapple:/# [b]mysqladmin -u root password 'new-password'[/b]
root@Pineapple:/# [b]apachectl start[/b]
[b]ERRORS / FAQ[/b]
[b]httpd: apr_sockaddr_info_get() failed for Pineapple[/b]
Check /etc/apache/httpd.conf
Listen 0.0.0.0:PORT
[b]httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName[/b]
Check /etc/apache/httpd.conf
Uncomment ServerName and set to something else
[b]Where Are My Logs!!!!!![/b]
/var/log has been linked to /tmp/log check in here :)
[b]How do I check to see if its running[/b]
[CODE]root@Pineapple:/# netstat -npltuw
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN [ PID ]/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN [ PID ]/uhttpd
tcp 1 0 0.0.0.0:[ PORT ] 0.0.0.0:* LISTEN [ PID ]/httpd
tcp 0 0 0.0.0.0:1471 0.0.0.0:* LISTEN [ PID ]/uhttpd[/CODE] -
im running 2.6.4 but it says 2.6.3 in the about page but I know its 2.6.4 cause I need to login via the new port to access the web ui
-
root@Pineapple:~# opkg install kmod-tun
Installing kmod-tun (3.3.8-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-tun_3.3.8-1_ar71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-tun:
* kernel (= 3.3.8-1-6acd2a17c333f503dc86081b03fe73c0) *
* opkg_install_cmd: Cannot install package kmod-tun.
root@Pineapple:~#[/CODE] -
root@Pineapple:~# airmon-ng
Interface Chipset Driver
mon0 Atheros ath9k - [phy0]
wlan0 Atheros ath9k - [phy0]
root@Pineapple:~# insmod tun
root@Pineapple:~# airbase-ng -a 00:00:00:00:00:00 -e WiFi -c 1 -P -C 60 mon0
error opening tap device: No such file or directory
try "modprobe tun"
error opening tap device: No such file or directory
root@Pineapple:~#[/CODE] -
My Antenna Connecter Broke On My Mark 4 (AP121U)
in WiFi Pineapple Mark IV
Posted
Would This Work As A Replacement?
http://www.mroelectronics.com/mro/product.php?id_product=5836
Its My Local Electronic Shop Here In Vancouver