wireless at startup?

Louis Brook l.brook at gmail.com
Fri Aug 5 17:39:43 UTC 2005


On 04/08/05, Ben Anderson <benanderson.us at gmail.com> wrote:
> Hi,
> My wireless card is working great, however I must not have the correct
> configuration in my /etc/network/interfaces.  Is there a good
> explanation of the wireless settings anywhere.  I looked in the man
> page, but the wireless options weren't even listed.  Here's what I've
> got:
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # This is a list of hotpluggable network interfaces.
> # They will be activated automatically by the hotplug subsystem.
> #mapping hotplug
> #       script grep
> #       map eth0
> 
> # Added by ben
> mapping hotplug
>       script grep
>       map wlan0
> 
> # The primary network interface
> #iface eth0 inet dhcp
> 
> auto wlan0
> iface wlan0 inet dhcp
> name Wireless LAN card
> wireless_essid   mattie
> wireless_key     2222222222
> wireless_channel 6
> wireless_mode    managed
> 
> 
> So, this doesn't work, but once the system is up, I've been running:
> iwconfig wlan0 channel 6
> wconfig wlan0 essid mattie
> wconfig wlan0 key restricted 2222222222
> ifconfig wlan0 down
> ifconfig wlan0 up
> dhclient
> #wait....
> ifconfig eth0 down # why does this come up?  It's not even connected.
> # and everything works beautifully
> 
> Any help on fixing my interfaces file would be awesome!!!
> Thanks,
> Ben
> 
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 

Ben,

Excuse the lateness of this response if you haven't sorted this
already but I noticed no replies...

Try replacing the underscores with hyphens in your wireless_...
entries within your /etc/network/interfaces. Not sure if this makes
much difference I've always used hyphens.

HTH,
Louis




More information about the ubuntu-users mailing list