LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Realtek-based USB adapter in Slack 12.1 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/realtek-based-usb-adapter-in-slack-12-1-a-648958/)

Jerrymander 06-12-2008 09:55 PM

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.

Bruce Hill 06-13-2008 01:38 AM

You need nameservers in /etc/resolv.conf ... what do you have there?

Jerrymander 06-13-2008 03:06 PM

Well, I got it working with a simple

# dhcpcd -k wlan0
# dhcpcd -d wlan0

And now I'm browsing fine.

But thanks. :D


All times are GMT -5. The time now is 06:45 AM.