![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Everytime I boot my computer I have to enter:
Code:
iwconfig eth1 essid "mySSID" key mywepkey sudo dhclient eth1 and mywepkey = My router's wep key But now I am trying to figure out how to put this in a startup script so it runs every time I boot (because as of right now I have to manually add the above each time I restart to connect to my router Can someone let me know what I need to do to get this to connect each time I reboot?
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS |
|
|
|
|
|
#2 |
|
Ubuntu addict and loving it
![]() Join Date: Aug 2006
Location: Jerusalem IL
Beans: 6,524
Ubuntu 9.10 Karmic Koala
|
Re: Automatic Wireless Connection (At Startup)?
I think you can do it through a nice GUI under System>Admin>Network.
|
|
|
|
|
|
#3 | |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: Automatic Wireless Connection (At Startup)?
Quote:
EDIT:I should've picked "other" when picking a prefix for this thread :doh:
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS Last edited by BassKozz; July 9th, 2008 at 12:37 PM.. |
|
|
|
|
|
|
#4 |
|
Dark Roasted Ubuntu
![]() Join Date: Feb 2008
Beans: 1,018
|
Re: Automatic Wireless Connection (At Startup)?
You want to change /etc/network/interfaces. That file defines the network interfaces and which ones should be automatically brought up.
you need to add something like: Code:
iface wlan0 inet dhcp wireless-key s:myKey wireless-essid myNetwork auto wlan0 Hope that helps P.S. dont't mess with the lo interface lines, you need those |
|
|
|
|
|
#5 | |
|
Ubuntu addict and loving it
![]() Join Date: Aug 2006
Location: Jerusalem IL
Beans: 6,524
Ubuntu 9.10 Karmic Koala
|
Re: Automatic Wireless Connection (At Startup)?
Quote:
|
|
|
|
|
|
|
#6 |
|
A Carafe of Ubuntu
![]() Join Date: Jan 2006
Location: Vancouver, BC
Beans: 123
Ubuntu 8.04 Hardy Heron
|
Re: Automatic Wireless Connection (At Startup)?
May I suggest Wicd. It's a network manager GUI utility that supports WEP, WPA and autoconnect. I'm using it as an alternative to Gnome's default network manager.
Ubuntu documentation on Wicd. |
|
|
|
|
|
#7 | |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: Automatic Wireless Connection (At Startup)?
Quote:
Code:
# Wireless Connection iface eth1 inet dhcp wireless-key hex-key wireless-essid ssid auto eth1 WORKED Thanks issih
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS |
|
|
|
|
|
|
#8 | |
|
Ubuntu addict and loving it
![]() |
Re: Automatic Wireless Connection (At Startup)?
Quote:
Whenever I login Ubuntu automatically connects to my WPA2 encrypted router.
__________________
Windows XP - Excellent computer virus detector. Windows Vista - Most bloat for the money. Visit my Ubuntu Resource Website http://www.stchman.com |
|
|
|
|
|
|
#9 | ||
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: Automatic Wireless Connection (At Startup)?
Quote:
Quote:
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS |
||
|
|
|
|
|
#10 | |
|
Dipped in Ubuntu
![]() Join Date: Jun 2007
Beans: 600
Ubuntu 9.10 Karmic Koala
|
Re: Automatic Wireless Connection (At Startup)?
Quote:
That link you provided was very helpful, Thank you. I am curious thou, on the link it says to edit /etc/rc.local to make ubuntu setup wireless on boot; What are the pro's & con's of using /etc/rc.local vs. /etc/network/interfaces/ to connect on boot?
__________________
Ubuntu 9.10 64-bit - IP35-Pro | Q6600@3.3ghz(TRUE [lapped]) | G.Skill 2x2GB | MSI NX8600GT | 150GB WD Raptor ||| NAS - Ubuntu 9.04 - Intel D865GBF | P4 3.0GHz | G.Skill 4x1GB | FX5200-AGP | 3x250GB mdadm Raid5 | 200GB OS |
|
|
|
|
| Bookmarks |
| Tags |
| dhclient, interfaces, iwconfig, wep, wireless |
| Thread Tools | |
| Display Modes | |
|
|