Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Can't connect to the net but card works

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-18-2008   #1 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 8
Can't connect to the net but card works

I've been trying to get the wireless connection working for a couple of days now. I've learned a bunch of new things but something gets missed (or messed) in my efforts. Below are some details of my system.

Computer: IBM ThinkPad 390E
Wifi card: EDUP 54Mbps/11Mbps PCMCIA card. It has the Ralink RT2500 chip.
Linux distribution: Damn Small Linux 4.2.5
Linux kernel: 2.4.31
Wifi connection type: WEP-encrypted.

I'm using ndiswrapper for setting up the wifi connection. OK, let's start.
# ndiswrapper -i /mnt/auto/cdrom/Drivers/Rt2500.INF

Installs okay and checking with "ndiswrapper -l" it lists it (rt2500: driver installed, hardware present).

# depmod -a
# modprobe ndiswrapper

No errors here, everything goes well.
Now iwconfig lists the connection wlan0.

Then I search available Wifi access points using
# iwlist wlan0 scan
It outputs a list of APs in a second or so, so it works there flawlessly. Then I attach my WEP-encrypted AP into my wlan0 connection using
# iwconfig wlan0 essid MY_ESSID key s:MY_KEY

When I check with iwconfig, the wlan0 connection is attached with my essid.
After that I give the command
# ifconfig wlan0 up

Then
# ifconfig dhclient wlan0

Then
# ifconfig dhcpcd wlan0

After that I'm trying the command
# route
But it lists no routes.
Then I tried to enter the command
# route add default gateway 84.250.160.1
The gateway address is taken from my other Linux computer which uses LAN network (used the command route -nee). Well, it outputs this:
route: SIOC[ADD|DEL]RT: Network is unreachable

I've checked my /etc/resolv.conf file, it's identical to the one on the LAN machine, like is the /etc/network/interfaces file as well.

So the card works without a doubt as it can find the APs, but it's not connecting onto the internet. If you have any suggestions of what I should check, please tell me. I'm getting pretty desperate on this.
Sera88 is offline  


Reply With Quote
Old 06-18-2008   #2 (permalink)
Just Joined!
 
Join Date: Jun 2008
Posts: 8
Problem solved: don't use ifconfig dhclient wlan0 on Knoppix-based systems, but

# pump -i wlan0

That did the trick
Yay!
Sera88 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 08:27 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2