View previous topic :: View next topic |
Author |
Message |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Tue Aug 10, 2004 7:37 am Post subject: Wireless.. No route to the Internet |
|
|
I've had this problem for 3 weeks straight and all of the time, I thought its got to do with the wireless-script. Last week, I changed from orinoco to hostap which provided scanning and monitoring and upgraded the wireless-script. As a result, I now can get an IP address through DHCP at the college canteen. Even orinoco drivers when tested again managed to obtain an IP address. I noticed there are around 3 or 4 wireless APs with the same name "WLAN".
After obtaining the address, whenever I try ping www.whatever-u-want.com, nothing came up but the DNS resolved correctly. While other Windows users are enjoying, I'm left wondering why. Please help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
br0mGreV Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Tue Aug 10, 2004 8:48 am Post subject: |
|
|
try the following code :
and verify that the default route, or the route for your wireless interface is ok (compare with ifconfig)
You can check in /etc/conf.d/net and see if the line gateway="whatever" is commented ( a leading #) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Wed Aug 11, 2004 7:53 am Post subject: |
|
|
Results..
route -n :
Code: |
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0
|
ifconfig :
Code: |
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
RX bytes:200 (200.0 b) TX bytes:200 (200.0 b)
wifi0 Link encap:UNSPEC HWaddr 00-E0-00-D3-18-0C-00-00-00-00-00-00-00-00-00
-00
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2367 (2.3 Kb) TX bytes:1320 (1.2 Kb)
Interrupt:9 Memory:cf902000-cf903000
wlan0 Link encap:Ethernet HWaddr 00:E0:00:D3:18:0C
inet addr:192.168.1.82 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2059 (2.0 Kb) TX bytes:1294 (1.2 Kb)
Interrupt:9 Memory:cf902000-cf903000
|
ping :
Thanks for helping |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnuageux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/161644882641fd6ea588345.png)
Joined: 17 Apr 2004 Posts: 1201
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Wed Aug 11, 2004 12:36 pm Post subject: |
|
|
will try 2moro ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Thu Aug 12, 2004 9:15 am Post subject: |
|
|
here it is...
ping gw
Code: |
PING 192.168.1.254 (192.168.1.254) 56(84) bytes of data.
--- 192.168.1.254 ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11026ms
|
route again w/o -n
Code: |
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 wlan0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default proxy.sunway.ed 0.0.0.0 UG 0 0 0 wlan0
|
pinging proxy
Code: |
ping: unknown host proxy.sunway.edu
|
.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnuageux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/161644882641fd6ea588345.png)
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Aug 12, 2004 9:20 am Post subject: |
|
|
Hmmm route doesnt show your gw as .254, have you tried changing this in /etc/conf.d/net ? Maybe just changing it from the host to the ip may help. Odd tho.....
Either that or maybe adding your gw's hostname -> ip to your hosts file?
Not sure that will help, but it may _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Thu Aug 12, 2004 2:04 pm Post subject: |
|
|
gnuageux wrote: | Hmmm route doesnt show your gw as .254, have you tried changing this in /etc/conf.d/net ? Maybe just changing it from the host to the ip may help. Odd tho.....
Either that or maybe adding your gw's hostname -> ip to your hosts file?
Not sure that will help, but it may |
I'm going to try the hosts file but I'm not sure what to add.
192.168.1.254 proxy proxy.sunway.edu
Is it correct? Wouldn't it be overwritten everytime net.* scripts run dhcpcd?
Thanks gnuageux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Thu Aug 12, 2004 2:16 pm Post subject: |
|
|
Another Q. If I insert that entry into hosts file. It will just resolve
proxy.sunway.edu -> 192.168.1.254
but then I can't ping 192.168.1.254. Just a guess but I'm thinking that it either means i can't get 192.168.1.254 or some firewall behind it denying the packets i sent. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
br0mGreV Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Jul 2004 Posts: 265 Location: Paris, France
|
Posted: Thu Aug 12, 2004 2:25 pm Post subject: |
|
|
the weird thing is that your resolv adress on your first post.
What are the nameserver you use ?
> more /etc/resolv.conf
and
> nslookup _________________ Rien n'est éternel, pas même les problèmes... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Fri Aug 13, 2004 12:54 am Post subject: |
|
|
Didn't bring my laptop today, right now I'm on the a public comp in the library which is on a separate network and I'm just playing here and there to see the network. I'm dont know many windows tools.
So route PRINT gives me this.
Code: |
C:\WINDOWS>route PRINT
Active Routes:
Network Address Netmask Gateway Address Interface Metric
0.0.0.0 0.0.0.0 172.16.32.2 172.16.32.132 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
172.16.32.0 255.255.248.0 172.16.32.132 172.16.32.132 1
172.16.32.132 255.255.255.255 127.0.0.1 127.0.0.1 1
172.16.255.255 255.255.255.255 172.16.32.132 172.16.32.132 1
224.0.0.0 224.0.0.0 172.16.32.132 172.16.32.132 1
255.255.255.255 255.255.255.255 172.16.32.132 172.16.32.132 1
|
The gateway is 172.16.32.2
Then I tried pinging yahoo.com.
Code: |
Pinging www.yahoo.akadns.net [66.94.230.39] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
|
But this computer can connect to any other website like normal..
EDIT: I mean that I can connect to any website including yahoo.. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnuageux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/161644882641fd6ea588345.png)
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Fri Aug 13, 2004 10:42 am Post subject: |
|
|
Which version of windows is it? I think that you can ipconfig /displaydns to see what name servers your using from dos. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 23 Jun 2003 Posts: 943
|
Posted: Fri Aug 13, 2004 11:58 am Post subject: |
|
|
hotplainrice wrote: | But this computer can connect to any other website like normal..
EDIT: I mean that I can connect to any website including yahoo.. |
Perhaps the school blocks ICMP echo-requests?
gnuageux wrote: | I think that you can ipconfig /displaydns to see what name servers your using from dos. |
I don't know of a /displaydns switch in Windows 2000 or Windows XP, but "ipconfig /all" should work. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gnuageux Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/161644882641fd6ea588345.png)
Joined: 17 Apr 2004 Posts: 1201
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
devon l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 23 Jun 2003 Posts: 943
|
Posted: Fri Aug 13, 2004 12:14 pm Post subject: |
|
|
That link does not work for me.
"Were sorry, but there is no Microsoft.com Web page matching your entry. It is possible that you typed the address incorrectly, or that the page no longer exists. You may wish to try another entry or to use the links below, which we hope will help provide you with the information you need."
This link does show the /displaydns switch, but the information I get from running on Windows XP Professional
Code: | C:\Documents and Settings\Devon>ipconfig /displaydns
Windows IP Configuration
75.100.168.192.in-addr.arpa
----------------------------------------
Record Name . . . . . : 75.100.168.192.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 603194
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : exchange.example.test
Record Name . . . . . : 75.100.168.192.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 603194
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : exchange
usw6.akam.net
----------------------------------------
Record Name . . . . . : usw6.akam.net
Record Type . . . . . : 1
Time To Live . . . . : 156
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 206.132.100.108
eur3.akam.net
----------------------------------------
Record Name . . . . . : eur3.akam.net
Record Type . . . . . : 1
Time To Live . . . . : 156
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 193.45.1.103
zc.akadns.org
----------------------------------------
Record Name . . . . . : zc.akadns.org
Record Type . . . . . : 1
Time To Live . . . . : 156
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 63.241.199.54
1.0.0.127.in-addr.arpa
----------------------------------------
Record Name . . . . . : 1.0.0.127.in-addr.arpa.
Record Type . . . . . : 12
Time To Live . . . . : 603194
Data Length . . . . . : 4
Section . . . . . . . : Answer
PTR Record . . . . . : localhost
a.ns.nsatc.net
----------------------------------------
Record Name . . . . . : a.ns.nsatc.net
Record Type . . . . . : 1
Time To Live . . . . : 118
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 206.25.8.69
anteater.blueprint.org
----------------------------------------
Record Name . . . . . : anteater.blueprint.org
Record Type . . . . . : 1
Time To Live . . . . : 283
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 38.112.100.76
Record Name . . . . . : ns01.blueprint.org
Record Type . . . . . : 1
Time To Live . . . . : 283
Data Length . . . . . : 4
Section . . . . . . . : Additional
A (Host) Record . . . : 38.112.108.68
Record Name . . . . . : ns02.blueprint.org
Record Type . . . . . : 1
Time To Live . . . . : 283
Data Length . . . . . : 4
Section . . . . . . . : Additional
A (Host) Record . . . : 38.112.109.68
us-fl-1.ns.nsatc.net
----------------------------------------
Record Name . . . . . : us-fl-1.ns.nsatc.net
Record Type . . . . . : 1
Time To Live . . . . : 118
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 66.119.70.6
za.akadns.net
----------------------------------------
Record Name . . . . . : za.akadns.net
Record Type . . . . . : 1
Time To Live . . . . : 156
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 208.185.132.176
exchange
----------------------------------------
Record Name . . . . . : exchange
Record Type . . . . . : 1
Time To Live . . . . : 603194
Data Length . . . . . : 4
C:\Documents and Settings\Devon> |
doesn't show my DNS servers. "ipconfig /all" does show my DNS servers.
Code: | C:\Documents and Settings\Devon>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : devnull-xp
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : noved.org
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : noved.org
Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC
Physical Address. . . . . . . . . : 00-20-ED-3F-89-95
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 63.240.76.4
204.127.198.4
NetBIOS over Tcpip. . . . . . . . : Disabled |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Mon Aug 16, 2004 3:44 am Post subject: |
|
|
Here it is.. Sorry. Weekends I'm out
I'll post the resolv.conf later when I get back.
Output from winipcfg:
Code: |
Windows 95 IP Configuration
Host Name . . . . . . . . . : OPAC.sunway.edu.my
DNS Servers . . . . . . . . : 172.16.0.6
172.16.0.15
Node Type . . . . . . . . . : Broadcast
NetBIOS Scope ID. . . . . . :
IP Routing Enabled. . . . . : No
WINS Proxy Enabled. . . . . : No
NetBIOS Resolution Uses DNS : Yes
Ethernet adapter :
Description . . . . . . . . : Novell 2000 Adapter.
Physical Address. . . . . . : 00-00-E8-47-28-E4
DHCP Enabled. . . . . . . . : Yes
IP Address. . . . . . . . . : 172.16.32.132
Subnet Mask . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . : 172.16.32.2
DHCP Server . . . . . . . . : 172.16.8.77
Primary WINS Server . . . . : 172.16.8.77
Secondary WINS Server . . . :
Lease Obtained. . . . . . . : Wed Jan 1 97 12:02:45 AM
Lease Expires . . . . . . . : Thu Jan 9 97 12:02:45 AM
|
and how do i do the nslookup? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hotplainrice Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Apr 2004 Posts: 92
|
Posted: Tue Aug 24, 2004 3:22 pm Post subject: |
|
|
I lost my gentoo installation (damn cfdisk) and re-install winXP. I'll re-install gentoo later. It's odd that here I am in Windows and I can obtain an IP address from DHCP but I have the same problem of not being able to connect to the internet. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|