LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 11-13-2004, 06:37 PM   #1
Hotfeet
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 39

Rep: Reputation: 15
internet connection through wifi


I just did a net install of Debian on my laptop. I found out it uses the Ralink 2500 chipset. Used the 2.6 makefile and it compiled with no problem. I used insmod to load the driver and it recognized it alright. After setting the WEP key and the channel with iwconfig it showed the correct ESSID for the network, but I can't seem to get it to ping the router or use the route command to set it up for a net connection. Any help?

iwconfig returns:
lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

ra0 RT2500 Wireless ESSID:"WoodOffice"
Mode:Managed Channel=6 Access Point: 00:50:F2:CC:67:6A
Bit Rate:24 Mb/s
RTS thr:off Fragment thr:off
Encryption key:5710-AF3B-B66E-BF39-327B-2416-4C Security mode:open
Link Quality=0/70 Signal level:-165 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

ifconfig returns:
eth0 Link encap:Ethernet HWaddr 00:40:45:19:8C:00
inet addr:192.168.2.27 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::240:45ff:fe19:8c00/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:933 errors:0 dropped:0 overruns:0 frame:0
TX packets:1116 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:473127 (462.0 KiB) TX bytes:158592 (154.8 KiB)
Interrupt:11 Base address:0xd800

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:159 errors:0 dropped:0 overruns:0 frame:0
TX packets:159 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24746 (24.1 KiB) TX bytes:24746 (24.1 KiB)

ra0 Link encap:Ethernet HWaddr 00:11:09:09:10:D4
inet6 addr: fe80::211:9ff:fe09:10d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:363 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:3 dropped:3 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22921 (22.3 KiB) TX bytes:1028 (1.0 KiB)
Interrupt:11 Base address:0xb000

"route add default gw 192.168.2.1 dev ra0" returns:
SIOCADDRT: Network is unreachable

Last edited by Hotfeet; 11-13-2004 at 06:40 PM.
 
Old 11-14-2004, 09:24 AM   #2
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hello hotfeet,

Your problem here is lack of an ip address. Either you have not set one manually or the router has not assigned one to you through DHCP leasing. If you try
Code:
dhclient ra0
it will probably attempt to obtain an IP lease but fail and end up with a "sleeping" message. In this instance I would be manually setting an IP address yourself manually. I would also be tempted to remove your encryption whilst you do this. Ie. get the link working before you worry about security. Once its working you can add your key again.
Depending on your LAN setup you may need to change your key to restricted - this may be your problem in the first place anyway.
Regards
Chris
 
Old 11-14-2004, 10:57 AM   #3
Hotfeet
Member
 
Registered: Aug 2003
Distribution: Debian Sid
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks a lot, the dhclient did the trick.
 
Old 12-03-2004, 08:35 PM   #4
RaI
LQ Newbie
 
Registered: Jun 2003
Location: Germany
Posts: 9

Rep: Reputation: 0
I seem to have the same problem. Thought I don't know how to do all that? Could someone please explain?
 
Old 12-04-2004, 01:09 AM   #5
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Hi Ral,

I think it would be best if you start a new thread and provide some more information. Error message, card type, distro etc.
Regards
Chris
 
  


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
broadband connection wifi noir911 *BSD 3 08-25-2005 07:52 PM
HOW TO share I internet connection through wifi?? piggyaugu Linux - Newbie 4 07-03-2005 01:22 AM
connected to wifi network but no internet connection? mr.gizm0 Linux - Wireless Networking 3 03-21-2005 04:07 AM
Wifi connection problems benaziz Linux - Wireless Networking 7 03-06-2005 12:14 PM
Internet access through router and wifi connection caudalie Linux - Wireless Networking 3 01-22-2004 04:51 PM


All times are GMT -5. The time now is 07:06 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