Quote:
Originally Posted by acid_kewpie
Well from the slightly odd position you're coming from you would just surely use an if statement checking the essid you are connected to or something, but your script already forces you to use a specific essid in the first place so surely what you want to achieve is not actually going to help you? What's wrong with just using network manager or something else normal?
|
I'll only ever use the connection in my house's wi-fi hotspot (taking it elsewhere was hypothetical), the ESSID will always be a constant. I've stopped using any form of automatic config since FC10 - had an incredible amount of trouble there getting things working - doing it by hand in FC11 had me going in 5 minutes flat. So I fell back on how I did it in the past on even older distros - wrote my own script to call the needed binaries to configure my connection.
So what you're saying is I'm screwed if I use this approach and now suddenly want to change horses in mid-stream and use DHCP?
AFAIK I can only call dhclient and leave it at that...? All I effectively need is the ability to find an available IP in the local subnet, and the syntax I need to pass, for doing that, to dhclient - if any...