LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Wireless network driver installed cant configure internet (http://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-network-driver-installed-cant-configure-internet-219462/)

deadenduser0666 08-18-2004 07:52 PM

Wireless network driver installed cant configure internet
 
i have recently installed redhat linux 9 and i have installed my wireless card and the driver but can not get INTERNET i can ping my router and the dhcp is enabled but still no INTERNET????

if anyone has any sugestions PLEASE HELP!!
I AM A NEWBIE SO PLEASE SHOW STEP BY STEP

KWTm 08-18-2004 08:18 PM

can ping router but can't get Internet
 
Okay, deadenduser0666, although you are a self-admitted newbie, we thank you for posting a relevant subject line rather than something like "Help me! My computer doesn't work!" (I usually don't even read those messages.) You're ahead of a lot of other newbies already. Also, we note that you aren't too newbie to use size tags in your post.

Anyway, here's my view of the situation: you can ping your router, so that connection works. I wonder if it's a problem with the router connecting to the rest of the Internet, rather than your computer connecting to the router? Here are some questions to find that out:

0. What's the brand of your router? Tell us a bit more about it. While you're at it, are we talking cable modem or DSL or what?

1. Can your RedHat 9 computer talk to the router in a more meaningful way? For example, most home routers have a web page accessible at 192.168.0.1 (or, for Linksys routers, 192.168.1.1 if I recall correctly). Does this show up on your computer?

2. What happens on your RedHat 9 computer when you type the "ifconfig" command? What about "iwconfig"? The latter command is how you would set the session ID (ESSID), any WEP key, etc. The former command checks all network connections, wireless or not.

3. Can any other computer talk to the router, perhaps through an ethernet cable connection? (This assumes that your wireless router can also accept cable connections, such as would be the case in most routers for sale in North American electronic stores these days.) If another computer can talk to the router, can that computer call up the info on router status, such as whether the router's wireless mode is enabled, who's connected, etc.?

4. Can your router talk to the Internet? For example, can another computer ping www.google.com? Can it grab a web page? If you don't have another computer, sometimes there is a way to get the router to ping a location for you.

This will let us get started.

deadenduser0666 08-18-2004 11:29 PM

my router is a dlink

deadenduser0666 08-18-2004 11:42 PM

sorry pressed enter my router is a dlink di 512 / 802.11b
i am using a dsl connection that the roughter allways keeps alive

my computer will not acsess the page from konqor web browser
but my brother (using windows) is able to acsess the page

and my mothers (allso windows ) using eathernet can aCsess the page
and they can surf the web

the essid is default
wep is off
and im reciving my own ip adress from the roughter but it keeps changeing

arno 08-19-2004 06:02 AM

Can you ping 66.102.11.99
then add to
/etc/resolv.conf
nameserver xx.xx.xx.xx
nameserver yy.yy.yy.yy

only change xx.xx.xx.xx and yy.yy.yy.yy with the dns address of your isp

or do you have an other nic in your computer

post the output of
route -n

KWTm 08-19-2004 07:22 PM

Also please post the output of the commands:

iwconfig

ifconfig

I am using a similar DLink wireless router. Please have your brother access the page at 192.168.0.1, select from the top menu "Home" (which should already be the default) and then from the left-side menu "DHCP", which should list the computers that are connected to the router, including via wireless. Does your RedHat9 show up on there? Presumably your brother's computer shows up, and also your mother's computer.

WUPS, possible mistake --are you saying that your brother can reach the router via wireless? If so, DO NOT use that computer to access the router page; instead, use an Ethernet-connected computer such as your mother's.

If the router does not list your computer, then your RedHat9 isn't really connected to the router. If the router does list it, then RedHat9 is having trouble talking to the router and we'll take a look at the output from the ifconfig and iwconfig commands.

deadenduser0666 08-19-2004 09:32 PM

Route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 lo
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
[root@localhost root]#


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:13052 errors:0 dropped:0 overruns:0 frame:0
TX packets:13052 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:668476 (652.8 Kb) TX bytes:668476 (652.8 Kb)

wlan0 Link encap:Ethernet HWaddr 00:0D:88:C8:D0:4A
inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34858 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:29547492 (28.1 Mb) TX bytes:0 (0.0 b)
Interrupt:11 Base address:0xe800

[root@localhost root]# iwconfig
lo no wireless extensions.

Warning: Driver for device wlan0 has been compiled with version 0
of Wireless Extension, while this program is using version 15.
Some things may be broken...

wlan0 IEEE 802.11-DS ESSID:"default"
NWID:off/any Frequency:2.437GHz Access Point: FF:BF:07:00:01:00
Bit Rate:11Mb/s Tx-Power:2346 dBm Sensitivity=2437/0
Retry:on RTS thr:2346 B Fragment thr:2346 B
Encryption key:off
Power Management11Mb/s:on

my router doesn't show me who is on unless they have a static ip address

deadenduser0666 08-19-2004 11:14 PM

i've been reading around and saw NDISWrapper if it is my driver like ther errror said could this be a fix?

arno 08-20-2004 07:23 AM

You only have to add a default gateway
route add default gw xx.xx.xx.xx
where xx.xx.xx.xx is the address of your router

deadenduser0666 08-20-2004 11:15 AM

i've done that allready no change

arno 08-20-2004 03:34 PM

The error "Some things may be broken.." could mean
the use of WEP on the AP but not on the client
Some users used a fixed ip address instead if dhcp, you could try that

deadenduser0666 08-20-2004 10:11 PM

that made absolutly no difference

deadenduser0666 08-20-2004 10:20 PM

ive also heard of some success with slackware linux should i change from rh9

arno 08-21-2004 04:47 AM

You could have the same problem with an other distribution.
You haven't mentioned the wifi nic you are using, could you post the name and model, what driver are you using madwifi, ndiswappper, linux-wlan-ng or orinoco ?

KWTm 08-23-2004 08:02 PM

It seems that arno is on the right track, and I'm not as familiar, so I'll let him/her take the lead on that.

MJaybe I can attack it from the router end.

Quote:

my router doesn't show me who is on unless they have a static ip address
That seems rather unusual for a DLink router. When your brother's computer surfs the net, does it not show up on the router's "list of computers that are connected through the router"? For an accurate comparison, use wireless on your brothers computer (or some computer that works).

In any case, perhaps the computer will show up if you assign a static DHCP address. This is an option available on the newer models of DLink routers (and the older models, too, if you do a firmware upgrade). Under Home > DHCP, there's a section where you can enter the MAC address; in your case, it's

00:0D:88:C8:D0:4A (according to the "ifconfig" output)

(By the way, you have smilies all over your post because the ":D" in "C8:D0" is seen to be a smilie. Check the "Disable Smilies in This Post" box at the bottom of your posting before submitting.)

You can tell your DLink router, "every time you see this MAC address, give it a specific IP address" (like 192.168.0.111).

If you cannot get your card to show up on your router, I would seriously doubt whether it has properly connected.

Also, you ask about whether you should switch to Slackware. The answer is probably "no". You either want to tinker with Linux, or you want to just get it working "out of the box" and get on with life.
If you want to tinker:
you've already invested time tinkering with RedHat, so you might as well stick with this one and learn it well before moving on to another distro like Slackware with its subtle differences.
If you want to get it working quickly and move on:
Red Hat is pretty good for doing that, and switching to another distro might break more things than it fixes. Meanwhile, if you need to just use the computer and save the tinkering for weekends, consider getting Knoppix and seeing if it will work; Knoppix is the premier distribution for getting things to work "right out of the box". Do your surfing or whatever, and then get back to Red Hat when you have time.

In fact, I should have suggested this earlier: does Knoppix automatically detect your wireless and get everything up and running? If so, it may give a clue. If you don't have a Knoppix CD, burn one --those things are handy.


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