You are not logged in.
Pages: 1
Hello,
This question might be maybe look very simple, but actually I can find no further ideas.
On my raspberry PI3 with Debian, I have :
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet manual
wpa-roam /etc/network/wifi.conf
(wlp1s0 on debian,
wlan0 on devuan)
After boot, the PI3 with Debian gives me internet each times after boot (power on).
After boot, the PI3 with DEVUAN gives me no internet each time. Each time, sudo su, and I need to do : dhclient -v wlan0
Both machines have same config above.
How to get internet on devuan automatically without dhclient from root each time?
thank you and looking forward to reading you.
Offline
Try changing the "iface wlan0" line to:
iface wlan0 inet dhcp
Leave the rest like it is.
Edit: I think that should do it. I think the reason Debian is overriding /etc/network/interfaces is because it is using NetworkManager.
lazlo
Last edited by lazlo (2017-06-07 10:20:39)
Offline
it didn't work.
Due wpa-roam, the use of dhcp is not possible.
edit: wow!
after 2 millions of reboot, I found out what is the way to make it work after reboot....
You wanna know maybe ?
it seems to work... in study
Last edited by spartrekus (2017-06-08 06:01:54)
Offline
It seems that in February last year, there was a bug report for ifupdown on Ubuntu's "launchpad", with discussion and fix to something that sounds like your particular problem. One way to verify would be if you can find the same error line
ifup: recursion detected for parent interface wlan0 in post-up phase
in /var/log/syslog, and if so, you should make a bug report to Devuan's BTS.
You might also want to compare the versions of ifupdown and wpasupplicant on your two systems; especially if they are respectively the same, it would talk against having that problem.
Offline
Here is procedure on Devuan! It is really stable for far on the DEVUAN Raspberry PI3.
I am glad it works, because of the the following:
"Internet !" What to do without Internet today?
https://www.youtube.com/watch?v=ArHOzziiXiI
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.
# interfaces(5) file used by ifup(8) and ifdown(8)
# # interfaces(5) file used by ifup(8) and ifdown(8)
#
# The loopback network interface
auto lo wlan0
iface lo inet loopback
iface wlan0 inet dhcp
wpa-conf /etc/network/wifi-config.conf
the trick is NOT to use allow-hotplug, but to add dhcp and to avoid roaming !
Instead is conf must reliable to be used.
It works on both platforms that have deb, namely Debian and Devuan, but also on Slackware.
Ubuntu?? who care about Ubuntu? Who really wants a slow, shinning, flashing, with gold window decoration, silver shinning menus, amazing animation, turning pseudo 3d desktops, amazing bubble, sound, ... desktop (operating system) ?;)
Why not keeping a desktop just simple and ugly (dwm, evilwm, jwm,...)?
Last edited by spartrekus (2017-06-08 16:20:53)
Offline
"Instead is conf must reliable to be used." What? Not getting it . . .
Online
"Instead is conf must reliable to be used." What? Not getting it . . .
I had tried several wpa-XXXX things.
The best is definitely this line: wpa-conf /etc/network/wifi-home.conf
in other words : " wpa-conf"
Offline
@spartrekus - thank you for the procedure on Devuan. internet... finally!
Offline
I thought I'd offer a follow-up to spartrekus' hint to enable wireless on the Pi3:
There are examples in /usr/share/doc/wpasupplicant/examples . I copied wpa-psk-tkip.conf to /etc/network/homewifi.txt and edited for SSID and passphrase.
So my /etc/network/interfaces includes:
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/network/homewifi.txt
Although ifconfig would show wlan0, I couldn't get wicd-curses to recognize the interface. The edit to /etc/network/interfaces was the only way I could get wireless to work. I even tried disabling networking and replacing with the wicd daemon to no avail. But this method gives me wireless.
Offline
@spartrekus - thank you for the procedure on Devuan. internet... finally!
why finally? no entendo
Offline
kemu wrote:@spartrekus - thank you for the procedure on Devuan. internet... finally!
why finally? no entendo
don't worry, just an 'affirmative' to your
"Internet !" What to do without Internet today?
... that's all.
enjoy!
Offline
spartrekus wrote:kemu wrote:@spartrekus - thank you for the procedure on Devuan. internet... finally!
why finally? no entendo
don't worry, just an 'affirmative' to your
"Internet !" What to do without Internet today?
... that's all.
enjoy!
It wasn't ddifficult to make, just test and try...
But why shall it not be already on some wikis? either outdated wikis or ... .no one really know how to configure the beast..?
Offline
Pages: 1