Jump to content

vamsi765

Active Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

628 profile views

vamsi765's Achievements

Newbie

Newbie (1/14)

  1. Hi Team, I have been trying to make a mesh network using Pineapple WiFi. I have been following this link http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide But when I tried to restart the wlan0 there was an issue. (I did try to just follow these commands) ifconfig wlan0 down ifconfig wlan0 up the wlan0 doesn't start up. The issue is only when I upgrade to latest upgrade (2.0.4) but works alright when factory-1.2.0.bin is used. So when I'm using batctl (I did install kmod-batman-adv package) there is a system crash This is the log root@Pineapple:/# ifconfig wlan0 down [ 923.350000] wlan0: deauthenticating from 24:de:c6:a6:d7:50 by local choice (reason=3) root@Pineapple:/# ifconfig wlan0 mtu 1532 root@Pineapple:/# iwconfig wlan0 mode ad-hoc essid VamsiMeshNetwork ap 02:12:34: 56:78:9A channel 1 root@Pineapple:/# iwconfig wlan0 wlan0 IEEE 802.11bg ESSID:"VamsiMeshNetwork" Mode:Ad-Hoc Frequency:2.412 GHz Cell: 02:12:34:56:78:9A Tx-Power=27 dBm RTS thr:off Fragment thr:off Encryption key:off Power Management:off root@Pineapple:/# batctl if add wlan0 [ 981.030000] CPU 0 Unable to handle kernel paging request at virtual address 000008d8, epc == 82c90a6c, ra == 82c9223c [ 981.030000] Oops[#1]: [ 981.030000] Cpu 0 [ 981.030000] $ 0 : 00000000 0000006d 00000006 00000000 [ 981.030000] $ 4 : 00000000 00000100 000008ce 000008ce [ 981.030000] $ 8 : 82d46f4e 00000000 00000003 2a7c58cc [ 981.030000] $12 : 7f8216d8 7f821728 7f81f6a0 00470000 [ 981.030000] $16 : 82d5fb00 82d42b80 83815800 82ddd000 [ 981.030000] $20 : 82cfbf10 82d840f0 82c70400 82e05e18 [ 981.030000] $24 : 00000003 00000000 [ 981.030000] $28 : 82cfa000 82cfbdc8 00410000 82c9223c [ 981.030000] Hi : 00000009 [ 981.030000] Lo : 000001f4 [ 981.030000] epc : 82c90a6c 0x82c90a6c [ 981.030000] Tainted: G O [ 981.030000] ra : 82c9223c 0x82c9223c [ 981.030000] Status: 1000dc03 KERNEL EXL IE [ 981.030000] Cause : 00800008 [ 981.030000] BadVA : 000008d8 [ 981.030000] PrId : 00019374 (MIPS 24Kc) [ 981.030000] Modules linked in: pl2303 option sg rndis_host usb_wwan cdc_ether asix usbserial usbnet ath9k_htc(O) ath79_wdt ledtrig_usbdev ledtrig_net dev batman_adv(O) nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp xt_HL xt_hl xt_ecn ipt_ECN xt_CLASSIFY xt_time xt_tcpmss xt_statistic xt_mark xt_length xt_DSCP xt_dscp ipt_REDIRECT ipt_NETMAP ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw xt_state nf_conntrac k_ipv4 nf_defrag_ipv4 nf_conntrack pppox ipt_REJECT xt_TCPMSS ipt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt _tcpudp x_tables nfs tun ppp_async ppp_generic slhc vfat fat lockd sunrpc button_hotplug(O) rt2800usb(O) ath9k(O) rtl8187(O) rtl8180(O) rt73usb(O) rt280 0lib(O) ath9k_common(O) ath9k_hw(O) rt2x00usb(O) ath(O) nls_utf8 nls_iso8859_1 nls_cp437 rt2x00lib(O) mac80211(O) crc_itu_t crc_ccitt input_polldev eepr om_93cx6 cfg80211(O) compat(O) input_core arc4 aes_generic crypto_blkcipher cryptomgr aead usb_storage uhci_hcd ohci_hcd ehci_hcd sd_mod ext4 jbd2 mbcac he usbcore usb_common scsi_mod nls_base crc16 crypto_hash crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O) [ 981.030000] Process batctl (pid: 2479, threadinfo=82cfa000, task=83b8f1e0, tls=77cac440) [ 981.030000] Stack : 00000001 82d42800 82d42b80 82ddd000 00000001 82d42800 82d42b80 82ddd000 [ 981.030000] 82cfbf10 82c86c54 82ddd000 82ddd000 82c942b4 82d42800 82d42800 00000001 [ 981.030000] 82ddd000 82c8b744 82cfbe18 82c70c00 82ddd000 801e8c2c 00000001 83807830 [ 981.030000] 82c70c00 00000000 00000000 82c85608 ffffff9c 83297000 00000001 00897008 [ 981.030000] 0040d184 0040c258 0041f050 82c70c00 82ddd000 00000005 00000005 82c8bff4 [ 981.030000] ... [ 981.030000] Call Trace:[<82c86c54>] 0x82c86c54 [ 981.030000] [<82c8b744>] 0x82c8b744 [ 981.030000] [<801e8c2c>] 0x801e8c2c [ 981.030000] [<82c85608>] 0x82c85608 [ 981.030000] [<82c8bff4>] 0x82c8bff4 [ 981.030000] [<800b19f0>] 0x800b19f0 [ 981.030000] [<80122acc>] 0x80122acc [ 981.030000] [<800d9104>] 0x800d9104 [ 981.030000] [<800d93dc>] 0x800d93dc [ 981.030000] [<8006a284>] 0x8006a284 [ 981.030000] [ 981.030000] [ 981.030000] Code: 8c6600a8 00001821 00c43821 <90e7000a> 24840001 00e31821 00033a80 00e31821 00033982 [ 981.320000] ---[ end trace c3ac8a83360a2448 ]--- [ 981.320000] Kernel panic - not syncing: Fatal exception in interrupt [ 981.330000] Rebooting in 3 seconds.. U-Boot 1.1.4 (Oct 2 2013) AP121 (AR9331) U-Boot And the system reboots. Anyone has any idea on to resolve this?
  2. Hi Team, I'm sorry about long (and kind off wrong) post.. after messing around the menuconfig, I was able to enable "AutoSSH" option and voila I was able to connect to router again. The problem was that even though system was booting up (all systems working), as sebkinne insisted, but as the SSH server wasn't setup, I wasn't able to access it through that way. And I also bought the serial cable, and I'm able to see all the logs here, which I think is wonderful! I have one more question right now, when I build the custom firmware, I cannot find "pineapple" package, can you please tell me how can I enable in menuconfig or where we can I download the source code from. Thanks Vamsi
  3. Hello, I'm new to both openWRT and linux and am working on project in college. Could you please let me know how I can proceed next? These are the executable files on bin folder in Pineapple WiFi with the factory image of firmware ash date grep ls nice rbash touch bash dd gunzip mkdir opkg rm true busybox df gzip mknod pidof rmdir ubus cat dmesg ipcalc.sh mktemp pineapple sed umount chgrp echo kill mount ping sh uname chmod egrep ln mv ping6 sleep vi chown false lock netmsg ps sync zcat cp fgrep login.sh netstat pwd tar And in sbin folder blkid ifstatus pivot_root syslogd crda ifup poweroff sysupgrade devstatus init reboot ubusd fdisk insmod rmmod uci firstboot klogd route udevtrigger fw3 led.sh start-stop-daemon udhcpc halt logread swaplabel vconfig hotplug-call lsmod swapoff watchdog hotplug2 mkswap swapon wget2nand hwclock mount_root swconfig wifi ifconfig mtd switch_root ifdown netifd sysctl and in etc/init.d we have atd defconfig fstab rcS ubus autossh dip_handler karma sshd uhttpd blink dnsmasq led sysctl umount boot done network sysntpd usb cron firewall pineapple telnet watchdog And after the custom firmware (built just by following the build guide and making above changes) is I get this info before after clicking "n" in interactive mode of sysupgrade, because the ssh (nothing else for that matter) is not enabled. Bin ash cat dd ls mv sleep tar vi busybox cp grep mount sh sync umount zcat Sbin mtd pivot_root reboot and there is no "init.d" folder. After this, I unbrick the device to make it work. Could you please let me what config should be used in "make menuconfig" for the firmware to work normally. Vamsi
  4. Hi Sebkinne, I get that.. So we have the LED's code inside firmware which is not configured yet.. Do you know how it can be configured? As the the same is configured in the firmware given on the website. BTW, the SSH functionality did work once, but dint work for later builds.. So I think SSH can be activated by default before building the firmware.. Can you help me configuring that? Cheers Vamsi
  5. Hey Fringes, Yes I have unbricked pineapple to normal working state (Many times!). As for "The Build guide is for compiling a custom firmware image and NOT for setting up your pineapple for the first use." I would like build custom firmware. I have followed the instructions, but initially I had the "Hotplug2" problem which I resolved as mentioned above. But now, Even know the custom software is being made (openwrt-ar71xx-generic-mk5-v1-squashfs-sysupgrade.bin and openwrt-ar71xx-generic-mk5-v1-squashfs-factory.bin are generated) after "make" command. The firmware doesn't run when I upgrade the firmware on Pineapple WiFi using sysupgrade -n ./xxxxxxxx-sysupgrade.bin. I have tried various configurations in "make menuconfig" which dint help. I thought someone here would know about correct config.
  6. Hello People, I have bought a new pineapple WiFi for testing new network config, and I initially had problems while compiling the firmware following the instructions instructions on http://wiki.wifipineapple.com/index.php/Build_guide In the end I found that the resource "Hotplug2" it was searching on was invalid address. So I edited the make file in (~/MK5/package/hotplug2/MakeFile) as PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://downloads.openwrt.org/sources/ PKG_MD5SUM:=7bab8ba67555a8400424f3c92ec67579 and voila, the firmware was complied and built. The newly built firmware (using default config) when upgraded using sysupgrade -n xxxx-sysupgrade.bin the pineapple stops responding (only green light is active!). I have tried to mess around with menuconfig, hoping I would hit the right configuration, but am with no luck till now. Can anyone please post the configuration that has to be set, to making a "Runnable" firmware. Thank you! Vamsi
  7. Thank you Cooper. That was lot of help!
  8. Hello People, I dont know if this is a lame question.. I'm looking to buy a WiFi device where I can change the source code to change other parts of WiFi. Is that possible on Pineapple WiFi? I would want to modify the source code, compile it and then put it back in the device. Thanks in advance. Regards Vamsi
×
×
  • Create New...