LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-26-2005, 08:36 PM   #1
soupy
Member
 
Registered: Aug 2004
Posts: 40

Rep: Reputation: 15
wlan0 network & host unreachable


i'll apologize right off for asking what i'm sure will be a silly question. for what it's worth, i even browsed thru several of the pages in this forum by keywords for my problem, but i don't see a "lead pipe cinch" answer. in fact, i've even had the net connection i asked about working at one point, but i've done everything the same and for some reason, it's not working now.

i'm running kanotix (clean install with some net applications installed) on an ibm thinkpad T22. i'm using a netopia 3D reach wireless pcmcia card. it uses acx100 chipset. i've even had the thing working at home also. the network i'm trying to get on does not broadcast the essid. encryption is turned off. here's the output from a few commands:


root@box:/home/doug# 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:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:836 (836.0 b) TX bytes:836 (836.0 b)

wlan0 Link encap:Ethernet HWaddr 00:80:C6:E6:84:FC
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2066 errors:0 dropped:0 overruns:0 frame:0
TX packets:44 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:176639 (172.4 KiB) TX bytes:14148 (13.8 KiB)
Interrupt:11 Base address:0x4800

root@box:/home/doug# iwconfig
lo no wireless extensions.

wlan0 IEEE 802.11b+ ESSID:"ccc" Nickname:"acx100 v0.2.0pre8"
Mode:Managed Frequency:2.437 GHz Access Point: 00:12:17:005:4F
Bit Rate=22 Mb/s Tx-Power=18 dBm Sensitivity=176/255
Retry min limit:7 RTS thrff
Encryption keyff
Power Managementff
Link Quality=63/100 Signal level=52/100 Noise level=1/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

root@box:/home/doug# iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:12:17:005:4F
ESSID:""
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=65/100 Signal level=55/100 Noise level=1/100
Encryption keyff
Bit Rate:11 Mb/s

root@box:/home/doug# ping -c 4 192.168.1.1
connect: Network is unreachable
root@box:/home/doug# netstat -r
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
root@box:/home/doug# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
root@box:/home/doug#

with it seeing the wireless network on the scan, and the MACs showing up for both the wlan card and the router, i'm hoping this is something really simple. i'm also, as i'm sure you all have figured out, a linux newbie. i've tried the network configs thru the gui of kanotix. i've tried using both dhcp and static setup in the gui configs. the kwifimanager doesn't seem to do any good connecting either. it shows me successfully connected and shows good signal strength, but i can't ping the gateway, 192.168.1.1, or anything else for that matter. i could ping 127.0.0.1, but not the IP i set my own static to. thanks in advance for any pointers.

-soupy

Last edited by soupy; 10-27-2005 at 08:25 PM.
 
Old 10-27-2005, 12:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like the association is ok but you just don't have an IP.
Try:
killall dhclient
dhclient wlan0
 
Old 10-27-2005, 08:23 PM   #3
soupy
Member
 
Registered: Aug 2004
Posts: 40

Original Poster
Rep: Reputation: 15
ok, here's the output:

root@box:/home/doug# killall dhclient
dhclient: no process killed
root@box:/home/doug# dhclient wlan0
Internet Software Consortium DHCP Client 2.0p15
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribue if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

Listening on LPF/wlan0/00:80:c6:e6:84:fc
Sending on LPF/wlan0/00:80:c6:e6:84:fc
Sending on Socket/fallback/fallback -net
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
No DHCPOFFERS received.
No working leases in persistent database.

Sleeping.

root@box:/home/doug#


i should mention, and should have mentioned in the original post, that the wireless access point i'm trying to use isn't the primary router for the network. the router i'm trying to connect to is basically being used as a wireless hub only. the wireless point is actually cabled to the main router that assigned the ip addresses. i've been told that the dhcp of the wireless point i'm trying to connect to isn't actually assigning ip's. regardless, i can't connect to the network, neither if i set my machine for static (using ip known to not have conflicts) nor for dhcp. under windows, it connects. a friend of mine has an ibook that has no trouble connecting. for that matter, when i'm at home, with cable modem and router, i can't connect using dhcp, i have to set it up static, but it works at home nonetheless.
 
Old 10-29-2005, 03:22 PM   #4
mikeh2
Member
 
Registered: Oct 2005
Posts: 32

Rep: Reputation: 15
I have exactly the same problem. Did you find a solution yet?
 
Old 10-29-2005, 11:14 PM   #5
soupy
Member
 
Registered: Aug 2004
Posts: 40

Original Poster
Rep: Reputation: 15
nope, no solution yet. in fact, even when i'm at home, i have to reconfigure the wireless connection every time so it will hook up, but at least it works. of course, i'm sure that problem would just be a matter of figuring out which config file to edit. i'm sure it's something small, i just don't know what it is.
 
Old 10-30-2005, 05:56 AM   #6
soupy
Member
 
Registered: Aug 2004
Posts: 40

Original Poster
Rep: Reputation: 15
hey, i found a solution. part of this problem may have been a security setting in the wireless access point, i'm not sure. any how, when i log in, and after reading several posts on similar issues, i got it working. btw, i was trying to connect thru a wireless card whilst having a wired ethernet card in the same computer. here's what i did:

root# ifconfig eth0 down
root# route add default wlan0
root# route add default gw 192.168.1.1

then i configured the rest with the gui tool in kde under kanotix. everything works fine. i'm not sure why it worked the last time and it didn't the first time, because i had tried that before. perhaps it was something i changed in the wireless access point, but regardless, it's working now. hope this helps someone else.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Host is unreachable Mikessu Linux - Networking 1 03-13-2004 11:49 AM
"Destination Host Unreachable" on local network radupastia Linux - Networking 0 08-13-2003 09:46 AM
Destination Host Unreachable thanos35 Linux - General 4 01-06-2003 06:48 AM
destination host unreachable jb1 Linux - Networking 3 11-27-2002 01:36 PM
Host unreachable toolkit Linux - Networking 7 07-09-2002 12:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration