ovh / overthebox-openwrt

OverTheBox - OpenWrt fork
GNU General Public License v2.0
98 stars 18 forks source link

Making image x86 next #2

Closed mackjb closed 7 years ago

mackjb commented 8 years ago

I try to build and generate overthebox-openwrt image for hosting it in VirtualBox. I build on debian Jesie without issue openwrt standard.

I have the issue that It fails compiling with this error message :

install -m0755 ./files/scollector.config /home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun/etc/config/scollector find /home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x8664/bosun -name 'CVS' -o -name '.svn' -o -name '.#' -o -name '_~'| xargs -r rm -rf Package bosun is missing dependencies for the following libraries: libc.so.6 libpthread.so.0 Makefile:59: recipe for target '/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk' failed make[3]: *\ [/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk] Error 1

When i look to the makefile, i have define Package/bosun SECTION:=utils CATEGORY:=OVH TITLE:=add bosum metric monitor DEPENDS:= +libc +libpthread endef

If you have an idea that explains why it's not building i would appreciate your help on the subject.

Thx

PS: I speak french also if needed.

benlo06 commented 8 years ago

Hello, I have the same problem in compile, but image is compiled and avaiblable in http://downloads.overthebox.ovh/trunk/x86/64/

Regards, Benoit

Le 04/10/2015 20:05, mackjb a écrit :

I try to build and generate overthebox-openwrt image for hosting it in VirtualBox. I build on debian Jesie without issue openwrt standard.

I have the issue that It fails compiling with this error message :

install -m0755 ./files/scollector.config /home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun/etc/config/scollector find /home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun -name 'CVS' -o -name '.svn' -o -name '.#/' -o -name '/~'| xargs -r rm -rf Package bosun is missing dependencies for the following libraries: libc.so.6 libpthread.so.0 Makefile:59: recipe for target '/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk' failed make[3]: *** [/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk] Error 1

When i look to the makefile, i have define Package/bosun SECTION:=utils CATEGORY:=OVH TITLE:=add bosum metric monitor DEPENDS:= +libc +libpthread endef

If you have an idea that explains why it's not building i would appreciate your help on the subject.

Thx

PS: I speak french also if needed.

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2.

mackjb commented 8 years ago

Hi,

Thanks for your return, i'm going to try these images.

Regards

On Sun, Oct 4, 2015 at 10:10 PM, Laurent notifications@github.com wrote:

Hello, I have the same problem in compile, but image is compiled and avaiblable in http://downloads.overthebox.ovh/trunk/x86/64/

Regards, Benoit

Le 04/10/2015 20:05, mackjb a écrit :

I try to build and generate overthebox-openwrt image for hosting it in VirtualBox. I build on debian Jesie without issue openwrt standard.

I have the issue that It fails compiling with this error message :

install -m0755 ./files/scollector.config

/home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun/etc/config/scollector find

/home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun -name 'CVS' -o -name '.svn' -o -name '.#/' -o -name '/~'| xargs -r rm -rf Package bosun is missing dependencies for the following libraries: libc.so.6 libpthread.so.0 Makefile:59: recipe for target

'/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk' failed make[3]: ***

[/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk] Error 1

When i look to the makefile, i have define Package/bosun SECTION:=utils CATEGORY:=OVH TITLE:=add bosum metric monitor DEPENDS:= +libc +libpthread endef

If you have an idea that explains why it's not building i would appreciate your help on the subject.

Thx

PS: I speak french also if needed.

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2.

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2#issuecomment-145384004 .

Cordialement MACK Jean Baptiste

sduponch commented 8 years ago

http://downloads.overthebox.ovh/trunk/x86/64/

You can find a precompiled VDI image from here.

Le 04/10/2015 20:05, mackjb a écrit :

I try to build and generate overthebox-openwrt image for hosting it in VirtualBox. I build on debian Jesie without issue openwrt standard.

I have the issue that It fails compiling with this error message :

install -m0755 ./files/scollector.config /home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun/etc/config/scollector find /home/mackjb/overthebox-openwrt/build_dir/target-x86_64_musl-1.1.10/bosun-0.2.0/ipkg-x86_64/bosun -name 'CVS' -o -name '.svn' -o -name '.#/' -o -name '/~'| xargs -r rm -rf Package bosun is missing dependencies for the following libraries: libc.so.6 libpthread.so.0 Makefile:59: recipe for target '/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk' failed make[3]: *\ [/home/mackjb/overthebox-openwrt/bin/x86/packages/overthebox/bosun_0.2.0-0.7_x86_64.ipk] Error 1

When i look to the makefile, i have define Package/bosun SECTION:=utils CATEGORY:=OVH TITLE:=add bosum metric monitor DEPENDS:= +libc +libpthread endef

If you have an idea that explains why it's not building i would appreciate your help on the subject.

Thx

PS: I speak french also if needed.

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2.

chruldt commented 8 years ago

I get exactly the same error on mips32...

BenJule commented 8 years ago

Hmmm any solution?

manu67a commented 8 years ago

Hi,

I have created my own image due to missing network drivers and all compiles fine. In case you need one, I have a .53 version available.

BenJule commented 8 years ago

Need an Image for my https://wiki.openwrt.org/toh/hwdata/tp-link/tp-link_tl-wr1043nd

chruldt commented 8 years ago

Without bosun and overthebox it compiles but there doesn't seem to be any traces of mptcp?

sduponch commented 8 years ago

Maybe you did not have the good branch.

 git clone https://github.com/ovh/overthebox-openwrt.git -b overthebox
 cd overthebox-openwrt
 ./scripts/feeds update -a
 ./scripts/feeds install -a -p overthebox
 ./scripts/feeds install -p overthebox -f netifd
 ./scripts/feeds install -a
 cp _.config.DE3815TYKE .config
 make menuconfig
 make V=s -j9

Best regards, DUPONCHEEL Sébastien

Le 23/11/2015 12:03, chruldt a écrit :

Without bosun and overthebox it compiles but there doesn't seem to be any traces of mptcp?

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2#issuecomment-158905309.

BenJule commented 8 years ago

Bonjour Sébastien,

Is overthebox still working with ar71xx tl-wr1043ndv1?

Greetz /Ben

sduponch commented 8 years ago

OverTheBox is mainly designed to run on x86 Nuc with AES-NI, but it could be ported on any device having AES accelerator (excluding golang bossun package).

I think ar71xx is not powerfull enougth to support OverTheBox at full speed (i expect 6Mbits max). Currently, i am porting it on ARMv8 based device like Nvidia Shield tv (Jetson X1).

Best regards, DUPONCHEEL Sébastien.

Le 23/11/2015 18:09, BenJule a écrit :

Bonjour Sébastien,

Is overthebox still working with ar71xx tl-wr1043ndv1?

Greetz /Ben

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2#issuecomment-158998507.

manu67a commented 8 years ago

@BenJule ,

Still need an image for ar71xx ? If yes pick below the one you need and I send it here if possible:

openwrt-ar71xx-nand-r6100-initramfs-uImage.bin openwrt-ar71xx-nand-R6100-rootfs.tar.gz openwrt-ar71xx-nand-rootfs.cpio.gz openwrt-ar71xx-nand-uImage-gzip.bin openwrt-ar71xx-nand-uImage-initramfs-gzip.bin openwrt-ar71xx-nand-uImage-initramfs-lzma.bin openwrt-ar71xx-nand-uImage-lzma.bin openwrt-ar71xx-nand-vmlinux.bin openwrt-ar71xx-nand-vmlinux.elf openwrt-ar71xx-nand-vmlinux.gz openwrt-ar71xx-nand-vmlinux-initramfs.bin openwrt-ar71xx-nand-vmlinux-initramfs.elf openwrt-ar71xx-nand-vmlinux-initramfs.gz openwrt-ar71xx-nand-vmlinux-initramfs.lzma openwrt-ar71xx-nand-vmlinux-initramfs-lzma.elf openwrt-ar71xx-nand-vmlinux.lzma openwrt-ar71xx-nand-vmlinux-lzma.elf

Rgds

Manu

chruldt commented 8 years ago

@Sébastien, yes, a fresh checkout did compile, now I just try to make it small enough for my tp wdr4300 :-)

BenJule commented 8 years ago

@chruldt please let me know, when ure WDR4300 is running fine! @manu67a its possible to upgrade my openwrt with your Images?

Greetz Ben

manu67a commented 8 years ago

@BenJule, yes sure, just let me know the files you need so I can send it where you need it.

BenJule commented 8 years ago

@manu67a ar71xx-tl-wr1043ndv1-squashfs-upgrade.bin

chruldt commented 8 years ago

@BenJule, I got it small enough, it's running fine but there is no /proc/sys/net/mptcp which makes me believe I killed mptcp even though it's ticked in make menuconfig and in make kernel_menuconfig ...

simon commented 8 years ago

@chruldt do you use the 3.18-20 kernel ? we added mptcp for 3.18 kernel only : https://github.com/ovh/overthebox-openwrt/blob/overthebox/target/linux/generic/patches-3.18/000-mptcp-v3.18.20-d9f79bfb58af.patch

sduponch commented 8 years ago

Make sure you are in the 'overthebox' branch (https://github.com/ovh/overthebox-openwrt/tree/overthebox).

Le 26/11/2015 20:32, chruldt a écrit :

@BenJule https://github.com/BenJule, I got it small enough, it's running fine but there is no /proc/sys/net/mptcp which makes me believe I killed mptcp even though it's ticked in make menuconfig and in make kernel_menuconfig ...

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2#issuecomment-159982828.

chruldt commented 8 years ago

Hmm, I was sure I was in the right branch but uname says linux 4.1...

BenJule commented 8 years ago

Image

(http://downloads.overthebox.ovh/trunk/x86/64/openwrt-x86-64-combined-ext4.vdi)

Virtualbox Settings

  1. Network with 2 devices
    • device 1 Networkbridge
    • device 2 Intern Network
  2. Storage Type
    • IDE Controller removed
    • Added SATA Controller and link to .vdi image

OpenWRT Bootsequence

OpenWRT Boot: Alt Text

After hit ENTER: Alt Text

ifconfig eth0: Alt Text

ifconfig if0: Alt Text

ifconfig if1: Alt Text

Any idea why isnt luci working? I can only ping the vm ip!

sduponch commented 8 years ago

Hi,

Do you have a lan interface ?

If not, try to add the follwing cfg in /etc/config/network and reboot.

config interface 'lan' option multipath 'off' option ifname 'lan' option type 'macvlan' option interface 'eth0' option proto 'static' option ipaddr '192.168.0.10' option netmask '255.255.255.0' option metric '0'

Best regards, DUPONCHEEL Sébastien

Le 19/01/2016 15:34, BenJule a écrit :

Image

(http://downloads.overthebox.ovh/trunk/x86/64/openwrt-x86-64-combined-ext4.vdi)

Virtualbox Settings
  1. Network with 2 devices
    • device 1 Networkbridge
    • device 2 Intern Network
  2. Storage Type

    • IDE Controller removed
    • Added SATA Controller and link to .vdi image

    OpenWRT Bootsequence

OpenWRT Boot: Alt Text https://camo.githubusercontent.com/128f184356b882b6ddf571cd9511fff43d92f5ec/687474703a2f2f7075752e73682f6d427763442f383063313338623631362e706e67

After hit ENTER: Alt Text https://camo.githubusercontent.com/93673e5419c7b16365498e9bf2febe88f3c348fa/687474703a2f2f7075752e73682f6d427776442f663530313337663066392e706e67

ifconfig eth0: Alt Text https://camo.githubusercontent.com/88ac80c1003078cf5257f88737e2e3095c7c0f28/687474703a2f2f7075752e73682f6d427745652f373265376262326465322e706e67

ifconfig if0: Alt Text https://camo.githubusercontent.com/f4103bdb7470c3dd8af8e7ff7e307368b28154e9/687474703a2f2f7075752e73682f6d42786c702f626538626532303939302e706e67

ifconfig if1: Alt Text https://camo.githubusercontent.com/2cca33518347b4d5839f3f8eb668ea7ce86f811c/687474703a2f2f7075752e73682f6d42786f782f623830316462373963622e706e67

Any idea why isnt luci working? I can only ping the vm ip!

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2#issuecomment-172871193.

sduponch commented 8 years ago

You can also try to swap macvlan master interface from eth0 to eth1 (except for if1)

Le 19/01/2016 15:42, DUPONCHEEL Sébastien a écrit :

Hi,

Do you have a lan interface ?

If not, try to add the follwing cfg in /etc/config/network and reboot.

config interface 'lan' option multipath 'off' option ifname 'lan' option type 'macvlan' option interface 'eth0' option proto 'static' option ipaddr '192.168.0.10' option netmask '255.255.255.0' option metric '0'

Best regards, DUPONCHEEL Sébastien

Le 19/01/2016 15:34, BenJule a écrit :

Image

(http://downloads.overthebox.ovh/trunk/x86/64/openwrt-x86-64-combined-ext4.vdi)

Virtualbox Settings
  1. Network with 2 devices
    • device 1 Networkbridge
    • device 2 Intern Network
  2. Storage Type

    • IDE Controller removed
    • Added SATA Controller and link to .vdi image

    OpenWRT Bootsequence

OpenWRT Boot: Alt Text https://camo.githubusercontent.com/128f184356b882b6ddf571cd9511fff43d92f5ec/687474703a2f2f7075752e73682f6d427763442f383063313338623631362e706e67

After hit ENTER: Alt Text https://camo.githubusercontent.com/93673e5419c7b16365498e9bf2febe88f3c348fa/687474703a2f2f7075752e73682f6d427776442f663530313337663066392e706e67

ifconfig eth0: Alt Text https://camo.githubusercontent.com/88ac80c1003078cf5257f88737e2e3095c7c0f28/687474703a2f2f7075752e73682f6d427745652f373265376262326465322e706e67

ifconfig if0: Alt Text https://camo.githubusercontent.com/f4103bdb7470c3dd8af8e7ff7e307368b28154e9/687474703a2f2f7075752e73682f6d42786c702f626538626532303939302e706e67

ifconfig if1: Alt Text https://camo.githubusercontent.com/2cca33518347b4d5839f3f8eb668ea7ce86f811c/687474703a2f2f7075752e73682f6d42786f782f623830316462373963622e706e67

Any idea why isnt luci working? I can only ping the vm ip!

— Reply to this email directly or view it on GitHub https://github.com/ovh/overthebox-openwrt/issues/2#issuecomment-172871193.

BenJule commented 8 years ago

okay the ping to (x.tld) & (all int ip) is working now! If i open Webbrowser like (192.168.1.15) i get an ERR_CONNECTION_TIMED_OUT!

BenJule commented 8 years ago

nothing! if i switch from Bridged to NAT, virtualbox is starting openwrt in read only!

silopolis commented 8 years ago

Hi, just beginning to play with OverTheBox under VirtualBox so, first, big thanks goes to OVH for making this FOSS and to the smart folks at hand there !

As I could as easily have spent hours on this, it may be good to mention somewhere that the IDE controler should be removed and the VHD configured on a SATA controler to avoid the boot to freeze at "Switched to clocksource tsc".

Thanks again for all.