*

Welcome, Guest. Please login or register.
Did you miss your activation email?

Check out the new and improved 2010 Xtra Ordinary OS for the XO laptop!
Pages: [1]
Print
Author Topic: How to connect to wireless (WEP) in ubuntu?  (Read 5454 times)

How to connect to wireless (WEP) in ubuntu?

basskozz
Commenter

Posts: 5


July 08, 2008, 08:03:25 PM

I successfully installed ubuntu thanks to the wiki: http://wiki.laptop.org/index.php?title=Ubuntu_On_OLPC_XO
Using an SD card and this great custom bootloader script but I can't seem to figure out how to connect to my wireless router (that uses WEP not WPA), the wiki only discusses WPA connections and not WEP...
Any/All help is much appreciated,
-BassKozz
« Last Edit: July 08, 2008, 08:07:53 PM by basskozz » Logged

#1 Re: How to connect to wireless (WEP) in ubuntu?

basskozz
Commenter

Posts: 5


July 09, 2008, 09:04:49 AM

Thanks to cjb & Ian_Daniher over at #olpc-help I figued out what I need to do to logon to WEP:
Code:
iwconfig eth1 essid "mySSID" key mywepkey
sudo dhclient eth1
Where mySSID = My wireless routers SSID
and mywepkey = my 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  Sad )
Can someone let me know what I need to do to get this to connect each time I reboot?
Logged

#2 Re: How to connect to wireless (WEP) in ubuntu?

basskozz
Commenter

Posts: 5


July 09, 2008, 11:46:26 AM

Nevermind, figured it out, thanks to ubuntu forums: http://ubuntuforums.org/showthread.php?t=854332
I had to add the following to /etc/network/interfaces
Code:
# Wireless Connection
iface eth1 inet dhcp
wireless-key hex-key
wireless-essid ssid

auto eth1

where hex-key = my WEP hex key & ssid = my routers wireless SSID
Logged
Pages: [1]
Print
Jump to:  

Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2010, 04:11:44 AM

Login with username, password and session length
Recent Topics
[Today at 12:50:43 AM]

[February 08, 2010, 11:59:31 PM]

[February 08, 2010, 11:43:34 PM]

[February 06, 2010, 01:30:32 PM]

[February 05, 2010, 05:14:11 PM]

[February 04, 2010, 07:21:32 PM]

[February 04, 2010, 01:50:58 PM]

[February 02, 2010, 07:37:01 PM]

[February 02, 2010, 12:28:12 PM]

[February 02, 2010, 10:55:23 AM]
Members
Total Members: 4128
Latest: divinegrace29
Stats
Total Posts: 30203
Total Topics: 3647
Online Today: 81
Online Ever: 220
(February 05, 2009, 11:29:32 AM)
Users Online
Users: 1
Guests: 54
Total: 55