Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16649 - wireless support via iwconfig for /etc/init.d/net.ethX
Summary: wireless support via iwconfig for /etc/init.d/net.ethX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 25742
Blocks: 66472
  Show dependency tree
 
Reported: 2003-03-02 02:14 UTC by Peter Johanson (RETIRED)
Modified: 2004-10-24 21:20 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
net.ethX (net.eth1,4.24 KB, text/plain)
2003-03-02 02:14 UTC, Peter Johanson (RETIRED)
Details
/etc/conf.d/net (net,1.21 KB, text/plain)
2003-03-02 02:15 UTC, Peter Johanson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Johanson (RETIRED) gentoo-dev 2003-03-02 02:14:06 UTC
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.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2003-03-02 02:14:44 UTC
Created attachment 8868 [details]
net.ethX
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2003-03-02 02:15:23 UTC
Created attachment 8869 [details]
/etc/conf.d/net
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2003-03-02 02:42:27 UTC
also seems to work fine with 1.8.6.2 
 
just my 2 cents... 
 
_j_ 
Comment 4 Wout Mertens (RETIRED) gentoo-dev 2003-03-19 08:45:47 UTC
Why do you do ifconfig up && sleep 2 in the iwconfig part in net.ethx? 
 
For the rest it looks good. 
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-20 10:15:50 UTC
Please attach unified diffs against net.eth0 from baselayout-1.8.6.4.
Comment 6 David Röhr 2003-09-30 03:23:15 UTC
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.
Comment 7 Aron Griffis (RETIRED) gentoo-dev 2004-05-06 19:51:33 UTC
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 ;-)
Comment 8 Philippe Trottier (RETIRED) gentoo-dev 2004-06-07 05:33:56 UTC
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.
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2004-10-24 21:20:43 UTC
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.