LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 04-18-2005, 11:11 AM   #1
jkh
Member
 
Registered: Dec 2004
Location: Maidstone, Kent, England
Distribution: Ubuntu
Posts: 100

Rep: Reputation: 15
connecting arch to the wireless network


Hey all, loving arch linux, only having annoying problem with getting it connected to the wireless network.

My tower computer is having a minor difficulty with ndiswrapper:
http://www.linuxquestions.org/questi...hreadid=309675

** so then something totaly unrelated to ^ that **

I decided to install arch linux on my laptop and use my MA111 usb device to connect it to the network.

I downloaded the linux driver:
ftp://ftp.linux-wlan.org/pub/linux-w...1-pre26.tar.gz
and followed the README inside the directory it made.

Long story short I now get wlan0 in my iwconfig and ifconfig which all looks fine and dandy, now what? All the other machines on the wireless home network run windows (not my fault) and connect to the internet via one machine with broadband connection.
When its booting up it says Starting Network or whatever it gives a FAIL although I think this may be to do with the driver be loaded and run after that point.

What do I now need to do to connect this puppy to the network and the internet? I am willing to give any extra information if needed.

Last edited by jkh; 04-20-2005 at 09:44 AM.
 
Old 04-18-2005, 11:51 AM   #2
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
Are you loading ndiswrapper automatically at boot?
Can you
Code:
modprobe ndiswrapper
?
afterward can you set the essid
Code:
iwconfig wlan0 essid SSID
?
can you get a dhcp lease?
what errors do you get?
what is the output of iwconfig after all of this?
 
Old 04-19-2005, 07:02 AM   #3
jkh
Member
 
Registered: Dec 2004
Location: Maidstone, Kent, England
Distribution: Ubuntu
Posts: 100

Original Poster
Rep: Reputation: 15
sorry, I didnt mean to confuse, I use ndiswrapper on my tower box but a linux driver on my laptop, I will correct the origional post.
 
Old 04-19-2005, 01:06 PM   #4
jkh
Member
 
Registered: Dec 2004
Location: Maidstone, Kent, England
Distribution: Ubuntu
Posts: 100

Original Poster
Rep: Reputation: 15
not sure if this is still needed but I will post.

"iwconfig wlan0 essid WLAN" gives me:
Error for wireless request "Set ESSID" (8B1A) :
Set failed on device wlan0 ; Operation not supported.

"can you get a dhcp lease?" I have no idea what a DHCP lease is. I googled but have found no explanation and no way to check to see if I can get a dhcp lease.

"what errors do you get?" I get no errors. However I just checked dmesg and found this "wlan0: no IPv6 routers present" which I have not noticed before.

"what is the output of iwconfig after all of this?" iwconfig:

lo no wireless extensions

sit0 no wireless extensions

wlan0 IEEE 802.11-b ESSID:"WLAN" Nickname:"WLAN"
Mode:Managed Frequency:2.412 GHz Access Point: 00:30:BD:67:97:AE
Bit Rate:11 Mb/s Tx-Power:-951635968 dBm
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Link Quality=88/92 Signal level=-40 dBm Noise level=-97 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
 
Old 04-19-2005, 05:28 PM   #5
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
type 'dhclient wlan0' after you've verified that the essid has been set correctly, your system may use dhcpd instead.

A DCHP LEASE: http://www.j51.com/~sshay/tcpip/dhcp/dhcp.htm
 
Old 04-19-2005, 05:46 PM   #6
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
is ndiswrapper in the output of lsmod? If so, good, if not, do modprobe ndiswrapper.

Have you done 'iwlist wlan0 scan' to see if the wlan0 connection in iwconfig is actually yours? sometimes it's not. Do you have an ESSID? Encryption key? If so do man iwconfig to read about how to put in the correct values.

can you ping your gateway, other computers on your network, and DNS eg www.google.com?

DHCP is Dynamic Host Configuration Protocol.
 
Old 04-20-2005, 12:58 PM   #7
jkh
Member
 
Registered: Dec 2004
Location: Maidstone, Kent, England
Distribution: Ubuntu
Posts: 100

Original Poster
Rep: Reputation: 15
mrGenixus:
"dhclient wlan0" gives me:

listening on LPF/wlan0/00:09:5b:b7:20:18
sending on LPF/wlan0/00:09:5b:b7:20:18
sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.59 -- renewal in 285 seconds.

I am not sure what this means, hope it means something to you.

dcdbutler:
"is ndiswrapper in the output of lsmod?" no because I do not use ndiswrapper on my laptop. Though I did see the modules from my linux driver:

Module Size Used by
prism2_usb 80388 0
p80211 37904 1 prism2_usb

"iwlist wlan0 scan" gives me:

wlan0 Scan completed :
Cell 01 - Address: 00:30:BD:67:97:AE
ESSID:"WLAN"
Mode:Master
Encryption key:off
Channel:1
Quality:41/92 Signal level:-50 dBm Noise level:-91 dBm
Cell 02 - Address: 96:03:01:01:41:00
Mode:Ad-Hoc
Encryption key:off
Frequency:19.542 kHz
Quality:192/92 Signal level:1/154 Noise level:65/154

Cell01 matches the information from iwconfig. Cell 02 i'm assuming is just some nonsense. Tell me if i'm wrong but I think the fact that 'iwlist wlan0 scan' an 'iwconfig' show the same information means that the wlan0 connection in iwconfig is mine.

"can you ping your gateway, other computers on your network, and DNS eg www.google.com?" no I cannot.
 
Old 04-20-2005, 02:49 PM   #8
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
this puppy, can connect to the networ and internet.
from http://wiki2.archlinux.org/index.php...P%20and%20DHCP


2.1 For DHCP IP:

Edit /etc/rc.conf like this:

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
ROUTES=(!gateway)
 
Old 04-20-2005, 04:51 PM   #9
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
That's your wireless connection, for sure. The only thing I can see that is different is that the mode is "managed" on the iwconfig output, but "master" on the scan. you could change this though I'm not sure whether it would make any difference. do you find that you can get an internet connection via ethernet?
 
Old 04-28-2005, 11:27 AM   #10
jkh
Member
 
Registered: Dec 2004
Location: Maidstone, Kent, England
Distribution: Ubuntu
Posts: 100

Original Poster
Rep: Reputation: 15
heyho, this post is now irrelevent as I am no longer using arch on my laptop, thank you all for your contributions.
 
Old 04-29-2005, 11:40 AM   #11
mrGenixus
Member
 
Registered: Dec 2004
Location: Colorado, US
Distribution: gentoo, debian, ubuntu live gnome 2.10
Posts: 440

Rep: Reputation: 30
that's kindof obnoxious, actualy, but you're welcome, I guess.
 
Old 04-30-2005, 05:05 PM   #12
dcdbutler
Member
 
Registered: Jan 2005
Location: Boston
Distribution: slackware
Posts: 502

Rep: Reputation: 30
Quote:
that's kindof obnoxious, actualy, but you're welcome, I guess.
Ha!

Those kind of comments are usually flying the in the opposite direction across the Atlantic
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless network not connecting jburford Linux - Wireless Networking 11 07-08-2005 08:14 AM
Connecting to a wireless network death_au Linux - Newbie 3 03-06-2005 06:38 AM
Connecting to Wireless network ms82xp Linux - Wireless Networking 1 02-06-2005 08:44 PM
Connecting to wireless network? cucolin@ Linux - Wireless Networking 5 03-06-2004 01:16 PM
need help connecting to my wireless network skiguy Linux - Wireless Networking 6 11-05-2003 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration