Comments (19)
from heliport.
I am sorry @ErrorErrorError I think I can't provide what you need. I do not run Xcode, I am on Mojave too. I ran the pre-compiled HeliPort.app from https://github.com/1hbb/OpenIntelWireless-Factory/releases
I am simply a power user not a developer :-( Let me know if I can do anything else to helping you?As the driver does show the Router and DNS etc. in System Preferences via DHCP (not manually entered) is there no way to see how itlwm works maybe? (just an idea, possibly not even working the same way...)
If you don't mind, can you open terminal and type scutil
and press enter. After that, you should see a right arrow symbol,>
. I want you to type show State:/Network/Global/IPv4
and let me know if you see any information regarding router IP.
from heliport.
a) Write on the main page that users are advised to disable IPv6 via Terminal (as System Preferences drop-down list doesn't contain OFF anymore by default)
Why should they disable IPv6? It's not an issue with IPv6. It's an issue with the primary interface was connected to en0
and not en1
. I could remove the checking if the primary interface returns en1
, but I am not sure if that is the best way to do it since I also have to consider VPN now.
b) Change the text label "Address" to "MAC Address" on your menu list, just as it's shown in System Preferences -> Network -> Device properties. "Address" prompts to IP, without the word "MAC" (although a n00b may not distinguish IP and xx:xx:xx:xx LOL)
That is a question for @williambj1 since Apple does not do that on their Wi-Fi interface.
from heliport.
OK sure, sorry, I thought disabling IPv6 was the culprit here. Let me re-enable and reboot again a couple of times and report back. But as en1
does get a Router, even with en0
active, should we not get it displayed in HeliPort?
As for the "Address" word, fine by me. Who am I to argue with Apple's stylistic choices :-D
from heliport.
@ErrorErrorError seems it only returns the primary network. A workaround I can think of is to parse the routing table.
An example: to get the gateway addr of en1
netstat -rn | egrep -o "default.*en1" | egrep -o "\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" # ipv4
from heliport.
@mackonsti Do you have any logs that print out on Xcode? I wan't to know if it doesn't find the interface or ip address since it uses SystemConfiguration, which is the recommended API from Apple to find out network state.
from heliport.
I am sorry @ErrorErrorError I think I can't provide what you need. I do not run Xcode, I am on Mojave too. I ran the pre-compiled HeliPort.app from https://github.com/1hbb/OpenIntelWireless-Factory/releases
I am simply a power user not a developer :-( Let me know if I can do anything else to helping you?
As the driver does show the Router and DNS etc. in System Preferences via DHCP (not manually entered) is there no way to see how itlwm works maybe? (just an idea, possibly not even working the same way...)
I would be happy to test a debug-verbose version of HeliPort that you could provide, if you have time, so I can copy-paste the output from Console etc. for your information?
from heliport.
Of course. Here it is. I do get Router value. Had to disable en0
first (the Ethernet controller) and repeated the command once WLAN en1
had connected to my router:
$ scutil
> show State:/Network/Global/IPv4
<dictionary> {
PrimaryInterface : en0
PrimaryService : C6D7BE42-DB00-4CE9-8F17-1CC78F9EABA1
Router : 192.168.1.1
}
> show State:/Network/Global/IPv4
<dictionary> {
PrimaryInterface : en1
PrimaryService : 84278F6F-6984-497E-B557-4714EFF85CE0
Router : 192.168.1.1
}
> quit
from heliport.
Hm, can you check if you see the router address showing in HeliPort? The commands seems to work fine so it should get those same results.
from heliport.
Yes now I can see it!
I think that after turning the Wireless controller OFF then ON, I can see it. Because straight from boot time, it doesn't seem to work (with HeliPort auto-started). Just a hunch. I can reboot soon, to check again. Could this be the case?
WAIT: In the meantime, after posting my original message, I had disabled the device (named "Wireless" in System Preferences) via Terminal IPv6 could this be it?
networksetup -setv6off Wireless
I am rebooting now...
from heliport.
I think that after turning the Wireless controller OFF then ON, I can see it. Because straight from boot time, it doesn't seem to work (with HeliPort auto-started). Just a hunch. I can reboot soon, to check again. Could this be the case?
It returns unknown because the primary interface was not en1
, instead it was en0
, as from the first time you ran show State:/Network/Global/IPv4
it showed en0
however HeliPort expected en1
.
Had to disable
en0
first (the Ethernet controller) and repeated the command once WLANen1
had connected to my router:
This is what fixed your issue since itlwm interface is under en1
and for some reason en0
was the primary connected interface.
from heliport.
OK so after rebooting and with en0
pre-disabled, I do get Router now displayed, with IPv6 disabled too:
Please, a kind request:
a) Write on the main page that users are advised to disable IPv6 via Terminal (as System Preferences drop-down list doesn't contain OFF anymore by default)
b) Change the text label "Address" to "MAC Address" on your menu list, just as it's shown in System Preferences -> Network -> Device properties. "Address" prompts to IP, without the word "MAC" (although a n00b may not distinguish IP and xx:xx:xx:xx LOL)
Not sure if this is solved now? Have you guys been able to run only IPv6 with this driver?
from heliport.
OK sure, sorry, I thought disabling IPv6 was the culprit here. Let me re-enable and reboot again a couple of times and report back. But as
en1
does get a Router, even withen0
active, should we not get it displayed in HeliPort?
No worries I see why you say that lol. And technically yes you do get your router IP address, however en0
is not from itlwm, as it shows the itlwm interface name on top of HeliPort, which it why it fails the condition and returns Unknown
in HeliPort. Right now I am checking to see if I can just get the router ip for a specific interface regardless if it's primary or not.
from heliport.
Right now I am checking to see if I can just get the router ip for a specific interface regardless if it's primary or not.
Not a bad idea! Hope you come up with something neat and clever!
So I rebooted with en0
disabled and then rebooted as enabled, and despite some system freezing and me being forced to turn off then on again the itlwm driver (when being the only network active device in Mojave) it seems that if en0
is assigned to active Ethernet and itlwm as en1
then HeliPort does indeed get Router=Unknown. I have re-enabled IPv6 for all devices (LAN/WLAN) by the way...
However, I found a couple of other issues, not sure if you want me to create tickets, so I take the opportunity to ask you:
a) If you turn OFF Wi-Fi via HeliPort and back ON, there's no indicator (like that rotating icon, perhaps next to Turn WiFi On label) to indicate you that a scan is being done; the drop-down list is empty. It takes 5 seconds to show nearby SSIDs. Expected behaviour, but the macOS rotating icon would be welcome.
b) If the itlmw.kext driver's Info.plist
contains a valid SSID like the one I insert (due to custom editing it and entering my SSID/password) it seems that this may confuse HeliPort and won't load the last-saved SSID. For example, in Info.plist
I set WiFi_1
as my 2.4GHz SSID; but with HeliPort I choose each time (manually) the 5GHz SSID.
Should I delete all <key>WiFiConfig</key>
dictionary entries in the kext i.e. WiFi_1
to WiFi_4
keys? Is this expected behaviour of HeliPort? If I don't auto-run-on-login HeliPort and I let the system boot OK, thus having initialised the kext, and then I manually run HeliPort, I do get the last-used SSID to be connected...
c) If I set itlwm to OFF via HeliPort, and I reboot, it seems that this "OFF" state is not respected without having HeliPort being executed/run; it seems HeliPort-dependent i.e. it doesn't set the device to "inactive" same as in System Preferences. This is expected behaviour?
Thank you! (sorry.... part of my job is IT specs validation at work :-D )
from heliport.
However, I found a couple of other issues, not sure if you want me to create tickets, so I take the opportunity to ask you:
If they are other issues that have not been created I would recommend creating an issue so it can be tracked easier. If it's a feature request, like scanning for networks, pls mark it as feature request or it's corresponding issue,bug, feature request etc...
So I rebooted with en0 disabled and then rebooted as enabled, and despite some system freezing and me being forced to turn off then on again the itlwm driver (when being the only network active device in Mojave) it seems that if en0 is assigned to active Ethernet and itlwm as en1 then HeliPort does indeed get Router=Unknown. I have re-enabled IPv6 for all devices (LAN/WLAN) by the way...
Does en0
have a Network connection and is it being used instead of the Wireless itlwm?
from heliport.
I will create the other tickets, thanks. Of course I will discriminate between request and bug.
Does
en0
have a Network connection and is it being used instead of the Wireless itlwm?
Yes it's cable Ethernet plugged in and using IntelMausi.kext by acidanthera.
from heliport.
That's actually quite odd since we get BSD name directly from itlwm's API &drv_info.bsd_name.0
CC @zxystd
from heliport.
That's actually quite odd since we get BSD name directly from itlwm's API
&drv_info.bsd_name.0
I mean I don't think it's an issue with itlwm or bsd, I just think that the priority of his system is not on the Wireless, but instead on the ethernet interface. You can have two, or more active network interfaces but only one of them is going to be used, and that is the one who is the one that should prioritize.
The only way I can get the router IP is from the network interface that has the priority since that is where the system is getting the connection from.
Edit: I mean yeah sure I can remove the precondition of BSD however that will mean even if the wifi is not the one that is being used as primary it will still get the router address but from the primary.
HeliPort/HeliPort/NetworkManager.swift
Line 222 in c8d0a71
from heliport.
Yes @ErrorErrorError you are correct, my "service order" (to talk Apple) was Ethernet first:
I wasn't aware that two or more active network devices (and with IP, I must stress) despite being both active, only the first would be used. I was under the impression there was some mild load balancing LOL. Merci
from heliport.
Related Issues (20)
- [Bug] 10.12.6 需要输入wifi密码的时候没有对话框 HOT 3
- [Feature Request] Wpa2 enterpise HOT 1
- [Feature Request] Any way to control Wifi ON or OFF from command line in Heliport? HOT 3
- wifi密码输入错误之后无法再次更改密码?[Bug] HOT 2
- [Bug] itlwm not running
- [Feature Request] Add option to auto-save unencrypted WIFI for auto-join
- [Bug] HOT 1
- [突然搜索不到列表了,无法开启wifi] HOT 1
- Wifi can't enable after turn off wifi , need restart to turn on wifi HOT 3
- [Bug] 关闭WiFi后无法重新打开 HOT 1
- [Feature Request] Custom BSSID HOT 4
- [Bug]
- Can this work on my dell?
- Minor UI bug on available WIFIs listing
- [Bug]: Heliport crashes HOT 1
- [Bug] Auto join preference not saved HOT 1
- [Request]: AdHoc sign the app HOT 7
- [Bug]: WPA3 not connect
- [Bug]: Bugged network list on Sonoma 14.0 HOT 11
- [Bug]: itlwm未运行 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heliport.