NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Raspberry Pi Zero W almost useless



Hello Martin,

Thanks so much for the tip! Kernel compilation was ok now

 I rebooted with the new kernel and I could see the new urtwn0
interface! I wanted to test the interface but I have lost ssh
connection (I am at work and the machine is at home, using ethernet
driver).



netbsd-nuc# ifconfig
wm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=0x7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
        capabilities=0x7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
        capabilities=0x7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
        enabled=0
        ec_capabilities=0x17<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,EEE>
        ec_enabled=0x2<VLAN_HWTAGGING>
        address: 1c:69:7a:0a:83:9d
        media: Ethernet autoselect (1000baseT
full-duplex,flowcontrol,rxpause,txpause)
        status: active
        inet6 fe80::1e69:7aff:fe0a:839d%wm0/64 flags 0 scopeid 0x1
        inet 192.168.1.200/24 broadcast 192.168.1.255 flags 0
urtwn0: flags=0x8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ssid ""
        powersave off
        address: 00:ff:38:30:32:2e
        media: IEEE802.11 autoselect
        status: no network
lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
        status: active
        inet6 ::1/128 flags 0x20<NODAD>
        inet6 fe80::1%lo0/64 flags 0 scopeid 0x3
        inet 127.0.0.1/8 flags 0

netbsd-nuc# ifconfig urtwn0 up
^[[B^[[A


I logged in again and:

NetBSD 10.0_RC3 (MYKERNEL) #0: Thu Feb  8 13:19:32 CET 2024

Welcome to NetBSD!

This is a release candidate for NetBSD.

Bug reports: https://www.NetBSD.org/support/send-pr.html
Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/
netbsd-nuc$ su
Password:
netbsd-nuc# ifconfig
wm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        capabilities=0x7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
        capabilities=0x7ff80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx>
        capabilities=0x7ff80<TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
        enabled=0
        ec_capabilities=0x17<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,EEE>
        ec_enabled=0x2<VLAN_HWTAGGING>
        address: 1c:69:7a:0a:83:9d
        media: Ethernet autoselect (1000baseT
full-duplex,flowcontrol,rxpause,txpause)
        status: active
        inet6 fe80::1e69:7aff:fe0a:839d%wm0/64 flags 0 scopeid 0x1
        inet 192.168.1.200/24 broadcast 192.168.1.255 flags 0
^C

And it hangs there.


Entering again:

Welcome to NetBSD!

This is a release candidate for NetBSD.

Bug reports: https://www.NetBSD.org/support/send-pr.html
Donations to the NetBSD Foundation: https://www.NetBSD.org/donations/
netbsd-nuc$ su
Password:
netbsd-nuc# dmesg | grep urtwn
[     9.228818] urtwn0 at uhub7 port 4
[     9.228818] urtwn0: Realtek (0x0bda) 802.11n (0xf179), rev
2.00/0.00, addr 14
[     9.318814] urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address
00:ff:38:30:32:2e
[     9.318814] urtwn0: 1 rx pipe, 2 tx pipes
[   576.771445] urtwn0: autoconfiguration error: timeout waiting for
firmware readiness
[   616.782378] urtwn0: cannot assign link-local address

I will play at home in front of the machine.

Thanks!
Ramiro


El jue, 8 feb 2024 a las 12:33, Martin Husemann (<martin%duskware.de@localhost>) escribió:
>
> On Thu, Feb 08, 2024 at 12:06:51PM +0100, Ramiro Aceves wrote:
> > Hello,
> >
> >
> > I started playing  tweaking usbdevs file in the Intel Nuc 8i7BEH
> > NetBSD-10_RC3 amd64- I added the line:
> >
> > product REALTEK RTL8188FTV      0xf179  RTL8188FTV
>
> You need to regnerate a few files after changes in sys/dev/usbdevs.
> Try something like:
>
>         cd src/sys/dev/usb
>         make -f Makefile.usbdevs USETOOLS=never
>
> or use nbmake-$arch from $TOOLDIR instead and remove the USETOOLS=... part.
>
> Martin


Home | Main Index | Thread Index | Old Index