LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-16-2005, 02:01 PM   #1
farmerjoe
Member
 
Registered: Oct 2004
Location: Texas
Distribution: Ubuntu - Home, RHEL4 - Server
Posts: 96

Rep: Reputation: 15
Help with connecting to AP


I am faily sure i have my wireless card set up correctly. I am running Fedora 3.

Here is my iwconfig info:

lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

wlan0 IEEE 802.11g ESSIDff/any Nickname:"localhost.localdomain"
Mode:Managed Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Bit Rate=54Mb/s Tx-Power:16 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption keyff
Power Managementff
Link Quality:100/100 Signal level:-57 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I can detect the wireless card under network set up. Bet when i try to activate (or run #ifup wlan0) it times out and does not connect to my Dlink AP. Am i missing some crutial step? I have been try to get this to work for about 15 hours straight lol. Any help will be greatly appreciated. Let me know if any other info will help.

-farmerjoe
 
Old 01-17-2005, 07:12 AM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hello farmerjoe,

You have not specified with ssid. You need to run as root:

/sbin/iwconfig wlan0 essid <your AP name here>

followed by, if you are using DHCP to obtain an IP address,

/sbin/dhclient wlan0

Which should then grab you your IP address and you should be away. Dont worry about ifups and ifdowns.
If you still have problems then please post back with info on card, distribution, and an output from the lspci command.
Cheers
Chris
 
Old 01-17-2005, 05:53 PM   #3
farmerjoe
Member
 
Registered: Oct 2004
Location: Texas
Distribution: Ubuntu - Home, RHEL4 - Server
Posts: 96

Original Poster
Rep: Reputation: 15
Your suggestion did not seem to work. Here is the output from lspci:

00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01)
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV]
00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02)
00:09.0 Modem: ALi Corporation M5457 AC'97 Modem Controller
00:0a.0 CardBus bridge: Texas Instruments PCI4410 PC card Cardbus Controller (rev 02)
00:0a.1 FireWire (IEEE 1394): Texas Instruments PCI4410 FireWire Controller (rev 02)
00:0c.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LANController (rev 03)
00:0d.0 USB Controller: NEC Corporation USB (rev 43)
00:0d.1 USB Controller: NEC Corporation USB (rev 43)
00:0d.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
00:0e.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4)
00:11.0 Bridge: ALi Corporation M7101 Power Management Controller [PMU]
01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1


I have tried using the ndiswrapper program and it says everything is ready to go but i still cant seem to get it to work.

Thanks so much for your reply, hopefully i can get this wireless working soon.

Thanks,
Lyle
 
Old 01-18-2005, 12:32 AM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hello Lyle,

If it didn't work can you post back what happened when you ran the /sbin/dhclient wlan0 command. Its a bit difficult to help otherwise. The more info, the better. Keep posting back your ifconfig and iwconfig outputs as well if you like.
Cheers
Chris
 
Old 01-18-2005, 02:09 AM   #5
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
i have the same problem! i didn't have dhcp so i had to emerged it which installed alright but now i just need to configure dhclient and dhcpd, i've found the sample configs in /etc/dhcp, but not knowing much about dhcp other than the fact that it gets an available IP for you, doesn't help

is there an *easy* way of configuring them?
 
Old 01-18-2005, 02:45 AM   #6
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
dhclient and dhcpd are two different ways of doing the same thing. Use one or the other but not both. The command
dhclient <interface e.g. wlan0>
will get an ip address from your DHCP server.
dhcpd is a DHCP daemon that obtains an IP address - it might also dispense them if you want your computer to be a DHCP server, not sure.
Regards
Chris
 
Old 01-18-2005, 02:56 AM   #7
0pal_t0ad
Member
 
Registered: Feb 2004
Location: Southampton, England
Distribution: Laptop:Gentoo-i686-2.6.9-r9 Desktop:Slackware10 2.4.26
Posts: 298

Rep: Reputation: 30
yeah but it needs configuring first. the very first time i ran dhclient i got something about "can't find dhclient.conf"
I tried editing dhclient.conf.sample but didn't get very far so i gave up and just saved it as dhclient.conf and re-ran dhclient which tried to do what what it's meant to but it obviously isn't configured properly.
 
Old 01-18-2005, 02:28 PM   #8
farmerjoe
Member
 
Registered: Oct 2004
Location: Texas
Distribution: Ubuntu - Home, RHEL4 - Server
Posts: 96

Original Poster
Rep: Reputation: 15
Thanks so much for your tips. I am currently at work and do not have access to my system at home. I will post back the information you requested as well as some other odd things i think i may have found.

P.S. i'll definately be doing the afero thing once this is all finished.

Last edited by farmerjoe; 01-23-2005 at 06:12 PM.
 
Old 01-23-2005, 06:12 PM   #9
farmerjoe
Member
 
Registered: Oct 2004
Location: Texas
Distribution: Ubuntu - Home, RHEL4 - Server
Posts: 96

Original Poster
Rep: Reputation: 15
Well. I ended up taking Linux off of my laptop. So wireless support is no longer needed. Thanks for all your help though!
 
Old 01-23-2005, 06:24 PM   #10
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Sorry to hear it Lyle. You may wish to try a different distro if you decide to give it another go.
Regards
Chris
 
Old 01-24-2005, 12:34 PM   #11
farmerjoe
Member
 
Registered: Oct 2004
Location: Texas
Distribution: Ubuntu - Home, RHEL4 - Server
Posts: 96

Original Poster
Rep: Reputation: 15
Well i did put windows back on my laptop, but am still running it on my desktop. I wont give up on it too easy

Thanks again for all your help and suggestions.

-farmjoe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Digikam connecting as root/not connecting as regular user jayhel Slackware 5 09-29-2005 05:57 PM
connecting SSENT12 Linux - Networking 10 07-21-2003 12:45 PM
Mysql is not connecting from servlet.But connecting from java, help pls Harish_f Linux - General 0 05-08-2002 03:21 AM
connecting chens_83 Linux - Newbie 1 12-29-2001 12:34 PM
connecting two pcs vicente General 8 09-30-2001 05:34 PM


All times are GMT -5. The time now is 02:10 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration