• Welcome to Valhalla Legends Archive.
 

Slackware Wireless Interner Problems

Started by Tazo, January 03, 2006, 05:29 PM

Previous topic - Next topic

Tazo

Hi all. I downloaded drivers for my wireless internet USB device from http://at76c503a.berlios.de/. I then followed all the instructions, setup my device using iwconfig, etc. I used Konqerour to visit my router page ( 192.168.2.1 ) which displayed fine, and I made some minimal changes to my network. However, when attempting to visit google.com, Mozilla says 'www.google.com cannot be found'. Help please  :-\

Kp

Most likely your DNS entries are wrong.  Try to resolve google from the command line.  If that works, you've got some weird Mozilla problem (or your name resolution is very spotty).  What's in your resolv.conf(5)?
[19:20:23] (BotNet) <[vL]Kp> Any idiot can make a bot with CSB, and many do!

MyndFyre

Is that an Atmel driver?  Three different Linux distros, and I was never able to get my Atmel-based USB wireless connector to work via either NDISWrapper or native Linux drivers for the Atmel chipset.  I have since successfully gotten NDISWrapper to work in both Slackware 10.1 and Fedora Core 4 for a Linksys PCI wifi card and a built-in onboard miniPCI wifi card (the brand name escapes me at the moment).

I wish I had better news for you.

And why didn't you put this in the "Computer Support Issues" forum at the very top?
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Tazo

I thought I did, sorry  :-\

Also, resolv.conf says

searchsite google.com

(or whatever it is, searchsite, this is off the top of my head, modified from example.com)

Perhaps I will just run ethernet wire if all else fails  :(

iago

If you can get to your router's page, your wireless is clearly working fine.  Like Kp said, it's a problem with resolv.conf. 

Mine looks like this:
Quoteiago@slayer:~$ cat /etc/resolv.conf
nameserver 4.2.2.1
nameserver 4.2.2.2

I suggest adding your favorite DNS servers (typically your router; otherwise, 4.2.2.1-8 work nicely) to resolv.conf. 
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Tazo

so i can remove the search part and it will look like

nameserver 192.168.2.1


Newby

Put those nameservers in there just incase 192.168.2.1 doesn't resolve host names to IPs.
- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

Tazo

tried 4.2.2.1
Quote
The connection was refused when attempting to contact www.google.com

iago

From a commandline, run:

ping 4.2.2.1 -- just to make sure you're getting out of the network.

If that works,
host www.google.ca -- it's probably failing to resolve?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Tazo


bash-3.00# ping 4.2.2.1
     connect: network is unavailable
bash-3.00# ping google.com
ping: unknown host goole.com

No idea, mozilla still gives me 'google.com was not found'

iago

You are having problems getting off your lan, apparently. 

Can you run 2 commands for me, and paste the output here?

ifconfig
route

Thanks
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Tazo

#11
give me a break if something is spelled wrong, I hand wrote down and then copied everything =P

bash-3.00#>ifconfig
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: 4 errors: 0 dropped: 0 overruns: 0 frame: 0
    TX Packets: 4 errors: 0 dropped: 0 overruns: 0 carrier: 0
    collisions: 0 txqueuelen: 0
wlan0 link encap: Ethernet HWaddr 00:30:BD:64:01:D9
          inet addr: 192.168.2.62 bcast: 192.168.2.255 mask:255.255.255.0
          UP BROADCAST RUNNING MTU:1500 Metric:1
          RX packets: 716 errors: 0 dropped: 0 overruns: 0 frame: 0
          TX Packets: 729 errors: 0 dropped: 0 overruns: 0 carrier: 0
          colissions: 0 txqueulen:1000
          RX bytesL 103789 tx bytesL 53928
bash-3.00#>route
Kernel IP routing table
Destination     Gateway    Genmask        Flags   Metric    Ref   Use     Iface
192.168.2.0        *        255.255.255.0      U         0          0      0       wlan0
loopback             *        255.0.0.0              U         0          0      0         lo

iago

All right, try running the command:

route add default gw <router> metric 1

I think in your case:
route add default gw 192.168.2.1 metric 1

If you want to see a configuration file that I use, have a look at this:
http://www.javaop.com/~iago/home-wireless.sh
I have nothing being automatically configured, if I intend to use wireless I run that script.  Yes, it has my wireless key in the file, but if anybody wants to sit outside my house and use it, well, just knock on the door and introduce yourself to me, and you can use it from my office :P
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Tazo

I use 128-Bit WEP encryption, is that a problem..?

iago

I believe that's what I'm using. 

Did you run the "route add ..." command and try again?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*