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

Re: WiFi network shows up, but page doesn't load

$
0
0
Matthias Wrote:
-------------------------------------------------------
> Is you box still connected via wired to your home
> network?
>
> if not, please post the output of the commands
> listed here:
> [piratebox.aod-rpg.de]
> wrt/question_for_problem_determination


Not connected. Also I bought a new USB stick extra for the PirateBox, 32GB. It can't find the USB stick, I had to use a smaller one (4GB).

And here's the output:
root@P2a3MHYd:~# 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=14608k)
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)


root@P2a3MHYd:~# ls -la /mnt/
drwxr-xr-x    1 root     root             0 Feb  4  2014 .
drwxr-xr-x    1 root     root             0 Feb  4  2014 ..
drwxr-xr-x    2 root     root             0 Feb  4  2014 ext
drwxr-xr-x    2 root     root             0 Feb  4  2014 usb


root@P2a3MHYd:~# ls -la /mnt/usb
drwxr-xr-x    2 root     root             0 Feb  4  2014 .
drwxr-xr-x    1 root     root             0 Feb  4  2014 ..


root@P2a3MHYd:~# ls -la /mnt/usb/PirateBox
ls: /mnt/usb/PirateBox: No such file or directory


root@P2a3MHYd:~# ls -la /opt/piratebox
drwxr-xr-x    2 root     root             0 Feb  4  2014 .
drwxr-xr-x    3 root     root             0 Feb  4  2014 ..


root@P2a3MHYd:~# ls -la /opz/piratebox/www
ls: /opz/piratebox/www: No such file or directory


root@P2a3MHYd:~# cat /etc/pbx_custom_image
2.0


root@P2a3MHYd:~# cat /etc/openwrt_release
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="12.09"
DISTRIB_REVISION="r36088"
DISTRIB_CODENAME="attitude_adjustment"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Attitude Adjustment 12.09"


root@P2a3MHYd:~# cat /opt/piratebox/version
cat: can't open '/opt/piratebox/version': No such file or directory


root@P2a3MHYd:~# 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.2.1'
        list dns '192.168.2.1'
        list dns '8.8.8.8'
        option ipaddr '192.168.1.1'


root@P2a3MHYd:~# cat /etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr '64:66:b3:93:df:f8'
        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'


root@P2a3MHYd:~# dmesg | tail -n 20
[   42.290000] device wlan0 entered promiscuous mode
[   42.390000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   42.470000] br-lan: port 2(wlan0) entered forwarding state
[   42.470000] br-lan: port 2(wlan0) entered forwarding state
[   42.480000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   44.470000] br-lan: port 2(wlan0) entered forwarding state
[  172.680000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[  172.840000] scsi0 : usb-storage 1-1:1.0
[  173.850000] scsi 0:0:0:0: Direct-Access              USB DISK 2.0     PMAP PQ: 0 ANSI: 4
[  176.640000] sd 0:0:0:0: [sda] 7811072 512-byte logical blocks: (3.99 GB/3.72 GiB)
[  176.650000] sd 0:0:0:0: [sda] Write Protect is off
[  176.660000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[  176.660000] sd 0:0:0:0: [sda] No Caching mode page present
[  176.660000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  176.680000] sd 0:0:0:0: [sda] No Caching mode page present
[  176.680000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  176.690000]  sda: sda1
[  176.710000] sd 0:0:0:0: [sda] No Caching mode page present
[  176.710000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  176.720000] sd 0:0:0:0: [sda] Attached SCSI removable disk


root@P2a3MHYd:~# ps
  PID USER       VSZ STAT COMMAND
    1 root      1504 S    init
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [kworker/0:0]
    5 root         0 SW   [kworker/u:0]
    6 root         0 SW<  [khelper]
    7 root         0 SW   [kworker/u:1]
   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]
  442 root         0 SWN  [jffs2_gcd_mtd3]
  444 root         0 SW   [flush-mtd-unmap]
  467 root         0 SW   [khubd]
  496 root      1504 S    init
  528 root         0 SW<  [cfg80211]
  601 root         0 SW<  [bat_events]
  628 root      1508 S    /sbin/syslogd -C16
  630 root      1488 S    /sbin/klogd
  632 root       860 S    /sbin/hotplug2 --override --persistent --set-rules-f
  638 root       868 S    /sbin/ubusd
  657 root      1524 S    /sbin/netifd
 1072 root      1424 S    hostapd -P /var/run/wifi-phy0.pid -B /var/run/hostap
 1179 root      1500 S    /sbin/watchdog -t 5 /dev/watchdog
 1407 root      1152 S    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1441 root      1500 S    /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.ope
 1476 root      1216 R    /usr/sbin/dropbear -P /var/run/dropbear.1.pid -p 22
 1477 root      1504 S    -ash
 1486 root         0 SW   [scsi_eh_0]
 1487 root         0 SW   [usb-storage]
 1494 root         0 SW   [kworker/0:2]
 1495 root         0 SW   [kworker/u:2]
 1581 root      1496 R    ps
[/code]

Viewing all articles
Browse latest Browse all 3254

Trending Articles