New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DietPi-System | C1+ | Issue to setup WLAN device #273
Comments
@k-plan I've got 2 different WiFi dongles, i will try them on my C1 and see if I get same results. Might be a few days, but i'll set this to v116 so I dont forget :) |
@k-plan I cant see why this is C1 specific. |
@k-plan |
I have tried different for testing. Normally I use: Anker PowerPort 10 (60W 10-Port USB) 5V - 2.4A per Port or 12A total. For special WiFi adapter testing: HN Power HNP18-050 - 5 V/DC 3 A 15 W As well tested WiFi adapter with a additionally active powered USB hub Logitech H-UE5 with PSU 5 V/DC 2.5 A Measurement current draw:
It take a long time, until I have notion, to test it on DietPi Raspberry Pi B+. But with this, it works instantly.
😢 ... please no .... 😢
Will test it. You will get response. Thanks for your help. 👍 |
Set WiFi to static breaks all my network connections .... Must do a After this I tried:
Default locale for the system environment:
Hmmm ... think I will start from the scratch. |
@k-plan
Cant get it to connect, but scans fine. Couldn't find anything obvious in
It looks like a possible kernel issue and/or modules. I found this ticket on the Odroid C1 Kernel: hardkernel/linux#179 When I get some time, I will compile the C1 kernel/modules and retest. If you want to try it also, instructions are here: http://odroid.com/dokuwiki/doku.php?id=en:c1_building_kernel |
Yes, all my tested adapters do scans fine, but no WiFi link connected.
You can try (test): and set up : with following content: now:
Nice, thanks! I have to waiting for this. Where is also a rtl8192cu-fixes USB WiFi driver, but I can't get it on work. |
don't think it's the module. ubuntu-14.04.3lts-lubuntu-odroid-c1-20151020 => Edimax EW-7612UAn V2 working with dhcp
DietPi_v109_Odroid-C1-(Jessie) auto updated to v115 => Edimax EW-7612UAn V2 not working with dhcp
|
Yep, that will prevent the error occurring, but theres no harm in having it there. Its used by some adapters. All DietPi images having the following:
Prevents those common WiFi modules from going into powersaving mode (up and down, up then down lol). I'll compile the C1 kernel today. As per you previous post, modules appear identical. |
Native compile (CC not setup). Can't get uImage to compile:
Code to compile:
|
Restarted from scratch, uImage compiled fine:
|
Same issues with WiFi on this kernel. |
fu ... 😢 Sorry Anyway, many thanks for your help and support. 👍 Does cursor work on display with this kernel? If you like, give me your kernel. I will test it for cursor issue. |
@k-plan Once I finished this compile (did some testing), i'll upload it. |
@k-plan |
yes, I can do so, but really Meveric's image you linked to? Or do you like : http://forum.odroid.com/viewtopic.php?f=114&t=17569 Sorry, but only to be sure ... |
@k-plan |
@k-plan Not sure about |
No problem, here as well. Debian-Jessie-1.0-20160131-C1.img => downloaded with 64 kb/s !!! (what a mess)
Done: " Done: "
👎 Done: "
👎 All tests as well tested with another WiFi-Roter (Channel 4) to connect => also fail! 👎 .... deleting image: Debian-Jessie-1.0-20160131-C1.img |
Testing kernel with DietPi v115
As well missing/invisible cursor on monitor/display ! Cant get it to connect ip via dhcp or static, but scans fine. result: @Fourdee
You can have a look here, but I don't know if it is helpful. http://forum.odroid.com/viewtopic.php?f=111&t=7965#p61873
|
@k-plan C2
Install the following missing packages on your C1, reboot, then try reconnecting wifi
|
@k-plan If you can confirm the issue is resolved for you also, let me know so we can close this ticket 👍 |
@Fourdee (Coding Beast 😄 )
Will it be so easy? I can't believe. Yes, I have tested before to install iw and same other wireless/wifi packages without success. On Meveric's image I have to install, iw, usb-tools, wireless-tools and same more, to get scanning on work. wireless-regdb , crda I have never install. I will test it. |
Because it is v.109, configuration with keyboard and monitor as infrastructure wifi network with dhcp.
it works! 👍 Update to v.116:
After reboot configuration wifi with dhcp via It works! 😄 👍
Configuration wifi with static IP via
😢 👎 |
Now installed DietPi WiFi HotSpot. Tested. Works! 😄 👍 Installed DietPi Tor WiFi Hotspot. Tested. Works! 😄 👍 Should I test some of the other USB Wireless adapters? |
Thanks for the results 👍
Looks like a possible locale + Also, what locale are you running? (eg: en_GB, de_DE) |
@k-plan By forcing
So I'am going to look at adding |
I'll run some tests tomorrow, how are you testing the route, traceroute? I'd like to replicate your tests. |
But simple test:
-> poweroff -> unplug Ethernet cable -> power on the device Can you now connect to wlan0 ip per ssh? This should be the scenario user wanted to have working, if I don't got it all wrong. |
@k-plan I couldn't get round to this today, so apologies for that. I'll give it a spin first chance I get tomorrow. |
@k-plan |
^ looks my lab, but no complaints as it took long enough to get back into free time! |
eth = dhcp Is there any more tests you can think of that can replicate any issues? |
Hehehe - try and bond the two interfaces (no, seriously DO NOT). |
eth1 and wlan are connected to same Layer2 Network (e.g 192.168.0.0/24) Ethernetallow-hotplug eth1 Wifiauto wlan0
-> unplug Ethernet cable
-> plugin Ethernet cable
|
eth1 and wlan are connected to same Layer2 Network (e.g 192.168.0.0/24) Ethernetauto eth1 Wifiauto wlan0
-> unplug Ethernet cable
-> plugin Ethernet cable
|
eth1 and wlan are connected to same Layer2 Network (e.g 192.168.0.0/24) Ethernetauto eth1 Wifiauto wlan0
-> unplug Ethernet cable
-> plugin Ethernet cable
|
eth1 and wlan are connected to same Layer2 Network (e.g 192.168.0.0/24) Ethernetallow-hotplug eth1 Wifiauto wlan0
-> unplug Ethernet cable
-> plugin Ethernet cable
|
allow-hotplug is no solution. There are some more packets: |
Thanks for the test reports, great stuff 👍 . I'll replicate your tests today and see if there is anything we can do about it :) |
Ethernet Wifi
Ethernet Wifi
Ethernet Wifi
Ethernet Wifi
So issues are :
What i'am going to do about (1.):As far as i'am aware, there's nothing much we can do as this is all controlled by the kernel. What i'am going to do about (2.):I'am going to consider rolling out Generally speaking.We expect our users to only use 1 network device, unless they are running WiFi hotspot. Enabling both devices should be a temporary procedure to allow users to configure the other device over SSH, before dropping the other device and its connection. |
Sorry, but I think, we talk at cross-purposes. (the language barrier)
No and yes. If a state of any interface change, it must have to run through The possible solution are: 1.) Use a "network-manager" with or without a GUI (the modern network configuration)
But I think, it is not what you want to do. It's to heavy and not like "diet". So there would be a lot of work at your really well working scripts. 2.) Using some "packets" which do it for you and stay on "The basic network configuration with ifupdown (legacy)”
or
or
All packets are available for armel, armhf, arm64: It is your choice, which way you like or prefer. example:
Sorry for the numerousness of links, but better you read it in one's own right.
Hmm ... , it will/can not help/fix in all possible use cases. http://natisbad.org/dyn-net/index.html But will not keep quiet about possible side effect, please see advisement above. What we want to do as next step? |
a quick test:
Ethernet Wifi
To see what is going on (some debugging):
Repeat testing (unplug/plug eth/wlan in) Will you please test |
Looks promising 👍 , i'll run some tests today and report back. |
@k-plan
Ethernet Wifi unplug eth = Kills both connections I'll try netplug |
Hmm ... have you done |
Yes: |
Netplug working 👍
Also tested with WiFiHotspot installation. Netplug looks like the winner 👍 EDIT: |
Netplug is now in the testing branch: Fourdee@2e19a57 |
no, it will work
auto a quick test (starting from a fresh install v117 testing):
Ethernet Wifi
Working! 😄 👍 *Difference: *
😄 👍
Nice 😄
... another fresh install .... 😢 😢 ... not tested connected with two different broadcast domains
💯 posting to resolve a issue 😆 But I'm really unsure, if it is a good idea to use |
I can't see any negative effects of this across DietPi at the moment. I will keep an eye on it. Interesting results for ifplugd, although I think we will stick with netplug for now, seems to work a treat. With allow-hotplug ifmetric and netplug, all the issues listed in this ticket have now been resolved. Great work on this K-plan 👍
After installing DietPi, do a You can also run the following to update from testing branch:
I've been testing netplug (and all these changes in the ticket) on the C2 and RPi's today, no issues. |
v117 (01/05/16) New Device: DietPi image for VirtualBox (x64) is now available: http://dietpi.com/phpbb/viewtopic.php?f=8&t=390&p=1683#p1683. Many thanks to Xenformation (JK) for implementing this image. Changes / Improvements / Optimizations: DietPi-Software | Added DietPi optimized installation for Mumble VoIP server: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=1691#p1691 DietPi-Config | Added display resolution profiles for Odroid VU7+. DietPi-BugReport | Max filesize limit of bug report uploads capped at 10MB. General | All fuzon.co.uk links have now been replaced with dietpi.com. This completes the recent server move: https://github.com/Fourdee/DietPi/issues/294 General | Begin script optimizations. This will most likely extend over the next several releases. Networking | allow-hotplug has now been rolled out as default for all DietPi systems. Previously, this was set to auto. This basically means you can psyhically unplug/plug the device on the fly, without the need for restarting the networking service: https://github.com/Fourdee/DietPi/issues/305 Bug fixes: DietPi-Config | Resolved an issue where IP details would not show on WiFi, when using both adapters at the same time, and setting wlan static: https://github.com/Fourdee/DietPi/issues/273#issuecomment-213951519 DietPi-Software | Resolved an issue where Oracle Java would fail to install: https://github.com/Fourdee/DietPi/issues/298 DietPi-Software | Resolved an issue where WiFi hotspot would not function on the Odroid C2. arm64 binary has been compiled with RTL drivers enabled: https://github.com/Fourdee/DietPi/issues/303 DietPi-Set_Soundcard | Resolved an issue where changing addon RPi soundcards failed to enable the chosen card. DietPi-Update | Resolved an issue where the server version would return "invalid": https://github.com/Fourdee/DietPi/issues/301 DietPi-Software/Config | Resolved an issue where noip would not run on Odroid C2: https://github.com/Fourdee/DietPi/issues/302 General | Resolved an issue with WPA-PSK wireless connections failing to connect on the Odroid XU4. Networking | Resolved an issue where unplugging eth would also kill any active wlan connections. Many thanks to K-plan for his assistance on this one: https://github.com/Fourdee/DietPi/issues/273#issuecomment-215996025.
http://fuzon.co.uk/phpbb/viewtopic.php?f=11&t=368
The text was updated successfully, but these errors were encountered: