Quantcast
Channel: PirateBox Forum - PirateBox OpenWrt
Viewing all articles
Browse latest Browse all 3254

Re: Can't load the share box on the homepage

$
0
0
I didn't get errors during install.

On IRC, you and C-Keen said :
Quote

Neros: I have seen this error with plugins like RequestPolicy which restrict access to urls other than the base domain you entered in your location bar
i think he didn't connect correctly via wifi/ethernet & dhcp
But I tried on differents OS and differents browsers (with my Android too), same problem.

Results :

1.
WR703N v1.6
2.
openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory
3.
Router IP : 192.168.0.254
4.
~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14612k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda1 on /mnt/usb type vfat (rw,noatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /mnt/ext type ext3 (rw,sync,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
/dev/loop1 on /opt/piratebox type ext3 (rw,sync,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)

~# ls -la /mnt/ 
drwxr-xr-x    1 root     root             0 Apr  1 01:29 .
drwxr-xr-x    1 root     root             0 Jan  1  1970 ..
drwxr-xr-x    5 root     root          1024 Apr  1 01:33 ext
drwxrwxrwx    3 root     root          4096 Jan  1  1970 usb

~# ls -la /mnt/usb 
drwxrwxrwx    3 root     root          4096 Jan  1  1970 .
drwxr-xr-x    1 root     root             0 Apr  1 01:29 ..
drwxrwxrwx    5 root     root          4096 Apr  1 01:34 PirateBox
-rwxrwxrwx    1 root     root        160164 Mar 31 23:24 piratebox_ws_0.6_img.tar.gz

~#  ls -la /mnt/usb/PirateBox 
drwxrwxrwx    5 root     root          4096 Apr  1 01:34 .
drwxrwxrwx    3 root     root          4096 Jan  1  1970 ..
-rwxrwxrwx    1 root     root      67108864 Jan  1  1970 OpenWRT.img
-rwxrwxrwx    1 root     root      33554432 Mar 31 23:24 OpenWRT.swap
drwxrwxrwx    2 root     root          4096 Mar 31 23:28 Shared
drwxrwxrwx   11 root     root          4096 Apr  1 01:46 board
-rwxrwxrwx    1 root     root          4269 Apr  1 01:34 index.html
-rwxrwxrwx    1 root     root      20971520 Apr  1 02:10 pbIMG_ws.img
drwxrwxrwx    2 root     root          4096 Apr  1 01:46 tmp

~#  ls -la /opt/piratebox 
drwxr-xr-x   10 root     root          1024 Apr  1 01:35 .
drwxr-xr-x    3 root     root             0 Apr  1 01:34 ..
drwxr-xr-x    3 root     root          1024 Mar 28 07:14 bin
drwxr-xr-x    3 root     root          1024 Apr  1 01:34 conf
drwxr-xr-x    2 root     root          1024 Mar 28 07:14 init.d
drwx------    2 root     root         12288 Jan  2  1970 lost+found
drwxr-xr-x    2 root     root          1024 Apr  1 01:35 python_lib
lrwxrwxrwx    1 root     root            18 Apr  1 01:34 share -> /mnt/usb/PirateBox
drwxr-xr-x    2 root     root          1024 Apr  1 01:42 src
-rw-r--r--    1 root     root            13 Apr  1 02:10 timesave_file
drwxr-xr-x    2 nobody   nogroup       1024 Jan  1  1970 tmp
-rw-r--r--    1 root     root            18 Mar 28 07:14 version
drwxr-xr-x    4 nobody   nogroup       1024 Apr  1 01:42 www

~#  ls -la /opt/piratebox/www
drwxr-xr-x    4 nobody   nogroup       1024 Apr  1 01:42 .
drwxr-xr-x   10 root     root          1024 Apr  1 01:35 ..
-rwxr-xr-x    1 nobody   nogroup       1458 Mar 28 07:14 .READ.ME.htm
lrwxrwxrwx    1 root     root            27 Apr  1 01:34 Shared -> /opt/piratebox/share/Shared
lrwxrwxrwx    1 root     root            26 Apr  1 01:34 board -> /opt/piratebox/share/board
drwxr-xr-x    2 nobody   nogroup       1024 Mar 28 07:14 cgi-bin
-rwxr-xr-x    1 nobody   nogroup       1518 Mar 28 07:14 chat.html
-rw-r--r--    1 nobody   nogroup        585 Apr  1 01:35 chat_content.html
-rwxr-xr-x    1 nobody   nogroup       1406 Mar 28 07:14 favicon.ico
-rw-r--r--    1 nobody   nogroup          0 Apr  1 01:34 forban_link.html
-rwxr-xr-x    1 root     root           254 Mar 28 07:14 forum.html
-rwxr-xr-x    1 nobody   nogroup       4269 Mar 28 07:14 index.html
-rw-r--r--    1 nobody   nogroup      94840 Mar 28 07:14 jquery.min.js
drwxr-xr-x    3 nobody   nogroup       1024 Mar 28 07:14 library
-rw-r--r--    1 nobody   nogroup         15 Mar 28 07:14 ncsi.txt
-rwxr-xr-x    1 nobody   nogroup      12637 Mar 28 07:14 piratebox-logo-small.png
-rwxr-xr-x    1 nobody   nogroup      16453 Mar 28 07:14 piratebox-logo.png
-rwxr-xr-x    1 nobody   nogroup        148 Apr  1 01:44 redirect.html
-rw-r--r--    1 nobody   nogroup          0 Mar 28 07:14 station_cnt.txt
-rwxr-xr-x    1 nobody   nogroup        298 Mar 28 07:14 style.css

~#  cat /opt/piratebox/version
piratebox-ws_0.6D

~#  cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option gateway '192.168.1.254'
        list dns '192.168.1.254'
        list dns '8.8.8.8'


        option ipaddr '192.168.1.1'

~#  cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr 'ec:88:8f:cc:4e:24'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option disabled '0'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option encryption 'none'
        option ssid 'PirateBox - Share Freely'

~#  dmesg | tail -n 20 
[   29.950000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.960000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.960000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   30.170000] loop: module loaded
[   30.320000] PPP generic driver version 2.4.2
[   30.570000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   30.690000] NET: Registered protocol family 24
[   30.740000] nf_conntrack version 0.5.0 (456 buckets, 1824 max)
[   34.290000] device eth0 entered promiscuous mode
[   37.080000] device wlan0 entered promiscuous mode
[   37.170000] br-lan: port 2(wlan0) entered forwarding state
[   37.180000] br-lan: port 2(wlan0) entered forwarding state
[   39.180000] br-lan: port 2(wlan0) entered forwarding state
[   47.640000] EXT4-fs (loop0): mounting ext3 file system using the ext4 subsystem
[   47.750000] EXT4-fs (loop0): recovery complete
[   47.750000] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
[   48.190000] Adding 32764k swap on /mnt/usb/PirateBox/OpenWRT.swap.  Priority:-1 extents:1 across:32764k 
[   48.290000] EXT4-fs (loop1): mounting ext3 file system using the ext4 subsystem
[   48.370000] EXT4-fs (loop1): recovery complete
[   48.380000] EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)

~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1504 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
   63 root         0 SW   [sync_supers]
   65 root         0 SW   [bdi-default]
   67 root         0 SW<  [kblockd]
   96 root         0 SW   [kswapd0]
  144 root         0 SW   [fsnotify_mark]
  173 root         0 SW<  [ath79-spi]
  184 root         0 SW   [mtdblock0]
  189 root         0 SW   [mtdblock1]
  194 root         0 SW   [mtdblock2]
  199 root         0 SW   [mtdblock3]
  204 root         0 SW   [mtdblock4]
  209 root         0 SW   [mtdblock5]
  250 root         0 SW   [kworker/0:1]
  437 root         0 SWN  [jffs2_gcd_mtd3]
  465 root         0 SW   [khubd]
  476 root         0 SW   [scsi_eh_0]
  477 root         0 SW   [usb-storage]
  478 root         0 SW   [kworker/0:2]
  479 root         0 SW   [kworker/u:2]
  501 root      1504 S    init
  533 root         0 SW<  [cfg80211]
  621 root      1508 S    /sbin/syslogd -C16
  623 root      1488 S    /sbin/klogd
  625 root       868 S    /sbin/hotplug2 --override --persistent --set-rules-file /etc/hotplug2.rules --set-
  631 root       860 S    /sbin/ubusd
  635 root      1508 S    /sbin/netifd
  868 root      1424 S    hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostapd-phy0.conf
 1506 root      1512 S    /usr/sbin/crond -c /etc/crontabs -l 5
 1518 root      1500 S    /sbin/watchdog -t 5 /dev/watchdog
 1533 root      1152 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1582 root         0 SW<  [loop0]
 1586 root         0 SW   [jbd2/loop0-8]
 1587 root         0 SW<  [ext4-dio-unwrit]
 1616 root         0 SW<  [loop1]
 1622 root         0 SW   [jbd2/loop1-8]
 1623 root         0 SW<  [ext4-dio-unwrit]
 1655 nobody     944 S    /usr/sbin/dnsmasq -x /var/run/piratebox_dnsmasq.pid -C /opt/piratebox/conf/dnsmasq
 1667 nobody    3868 S    /usr/sbin/lighttpd -f /opt/piratebox/conf/lighttpd/lighttpd.conf
 1692 root      1504 S    /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.ntp.org -p 2.openwrt
 1695 root         0 SW   [flush-8:0]
 1696 root         0 SW   [flush-7:0]
 1697 root         0 SW   [flush-7:1]
 1704 root      1220 R    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1705 root      1504 S    -ash
 1736 root      1496 R    ps

Viewing all articles
Browse latest Browse all 3254

Trending Articles