Jump to content

OpenWRT toolchain


exec4

Recommended Posts

Hello,

Thank you.

I tried that, but

root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk
Installing kmod-usb-net-cdc-ether (4.14.180-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-cdc-ether:
 *      kernel (= 4.14.180-1-d92769dc5268e102503ae83fe968a56c)
 * opkg_install_cmd: Cannot install package kmod-usb-net-cdc-ether.
root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --nodeps
Installing kmod-usb-net-cdc-ether (4.14.180-1) to root...
Configuring kmod-usb-net-cdc-ether.

After that, the mk7 just reboots...

Link to comment
Share on other sites

Hey exec4, 

I looked at the available packages on my pineapple from opkg. It looks like that package isn't available currently. This package was built by the SDK by default for me. Here's a link to my shared Google Drive for the Mk7: https://drive.google.com/drive/folders/1LQUDY6ZtsW90QZlQIUoLQ_nn6vjauhx0?usp=sharing

Navigate to `targets` -> `ramips` -> `mt76x8` -> `packages` to find it.

If your build environment built it (it likely did), you can navigate to the `bin` directory, and go to the same folders I said earlier.

Feel free to contact me directly on Discord at DeathCamel57#5227 if you want to chat about OpenWRT packaging stuff.

Link to comment
Share on other sites

Hey exec4,

Doing some more looking at it, it seems like the pineapple on the beta are running a slightly different kernel version. I'll probably wind up compiling against the kernel version they're running and get you a package for that kernel version (possibly a few days).

Link to comment
Share on other sites

That sounds awesome!

Actually with firmware 1.0.0 I do have the same problem:

root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk
Installing kmod-usb-net-cdc-ether (4.14.180-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-net-cdc-ether:
 *      kernel (= 4.14.180-1-d92769dc5268e102503ae83fe968a56c)
 * opkg_install_cmd: Cannot install package kmod-usb-net-cdc-ether.

 

root@mk7:~# opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --nodeps
Installing kmod-usb-net-cdc-ether (4.14.180-1) to root...
Configuring kmod-usb-net-cdc-ether.
Connection reset by 172.16.42.1 port 22

I

Link to comment
Share on other sites

21 hours ago, Foxtrot said:

You probably want to --force-deps, not --no-deps.

For what it's worth, I'll publish every kmod to the package repositories when the 1.0.1 firmware is launched.

Hello,

I tried that with

opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --force-depends

opkg install kmod-usb-net-cdc-ether_4.14.180-1_mipsel_24kc.ipk --force-depends

But it resets immediately.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 weeks later...

Hello Foxtrot,

I was able to install the kmod for my AWUS036AC, and it looks good at first.

I run "watch -n 0.1 dmesg" and connect it, everything seems fine, I can see some messages for wlan3.
But when I use wlan3 to scan for networks, the Pineapple immediately reboots, I can't even see anything on dmesg output.

is there a way to get my crash dump, or to see there is none and it might be a power fault? My Laptop's USB C schould at least support 2A, and I also think I already tried with an actively powered USB Hub.

Thank you.

Link to comment
Share on other sites

  • 1 month later...

So I tried following, using beta 2 at the moment.

Connect a powered hub to the Pineapples USB A port, with a "Charger doctor" in between to measure power consumption - there is none at any time in this test.

When I connect the USB adapter, following happens:

[  470.704765] usb 1-1.3.4.4: new high-speed USB device number 7 using ehci-platform
[  471.220788] RTL871X: rtw_ndev_init(wlan3)
[  472.043740] IPv6: ADDRCONF(NETDEV_UP): wlan3: link is not ready

Now I disconnect the adapter. The blue LED on the pineapple turns off, the power on the USB A port on the drops to 0v.

It automatically reboots and is online after about 30 seconds, but there is no

Quote

/sys/kernel/debug/crashlog

Any ideas?

Thank you in advance.

Link to comment
Share on other sites

  • 7 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...