#787263 - breaks networking for allow-hotplug interfaces

Forum rules
Please supply only the affected package name as title, with bugreport number (bugs.debian.org) or other sources. This feed can be subscribed to and piped into your RSS reader or conky: http://linuxbbq.org/bbs/feed.php?mode=news
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

#787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Thu Jun 04, 2015 9:39 am

Let's make this official. There is a bug report on the Debian BTS [1] and at our brothers at siduction [2]. I would recommend to fix it with the "ugly" method:

sudo editor /etc/rc.local
add following line before 'exit 0'

Code: Select all

ifup wlan0
where wlan0 is your wireless device (can be eth1 or some other device name)

This is meant to be fixed soon, but if you don't want to upgrade to the newest udev/systemd version (no matter which init system you use), you can use this dirty fix. But probably even the upstream bugfix won't solve it :)

[1] https://bugs.debian.org/cgi-bin/bugrepo ... bug=787263
[2] http://forum.siduction.org/index.php?topic=5557.0
..gnutella..

User avatar
vic
Godot
Posts: 2109
Joined: Wed Oct 17, 2012 10:11 am
Location: /bin

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by vic » Thu Jun 04, 2015 2:02 pm

Thanks man, just discovered the problem on a testncrashnburn install of BORK!64. Network trouble is a real itch, will wait a little bit on my proper install before I duge it. :)
Sorry guys, no signature for a while, too busy with life. :|

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by rhowaldt » Thu Jun 04, 2015 2:18 pm

thanks! wow, seems i just ran into a genuine error! and here is was thinking it was my own fault :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Thu Jun 04, 2015 3:04 pm

Ladies, you can of course revert to libudev1 and udev version 215-18, if it bothers you very much. This shouldn't be a biggie, we usually don't track systemd:

https://packages.debian.org/stretch/udev
https://packages.debian.org/stretch/libudev1
..gnutella..

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by Dr_Chroot » Thu Jun 04, 2015 9:33 pm

HA! Now I see this. Thanks :D
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
rwbx
Oyster-Slurper
Posts: 21
Joined: Thu Jun 11, 2015 11:08 am
Location: Out Where the Buses Don't Run..

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by rwbx » Thu Jun 11, 2015 11:21 am

I tried the fix you mentioned but ceni still show no values under hardware interfaces.
Attachments
201506111434015927551x395.png
201506111434015927551x395.png (8.01 KiB) Viewed 11697 times
" You can't stop the signal. "
―Mr. Universe

User avatar
vic
Godot
Posts: 2109
Joined: Wed Oct 17, 2012 10:11 am
Location: /bin

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by vic » Thu Jun 11, 2015 11:36 am

If you have put "ifup wlan0" in the rc.local file, the wireless network should start during boot. But it will still not be visible in ceni. That is my experience at least.
Sorry guys, no signature for a while, too busy with life. :|

User avatar
rwbx
Oyster-Slurper
Posts: 21
Joined: Thu Jun 11, 2015 11:08 am
Location: Out Where the Buses Don't Run..

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by rwbx » Thu Jun 11, 2015 1:29 pm

I finally got ceni to work by uninstalling systemd/udev updates... Everything's working as usual.
" You can't stop the signal. "
―Mr. Universe

User avatar
ivanovnegro
Minister of Truth
Posts: 5448
Joined: Wed Oct 17, 2012 11:12 pm

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by ivanovnegro » Thu Jun 11, 2015 1:55 pm

Of course with wicd I have no problems. :) But that would mean bloat.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Thu Jun 11, 2015 2:55 pm

People, have you tried (re/installing) the ifupdown package? Seems I don't need dirty hacks anymore after installing ifupdown.
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by rhowaldt » Thu Jun 11, 2015 11:01 pm

i just did a dist-upgrade and ifupdown is upgraded there. haven't tried whether it fixes anything yet, ceni still doesn't show anything after the upgrade but i didn't reboot yet (couldn't be fucked, just booted my pc, not gonna reboot it immediately again) so maybe that will do the trick. definitely lots of udev updates lately.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
jmthomas87
Oyster-Slurper
Posts: 21
Joined: Sat Dec 06, 2014 6:48 pm

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by jmthomas87 » Fri Jun 12, 2015 12:37 pm

I just did a dist-upgrade myself on Bork and letting ifupdown upgrade doesn't help that I can see so far.

Manually trying to start the interface, either eth0 or wlan0 is a no go, and neither show up in ceni either. Guess I will have to look which systemd and udev files to not let upgrade.

Time for a reload and start from scratch. Glad it is a fast install.
Last edited by jmthomas87 on Fri Jun 12, 2015 2:30 pm, edited 1 time in total.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Fri Jun 12, 2015 1:50 pm

Thanks JMT for the feedback. What a PITA this bug is, and damned how I hate udev.
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by GekkoP » Fri Jun 12, 2015 1:55 pm

^ Time to go with mdev? :)

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Fri Jun 12, 2015 2:36 pm

^ If this happens, we have to move the base. udev is completely integrated in (most of?) the (Debian et al.) kernels :( You can try, for fun:

sudo apt-get autoremove udev

and see what it is going to remove.
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5877
Joined: Tue Sep 03, 2013 7:05 am

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by GekkoP » Fri Jun 12, 2015 2:39 pm

^ Oh no, I know (I remember trying mdev following Pidsley instructions). Just kidding.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Fri Jun 12, 2015 2:45 pm

^ Well, I'm not kidding anymore. ;) You know, I'm just a few centimeters away from moving the base. Just need a bit more time, patient and expertise :D
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by rhowaldt » Fri Jun 12, 2015 3:00 pm

the ifupdown upgrade certainly changed *something*, but what i am not sure.
when i logged on today, didn't auto-connect. did 'ifup wlan0', it told me wlan0 was already configured. ceni still shows nothing.
did 'ifdown wlan0', it took down whatever it had put up (internet didnt work so not much). then 'ifup wlan0' again and it worked. wait more i suppose?

edit: oh yeah - output:

Code: Select all

┌┤rhowaldt@lalala [~]
└──┤$ sudo ifup wlan0
ifup: interface wlan0 already configured

┌┤rhowaldt@lalala [~]
└──┤$ sudo ifdown wlan0
Internet Systems Consortium DHCP Client 4.3.2
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:15:af:31:6a:fa
Sending on   LPF/wlan0/00:15:af:31:6a:fa
Sending on   Socket/fallback
DHCPRELEASE on wlan0 to 192.168.178.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2331: Failed to send 300 byte long packet over fallback interface.

┌┤rhowaldt@lalala [~]
└──┤$ sudo ifup wlan0
Internet Systems Consortium DHCP Client 4.3.2
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:15:af:31:6a:fa
Sending on   LPF/wlan0/00:15:af:31:6a:fa
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 19
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.178.1
DHCPACK from 192.168.178.1
bound to 192.168.178.10 -- renewal in 1620 seconds.
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by machinebacon » Fri Jun 12, 2015 3:13 pm

Ceni gets its list of available devices from udev (/lib/systemd/system/[email protected]), it shows those devices that

sudo ifquery --state

lists. I really have no idea what the FUCK is going on in Disneyland again, but they definitely get on my tits.
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: #787263 - breaks networking for allow-hotplug interfaces

Unread post by rhowaldt » Fri Jun 12, 2015 3:17 pm

Code: Select all

┌┤rhowaldt@lalala [~]
└──┤$ sudo ifquery --state
[sudo] password for rhowaldt: 
wlan0=wlan0
lo=lo
but those are listed as optical devices or so in ceni. i dunno either, i am currently just uhm, "going with the flow", and being patient :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

Post Reply