LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-22-2009, 12:39 PM   #1
David2010
Member
 
Registered: May 2009
Posts: 255

Rep: Reputation: 23
wireless internet problems in linux


Ok I thought I would try out damn small linux today but I am having a little trouble getting the wireless internet to work.

I used ndiswrapper for my wireless driver because it didnt come with a compatable driver.

after I got the driver installed ifconfig brings the normal results for wlan0 but it says this warning that kinda concerns me:

"Driver for device wlan0 recommends version 18 of wireless extension but has been compiled with version 16 therefore some driver features may not be avaliable."

I then used iwconfig wlan0 essid *my essid* key *my key*

then I used pump -iwlan0 and I tried pump -i wlan0 and then I just tried pump but all of them said operation failed.

The hardware light is on so I know the hardware is being detected and used but it just wont get an IP address from the router.

I have used several linux distros before and never had this problem but all of them used dhcpcd instead of pump.

What am I doing wrong???

edit:

I also made sure that the dhcp daemon was turned off and pump was killed before using it.

Last edited by David2010; 08-22-2009 at 12:40 PM.
 
Old 08-22-2009, 01:01 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

at first take look at the output of /sbin/ifconfig (and post it here please).

Markus

edit: sorry for a typo, the command is ifconfig

Last edited by markush; 08-22-2009 at 02:38 PM.
 
Old 08-22-2009, 02:34 PM   #3
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by markush View Post
Hello,

at first take look at the output of /sbin/ifconf (and post it here please).

Markus
the file ifconf doesnt exist in /sbin

There is an executable named ifconfig in the /sbin directory but its an executable and isnt readable.
 
Old 08-22-2009, 02:36 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
I mean the output of the command /sbin/ifconfig. On a console execute:
Code:
markus:~$ /sbin/ifconfig
Markus
 
Old 08-22-2009, 03:10 PM   #5
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by markush View Post
I mean the output of the command /sbin/ifconfig. On a console execute:
Code:
markus:~$ /sbin/ifconfig
Markus
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 00:1A:70:AC:EC:FE
inet addr:*IP address* Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2422 errors:0 dropped:0 overruns:0 frame:0
TX packets:2163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2387912 (2.2 MiB) TX bytes:402528 (393.0 KiB)

and with iwconfig it says this:

Driver for device wlan0 recommends version 18 of wireless extension but has been compiled with version 16 therefore some driver features may not be available


wlan0 IEEE 802.11g ESSID:"Tim"
Mode:Managed Frequency:2.437 GHz Access Point: 00:23:69:23:70:7B
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thrff Fragment thr=2352 B
Encryption key:*KEY*
Link Quality=73/100 Signal level=-40 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Last edited by David2010; 08-22-2009 at 03:12 PM.
 
Old 08-22-2009, 03:26 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
If there is a command "dhcpcd" available on Damn-Small-Linux, could you pleas execute this as
Code:
/sbin/dhcpcd wlan0
and post the errormessages. For the ifconfig-command I think, you commented your IP-adress out by yourself? since it's a private adress you may post it here, because this IP will not be accessable from the internet.

Markus

edit: this link maybe useful: http://www.scrounge.org/linux/dhcpcd.html

Last edited by markush; 08-22-2009 at 03:27 PM.
 
Old 08-22-2009, 07:47 PM   #7
David2010
Member
 
Registered: May 2009
Posts: 255

Original Poster
Rep: Reputation: 23
Quote:
Originally Posted by markush View Post
If there is a command "dhcpcd" available on Damn-Small-Linux, could you pleas execute this as
Code:
/sbin/dhcpcd wlan0
and post the errormessages. For the ifconfig-command I think, you commented your IP-adress out by yourself? since it's a private adress you may post it here, because this IP will not be accessable from the internet.

Markus

edit: this link maybe useful: http://www.scrounge.org/linux/dhcpcd.html
dhcpcd doesnt exist on DSL.

I edited out the IP address just because I am paranoid. You can blame Windows XP and Vista for that. xD

No worries though because I tried out puppy linux and it works great and its almost as fast as DSL. puppy linux worked right out of the box (Per say). xD

Last edited by David2010; 08-22-2009 at 07:48 PM.
 
Old 08-25-2009, 01:18 PM   #8
jbarnes8
LQ Newbie
 
Registered: Aug 2009
Posts: 5

Rep: Reputation: 0
I have not read this whole post. But FROM MY experience with ndiswrapper, I had tried for a year to get it to work. After finally getting it to compile and run all the commands with no errors. It still would not work. Eventually I found that somewhere hidden deep away in some readme file some where, it says that in some cases you need to recompile your kernel with the SAME compiler you will use to compile the ndiswrapper. Something to do with the kernel headers or glibc or something. Anyway, it worked after that. I don't remember exactly. It was years ago....but anyway, hope that helps.

I'm actually in the process of installing it again myself. I will let you know of anything that comes up that might help you.
 
  


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
Gentoo linux and wireless internet problems jcegan Linux - Wireless Networking 0 09-23-2005 07:18 PM
Wireless Internet, Graphics, and other problems suggest D500 was NOT meant for Linux! luminousnerd Slackware 13 06-01-2005 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 AM.

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