You are not logged in.

#1 2012-02-12 01:50:09

paulbarbee
Member
Registered: 2010-08-20
Posts: 49

Can't connect at public WEP Access Point, Can connect at home.

Hi,
My problem is that at home I can connect wirelessly to my router using 192.168.11.1 as the gateway. When I take my laptop out to my local coffee shop however I can't. the gateway is 192.168.1.254 I've tried using networkmanager & wicd. It connects perfectly and gets an IP address but won't connect to the Internet. I tried pinging the gateway & google but neither gets a response. For google it says "unknown host." For the gateway it says "Destination unreachable." On Windows 7 home (same laptop) it connects perfectly. I've tried looking at rc.conf and resolv.conf but they both look normal and both work on my home network.

Using wicd in errors.log there is the line "dhcpcd not running." I tried manually running ¨/etc/rc.d/dhcp4 start¨ but that gives me the following.:


No subnet declaration for wlan0 (192.168.1.176).
Feb 11 11:47:19 localhost dhcpd: ** Ignoring requests on wlan0.  If this is not what
Feb 11 11:47:19 localhost dhcpd:    you want, please write a subnet declaration
Feb 11 11:47:19 localhost dhcpd:    in your dhcpd.conf file for the network segment
Feb 11 11:47:19 localhost dhcpd:    to which interface wlan0 is attached. **
Feb 11 11:47:19 localhost dhcpd:
Feb 11 11:47:19 localhost dhcpd: Not configured to listen on any interfaces!
Feb 11 11:47:19 localhost dhcpd:
Feb 11 11:47:19 localhost dhcpd: If you did not get this software from ftp.isc.org, please
Feb 11 11:47:19 localhost dhcpd: get the latest from ftp.isc.org and install that before
Feb 11 11:47:19 localhost dhcpd: requesting help.
Feb 11 11:47:19 localhost dhcpd:
Feb 11 11:47:19 localhost dhcpd: If you did get this software from ftp.isc.org and have not
Feb 11 11:47:19 localhost dhcpd: yet read the README, please read it before requesting help.
Feb 11 11:47:19 localhost dhcpd: If you intend to request help from the dhcp-server@isc.org
Feb 11 11:47:19 localhost dhcpd: mailing list, please read the section on the README about
Feb 11 11:47:19 localhost dhcpd: submitting bug reports and requests for help.
Feb 11 11:47:19 localhost dhcpd:
Feb 11 11:47:19 localhost dhcpd: Please do not under any circumstances send requests for
Feb 11 11:47:19 localhost dhcpd: help directly to the authors of this software - please
Feb 11 11:47:19 localhost dhcpd: send them to the appropriate mailing list as described in
Feb 11 11:47:19 localhost dhcpd: the README file.
Feb 11 11:47:19 localhost dhcpd:
Feb 11 11:47:19 localhost dhcpd: exiting.

On my home network it sees the router and connects to the Internet fine. I'm at my wits end as far as what to try to make it connect on the public network.
Thanks in advance for any help!

Offline

#2 2012-02-12 19:42:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: Can't connect at public WEP Access Point, Can connect at home.

paulbarbee wrote:

I tried manually running ¨/etc/rc.d/dhcp4 start¨ but that ...

... But that is a dhcp server, not a client.  In other words, you are trying to tell your computer to provide other computers on that public network with IP addresses.  Because you did not set your configuration file up to serve that subnet, the server choose to ignore it.  This is fortunate, because the owner of that network might not have appreciated that smile

You want to run dhcpcd, which is a client.  You might also try dhclient, a client that sometimes is more forgiving.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB