[WIFI] Connection impossible

James Gray james at grayonline.id.au
Thu Aug 4 22:41:08 UTC 2005


On Thursday 04 August 2005 21:16, michux wrote:
> Hello
>
> I have the same problem with my dv1000 laptop and ipw2200 driver. I can
> scan networks but I cannot connect to my company's net wirelessly.
>
> It is protected with an 128-bit WEP key. Under Windows 2003 it works
> (although the connection has a tendency to be quite unstable, probably
> because of the unsuitable driver for win2000).
>
> Anyway, maybe the 128-bit key is a problem?

I have a HP lappy with the IPW2200B/G chipset.  Basically you need to set the 
ESSID and the KEY *before* trying to bring up the interface.  So try it 
manually first:

sudo iwconfig eth0 essid <YOUR-ESSID>
sudo iwconfig eth0 key <YOUR-128bit-WEP-KEY>

Make sure "/etc/network/interfaces"  has a basic stanza for eth0:
...
iface eth0 inet dhcp
## No other options for eth0

Then "sudo ifup eth0".  You might see some info about DHCP etc and then your 
interface should be up and running.  Try pinging something:
ping www.google.com

If everything was successful, then you can automate all this by adding the 
values from the "iwconfig" commands above to the /etc/network/interfaces file 
and make eth0 automatically start at boot:

--- /etc/network/interfaces ---
# Start loopback and eth0 at boot
auto lo eth0

# Lopback config
iface lo inet loopback

# eth0 config - Wireless IPW2200 interface
iface eth0 inet dhcp
    # My Office
    wireless-essid      <YOUR-ESSID>
    wireless-key        <YOUR-128bit-WEP-KEY>

--- END OF FILE ---

There's probably some hotplug stuff in there too, but I left it out for 
simplicity ;)

Have a read of "man iwconfig" and "man wireless".  Other good reading is "man 
5 interfaces" (section 5 is file formats).

Good luck :)

James
-- 
If you are going to run a rinky-dink distro made by a couple of
volunteers, why not run a rinky-dink distro made by a lot of volunteers?
  -- Jaldhar H. Vyas on debian-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050805/5f0c87b0/attachment.sig>


More information about the ubuntu-users mailing list