Re: urtwm -> rtwm

2016-11-02 Thread Daniel Braniss

> On 2 Nov 2016, at 15:54, Mattia Rossi  
> wrote:
> 
> 
>>> Hi!
>>> 
>>> rtwn_usb(4) depends on rtwn(4) module; you can try to
>>> 1) add them to the kernel config;
>>> 2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables
>>> 3) compile / install them manually
>>> 
>>> P.S. There is no 'rtwm' module in the tree; what is the exact error message
>>> where it was?
>> the problem was that if_rtwn.ko was not compiled!
>> all the others where, i.e. if_rtwn_[pci,usb].ko.
>> I added all of them to the config, and now it seems to work
>> 
>> so the problem is that the loadable module if_rtwn.ko is NOT compiled
>> by default, while all the others are,
>> what is the magic to have it compiled?
> From my experience you always have to specify all modules and the modules 
> they depend on. I for example had to specify this for zfs support in the 
> config file:
> 
> makeoptions MODULES_OVERRIDE="zfs opensolaris acl_nfs4"
> 
> I actually only wanted zfs, which depends on opensolaris which then again 
> depends on acl_nfs4 (probably because I sepcified nfs4 support in the config 
> file)
> 

not from my experience, the fact that all the other rtwn- where there means that
somewhere there is a missing directive.

> I only found out after a few tries. It's really not ideal, that module 
> dependencies are not resolved.
> But once you know about it, you can live with it :-)
> 
>> 
>> BTW, I tried this on RPI2, and now will try on an orangepi one.
> Is that the SDIO based internal WiFi? Let me know if it works!
> 

no, this is the cheapest orange one, with one usb, so it’s a wifi dongle.
my orange pi plus, with the onboard wifi, i managed to fry :-(

cheers,
danny

> Cheers,
> 
> Mat
> 
> On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:
> 
> hi,
> between r30666 and r30808 i lost my wireless,
 s/r30666/r306333/ and s/r30808/r308087/
 
> so reading UPDATE clarified why, I also did a mergemaster so now devd 
> et.all. seem to be in sync,
> but now devd complains that if_rtwn_usb depends on rtwm and there is no 
> rtwn, instead there are
> several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko
> 
> this is what the old urtwn has to say:
> ...
> Starting devd.
> wlan: <802.11 Link Layer>
> urtwn0 on uhub1
> urtwn0:  on usbus0
> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
> urtwn0: enabling 11n
> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
> 24Mbps 36Mbps 48Mbps 54Mbps
> urtwn0: 1T1R
> urtwn0: 11ng MCS 20MHz
> urtwn0: MCS 0-7: 6.5Mbps - 65Mbps
> 
> please help
> 
> thanks,
>   danny
> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
 ___
 freebsd-wirel...@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
 To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
>> ___
>> freebsd-current@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: urtwm -> rtwm

2016-11-02 Thread Mattia Rossi



Hi!

rtwn_usb(4) depends on rtwn(4) module; you can try to
1) add them to the kernel config;
2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables
3) compile / install them manually

P.S. There is no 'rtwm' module in the tree; what is the exact error message
where it was?

the problem was that if_rtwn.ko was not compiled!
all the others where, i.e. if_rtwn_[pci,usb].ko.
I added all of them to the config, and now it seems to work

so the problem is that the loadable module if_rtwn.ko is NOT compiled
by default, while all the others are,
what is the magic to have it compiled?
From my experience you always have to specify all modules and the 
modules they depend on. I for example had to specify this for zfs 
support in the config file:


makeoptions MODULES_OVERRIDE="zfs opensolaris acl_nfs4"

I actually only wanted zfs, which depends on opensolaris which then 
again depends on acl_nfs4 (probably because I sepcified nfs4 support in 
the config file)


I only found out after a few tries. It's really not ideal, that module 
dependencies are not resolved.

But once you know about it, you can live with it :-)



BTW, I tried this on RPI2, and now will try on an orangepi one.

Is that the SDIO based internal WiFi? Let me know if it works!

Cheers,

Mat


On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:

hi,
between r30666 and r30808 i lost my wireless,

s/r30666/r306333/ and s/r30808/r308087/


so reading UPDATE clarified why, I also did a mergemaster so now devd et.all. 
seem to be in sync,
but now devd complains that if_rtwn_usb depends on rtwm and there is no rtwn, 
instead there are
several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko

this is what the old urtwn has to say:
...
Starting devd.
wlan: <802.11 Link Layer>
urtwn0 on uhub1
urtwn0:  on usbus0
urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
urtwn0: enabling 11n
urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
urtwn0: 1T1R
urtwn0: 11ng MCS 20MHz
urtwn0: MCS 0-7: 6.5Mbps - 65Mbps

please help

thanks,
danny

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

___
freebsd-wirel...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: urtwm -> rtwm

2016-11-02 Thread Daniel Braniss

> On 1 Nov 2016, at 23:13, Idwer Vollering  wrote:
> 
> 2016-10-31 20:37 GMT+01:00 Andriy Voskoboinyk  >:
>> Sun, 30 Oct 2016 14:32:18 +0200 було написано Daniel Braniss
>> >:
>> 
>> Hi!
>> 
>> rtwn_usb(4) depends on rtwn(4) module; you can try to
> 
> These change(s) require you to manually run 'service netif start
> wlan', in order to have an (USB) device associate and configure an
> IP address.
> Is this change related:
> https://svnweb.freebsd.org/base/head/etc/devd.conf?r1=304504=307529 
> 
> ?

that is not my problem.
the problem was that the driver if_rtwn.ko was not available/compiled.
only when I added device rtwn to the config file, the missing driver was 
compiled.


> 
>> 1) add them to the kernel config;
>> 2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables
>> 3) compile / install them manually
>> 
>> P.S. There is no 'rtwm' module in the tree; what is the exact error message
>> where it was?
>> 
>> 
>>> 
 On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:
 
 hi,
 between r30666 and r30808 i lost my wireless,
>>> 
>>> s/r30666/r306333/ and s/r30808/r308087/
>>> 
 so reading UPDATE clarified why, I also did a mergemaster so now devd
 et.all. seem to be in sync,
 but now devd complains that if_rtwn_usb depends on rtwm and there is no
 rtwn, instead there are
 several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko
 
 this is what the old urtwn has to say:
 ...
 Starting devd.
 wlan: <802.11 Link Layer>
 urtwn0 on uhub1
 urtwn0:  on usbus0
 urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
 urtwn0: enabling 11n
 urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
 urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
 24Mbps 36Mbps 48Mbps 54Mbps
 urtwn0: 1T1R
 urtwn0: 11ng MCS 20MHz
 urtwn0: MCS 0-7: 6.5Mbps - 65Mbps
 
 please help
 
 thanks,
danny
 
 ___
 freebsd-current@freebsd.org mailing list
 https://lists.freebsd.org/mailman/listinfo/freebsd-current
 To unsubscribe, send any mail to
 "freebsd-current-unsubscr...@freebsd.org"
>>> 
>>> 
>>> ___
>>> freebsd-wirel...@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>>> To unsubscribe, send any mail to
>>> "freebsd-wireless-unsubscr...@freebsd.org"
>> 
>> ___
>> freebsd-wirel...@freebsd.org  mailing 
>> list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless 
>> 
>> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org 
>> "

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: urtwm -> rtwm

2016-11-01 Thread Idwer Vollering
2016-10-31 20:37 GMT+01:00 Andriy Voskoboinyk :
> Sun, 30 Oct 2016 14:32:18 +0200 було написано Daniel Braniss
> :
>
> Hi!
>
> rtwn_usb(4) depends on rtwn(4) module; you can try to

These change(s) require you to manually run 'service netif start
wlan', in order to have an (USB) device associate and configure an
IP address.
Is this change related:
https://svnweb.freebsd.org/base/head/etc/devd.conf?r1=304504=307529
?

> 1) add them to the kernel config;
> 2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables
> 3) compile / install them manually
>
> P.S. There is no 'rtwm' module in the tree; what is the exact error message
> where it was?
>
>
>>
>>> On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:
>>>
>>> hi,
>>> between r30666 and r30808 i lost my wireless,
>>
>> s/r30666/r306333/ and s/r30808/r308087/
>>
>>> so reading UPDATE clarified why, I also did a mergemaster so now devd
>>> et.all. seem to be in sync,
>>> but now devd complains that if_rtwn_usb depends on rtwm and there is no
>>> rtwn, instead there are
>>> several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko
>>>
>>> this is what the old urtwn has to say:
>>> ...
>>> Starting devd.
>>> wlan: <802.11 Link Layer>
>>> urtwn0 on uhub1
>>> urtwn0:  on usbus0
>>> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>>> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
>>> 24Mbps 36Mbps 48Mbps 54Mbps
>>> urtwn0: 1T1R
>>> urtwn0: 11ng MCS 20MHz
>>> urtwn0: MCS 0-7: 6.5Mbps - 65Mbps
>>>
>>> please help
>>>
>>> thanks,
>>> danny
>>>
>>> ___
>>> freebsd-current@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to
>>> "freebsd-current-unsubscr...@freebsd.org"
>>
>>
>> ___
>> freebsd-wirel...@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> To unsubscribe, send any mail to
>> "freebsd-wireless-unsubscr...@freebsd.org"
>
> ___
> freebsd-wirel...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: urtwm -> rtwm

2016-11-01 Thread Daniel Braniss

> On 31 Oct 2016, at 21:37, Andriy Voskoboinyk  wrote:
> 
> Sun, 30 Oct 2016 14:32:18 +0200 було написано Daniel Braniss 
> :
> 
> Hi!
> 
> rtwn_usb(4) depends on rtwn(4) module; you can try to
> 1) add them to the kernel config;
> 2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables
> 3) compile / install them manually
> 
> P.S. There is no 'rtwm' module in the tree; what is the exact error message
> where it was?

the problem was that if_rtwn.ko was not compiled!
all the others where, i.e. if_rtwn_[pci,usb].ko.
I added all of them to the config, and now it seems to work

so the problem is that the loadable module if_rtwn.ko is NOT compiled
by default, while all the others are, 
what is the magic to have it compiled?

BTW, I tried this on RPI2, and now will try on an orangepi one.

thanks,
danny

> 
>> 
>>> On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:
>>> 
>>> hi,
>>> between r30666 and r30808 i lost my wireless,
>> s/r30666/r306333/ and s/r30808/r308087/
>> 
>>> so reading UPDATE clarified why, I also did a mergemaster so now devd 
>>> et.all. seem to be in sync,
>>> but now devd complains that if_rtwn_usb depends on rtwm and there is no 
>>> rtwn, instead there are
>>> several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko
>>> 
>>> this is what the old urtwn has to say:
>>> ...
>>> Starting devd.
>>> wlan: <802.11 Link Layer>
>>> urtwn0 on uhub1
>>> urtwn0:  on usbus0
>>> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
>>> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
>>> 24Mbps 36Mbps 48Mbps 54Mbps
>>> urtwn0: 1T1R
>>> urtwn0: 11ng MCS 20MHz
>>> urtwn0: MCS 0-7: 6.5Mbps - 65Mbps
>>> 
>>> please help
>>> 
>>> thanks,
>>> danny
>>> 
>>> ___
>>> freebsd-current@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>> 
>> ___
>> freebsd-wirel...@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
>> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: urtwm -> rtwm

2016-10-31 Thread Andriy Voskoboinyk
Sun, 30 Oct 2016 14:32:18 +0200 було написано Daniel Braniss  
:


Hi!

rtwn_usb(4) depends on rtwn(4) module; you can try to
1) add them to the kernel config;
2) check / fix WITHOUT_MODULES and MODULES_OVERRIDE make.conf(5) variables
3) compile / install them manually

P.S. There is no 'rtwm' module in the tree; what is the exact error message
where it was?




On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:

hi,
between r30666 and r30808 i lost my wireless,

s/r30666/r306333/ and s/r30808/r308087/

so reading UPDATE clarified why, I also did a mergemaster so now devd  
et.all. seem to be in sync,
but now devd complains that if_rtwn_usb depends on rtwm and there is no  
rtwn, instead there are

several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko

this is what the old urtwn has to say:
...
Starting devd.
wlan: <802.11 Link Layer>
urtwn0 on uhub1
urtwn0:  on  
usbus0

urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
urtwn0: enabling 11n
urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps  
24Mbps 36Mbps 48Mbps 54Mbps

urtwn0: 1T1R
urtwn0: 11ng MCS 20MHz
urtwn0: MCS 0-7: 6.5Mbps - 65Mbps

please help

thanks,
danny

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to  
"freebsd-current-unsubscr...@freebsd.org"


___
freebsd-wirel...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to  
"freebsd-wireless-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: urtwm -> rtwm

2016-10-30 Thread Daniel Braniss

> On 30 Oct 2016, at 14:07, Daniel Braniss  wrote:
> 
> hi,
> between r30666 and r30808 i lost my wireless,
s/r30666/r306333/ and s/r30808/r308087/

> so reading UPDATE clarified why, I also did a mergemaster so now devd et.all. 
> seem to be in sync,
> but now devd complains that if_rtwn_usb depends on rtwm and there is no rtwn, 
> instead there are
> several rtwn-rtl8…., the closest being rtwn-rt18188eufw.ko
> 
> this is what the old urtwn has to say:
> ...
> Starting devd.
> wlan: <802.11 Link Layer>
> urtwn0 on uhub1
> urtwn0:  on usbus0
> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R
> urtwn0: enabling 11n
> urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
> 24Mbps 36Mbps 48Mbps 54Mbps
> urtwn0: 1T1R
> urtwn0: 11ng MCS 20MHz
> urtwn0: MCS 0-7: 6.5Mbps - 65Mbps
> 
> please help
> 
> thanks,
>   danny
> 
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"