Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-04-2005, 06:46 PM
|
#1
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
can ping network computer, cannot ping google.com (help needed)
hi.
I have a NetGear MA521 wireless card with the XP RTL8180 driver found in the tutorial on this website. I used ndiswrapper to set it up, on Mandrake 10.1 I can ping my LAN fine, it looks like this:
[root@BEN ndiswrapper]# ping 192.168.1.47
PING 192.168.1.47 (192.168.1.47) 56(84) bytes of data.
64 bytes from 192.168.1.47: icmp_seq=1 ttl=64 time=0.150 ms
64 bytes from 192.168.1.47: icmp_seq=2 ttl=64 time=0.155 ms
64 bytes from 192.168.1.47: icmp_seq=3 ttl=64 time=0.149 ms
64 bytes from 192.168.1.47: icmp_seq=4 ttl=64 time=0.154 ms
64 bytes from 192.168.1.47: icmp_seq=5 ttl=64 time=0.146 ms
so that seems to work.
I however cannot ping google.com or visit anything outside my network. I get:
[root@BEN ndiswrapper]# ping google.com
PING google.com (216.239.39.99) 56(84) bytes of data.
From BIGMAC (192.168.1.47) icmp_seq=1 Destination Host Unreachable
From BIGMAC (192.168.1.47) icmp_seq=2 Destination Host Unreachable
From BIGMAC (192.168.1.47) icmp_seq=3 Destination Host Unreachable
so therefore I have an inside connection, but not an connection to the net. I don't see what the problem is. Then I do this command:
[root@BEN ndiswrapper]# dmesg | grep "wlan0"
wlan0: ndiswrapper ethernet device 00:09:5b:21:b3:0f using driver rtl8180.sys
wlan0: no IPv6 routers present
and it says I have the driver present using the, and the device is regularly there. my wlan0 connection is up and running however I have no web access. How can I get my web access running on my wireless card?
|
|
|
01-04-2005, 06:49 PM
|
#2
|
Member
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221
Rep:
|
1. what is your gateway?
2. do you have this machine as dhcp, or static?
3. what is your DNS?
4. try to ping google.com by number: 216.239.39.99
then i can help you
thanks
|
|
|
01-04-2005, 07:00 PM
|
#3
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
Quote:
Originally posted by soylentgreen
1. what is your gateway?
2. do you have this machine as dhcp, or static?
3. what is your DNS?
4. try to ping google.com by number: 216.239.39.99
then i can help you
thanks
|
how can I find out the gateway, dhcp, and dns info?
and I have to pick this up tomorrow, so I'll read you response then
|
|
|
01-04-2005, 07:51 PM
|
#4
|
Member
Registered: Sep 2004
Location: old village
Distribution: android, BSD, CentOS, Ubuntu
Posts: 221
Rep:
|
gateway is your access to the internet,
like, are you connecting through a windows box that has ICS or something?
do you have a cable modem? or DSL?
do an
/sbin/ifconfig
and post the output
we might have to go back and forth a bit, until we get the important info to each other .. that other machine.. the 192.168.1.47.. is that plugged into a router? it sounds like an address from a router.. that maybe is plugged into a cable modem..
lemme know that info and we can work from there.
|
|
|
01-05-2005, 12:29 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Posts: 14
Rep:
|
would be helpful to see output from:
/sbin/ifconfig
/sbin/route -n
ps aux | grep dhc ## if you use dhcp, may be using dhcpcd or dhclient
also post the contents of
/etc/resolv.conf ## this is where your nameservers would be listed
|
|
|
01-05-2005, 06:49 AM
|
#6
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
Quote:
Originally posted by soylentgreen
gateway is your access to the internet,
like, are you connecting through a windows box that has ICS or something?
do you have a cable modem? or DSL?
do an
/sbin/ifconfig
and post the output
we might have to go back and forth a bit, until we get the important info to each other .. that other machine.. the 192.168.1.47.. is that plugged into a router? it sounds like an address from a router.. that maybe is plugged into a cable modem..
lemme know that info and we can work from there.
|
ok, I'm connected through a DSL modem/wireless router.
here is my /sbin/ifconfig
[superman@BEN superman]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:3F:32:5B:48
inet addr:192.168.1.44 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::202:3fff:fe32:5b48/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:197 errors:0 dropped:0 overruns:0 frame:0
TX packets:245 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:142731 (139.3 Kb) TX bytes:38070 (37.1 Kb)
Interrupt:10 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5992 (5.8 Kb) TX bytes:5992 (5.8 Kb)
198.162.1.47 is connected through the router.(plugged in through a dsl modem)
|
|
|
01-05-2005, 06:59 AM
|
#7
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
Quote:
Originally posted by bob66
would be helpful to see output from:
/sbin/ifconfig
/sbin/route -n
ps aux | grep dhc ## if you use dhcp, may be using dhcpcd or dhclient
also post the contents of
/etc/resolv.conf ## this is where your nameservers would be listed
|
wait, i was posting stuff with the eth0 attached. does that matter?
[superman@BEN superman]$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
[superman@BEN superman]$ ps aux |grep dhc
root 4971 0.0 0.3 1940 960 ? Ss 07:58 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid -cf /etc/dhclient-eth0.conf eth0
superman 5014 0.0 0.2 1764 600 pts/0 S+ 07:58 0:00 grep dhc
[root@BEN superman]# /etc/resolv.conf
bash: /etc/resolv.conf: Permission denied
Last edited by ben_build#2.1.0; 01-05-2005 at 07:03 AM.
|
|
|
01-05-2005, 07:02 AM
|
#8
|
Member
Registered: Dec 2004
Location: Tunisia
Distribution: Redhat (Now Fedora), Mandrake, Suse, Debian.
Posts: 65
Rep:
|
You don't have any gateway on your routes
You are not connected to Internet. Are u?
Last edited by Belghouth; 01-05-2005 at 07:05 AM.
|
|
|
01-05-2005, 07:04 AM
|
#9
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
Quote:
Originally posted by Belghouth
Are you connected to Internet? if the answer is yes, this mean that the trafic if filtred by a firewall
Supply additional informations as bob66 said
|
I did. look above.
Last edited by ben_build#2.1.0; 01-05-2005 at 07:06 AM.
|
|
|
01-05-2005, 07:07 AM
|
#10
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
Quote:
Originally posted by Belghouth
You don't have any gateway on your routes
You are not connected to Internet. Are u?
|
I am connected to the internet through my cabled network card
want the results with the cable off?
(and now the NIC won't even connect, although it says ndiswrapper is installed.
|
|
|
01-05-2005, 07:13 AM
|
#11
|
Member
Registered: Dec 2004
Location: Tunisia
Distribution: Redhat (Now Fedora), Mandrake, Suse, Debian.
Posts: 65
Rep:
|
/etc/resolv.conf is a text file when DNS adress is configured, check it with
Code:
cat /etc/resolv.conf
|
|
|
01-05-2005, 07:14 AM
|
#12
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
[root@BEN superman]# cat /etc/resolv.conf
search myhome.westell.com
nameserver 192.168.1.1
nameserver 192.168.1.1
so, would that be my IP?
|
|
|
01-05-2005, 07:17 AM
|
#13
|
Member
Registered: Dec 2004
Location: Tunisia
Distribution: Redhat (Now Fedora), Mandrake, Suse, Debian.
Posts: 65
Rep:
|
can you ping 192.168.1.1 ?
|
|
|
01-05-2005, 07:20 AM
|
#14
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Original Poster
Rep:
|
Quote:
Originally posted by Belghouth
can you ping 192.168.1.1 ?
|
I can ping it with my cabled network card, but the LNK light isn't even on with the wireless card so I'd assume its not connected.
how can I get that connection up?
|
|
|
01-05-2005, 07:23 AM
|
#15
|
Member
Registered: Dec 2004
Location: Tunisia
Distribution: Redhat (Now Fedora), Mandrake, Suse, Debian.
Posts: 65
Rep:
|
Quote:
[root@BEN ndiswrapper]# ping google.com
PING google.com (216.239.39.99) 56(84) bytes of data.
From BIGMAC (192.168.1.47) icmp_seq=1 Destination Host Unreachable
|
when you pinged www.google.com, the adress was resolved 216.239.39.99, that means your DNS is replying.
The problem is in the 192.168.1.47 gateway, it could be not configured.
|
|
|
All times are GMT -5. The time now is 12:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|