static wireless network

Mark Haney mhaney at
Wed Oct 22 17:32:43 UTC 2008

John Hubbard wrote:
> I am trying to set up a machine with a static ip address.   I have other 
> examples of how to set up static ip addresses and know what needs to go 
> into the /etc/network/interfaces file.  The part that I am fuzzy on is 
> how to bring up the connection up at boot.  The wireless network is 
> secure.  I know how to configure the connection with the 'iwconfig' 
> command but I am not sure where to put a script that sets it up.  So the 
> question is where do I put the command to configure the wireless, and do 
> I just set up /etc/network/interfaces like I would for a static wired ip 
> address? 
> Just in case it matters that wireless adapter is a RTL-8185.  It was 
> properly detected by a fresh install of mythbuntu 8.10 beta. 

Edit the wireless interface (mine is wlan0, but yours might be 
different) and add (or edit) ONBOOT=YES.  That /should/ bring up the 
interface on boot.

Libenter homines id quod volunt credunt -- Caius Julius Caesar

Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support

More information about the ubuntu-users mailing list