Re: [9fans] applying a patch on 9front

2023-02-01 Thread Chris Gorman
Hi jimerickso,

I'm a bit of a newbie when it comes to plan9, so you've run into
something I haven't seen yet.  Sorry I can't be of more help.  My
experience was that I couldn't get the system to recognise and
authenticate the wifi so it would connect to the network at boot.  I
modified my plan9.ini with

ether0=type=iwl essid=MYESSID debug=1
wpapsk=WPAPASSWORD

For some reason this failed to authenticate and connect my machine to
my localnet.

I could however run the following once my machine was up and the wifi worked.

bind -a '#l1' /net
echo 'key proto=wpapsk essid=MYESSID !password=WPAPASSWORD' >> /mnt/factotum/ctl
aux/wpa -2p -s MYESSID /net/ether1
ip/ipconfig ether /net/ether1

At any rate we should probably move this to the 9front email list if
we need to discuss it further.

Best regards,

Chris


On Wed, Feb 1, 2023 at 1:55 PM  wrote:
>
> thank you kindly chris gorman! i got the patch to apply and got it to connect 
> at boot. but when it connects rio wont start. when it doesn't connect rio 
> starts. not sure what to do.
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-M589548e2962b93688925892d
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread ori
Quoth jimeric...@gmail.com:
> thank you kindly chris gorman! i got the patch to apply and got it to connect 
> at boot. but when it connects rio wont start. when it doesn't connect rio 
> starts. not sure what to do.

there's nowhere near enough information to help you;
you'll need to be more specific.

read:

https://www.mikeash.com/getting_answers.html



--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-M19a47f412f6816fe91d324f4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread jimerickso
thank you kindly chris gorman! i got the patch to apply and got it to connect 
at boot. but when it connects rio wont start. when it doesn't connect rio 
starts. not sure what to do.
--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-Me6cd261ed88082bbe4252ed0
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription


Re: [9fans] applying a patch on 9front

2023-02-01 Thread Chris Gorman
HI jimerickso,

To get the patch to apply on my system, I used

cd /sys/src/9/pc
cat $home/etheriwl.c.diff | ape/patch -p5

Then you need to copy iwm-7265-17 from the openbsd firmware blobs and
put it into /lib/firmware, then build your kernel.

This will configure the iwm-7265-17 firmware blob to load with an
ac-7265.  Unfortunately, not all ac-7265's require this particular
blob.  I have another one that requires the iwm-7265D-29.  It also
identifies itself with the same pci id, 0x095a, so there is no way to
differentiate which firmware to load at the moment.  You have to know
what firmware the ac-7265 needs and then code etheriwl.c to suit.

Good luck and I hope you get your wireless working.  I kind of gave up
on mine as I couldn't get it to work at boot, but if you get it
working let me know.

Best regards,

Chris


On Wed, Feb 1, 2023 at 8:05 AM  wrote:
>
> i am trying to patch etheriwl.c on 9front. the patch is available on this 
> list under the topic "modification of etheriwl.c for intel ac 7265". however 
> i can not get the patch to apply. how do i do this? i have tried both 
> 'git/import' and 'ape/patch' to no avail. any help would be appreciated. 
> thanks for your time.
>
> 9fans / 9fans / see discussions + participants + delivery options Permalink

--
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T7978718c750df254-M6d0484c20d9c05d3f5b17605
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription