X-Wrt
November 20, 2009, 08:37:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the X-Wrt Forums
 
   Home   Help Search Login Register  
Pages: [1] 2 3
  Print  
Author Topic: Guide to compiling kamikaze with the webif  (Read 20621 times)
thepeople
X-Wrt Developer
Administrator
Hero Member
*****
Offline Offline

Posts: 1032


View Profile
« on: December 17, 2006, 11:10:11 PM »

http://wiki.x-wrt.org/index.php/Compile_Kamikaze_with_Webif%5E2
« Last Edit: March 27, 2008, 02:11:23 PM by thepeople » Logged
ymhee_bcex
Newbie
*
Offline Offline

Posts: 31


View Profile
« Reply #1 on: December 24, 2006, 06:02:58 PM »

Looks like svn is down at the moment:
svn co http://svn.berlios.de/svnroot/repos/xwrt/kamikaze/package/webif
svn: PROPFIND request failed on '/svnroot/repos/xwrt/kamikaze/package/webif'
svn: PROPFIND of '/svnroot/repos/xwrt/kamikaze/package/webif': Could not read status line: Connection reset by peer (http://svn.berlios.de)


Also, I am assuming that c) has a typo. It looks like the command would be
Code:
ln -s ../../packages/*/* .
Logged
mephisto
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #2 on: January 01, 2007, 02:11:44 PM »

I'm trying to compile webif^2 for kamikaze using OpenWrt (SVN rev 5953) and webif^2 (SVN rev 2084). I'm compiling it with the options
* webif
* webif-lang-de
* webif-theme-xwrt
* webif-theme-zephyr

make V=99 stops at
Code:
make -C webif compile
Rebuilding  /home/frederik/trunk/bin/packages/webif_0.3-2_mips.ipk
Rebuilding  /home/frederik/trunk/bin/packages/webif_0.3-2_mips.ipk /home/frederik/trunk/bin/packages/webif-lang-de_0.3-2_mips.ipk
Rebuilding  /home/frederik/trunk/bin/packages/webif_0.3-2_mips.ipk /home/frederik/trunk/bin/packages/webif-lang-de_0.3-2_mips.ipk /home/frederik/trunk/bin/packages/webif-theme-zephyr_0.3-2_mips.ipk
Rebuilding  /home/frederik/trunk/bin/packages/webif_0.3-2_mips.ipk /home/frederik/trunk/bin/packages/webif-lang-de_0.3-2_mips.ipk /home/frederik/trunk/bin/packages/webif-theme-zephyr_0.3-2_mips.ipk /home/frederik/trunk/bin/packages/webif-theme-xwrt_0.3-2_mips.ipk
make[4]: Entering directory `/home/frederik/trunk/package/webif'
mips-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -D_METAPACK   -o /home/frederik/trunk/build_mips/webif-0.3/webifmetabin src/int2human/main.c src/int2human/human_readable.c src/wepkeygen/keygen.c src/wepkeygen/md5.c src/webif-page.c src/bstrip.c src/webifmetabin.c
src/bstrip.c: In function `do_gets':
src/bstrip.c:22: warning: assignment makes pointer from integer without a cast
/tmp/ccVLr9L1.o: In function `md5_hash_block':
md5.c:(.text+0x94): undefined reference to `bswap_32'
md5.c:(.text+0xe8): undefined reference to `bswap_32'
md5.c:(.text+0x134): undefined reference to `bswap_32'
md5.c:(.text+0x184): undefined reference to `bswap_32'
md5.c:(.text+0x1d8): undefined reference to `bswap_32'
/tmp/ccVLr9L1.o:md5.c:(.text+0x224): more undefined references to `bswap_32' follow
collect2: ld returned 1 exit status
make[4]: *** [/home/frederik/trunk/build_mips/webif-0.3/.built] Error 1
make[4]: Leaving directory `/home/frederik/trunk/package/webif'
make[3]: *** [webif-compile] Error 2
make[3]: Leaving directory `/home/frederik/trunk/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/frederik/trunk/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/frederik/trunk'
make: *** [world] Error 2
Logged
mephisto
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #3 on: January 01, 2007, 06:24:41 PM »

BTW: I'm compiling for atheros-2.6
Logged
breath
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #4 on: January 02, 2007, 02:49:41 PM »

I think they have problems with the 2.6.19 kernel r5968
I using a WGT634U

when you try and unlock linux you get Physically mapped flash: block unlock error: (status timeout)
i.e. mtd -e linux -r write xxx.trx linux

Busybox 1.3.1 had problems telnetd would not start, seems fixed now.

Very few things work on webif, I had problems when webif was built into the image, made in modular
install packages work, some status pages, info somewhat.
then
 ipkg install webif_0.3-2_mipsel.ipk
or
ipkg remove webif then reinstall manual.

worked a little better than build it in the image.

Cheers
« Last Edit: January 02, 2007, 02:51:42 PM by breath » Logged
thepeople
X-Wrt Developer
Administrator
Hero Member
*****
Offline Offline

Posts: 1032


View Profile
« Reply #5 on: January 02, 2007, 03:54:35 PM »

mephisto: We will take a look at your problem. I have not tested the webif in any other enviroments other than X86 and broadcom 2.4

breath: The first part of your post deals with issues with kamikaze itself and should be reported to https://dev.openwrt.org What issues are you having when the webif is rolled into a image?
Logged
breath
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #6 on: January 05, 2007, 01:30:23 PM »

mephisto: We will take a look at your problem. I have not tested the webif in any other enviroments other than X86 and broadcom 2.4

breath: The first part of your post deals with issues with kamikaze itself and should be reported to https://dev.openwrt.org What issues are you having when the webif is rolled into a image?

have not tried it with >r5990 , but if you build the weif into the bootable image you can not login or I should when you bring up the webif on Kamikaze you do not have to login,
but if you Build and make webif <M> modular then after you boot the fresh image the do a ipkg install you have to login with root and your passwd.
After they get r5996> fixed (can not build now broken) I'll give it another try.
The reason I never reported it was the webif is in Alpha and no need to complain.

I use it mainly for adding  packages and removing packages, and spot checking some things that do work!

Cheers


OK I rebuilt r6002 and webif r2086 on the WGT634U kamikaze kernel 2.6.19 the webif works correctly on the firstboot and setting the new passwd.

System Information
Firmware            OpenWrt Kamikaze - With X-Wrt Extensions r6002
Kernel        Linux 2.6.19.1 #1 Fri Jan 5 11:05:31 EST 2007
MAC        00:09:5B:xx:xx:xx
Device       unidentified  (really should be WGT634U)
Board       Broadcom BCM47xx
Username        not logged in

Web mgt. console        Webif2
Version      r2086

the Device is not seen as the diag.ko never loads Kamikaze problem (ticket 1129)

in the above Username not logged in
you never have to login even after you clean private data (firefox)
if you remove the package from webif page you will get a segement fault

now I'll remove the package and reinstall it
ok it's installed
if you restart the browser (firefox) you have to login, clear the private data you have to login. Works!!
see below Username root

System Information
Firmware            OpenWrt Kamikaze - With X-Wrt Extensions r6002
Kernel        Linux 2.6.19.1 #1 Fri Jan 5 11:05:31 EST 2007
MAC        00:09:5B:xx;xx:xx
Device       unidentified
Board       Broadcom BCM47xx
Username        root

Web mgt. console        Webif2
Version      r2086

Cheers
« Last Edit: January 05, 2007, 04:13:53 PM by breath » Logged
Heini66
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #7 on: January 06, 2007, 01:26:32 PM »

compiling atheros2.6.
trunk 6007 and 2088.
first have had same failture as mephisto with 6007 and 2086 or 7, talking to nbd, he fixed something on webif to2088.
new failture is:
Code:
C webif compile
Rebuilding  /home/xtc/Kamikaze/bin/packages/webif_0.3-2_mips.ipk
make[4]: Entering directory `/home/xtc/Kamikaze/package/webif'
mips-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -D_METAPACK -I/home/xtc/Kamikaze/staging_dir_mips/include-host -include endian.h   -o /home/xtc/Kamikaze/build_mips/webif-0.3/webifmetabin src/int2human/main.c src/int2human/human_readable.c src/wepkeygen/keygen.c src/wepkeygen/md5.c src/webif-page.c src/webifmetabin.c
/tmp/ccqOeTH0.o:(.data.rel+0x4): undefined reference to `bstrip_main'
collect2: ld returned 1 exit status
make[4]: *** [/home/xtc/Kamikaze/build_mips/webif-0.3/.built] Error 1
make[4]: Leaving directory `/home/xtc/Kamikaze/package/webif'
make[3]: *** [webif-compile] Error 2
make[3]: Leaving directory `/home/xtc/Kamikaze/package'
make[2]: *** [compile] Error 2
make[2]: Leaving directory `/home/xtc/Kamikaze/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/xtc/Kamikaze'
make: *** [world] Fehler 2

nbd's answer was:
problem of webif devel. please them to fix.

i'll do with this post!
« Last Edit: January 06, 2007, 01:50:10 PM by Heini66 » Logged
mephisto
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #8 on: January 06, 2007, 05:24:48 PM »

I'm running 2088 with 6010 on my Atheros device. Thanks for fixing the bug. Besides the expected missing kamikaze implementations on certain pages, everything seems to work.
Logged
bingobommel
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #9 on: January 07, 2007, 04:32:42 AM »

hi mephisto.

could you please upload a working ipk and/or a compiled flashable firmware for the atheros (fonera) box?

thanks, bommel
Logged
Heini66
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #10 on: January 07, 2007, 02:22:52 PM »

thanks to mephisto we could bring the problem a little together...
he can compile with my .config, i can't alsi with his.
he's working with deb etch, me xubuntu efty. may it helps a little.
Logged
forum2006
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #11 on: January 08, 2007, 05:49:34 AM »

Wow. Congratulations!

I'm running webif^2 r2088 with Kamikaze x86-2.6 r6010 on the Soekris net4801...
Logged
breath
Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #12 on: January 12, 2007, 09:08:41 AM »

Kamikaze 2.6.19 on WGT634u r6086 & webif 2103

it is quite nasty and I mean butt nasty when you build webif into image, still have to build image as modular.
it will take a seg fault when removing  the webif package and then reinstall the webif package,

ended up rebuilding kamikaze with webif as a module.

System Information
Firmware            OpenWrt Kamikaze - With X-Wrt Extensions r6086
Kernel        Linux 2.6.19.1 #1 Fri Jan 12 04:06:02 EST 2007
MAC        00:09:5B:xx:xx:xx
Device       WGT634U
Board       Broadcom BCM47xx
Username        root

Web mgt. console        Webif2
Version      r2103

** problem with status --> interface page

LAN
MAC Address   
IP Address   192.168.1.4
Received   Usage: int2human integer1 integer2 integer3 ...
Transmitted   Usage: int2human integer1 integer2 integer3 ...

    Short help:
    LAN:
    LAN stands for Local Area Network.

** problem status --> usb    does not show a mounted flash disk when it is mounted

USB Devices
All connected devices (excluding system hubs)
Bus   Device   Product   Manufacturer   VendorID:ProdID   USB version

    Short help:

 
Mounted USB / SCSI devices
 
openwrt# dmesg

usb 2-1: new full speed USB device using ohci_hcd and address 2
usb 2-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer           2.00 PQ: 0 ANSI: 0 CCS
SCSI device sda: 4022272 512-byte hdwr sectors (2059 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 4022272 512-byte hdwr sectors (2059 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
 /dev/scsi/host0/bus0/target0/lun0: p1
sd 0:0:0:0: Attached scsi removable disk sda
usb-storage: device scan complete

root@OpenWrt:~# mount

/dev/sda1 on /tmp/sda1 type vfat (rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)




    Short help:

 
Loaded USB drivers

Cheers




« Last Edit: January 12, 2007, 09:28:12 AM by breath » Logged
swinnenb
Newbie
*
Offline Offline

Posts: 1


View Profile
« Reply #13 on: April 23, 2007, 06:04:56 AM »

Got error when checking out svn repos

svn: PROPFIND request failed on '/svnroot/repos/xwrt/kamikaze/package/webif'
svn: PROPFIND of '/svnroot/repos/xwrt/kamikaze/package/webif': Could not read status line: Connection reset by peer (http://svn.berlios.de)

regards
Logged
lubek
X-Wrt Developer
Hero Member
*****
Offline Offline

Posts: 972


View Profile
« Reply #14 on: April 23, 2007, 07:07:50 AM »

We are moving to the different server.
The BerliOS services were out of order from Friday.  Angry
Thanks for your patience.
Logged
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.15 seconds with 17 queries.