how to get it online
Joshua Lokken
joshua.lokken at gmail.com
Wed Dec 22 10:30:23 PST 2004
On Wed, 22 Dec 2004 11:00:32 -0600, Bagus <bagus at cox.net> wrote:
> > > >ping freebsd.org
> > > ping: cannot resolve freebsd.org: Host name lookup failure.
>
> > Hostname lookup failure sounds like a dns problem to me.
> > Is there anything in /etc/resolv.conf ?
>
> No, there is not even a /etc/resolve.conf. What should go in there?
> >How is fxp0 assigned an IP? DHCP?
> I think so. That's the way it should be.
>
> > If so, do you have a line like the following in /etc/rc.conf:
> > ifconfig_fxp0="DHCP"
>
> That line was not in there. I added it and rebooted. The boot process now
> started the dhcp client, but still no actual ip address is reported in the
> ifconfig.
> >
> > How did you setup the Linksys? Default (out-of-the-box) settings?
>
> plugged it in, plugged cable modem into uplink, plugged this pc into one
> outlet, the freebsd box into another. PC works fine. Lights indicate
> connectivity to bsd box.
>
> > Is the DHCP server turned on at the router? What does the status
> > page of the router settings show?
> >
>
> That's supposed to be http://192.168.1.1, isn't it? I can't access that even
> from my pc. Any advice there would be helpful. BTW, I'm using Cox as a
> ISP.
You can set fxp0 to use a static IP until you get the router working.
# ifconfig fxp0 inet 192.168.1.2 netmask 255.255.255.0
# route add default 192.168.1.1
In /etc/rc.conf, you should have:
ifconfig_fxp0="DHCP"
defaultrouter="192.168.1.1"
You should be able to login to the Linksys admin page:
http://192.168.1.1 AFAIK, most of the Linksys home networking
devices use a blank username and password 'admin' by default.
Make sure that the DHCP server is enabled, and restart.
HTH,
--
Joshua Lokken
Open Source Advocate
More information about the freebsd-questions
mailing list