LinuxQuestions.org
Visit Jeremy's Blog.
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
 
LinkBack Search this Thread
Old 06-12-2008, 09:55 PM   #1
Jerrymander
LQ Newbie
 
Registered: May 2008
Location: Florida
Distribution: Slackware 12.1 / Ubuntu 8.04
Posts: 5

Rep: Reputation: 0
Realtek-based USB adapter in Slack 12.1


Okay. Not new to Slackware, but new enough to not know what I'm doing. Been using it for about 4 months.

I recently was forced to switch to a wireless network due to a lack of wired connections where I live. So I bought a router and a wireless adapter and all that good stuff. I got the driver installed fine and I can connect to the network without any hitches. My router works and my adapter works.

Of course, Firefox refuses to load any pages. I typed in ping 64.233.167.147 (google.com) in Terminal and it pinged and returned fine, with normal operation. I'm just curious as to what I've done wrong. It seems like I would be connected to the internet, just denied HTTP access. Pidgin refuses to connect as well, so it doesn't appear to be a FF-related issue.

My network is unencrypted, due to the fact that I am merely trying to get it to work at this point.

For those of you interested, my adapter is the TrendNET424UB. I know, it's pretty bad, but money was a serious constraint.

I'll post some necessary commands:

iwlist scan

Code:
wlan0     Scan completed :
          Cell 01 - Address: 00:1D:7E:C9:76:1B
                    ESSID:"nh"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:40/100  Signal level:-70 dBm  Noise level:-96 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
iwconfig wlan0

Code:
wlan0     IEEE 802.11g  ESSID:"nh"  Nickname:"nh"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:1D:7E:C9:76:1B   
          Bit Rate=54 Mb/s   Tx-Power:20 dBm   Sensitivity=0/3  
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:40/100  Signal level:-70 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
ifconfig wlan0

Code:
wlan0     Link encap:Ethernet  HWaddr 00:14:d1:3d:bf:94  
          inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::214:d1ff:fe3d:bf94/64 Scope:Link
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:216 errors:0 dropped:0 overruns:0 frame:0
          TX packets:101 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:15384 (15.0 KiB)  TX bytes:6994 (6.8 KiB)
lsusb does list the USB adapter and ndiswrapper -l shows everything installed. But we knew that already, didn't we?

I'm just wondering why I can ping google but can't open the page in Firefox. It's moderately annoying, because this is my main computer and I would very much like to have internet access on it. Replies are appreciated.


Edit: I know the problem is not an access problem at the router, because I was able to get online with a windows laptop (that's what I am using right now) by simply clicking and connecting. It flusters me that Linux couldn't be as easy as Windows, but if I wanted to have an easy time using my computer, well, I wouldn't be using Slack.

Last edited by Jerrymander; 06-12-2008 at 10:01 PM.
 
Old 06-13-2008, 01:38 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
You need nameservers in /etc/resolv.conf ... what do you have there?
 
Old 06-13-2008, 03:06 PM   #3
Jerrymander
LQ Newbie
 
Registered: May 2008
Location: Florida
Distribution: Slackware 12.1 / Ubuntu 8.04
Posts: 5

Original Poster
Rep: Reputation: 0
Well, I got it working with a simple

# dhcpcd -k wlan0
# dhcpcd -d wlan0

And now I'm browsing fine.

But thanks.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please recommend Slack-based & Slack-compatible distros. brjoon1021 Slackware 19 11-04-2007 03:14 PM
Realtek 8150 class USB-LAN adapter devices Maidros Solaris / OpenSolaris 1 10-22-2006 06:17 AM
Good Realtek-Based Gigabit NIC? shadin Linux - Hardware 0 07-10-2006 02:58 PM
Realtek 8180 wireless adapter problem Bentronathon Linux - Hardware 0 04-22-2004 06:10 PM
Need help to install network adapter Realtek RTL8139 KEP Linux - Networking 11 07-22-2003 07:53 PM


All times are GMT -5. The time now is 03:17 PM.

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