I've added a few small sections to the net.ethX to add support for using iwconfig to set up wireless setting befored setting the IP level connections on an interface. Lets me just plug in my wifi card, and get connected. built against baselayout-1.8.5.8. Attached are net.ethX, and net from /etc/conf.d/net Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 8868 [details] net.ethX
Created attachment 8869 [details] /etc/conf.d/net
also seems to work fine with 1.8.6.2 just my 2 cents... _j_
Why do you do ifconfig up && sleep 2 in the iwconfig part in net.ethx? For the rest it looks good.
Please attach unified diffs against net.eth0 from baselayout-1.8.6.4.
How come the /etc/conf.d/net-file by default have world read? Is there any good answer why? If adding encryption keys and SSID, normal users shouldn't be abble just catting the file.
latexer, does this bug still apply? Are these changes you would still like to see in net.eth0 (at least until we replace the networking subsystem ;-)
This thing works fine for me, with 2 exceptions, iwconfig and ifconfig need a sleep between them... and if the machine has both interfaces with the same IP, disconnect or connect from the wire should be nearly transparent. For that, both interfaces must have the same GW configured. At the moment net.ethX takes only the last one.
wireless configuration is in baselayout-1.11.x Not that I have any real excuse for letting this bug lapse for so long, but... it would have helped for net.ethX to be a patch instead of a file so I can see the changes at a glance.